diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.1.h new file mode 100644 index 0000000000000000000000000000000000000000..288a86dfa381fadd2f1805dcce2fc7e012c0756f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.1.h @@ -0,0 +1,29 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_1_H +#define WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution::Foreground +{ + struct WINRT_IMPL_EMPTY_BASES IExtendedExecutionForegroundRevokedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IExtendedExecutionForegroundRevokedEventArgs(std::nullptr_t = nullptr) noexcept {} + IExtendedExecutionForegroundRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IExtendedExecutionForegroundSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IExtendedExecutionForegroundSession(std::nullptr_t = nullptr) noexcept {} + IExtendedExecutionForegroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f55f31c0f7a3864c7666fd9d17ea25886c74b499 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.extendedexecution.foreground.2.h @@ -0,0 +1,25 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_2_H +#define WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution::Foreground +{ + struct WINRT_IMPL_EMPTY_BASES ExtendedExecutionForegroundRevokedEventArgs : winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundRevokedEventArgs + { + ExtendedExecutionForegroundRevokedEventArgs(std::nullptr_t) noexcept {} + ExtendedExecutionForegroundRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundRevokedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ExtendedExecutionForegroundSession : winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession + { + ExtendedExecutionForegroundSession(std::nullptr_t) noexcept {} + ExtendedExecutionForegroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession(ptr, take_ownership_from_abi) {} + ExtendedExecutionForegroundSession(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.0.h new file mode 100644 index 0000000000000000000000000000000000000000..83d2f3e311a6a50fa9c430ee9783adca7ecf33e8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.0.h @@ -0,0 +1,70 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Holographic_0_H +#define WINRT_Windows_ApplicationModel_Holographic_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Holographic +{ + struct IHolographicKeyboard; + struct IHolographicKeyboardStatics; + struct HolographicKeyboard; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Holographic.HolographicKeyboard"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Holographic.IHolographicKeyboard"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Holographic.IHolographicKeyboardStatics"; + template <> inline constexpr guid guid_v{ 0x07DD0893,0xAA21,0x5E6F,{ 0xA9,0x1B,0x11,0xB2,0xB3,0xFD,0x7B,0xE3 } }; // 07DD0893-AA21-5E6F-A91B-11B2B3FD7BE3 + template <> inline constexpr guid guid_v{ 0xB676C624,0x63D7,0x58CF,{ 0xB0,0x6B,0x08,0xBA,0xA0,0x32,0xA2,0x3F } }; // B676C624-63D7-58CF-B06B-08BAA032A23F + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetPlacementOverride(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + virtual int32_t __stdcall SetPlacementOverrideWithMaxSize(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall ResetPlacementOverride() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard + { + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; + auto ResetPlacementOverride() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard; + }; + template + struct consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.1.h new file mode 100644 index 0000000000000000000000000000000000000000..bdc0d6d689e4f0f566080fecdee2daf2ca1298a9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Holographic_1_H +#define WINRT_Windows_ApplicationModel_Holographic_1_H +#include "winrt/impl/Windows.ApplicationModel.Holographic.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Holographic +{ + struct WINRT_IMPL_EMPTY_BASES IHolographicKeyboard : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicKeyboard(std::nullptr_t = nullptr) noexcept {} + IHolographicKeyboard(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicKeyboardStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicKeyboardStatics(std::nullptr_t = nullptr) noexcept {} + IHolographicKeyboardStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8b910758e1d11112353206d13a76b985b78a804c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.holographic.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Holographic_2_H +#define WINRT_Windows_ApplicationModel_Holographic_2_H +#include "winrt/impl/Windows.ApplicationModel.Holographic.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Holographic +{ + struct WINRT_IMPL_EMPTY_BASES HolographicKeyboard : winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard + { + HolographicKeyboard(std::nullptr_t) noexcept {} + HolographicKeyboard(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f8c9417901bd4d81222592d3ff12af554345dded --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.0.h @@ -0,0 +1,210 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_LockScreen_0_H +#define WINRT_Windows_ApplicationModel_LockScreen_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::LockScreen +{ + struct ILockApplicationHost; + struct ILockApplicationHostStatics; + struct ILockScreenBadge; + struct ILockScreenInfo; + struct ILockScreenUnlockingDeferral; + struct ILockScreenUnlockingEventArgs; + struct LockApplicationHost; + struct LockScreenBadge; + struct LockScreenInfo; + struct LockScreenUnlockingDeferral; + struct LockScreenUnlockingEventArgs; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.LockApplicationHost"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.LockScreenBadge"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.LockScreenInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockApplicationHost"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockApplicationHostStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockScreenBadge"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockScreenInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockScreenUnlockingDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LockScreen.ILockScreenUnlockingEventArgs"; + template <> inline constexpr guid guid_v{ 0x38EE31AD,0xD94F,0x4E7C,{ 0x81,0xFA,0x4F,0x44,0x36,0x50,0x62,0x81 } }; // 38EE31AD-D94F-4E7C-81FA-4F4436506281 + template <> inline constexpr guid guid_v{ 0xF48FAB8E,0x23D7,0x4E63,{ 0x96,0xA1,0x66,0x6F,0xF5,0x2D,0x3B,0x2C } }; // F48FAB8E-23D7-4E63-96A1-666FF52D3B2C + template <> inline constexpr guid guid_v{ 0xE95105D9,0x2BFF,0x4DB0,{ 0x9B,0x4F,0x38,0x24,0x77,0x8B,0x9C,0x9A } }; // E95105D9-2BFF-4DB0-9B4F-3824778B9C9A + template <> inline constexpr guid guid_v{ 0xF59AA65C,0x9711,0x4DC9,{ 0xA6,0x30,0x95,0xB6,0xCB,0x8C,0xDA,0xD0 } }; // F59AA65C-9711-4DC9-A630-95B6CB8CDAD0 + template <> inline constexpr guid guid_v{ 0x7E7D1AD6,0x5203,0x43E7,{ 0x9B,0xD6,0x7C,0x39,0x47,0xD1,0xE3,0xFE } }; // 7E7D1AD6-5203-43E7-9BD6-7C3947D1E3FE + template <> inline constexpr guid guid_v{ 0x44E6C007,0x75FB,0x4ABB,{ 0x9F,0x8B,0x82,0x47,0x48,0x90,0x0C,0x71 } }; // 44E6C007-75FB-4ABB-9F8B-824748900C71 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestUnlock() noexcept = 0; + virtual int32_t __stdcall add_Unlocking(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Unlocking(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Logo(void**) noexcept = 0; + virtual int32_t __stdcall get_Glyph(void**) noexcept = 0; + virtual int32_t __stdcall get_Number(void**) noexcept = 0; + virtual int32_t __stdcall get_AutomationName(void**) noexcept = 0; + virtual int32_t __stdcall LaunchApp() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_LockScreenImageChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LockScreenImageChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_LockScreenImage(void**) noexcept = 0; + virtual int32_t __stdcall add_BadgesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BadgesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Badges(void**) noexcept = 0; + virtual int32_t __stdcall add_DetailTextChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DetailTextChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_DetailText(void**) noexcept = 0; + virtual int32_t __stdcall add_AlarmIconChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AlarmIconChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_AlarmIcon(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost + { + auto RequestUnlock() const; + auto Unlocking(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Unlocking_revoker = impl::event_revoker::remove_Unlocking>; + [[nodiscard]] auto Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Unlocking(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge + { + [[nodiscard]] auto Logo() const; + [[nodiscard]] auto Glyph() const; + [[nodiscard]] auto Number() const; + [[nodiscard]] auto AutomationName() const; + auto LaunchApp() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo + { + auto LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using LockScreenImageChanged_revoker = impl::event_revoker::remove_LockScreenImageChanged>; + [[nodiscard]] auto LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LockScreenImageChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LockScreenImage() const; + auto BadgesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BadgesChanged_revoker = impl::event_revoker::remove_BadgesChanged>; + [[nodiscard]] auto BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BadgesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Badges() const; + auto DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DetailTextChanged_revoker = impl::event_revoker::remove_DetailTextChanged>; + [[nodiscard]] auto DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DetailTextChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DetailText() const; + auto AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AlarmIconChanged_revoker = impl::event_revoker::remove_AlarmIconChanged>; + [[nodiscard]] auto AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AlarmIconChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AlarmIcon() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral; + }; + template + struct consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs + { + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a3e1647cd05fdf3fc7e0475b5f45ed0f1b0c90da --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_LockScreen_1_H +#define WINRT_Windows_ApplicationModel_LockScreen_1_H +#include "winrt/impl/Windows.ApplicationModel.LockScreen.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::LockScreen +{ + struct WINRT_IMPL_EMPTY_BASES ILockApplicationHost : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockApplicationHost(std::nullptr_t = nullptr) noexcept {} + ILockApplicationHost(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockApplicationHostStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockApplicationHostStatics(std::nullptr_t = nullptr) noexcept {} + ILockApplicationHostStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockScreenBadge : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockScreenBadge(std::nullptr_t = nullptr) noexcept {} + ILockScreenBadge(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockScreenInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockScreenInfo(std::nullptr_t = nullptr) noexcept {} + ILockScreenInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockScreenUnlockingDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockScreenUnlockingDeferral(std::nullptr_t = nullptr) noexcept {} + ILockScreenUnlockingDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockScreenUnlockingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockScreenUnlockingEventArgs(std::nullptr_t = nullptr) noexcept {} + ILockScreenUnlockingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7d2ca09439d4e8cfb2228778a1a5fe7954740568 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.lockscreen.2.h @@ -0,0 +1,39 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_LockScreen_2_H +#define WINRT_Windows_ApplicationModel_LockScreen_2_H +#include "winrt/impl/Windows.ApplicationModel.LockScreen.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::LockScreen +{ + struct WINRT_IMPL_EMPTY_BASES LockApplicationHost : winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost + { + LockApplicationHost(std::nullptr_t) noexcept {} + LockApplicationHost(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES LockScreenBadge : winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge + { + LockScreenBadge(std::nullptr_t) noexcept {} + LockScreenBadge(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LockScreenInfo : winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo + { + LockScreenInfo(std::nullptr_t) noexcept {} + LockScreenInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LockScreenUnlockingDeferral : winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral + { + LockScreenUnlockingDeferral(std::nullptr_t) noexcept {} + LockScreenUnlockingDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LockScreenUnlockingEventArgs : winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs + { + LockScreenUnlockingEventArgs(std::nullptr_t) noexcept {} + LockScreenUnlockingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c4730eb417bc401f4522285a45fe71e62125cd73 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.0.h @@ -0,0 +1,284 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_PackageExtensions_0_H +#define WINRT_Windows_ApplicationModel_PackageExtensions_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel +{ + struct Package; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::PackageExtensions +{ + struct IPackageExtension; + struct IPackageExtensionCatalog; + struct IPackageExtensionCatalogStatics; + struct IPackageExtensionPackageInstalledEventArgs; + struct IPackageExtensionPackageStatusChangedEventArgs; + struct IPackageExtensionPackageUninstallingEventArgs; + struct IPackageExtensionPackageUpdatedEventArgs; + struct IPackageExtensionPackageUpdatingEventArgs; + struct PackageExtension; + struct PackageExtensionCatalog; + struct PackageExtensionPackageInstalledEventArgs; + struct PackageExtensionPackageStatusChangedEventArgs; + struct PackageExtensionPackageUninstallingEventArgs; + struct PackageExtensionPackageUpdatedEventArgs; + struct PackageExtensionPackageUpdatingEventArgs; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtension"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageInstalledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUninstallingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtension"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionCatalog"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionCatalogStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionPackageInstalledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionPackageStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionPackageUninstallingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionPackageUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageExtensions.IPackageExtensionPackageUpdatingEventArgs"; + template <> inline constexpr guid guid_v{ 0xDA70C957,0x7EAD,0x5C3B,{ 0x9C,0xF0,0xCC,0x43,0xFA,0xF4,0x74,0xB4 } }; // DA70C957-7EAD-5C3B-9CF0-CC43FAF474B4 + template <> inline constexpr guid guid_v{ 0x0879DFE6,0xAC30,0x58B2,{ 0x97,0xF9,0x48,0x0B,0x07,0xE7,0x5B,0xFA } }; // 0879DFE6-AC30-58B2-97F9-480B07E75BFA + template <> inline constexpr guid guid_v{ 0x9588ECE4,0x3183,0x5684,{ 0x9E,0x5F,0x27,0x75,0x97,0x33,0xDD,0xFE } }; // 9588ECE4-3183-5684-9E5F-27759733DDFE + template <> inline constexpr guid guid_v{ 0x3C9B0067,0x083C,0x5FE3,{ 0xBD,0xFB,0x9F,0xEB,0x15,0x6B,0x41,0x18 } }; // 3C9B0067-083C-5FE3-BDFB-9FEB156B4118 + template <> inline constexpr guid guid_v{ 0xB8FEE20A,0x680D,0x5942,{ 0x87,0x6C,0x5D,0xE1,0x2D,0xF1,0x08,0x3C } }; // B8FEE20A-680D-5942-876C-5DE12DF1083C + template <> inline constexpr guid guid_v{ 0x3B8E9CB7,0xC539,0x554D,{ 0xBB,0x33,0xA8,0x4C,0x0B,0xFA,0x3F,0x50 } }; // 3B8E9CB7-C539-554D-BB33-A84C0BFA3F50 + template <> inline constexpr guid guid_v{ 0xFDC31ADD,0x16A7,0x509D,{ 0x8B,0xC4,0xFD,0xE2,0x2E,0x85,0x6D,0x2D } }; // FDC31ADD-16A7-509D-8BC4-FDE22E856D2D + template <> inline constexpr guid guid_v{ 0x27AE2CE1,0xA1D3,0x532E,{ 0x8E,0x7E,0x8B,0x43,0x78,0x2F,0xCE,0x09 } }; // 27AE2CE1-A1D3-532E-8E7E-8B43782FCE09 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtension; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionCatalog; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageInstalledEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUninstallingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatingEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + virtual int32_t __stdcall GetExtensionProperties(void**) noexcept = 0; + virtual int32_t __stdcall GetExtensionPropertiesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetPublicPath(void**) noexcept = 0; + virtual int32_t __stdcall GetPublicFolder(void**) noexcept = 0; + virtual int32_t __stdcall GetPublicFolderAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAll(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestRemovePackageAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_PackageInstalled(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PackageInstalled(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PackageUpdating(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PackageUpdating(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PackageUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PackageUpdated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PackageUninstalling(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PackageUninstalling(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PackageStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PackageStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Open(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageExtensionName(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + virtual int32_t __stdcall get_Extensions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageExtensionName(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageExtensionName(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageExtensionName(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + virtual int32_t __stdcall get_Extensions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageExtensionName(void**) noexcept = 0; + virtual int32_t __stdcall get_Package(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtension + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Package() const; + auto GetExtensionProperties() const; + auto GetExtensionPropertiesAsync() const; + auto GetPublicPath() const; + auto GetPublicFolder() const; + auto GetPublicFolderAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtension; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionCatalog + { + auto FindAll() const; + auto FindAllAsync() const; + auto RequestRemovePackageAsync(param::hstring const& packageFullName) const; + auto PackageInstalled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PackageInstalled_revoker = impl::event_revoker::remove_PackageInstalled>; + [[nodiscard]] auto PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageInstalled(winrt::event_token const& token) const noexcept; + auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PackageUpdating_revoker = impl::event_revoker::remove_PackageUpdating>; + [[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUpdating(winrt::event_token const& token) const noexcept; + auto PackageUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PackageUpdated_revoker = impl::event_revoker::remove_PackageUpdated>; + [[nodiscard]] auto PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUpdated(winrt::event_token const& token) const noexcept; + auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PackageUninstalling_revoker = impl::event_revoker::remove_PackageUninstalling>; + [[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUninstalling(winrt::event_token const& token) const noexcept; + auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PackageStatusChanged_revoker = impl::event_revoker::remove_PackageStatusChanged>; + [[nodiscard]] auto PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionCatalog; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionCatalogStatics + { + auto Open(param::hstring const& packageExtensionName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionCatalogStatics; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageInstalledEventArgs + { + [[nodiscard]] auto PackageExtensionName() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Extensions() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageInstalledEventArgs; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageStatusChangedEventArgs + { + [[nodiscard]] auto PackageExtensionName() const; + [[nodiscard]] auto Package() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageStatusChangedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUninstallingEventArgs + { + [[nodiscard]] auto PackageExtensionName() const; + [[nodiscard]] auto Package() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUninstallingEventArgs; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUpdatedEventArgs + { + [[nodiscard]] auto PackageExtensionName() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Extensions() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUpdatedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUpdatingEventArgs + { + [[nodiscard]] auto PackageExtensionName() const; + [[nodiscard]] auto Package() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_PackageExtensions_IPackageExtensionPackageUpdatingEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.1.h new file mode 100644 index 0000000000000000000000000000000000000000..48496bbcffe7b172df0a0c41776150998812ecf6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.1.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_PackageExtensions_1_H +#define WINRT_Windows_ApplicationModel_PackageExtensions_1_H +#include "winrt/impl/Windows.ApplicationModel.PackageExtensions.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::PackageExtensions +{ + struct WINRT_IMPL_EMPTY_BASES IPackageExtension : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtension(std::nullptr_t = nullptr) noexcept {} + IPackageExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionCatalog : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionCatalog(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionCatalog(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionCatalogStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionCatalogStatics(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionCatalogStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionPackageInstalledEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionPackageInstalledEventArgs(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionPackageInstalledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionPackageStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionPackageStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionPackageStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionPackageUninstallingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionPackageUninstallingEventArgs(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionPackageUninstallingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionPackageUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionPackageUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionPackageUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageExtensionPackageUpdatingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageExtensionPackageUpdatingEventArgs(std::nullptr_t = nullptr) noexcept {} + IPackageExtensionPackageUpdatingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7ddad39074f1ef657920c5f932cfcffe5e1209aa --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.packageextensions.2.h @@ -0,0 +1,49 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_PackageExtensions_2_H +#define WINRT_Windows_ApplicationModel_PackageExtensions_2_H +#include "winrt/impl/Windows.ApplicationModel.PackageExtensions.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::PackageExtensions +{ + struct WINRT_IMPL_EMPTY_BASES PackageExtension : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtension + { + PackageExtension(std::nullptr_t) noexcept {} + PackageExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtension(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionCatalog : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionCatalog + { + PackageExtensionCatalog(std::nullptr_t) noexcept {} + PackageExtensionCatalog(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionCatalog(ptr, take_ownership_from_abi) {} + static auto Open(param::hstring const& packageExtensionName); + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionPackageInstalledEventArgs : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageInstalledEventArgs + { + PackageExtensionPackageInstalledEventArgs(std::nullptr_t) noexcept {} + PackageExtensionPackageInstalledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageInstalledEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionPackageStatusChangedEventArgs : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageStatusChangedEventArgs + { + PackageExtensionPackageStatusChangedEventArgs(std::nullptr_t) noexcept {} + PackageExtensionPackageStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionPackageUninstallingEventArgs : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUninstallingEventArgs + { + PackageExtensionPackageUninstallingEventArgs(std::nullptr_t) noexcept {} + PackageExtensionPackageUninstallingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUninstallingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionPackageUpdatedEventArgs : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatedEventArgs + { + PackageExtensionPackageUpdatedEventArgs(std::nullptr_t) noexcept {} + PackageExtensionPackageUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageExtensionPackageUpdatingEventArgs : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatingEventArgs + { + PackageExtensionPackageUpdatingEventArgs(std::nullptr_t) noexcept {} + PackageExtensionPackageUpdatingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::PackageExtensions::IPackageExtensionPackageUpdatingEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8540be5e3f10510edd7d3bbdad635a814d69f1b3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.0.h @@ -0,0 +1,960 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_0_H +#define WINRT_Windows_ApplicationModel_Payments_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments +{ + enum class PaymentCanMakePaymentResultStatus : int32_t + { + Unknown = 0, + Yes = 1, + No = 2, + NotAllowed = 3, + UserNotSignedIn = 4, + SpecifiedPaymentMethodIdsNotSupported = 5, + NoQualifyingCardOnFile = 6, + }; + enum class PaymentOptionPresence : int32_t + { + None = 0, + Optional = 1, + Required = 2, + }; + enum class PaymentRequestChangeKind : int32_t + { + ShippingOption = 0, + ShippingAddress = 1, + }; + enum class PaymentRequestCompletionStatus : int32_t + { + Succeeded = 0, + Failed = 1, + Unknown = 2, + }; + enum class PaymentRequestStatus : int32_t + { + Succeeded = 0, + Failed = 1, + Canceled = 2, + }; + enum class PaymentShippingType : int32_t + { + Shipping = 0, + Delivery = 1, + Pickup = 2, + }; + struct IPaymentAddress; + struct IPaymentCanMakePaymentResult; + struct IPaymentCanMakePaymentResultFactory; + struct IPaymentCurrencyAmount; + struct IPaymentCurrencyAmountFactory; + struct IPaymentDetails; + struct IPaymentDetailsFactory; + struct IPaymentDetailsModifier; + struct IPaymentDetailsModifierFactory; + struct IPaymentItem; + struct IPaymentItemFactory; + struct IPaymentMediator; + struct IPaymentMediator2; + struct IPaymentMerchantInfo; + struct IPaymentMerchantInfoFactory; + struct IPaymentMethodData; + struct IPaymentMethodDataFactory; + struct IPaymentOptions; + struct IPaymentRequest; + struct IPaymentRequest2; + struct IPaymentRequestChangedArgs; + struct IPaymentRequestChangedResult; + struct IPaymentRequestChangedResultFactory; + struct IPaymentRequestFactory; + struct IPaymentRequestFactory2; + struct IPaymentRequestSubmitResult; + struct IPaymentResponse; + struct IPaymentShippingOption; + struct IPaymentShippingOptionFactory; + struct IPaymentToken; + struct IPaymentTokenFactory; + struct PaymentAddress; + struct PaymentCanMakePaymentResult; + struct PaymentCurrencyAmount; + struct PaymentDetails; + struct PaymentDetailsModifier; + struct PaymentItem; + struct PaymentMediator; + struct PaymentMerchantInfo; + struct PaymentMethodData; + struct PaymentOptions; + struct PaymentRequest; + struct PaymentRequestChangedArgs; + struct PaymentRequestChangedResult; + struct PaymentRequestSubmitResult; + struct PaymentResponse; + struct PaymentShippingOption; + struct PaymentToken; + struct PaymentRequestChangedHandler; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentAddress"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentCanMakePaymentResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentCurrencyAmount"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentDetailsModifier"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentMediator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentMerchantInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentMethodData"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestChangedArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestChangedResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestSubmitResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentResponse"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentShippingOption"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentToken"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentCanMakePaymentResultStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentOptionPresence"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestChangeKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestCompletionStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentShippingType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentAddress"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentCanMakePaymentResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentCanMakePaymentResultFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentCurrencyAmount"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentCurrencyAmountFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentDetailsFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentDetailsModifier"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentDetailsModifierFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentItemFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMediator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMediator2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMerchantInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMerchantInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMethodData"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentMethodDataFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequest2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestChangedArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestChangedResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestChangedResultFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestFactory2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentRequestSubmitResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentResponse"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentShippingOption"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentShippingOptionFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentToken"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.IPaymentTokenFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.PaymentRequestChangedHandler"; + template <> inline constexpr guid guid_v{ 0x5F2264E9,0x6F3A,0x4166,{ 0xA0,0x18,0x0A,0x0B,0x06,0xBB,0x32,0xB5 } }; // 5F2264E9-6F3A-4166-A018-0A0B06BB32B5 + template <> inline constexpr guid guid_v{ 0x7696FE55,0xD5D3,0x4D3D,{ 0xB3,0x45,0x45,0x59,0x17,0x59,0xC5,0x10 } }; // 7696FE55-D5D3-4D3D-B345-45591759C510 + template <> inline constexpr guid guid_v{ 0xBBDCAA3E,0x7D49,0x4F69,{ 0xAA,0x53,0x2A,0x0F,0x81,0x64,0xB7,0xC9 } }; // BBDCAA3E-7D49-4F69-AA53-2A0F8164B7C9 + template <> inline constexpr guid guid_v{ 0xE3A3E9E0,0xB41F,0x4987,{ 0xBD,0xCB,0x07,0x13,0x31,0xF2,0xDA,0xA4 } }; // E3A3E9E0-B41F-4987-BDCB-071331F2DAA4 + template <> inline constexpr guid guid_v{ 0x3257D338,0x140C,0x4575,{ 0x85,0x35,0xF7,0x73,0x17,0x8C,0x09,0xA7 } }; // 3257D338-140C-4575-8535-F773178C09A7 + template <> inline constexpr guid guid_v{ 0x53BB2D7D,0xE0EB,0x4053,{ 0x8E,0xAE,0xCE,0x7C,0x48,0xE0,0x29,0x45 } }; // 53BB2D7D-E0EB-4053-8EAE-CE7C48E02945 + template <> inline constexpr guid guid_v{ 0xCFE8AFEE,0xC0EA,0x4CA1,{ 0x8B,0xC7,0x6D,0xE6,0x7B,0x1F,0x37,0x63 } }; // CFE8AFEE-C0EA-4CA1-8BC7-6DE67B1F3763 + template <> inline constexpr guid guid_v{ 0xBE1C7D65,0x4323,0x41D7,{ 0xB3,0x05,0xDF,0xCB,0x76,0x5F,0x69,0xDE } }; // BE1C7D65-4323-41D7-B305-DFCB765F69DE + template <> inline constexpr guid guid_v{ 0x79005286,0x54DE,0x429C,{ 0x9E,0x4F,0x5D,0xCE,0x6E,0x10,0xEB,0xCE } }; // 79005286-54DE-429C-9E4F-5DCE6E10EBCE + template <> inline constexpr guid guid_v{ 0x685AC88B,0x79B2,0x4B76,{ 0x9E,0x03,0xA8,0x76,0x22,0x3D,0xFE,0x72 } }; // 685AC88B-79B2-4B76-9E03-A876223DFE72 + template <> inline constexpr guid guid_v{ 0xC6AB7AD8,0x2503,0x4D1D,{ 0xA7,0x78,0x02,0xB2,0xE5,0x92,0x7B,0x2C } }; // C6AB7AD8-2503-4D1D-A778-02B2E5927B2C + template <> inline constexpr guid guid_v{ 0xFB0EE829,0xEC0C,0x449A,{ 0x83,0xDA,0x7A,0xE3,0x07,0x33,0x65,0xA2 } }; // FB0EE829-EC0C-449A-83DA-7AE3073365A2 + template <> inline constexpr guid guid_v{ 0xCEEF98F1,0xE407,0x4128,{ 0x8E,0x73,0xD9,0x3D,0x5F,0x82,0x27,0x86 } }; // CEEF98F1-E407-4128-8E73-D93D5F822786 + template <> inline constexpr guid guid_v{ 0x63445050,0x0E94,0x4ED6,{ 0xAA,0xCB,0xE6,0x01,0x2B,0xD3,0x27,0xA7 } }; // 63445050-0E94-4ED6-AACB-E6012BD327A7 + template <> inline constexpr guid guid_v{ 0x9E89CED3,0xCCB7,0x4167,{ 0xA8,0xEC,0xE1,0x0A,0xE9,0x6D,0xBC,0xD1 } }; // 9E89CED3-CCB7-4167-A8EC-E10AE96DBCD1 + template <> inline constexpr guid guid_v{ 0xD1D3CAF4,0xDE98,0x4129,{ 0xB1,0xB7,0xC3,0xAD,0x86,0x23,0x7B,0xF4 } }; // D1D3CAF4-DE98-4129-B1B7-C3AD86237BF4 + template <> inline constexpr guid guid_v{ 0x8ADDD27F,0x9BAA,0x4A82,{ 0x83,0x42,0xA8,0x21,0x09,0x92,0xA3,0x6B } }; // 8ADDD27F-9BAA-4A82-8342-A8210992A36B + template <> inline constexpr guid guid_v{ 0xAAA30854,0x1F2B,0x4365,{ 0x82,0x51,0x01,0xB5,0x89,0x15,0xA5,0xBC } }; // AAA30854-1F2B-4365-8251-01B58915A5BC + template <> inline constexpr guid guid_v{ 0xB74942E1,0xED7B,0x47EB,{ 0xBC,0x08,0x78,0xCC,0x5D,0x68,0x96,0xB6 } }; // B74942E1-ED7B-47EB-BC08-78CC5D6896B6 + template <> inline constexpr guid guid_v{ 0xB63CCFB5,0x5998,0x493E,{ 0xA0,0x4C,0x67,0x04,0x8A,0x50,0xF1,0x41 } }; // B63CCFB5-5998-493E-A04C-67048A50F141 + template <> inline constexpr guid guid_v{ 0xC6145E44,0xCD8B,0x4BE4,{ 0xB5,0x55,0x27,0xC9,0x91,0x94,0xC0,0xC5 } }; // C6145E44-CD8B-4BE4-B555-27C99194C0C5 + template <> inline constexpr guid guid_v{ 0xDF699E5C,0x16C4,0x47AD,{ 0x94,0x01,0x84,0x40,0xEC,0x07,0x57,0xDB } }; // DF699E5C-16C4-47AD-9401-8440EC0757DB + template <> inline constexpr guid guid_v{ 0x08740F56,0x1D33,0x4431,{ 0x81,0x4B,0x67,0xEA,0x24,0xBF,0x21,0xDB } }; // 08740F56-1D33-4431-814B-67EA24BF21DB + template <> inline constexpr guid guid_v{ 0x3E8A79DC,0x6B74,0x42D3,{ 0xB1,0x03,0xF0,0xDE,0x35,0xFB,0x18,0x48 } }; // 3E8A79DC-6B74-42D3-B103-F0DE35FB1848 + template <> inline constexpr guid guid_v{ 0xE6CE1325,0xA506,0x4372,{ 0xB7,0xEF,0x1A,0x03,0x1D,0x56,0x62,0xD1 } }; // E6CE1325-A506-4372-B7EF-1A031D5662D1 + template <> inline constexpr guid guid_v{ 0x7B9C3912,0x30F2,0x4E90,{ 0xB2,0x49,0x8C,0xE7,0xD7,0x8F,0xFE,0x56 } }; // 7B9C3912-30F2-4E90-B249-8CE7D78FFE56 + template <> inline constexpr guid guid_v{ 0xE1389457,0x8BD2,0x4888,{ 0x9F,0xA8,0x97,0x98,0x55,0x45,0x10,0x8E } }; // E1389457-8BD2-4888-9FA8-97985545108E + template <> inline constexpr guid guid_v{ 0x13372ADA,0x9753,0x4574,{ 0x89,0x66,0x93,0x14,0x5A,0x76,0xC7,0xF9 } }; // 13372ADA-9753-4574-8966-93145A76C7F9 + template <> inline constexpr guid guid_v{ 0x5DE5F917,0xB2D7,0x446B,{ 0x9D,0x73,0x61,0x23,0xFB,0xCA,0x3B,0xC6 } }; // 5DE5F917-B2D7-446B-9D73-6123FBCA3BC6 + template <> inline constexpr guid guid_v{ 0xBBCAC013,0xCCD0,0x41F2,{ 0xB2,0xA1,0x0A,0x2E,0x4B,0x5D,0xCE,0x25 } }; // BBCAC013-CCD0-41F2-B2A1-0A2E4B5DCE25 + template <> inline constexpr guid guid_v{ 0x988CD7AA,0x4753,0x4904,{ 0x83,0x73,0xDD,0x7B,0x08,0xB9,0x95,0xC1 } }; // 988CD7AA-4753-4904-8373-DD7B08B995C1 + template <> inline constexpr guid guid_v{ 0x5078B9E1,0xF398,0x4F2C,{ 0xA2,0x7E,0x94,0xD3,0x71,0xCF,0x6C,0x7D } }; // 5078B9E1-F398-4F2C-A27E-94D371CF6C7D + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentAddress; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentDetails; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentMediator; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentMethodData; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentOptions; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentResponse; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::IPaymentToken; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Country(void**) noexcept = 0; + virtual int32_t __stdcall put_Country(void*) noexcept = 0; + virtual int32_t __stdcall get_AddressLines(void**) noexcept = 0; + virtual int32_t __stdcall put_AddressLines(void*) noexcept = 0; + virtual int32_t __stdcall get_Region(void**) noexcept = 0; + virtual int32_t __stdcall put_Region(void*) noexcept = 0; + virtual int32_t __stdcall get_City(void**) noexcept = 0; + virtual int32_t __stdcall put_City(void*) noexcept = 0; + virtual int32_t __stdcall get_DependentLocality(void**) noexcept = 0; + virtual int32_t __stdcall put_DependentLocality(void*) noexcept = 0; + virtual int32_t __stdcall get_PostalCode(void**) noexcept = 0; + virtual int32_t __stdcall put_PostalCode(void*) noexcept = 0; + virtual int32_t __stdcall get_SortingCode(void**) noexcept = 0; + virtual int32_t __stdcall put_SortingCode(void*) noexcept = 0; + virtual int32_t __stdcall get_LanguageCode(void**) noexcept = 0; + virtual int32_t __stdcall put_LanguageCode(void*) noexcept = 0; + virtual int32_t __stdcall get_Organization(void**) noexcept = 0; + virtual int32_t __stdcall put_Organization(void*) noexcept = 0; + virtual int32_t __stdcall get_Recipient(void**) noexcept = 0; + virtual int32_t __stdcall put_Recipient(void*) noexcept = 0; + virtual int32_t __stdcall get_PhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_PhoneNumber(void*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Currency(void**) noexcept = 0; + virtual int32_t __stdcall put_Currency(void*) noexcept = 0; + virtual int32_t __stdcall get_CurrencySystem(void**) noexcept = 0; + virtual int32_t __stdcall put_CurrencySystem(void*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithCurrencySystem(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Total(void**) noexcept = 0; + virtual int32_t __stdcall put_Total(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayItems(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayItems(void*) noexcept = 0; + virtual int32_t __stdcall get_ShippingOptions(void**) noexcept = 0; + virtual int32_t __stdcall put_ShippingOptions(void*) noexcept = 0; + virtual int32_t __stdcall get_Modifiers(void**) noexcept = 0; + virtual int32_t __stdcall put_Modifiers(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithDisplayItems(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_JsonData(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedMethodIds(void**) noexcept = 0; + virtual int32_t __stdcall get_Total(void**) noexcept = 0; + virtual int32_t __stdcall get_AdditionalDisplayItems(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAdditionalDisplayItems(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAdditionalDisplayItemsAndJsonData(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + virtual int32_t __stdcall put_Label(void*) noexcept = 0; + virtual int32_t __stdcall get_Amount(void**) noexcept = 0; + virtual int32_t __stdcall put_Amount(void*) noexcept = 0; + virtual int32_t __stdcall get_Pending(bool*) noexcept = 0; + virtual int32_t __stdcall put_Pending(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSupportedMethodIdsAsync(void**) noexcept = 0; + virtual int32_t __stdcall SubmitPaymentRequestAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SubmitPaymentRequestWithChangeHandlerAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CanMakePaymentAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageFullName(void**) noexcept = 0; + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedMethodIds(void**) noexcept = 0; + virtual int32_t __stdcall get_JsonData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithJsonData(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestPayerEmail(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RequestPayerEmail(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RequestPayerName(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RequestPayerName(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RequestPayerPhoneNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RequestPayerPhoneNumber(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RequestShipping(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequestShipping(bool) noexcept = 0; + virtual int32_t __stdcall get_ShippingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ShippingType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MerchantInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_Details(void**) noexcept = 0; + virtual int32_t __stdcall get_MethodData(void**) noexcept = 0; + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChangeKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ShippingAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_SelectedShippingOption(void**) noexcept = 0; + virtual int32_t __stdcall Acknowledge(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChangeAcceptedByMerchant(bool*) noexcept = 0; + virtual int32_t __stdcall put_ChangeAcceptedByMerchant(bool) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall put_Message(void*) noexcept = 0; + virtual int32_t __stdcall get_UpdatedPaymentDetails(void**) noexcept = 0; + virtual int32_t __stdcall put_UpdatedPaymentDetails(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPaymentDetails(bool, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithMerchantInfo(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithMerchantInfoAndOptions(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithMerchantInfoOptionsAndId(void*, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Response(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PaymentToken(void**) noexcept = 0; + virtual int32_t __stdcall get_ShippingOption(void**) noexcept = 0; + virtual int32_t __stdcall get_ShippingAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_PayerEmail(void**) noexcept = 0; + virtual int32_t __stdcall get_PayerName(void**) noexcept = 0; + virtual int32_t __stdcall get_PayerPhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall CompleteAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + virtual int32_t __stdcall put_Label(void*) noexcept = 0; + virtual int32_t __stdcall get_Amount(void**) noexcept = 0; + virtual int32_t __stdcall put_Amount(void*) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_IsSelected(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSelected(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithSelected(void*, void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithSelectedAndTag(void*, void*, bool, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PaymentMethodId(void**) noexcept = 0; + virtual int32_t __stdcall get_JsonDetails(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithJsonDetails(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentAddress + { + [[nodiscard]] auto Country() const; + auto Country(param::hstring const& value) const; + [[nodiscard]] auto AddressLines() const; + auto AddressLines(param::async_vector_view const& value) const; + [[nodiscard]] auto Region() const; + auto Region(param::hstring const& value) const; + [[nodiscard]] auto City() const; + auto City(param::hstring const& value) const; + [[nodiscard]] auto DependentLocality() const; + auto DependentLocality(param::hstring const& value) const; + [[nodiscard]] auto PostalCode() const; + auto PostalCode(param::hstring const& value) const; + [[nodiscard]] auto SortingCode() const; + auto SortingCode(param::hstring const& value) const; + [[nodiscard]] auto LanguageCode() const; + auto LanguageCode(param::hstring const& value) const; + [[nodiscard]] auto Organization() const; + auto Organization(param::hstring const& value) const; + [[nodiscard]] auto Recipient() const; + auto Recipient(param::hstring const& value) const; + [[nodiscard]] auto PhoneNumber() const; + auto PhoneNumber(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentAddress; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory + { + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount + { + [[nodiscard]] auto Currency() const; + auto Currency(param::hstring const& value) const; + [[nodiscard]] auto CurrencySystem() const; + auto CurrencySystem(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory + { + auto Create(param::hstring const& value, param::hstring const& currency) const; + auto CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentDetails + { + [[nodiscard]] auto Total() const; + auto Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const; + [[nodiscard]] auto DisplayItems() const; + auto DisplayItems(param::async_vector_view const& value) const; + [[nodiscard]] auto ShippingOptions() const; + auto ShippingOptions(param::async_vector_view const& value) const; + [[nodiscard]] auto Modifiers() const; + auto Modifiers(param::async_vector_view const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentDetails; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory + { + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; + auto CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier + { + [[nodiscard]] auto JsonData() const; + [[nodiscard]] auto SupportedMethodIds() const; + [[nodiscard]] auto Total() const; + [[nodiscard]] auto AdditionalDisplayItems() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory + { + auto Create(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; + auto CreateWithAdditionalDisplayItems(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems) const; + auto CreateWithAdditionalDisplayItemsAndJsonData(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentItem + { + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Amount() const; + auto Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; + [[nodiscard]] auto Pending() const; + auto Pending(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentItem; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentItemFactory + { + auto Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentItemFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMediator + { + auto GetSupportedMethodIdsAsync() const; + auto SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; + auto SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMediator; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMediator2 + { + auto CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMediator2; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo + { + [[nodiscard]] auto PackageFullName() const; + [[nodiscard]] auto Uri() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory + { + auto Create(winrt::Windows::Foundation::Uri const& uri) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMethodData + { + [[nodiscard]] auto SupportedMethodIds() const; + [[nodiscard]] auto JsonData() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMethodData; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory + { + auto Create(param::iterable const& supportedMethodIds) const; + auto CreateWithJsonData(param::iterable const& supportedMethodIds, param::hstring const& jsonData) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentOptions + { + [[nodiscard]] auto RequestPayerEmail() const; + auto RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestPayerName() const; + auto RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestPayerPhoneNumber() const; + auto RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestShipping() const; + auto RequestShipping(bool value) const; + [[nodiscard]] auto ShippingType() const; + auto ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentOptions; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequest + { + [[nodiscard]] auto MerchantInfo() const; + [[nodiscard]] auto Details() const; + [[nodiscard]] auto MethodData() const; + [[nodiscard]] auto Options() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequest; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequest2 + { + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequest2; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs + { + [[nodiscard]] auto ChangeKind() const; + [[nodiscard]] auto ShippingAddress() const; + [[nodiscard]] auto SelectedShippingOption() const; + auto Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult + { + [[nodiscard]] auto ChangeAcceptedByMerchant() const; + auto ChangeAcceptedByMerchant(bool value) const; + [[nodiscard]] auto Message() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto UpdatedPaymentDetails() const; + auto UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory + { + auto Create(bool changeAcceptedByMerchant) const; + auto CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory + { + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData) const; + auto CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const; + auto CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2 + { + auto CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Response() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentResponse + { + [[nodiscard]] auto PaymentToken() const; + [[nodiscard]] auto ShippingOption() const; + [[nodiscard]] auto ShippingAddress() const; + [[nodiscard]] auto PayerEmail() const; + [[nodiscard]] auto PayerName() const; + [[nodiscard]] auto PayerPhoneNumber() const; + auto CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentResponse; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentShippingOption + { + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Amount() const; + auto Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; + [[nodiscard]] auto Tag() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto IsSelected() const; + auto IsSelected(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentShippingOption; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory + { + auto Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; + auto CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const; + auto CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentToken + { + [[nodiscard]] auto PaymentMethodId() const; + [[nodiscard]] auto JsonDetails() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentToken; + }; + template + struct consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory + { + auto Create(param::hstring const& paymentMethodId) const; + auto CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.1.h new file mode 100644 index 0000000000000000000000000000000000000000..bdd0a4103207fb3e4b77588cd32c724de7715e79 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.1.h @@ -0,0 +1,230 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_1_H +#define WINRT_Windows_ApplicationModel_Payments_1_H +#include "winrt/impl/Windows.ApplicationModel.Payments.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments +{ + struct WINRT_IMPL_EMPTY_BASES IPaymentAddress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentAddress(std::nullptr_t = nullptr) noexcept {} + IPaymentAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentCanMakePaymentResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentCanMakePaymentResult(std::nullptr_t = nullptr) noexcept {} + IPaymentCanMakePaymentResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentCanMakePaymentResultFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentCanMakePaymentResultFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentCanMakePaymentResultFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentCurrencyAmount : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentCurrencyAmount(std::nullptr_t = nullptr) noexcept {} + IPaymentCurrencyAmount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentCurrencyAmountFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentCurrencyAmountFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentCurrencyAmountFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentDetails(std::nullptr_t = nullptr) noexcept {} + IPaymentDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentDetailsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentDetailsFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentDetailsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentDetailsModifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentDetailsModifier(std::nullptr_t = nullptr) noexcept {} + IPaymentDetailsModifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentDetailsModifierFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentDetailsModifierFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentDetailsModifierFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentItem(std::nullptr_t = nullptr) noexcept {} + IPaymentItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentItemFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentItemFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentItemFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMediator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMediator(std::nullptr_t = nullptr) noexcept {} + IPaymentMediator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMediator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMediator2(std::nullptr_t = nullptr) noexcept {} + IPaymentMediator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMerchantInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMerchantInfo(std::nullptr_t = nullptr) noexcept {} + IPaymentMerchantInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMerchantInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMerchantInfoFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentMerchantInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMethodData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMethodData(std::nullptr_t = nullptr) noexcept {} + IPaymentMethodData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentMethodDataFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentMethodDataFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentMethodDataFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentOptions(std::nullptr_t = nullptr) noexcept {} + IPaymentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequest(std::nullptr_t = nullptr) noexcept {} + IPaymentRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequest2(std::nullptr_t = nullptr) noexcept {} + IPaymentRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestChangedArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestChangedArgs(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestChangedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestChangedResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestChangedResult(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestChangedResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestChangedResultFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestChangedResultFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestChangedResultFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestFactory2(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentRequestSubmitResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentRequestSubmitResult(std::nullptr_t = nullptr) noexcept {} + IPaymentRequestSubmitResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentResponse : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentResponse(std::nullptr_t = nullptr) noexcept {} + IPaymentResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentShippingOption : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentShippingOption(std::nullptr_t = nullptr) noexcept {} + IPaymentShippingOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentShippingOptionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentShippingOptionFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentShippingOptionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentToken : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentToken(std::nullptr_t = nullptr) noexcept {} + IPaymentToken(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentTokenFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentTokenFactory(std::nullptr_t = nullptr) noexcept {} + IPaymentTokenFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.2.h new file mode 100644 index 0000000000000000000000000000000000000000..730a87434a4e27c23ea3fa6c63e199103a24bfcc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.2.h @@ -0,0 +1,143 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_2_H +#define WINRT_Windows_ApplicationModel_Payments_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.ApplicationModel.Payments.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments +{ + struct PaymentRequestChangedHandler : winrt::Windows::Foundation::IUnknown + { + PaymentRequestChangedHandler(std::nullptr_t = nullptr) noexcept {} + PaymentRequestChangedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template PaymentRequestChangedHandler(L lambda); + template PaymentRequestChangedHandler(F* function); + template PaymentRequestChangedHandler(O* object, M method); + template PaymentRequestChangedHandler(com_ptr&& object, M method); + template PaymentRequestChangedHandler(weak_ref&& object, LM&& lambda_or_method); + template PaymentRequestChangedHandler(std::shared_ptr&& object, M method); + template PaymentRequestChangedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedArgs const& args) const; + }; + struct WINRT_IMPL_EMPTY_BASES PaymentAddress : winrt::Windows::ApplicationModel::Payments::IPaymentAddress + { + PaymentAddress(std::nullptr_t) noexcept {} + PaymentAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentAddress(ptr, take_ownership_from_abi) {} + PaymentAddress(); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentCanMakePaymentResult : winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult + { + PaymentCanMakePaymentResult(std::nullptr_t) noexcept {} + PaymentCanMakePaymentResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult(ptr, take_ownership_from_abi) {} + explicit PaymentCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentCurrencyAmount : winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount + { + PaymentCurrencyAmount(std::nullptr_t) noexcept {} + PaymentCurrencyAmount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount(ptr, take_ownership_from_abi) {} + PaymentCurrencyAmount(param::hstring const& value, param::hstring const& currency); + PaymentCurrencyAmount(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentDetails : winrt::Windows::ApplicationModel::Payments::IPaymentDetails + { + PaymentDetails(std::nullptr_t) noexcept {} + PaymentDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentDetails(ptr, take_ownership_from_abi) {} + PaymentDetails(); + explicit PaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total); + PaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentDetailsModifier : winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier + { + PaymentDetailsModifier(std::nullptr_t) noexcept {} + PaymentDetailsModifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier(ptr, take_ownership_from_abi) {} + PaymentDetailsModifier(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total); + PaymentDetailsModifier(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems); + PaymentDetailsModifier(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentItem : winrt::Windows::ApplicationModel::Payments::IPaymentItem + { + PaymentItem(std::nullptr_t) noexcept {} + PaymentItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentItem(ptr, take_ownership_from_abi) {} + PaymentItem(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentMediator : winrt::Windows::ApplicationModel::Payments::IPaymentMediator, + impl::require + { + PaymentMediator(std::nullptr_t) noexcept {} + PaymentMediator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentMediator(ptr, take_ownership_from_abi) {} + PaymentMediator(); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentMerchantInfo : winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo + { + PaymentMerchantInfo(std::nullptr_t) noexcept {} + PaymentMerchantInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo(ptr, take_ownership_from_abi) {} + PaymentMerchantInfo(); + explicit PaymentMerchantInfo(winrt::Windows::Foundation::Uri const& uri); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentMethodData : winrt::Windows::ApplicationModel::Payments::IPaymentMethodData + { + PaymentMethodData(std::nullptr_t) noexcept {} + PaymentMethodData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentMethodData(ptr, take_ownership_from_abi) {} + explicit PaymentMethodData(param::iterable const& supportedMethodIds); + PaymentMethodData(param::iterable const& supportedMethodIds, param::hstring const& jsonData); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentOptions : winrt::Windows::ApplicationModel::Payments::IPaymentOptions + { + PaymentOptions(std::nullptr_t) noexcept {} + PaymentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentOptions(ptr, take_ownership_from_abi) {} + PaymentOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentRequest : winrt::Windows::ApplicationModel::Payments::IPaymentRequest, + impl::require + { + PaymentRequest(std::nullptr_t) noexcept {} + PaymentRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentRequest(ptr, take_ownership_from_abi) {} + PaymentRequest(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData); + PaymentRequest(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo); + PaymentRequest(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options); + PaymentRequest(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentRequestChangedArgs : winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs + { + PaymentRequestChangedArgs(std::nullptr_t) noexcept {} + PaymentRequestChangedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PaymentRequestChangedResult : winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult + { + PaymentRequestChangedResult(std::nullptr_t) noexcept {} + PaymentRequestChangedResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult(ptr, take_ownership_from_abi) {} + explicit PaymentRequestChangedResult(bool changeAcceptedByMerchant); + PaymentRequestChangedResult(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentRequestSubmitResult : winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult + { + PaymentRequestSubmitResult(std::nullptr_t) noexcept {} + PaymentRequestSubmitResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PaymentResponse : winrt::Windows::ApplicationModel::Payments::IPaymentResponse + { + PaymentResponse(std::nullptr_t) noexcept {} + PaymentResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentResponse(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PaymentShippingOption : winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption + { + PaymentShippingOption(std::nullptr_t) noexcept {} + PaymentShippingOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption(ptr, take_ownership_from_abi) {} + PaymentShippingOption(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount); + PaymentShippingOption(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected); + PaymentShippingOption(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentToken : winrt::Windows::ApplicationModel::Payments::IPaymentToken + { + PaymentToken(std::nullptr_t) noexcept {} + PaymentToken(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::IPaymentToken(ptr, take_ownership_from_abi) {} + explicit PaymentToken(param::hstring const& paymentMethodId); + PaymentToken(param::hstring const& paymentMethodId, param::hstring const& jsonDetails); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c5a2808dab06696b3a0327fbf74496d07fecb86f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.0.h @@ -0,0 +1,192 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_Provider_0_H +#define WINRT_Windows_ApplicationModel_Payments_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments +{ + struct PaymentAddress; + struct PaymentCanMakePaymentResult; + struct PaymentRequest; + enum class PaymentRequestCompletionStatus : int32_t; + struct PaymentShippingOption; + struct PaymentToken; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments::Provider +{ + struct IPaymentAppCanMakePaymentTriggerDetails; + struct IPaymentAppManager; + struct IPaymentAppManagerStatics; + struct IPaymentTransaction; + struct IPaymentTransactionAcceptResult; + struct IPaymentTransactionStatics; + struct PaymentAppCanMakePaymentTriggerDetails; + struct PaymentAppManager; + struct PaymentTransaction; + struct PaymentTransactionAcceptResult; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentAppCanMakePaymentTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentAppManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentAppManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentTransaction"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentTransactionAcceptResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Payments.Provider.IPaymentTransactionStatics"; + template <> inline constexpr guid guid_v{ 0x0CE201F0,0x8B93,0x4EB6,{ 0x8C,0x46,0x2E,0x4A,0x6C,0x6A,0x26,0xF6 } }; // 0CE201F0-8B93-4EB6-8C46-2E4A6C6A26F6 + template <> inline constexpr guid guid_v{ 0x0E47AA53,0x8521,0x4969,{ 0xA9,0x57,0xDF,0x25,0x38,0xA3,0xA9,0x8F } }; // 0E47AA53-8521-4969-A957-DF2538A3A98F + template <> inline constexpr guid guid_v{ 0xA341AC28,0xFC89,0x4406,{ 0xB4,0xD9,0x34,0xE7,0xFE,0x79,0xDF,0xB6 } }; // A341AC28-FC89-4406-B4D9-34E7FE79DFB6 + template <> inline constexpr guid guid_v{ 0x62581DA0,0x26A5,0x4E9B,{ 0xA6,0xEB,0x66,0x60,0x6C,0xF0,0x01,0xD3 } }; // 62581DA0-26A5-4E9B-A6EB-66606CF001D3 + template <> inline constexpr guid guid_v{ 0x060E3276,0xD30C,0x4817,{ 0x95,0xA2,0xDF,0x7A,0xE9,0x27,0x3B,0x56 } }; // 060E3276-D30C-4817-95A2-DF7AE9273B56 + template <> inline constexpr guid guid_v{ 0x8D639750,0xEE0A,0x4DF5,{ 0x9B,0x1E,0x1C,0x0F,0x9E,0xC5,0x98,0x81 } }; // 8D639750-EE0A-4DF5-9B1E-1C0F9EC59881 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall ReportCanMakePaymentResult(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UnregisterAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PaymentRequest(void**) noexcept = 0; + virtual int32_t __stdcall get_PayerEmail(void**) noexcept = 0; + virtual int32_t __stdcall put_PayerEmail(void*) noexcept = 0; + virtual int32_t __stdcall get_PayerName(void**) noexcept = 0; + virtual int32_t __stdcall put_PayerName(void*) noexcept = 0; + virtual int32_t __stdcall get_PayerPhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_PayerPhoneNumber(void*) noexcept = 0; + virtual int32_t __stdcall UpdateShippingAddressAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateSelectedShippingOptionAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AcceptAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall Reject() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails + { + [[nodiscard]] auto Request() const; + auto ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager + { + auto RegisterAsync(param::async_iterable const& supportedPaymentMethodIds) const; + auto UnregisterAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics + { + [[nodiscard]] auto Current() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction + { + [[nodiscard]] auto PaymentRequest() const; + [[nodiscard]] auto PayerEmail() const; + auto PayerEmail(param::hstring const& value) const; + [[nodiscard]] auto PayerName() const; + auto PayerName(param::hstring const& value) const; + [[nodiscard]] auto PayerPhoneNumber() const; + auto PayerPhoneNumber(param::hstring const& value) const; + auto UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const; + auto UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const; + auto AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const; + auto Reject() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult; + }; + template + struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics + { + auto FromIdAsync(param::hstring const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..9ed51e65f4956403c0058a74cc8cd50d9dc004c2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_Provider_1_H +#define WINRT_Windows_ApplicationModel_Payments_Provider_1_H +#include "winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IPaymentAppCanMakePaymentTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentAppCanMakePaymentTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IPaymentAppCanMakePaymentTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentAppManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentAppManager(std::nullptr_t = nullptr) noexcept {} + IPaymentAppManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentAppManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentAppManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPaymentAppManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentTransaction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentTransaction(std::nullptr_t = nullptr) noexcept {} + IPaymentTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentTransactionAcceptResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentTransactionAcceptResult(std::nullptr_t = nullptr) noexcept {} + IPaymentTransactionAcceptResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPaymentTransactionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPaymentTransactionStatics(std::nullptr_t = nullptr) noexcept {} + IPaymentTransactionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..68859751e001280bd1b474cda3f6c42ddb7f2a2e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.payments.provider.2.h @@ -0,0 +1,35 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Payments_Provider_2_H +#define WINRT_Windows_ApplicationModel_Payments_Provider_2_H +#include "winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments::Provider +{ + struct WINRT_IMPL_EMPTY_BASES PaymentAppCanMakePaymentTriggerDetails : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails + { + PaymentAppCanMakePaymentTriggerDetails(std::nullptr_t) noexcept {} + PaymentAppCanMakePaymentTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PaymentAppManager : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager + { + PaymentAppManager(std::nullptr_t) noexcept {} + PaymentAppManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentTransaction : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction + { + PaymentTransaction(std::nullptr_t) noexcept {} + PaymentTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& id); + }; + struct WINRT_IMPL_EMPTY_BASES PaymentTransactionAcceptResult : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult + { + PaymentTransactionAcceptResult(std::nullptr_t) noexcept {} + PaymentTransactionAcceptResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..316db8ee6cb4b7b897d04ee1c5b678e5a5ca4ff1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.0.h @@ -0,0 +1,103 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_0_H +#define WINRT_Windows_ApplicationModel_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview +{ + enum class StartupAppImpactPreview : int32_t + { + Unknown = 0, + None = 1, + Low = 2, + Medium = 3, + High = 4, + }; + struct IStartupAppInfoPreview; + struct IStartupAppsManagerPreview; + struct IStartupAppsManagerPreviewStatics; + struct StartupAppInfoPreview; + struct StartupAppsManagerPreview; + struct StartupAppsPreviewContract; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppInfoPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppsManagerPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppImpactPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppInfoPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppsManagerPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppsManagerPreviewStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppsPreviewContract"; + template <> inline constexpr guid guid_v{ 0xC3A147DB,0x09FA,0x5AA5,{ 0xB3,0xBD,0x11,0x9A,0x09,0x96,0x3D,0x58 } }; // C3A147DB-09FA-5AA5-B3BD-119A09963D58 + template <> inline constexpr guid guid_v{ 0x7197B9C1,0x03BB,0x5693,{ 0x87,0xC3,0x6F,0x98,0x3C,0xC7,0x0F,0xB3 } }; // 7197B9C1-03BB-5693-87C3-6F983CC70FB3 + template <> inline constexpr guid guid_v{ 0x9D0331F5,0x343F,0x5CD7,{ 0x9D,0x66,0x76,0x2C,0xFA,0x2C,0x03,0x80 } }; // 9D0331F5-343F-5CD7-9D66-762CFA2C0380 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::IStartupAppInfoPreview; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::IStartupAppsManagerPreview; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Publisher(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Impact(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExecutablePath(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStartupAppInfos(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Preview_IStartupAppInfoPreview + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Publisher() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto Impact() const; + [[nodiscard]] auto ExecutablePath() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_IStartupAppInfoPreview; + }; + template + struct consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreview + { + auto GetStartupAppInfos() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreview; + }; + template + struct consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreviewStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreviewStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..340df950fdbfe1c4a4f3f2fc61ab171455e84e6f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_1_H +#define WINRT_Windows_ApplicationModel_Preview_1_H +#include "winrt/impl/Windows.ApplicationModel.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview +{ + struct WINRT_IMPL_EMPTY_BASES IStartupAppInfoPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStartupAppInfoPreview(std::nullptr_t = nullptr) noexcept {} + IStartupAppInfoPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStartupAppsManagerPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStartupAppsManagerPreview(std::nullptr_t = nullptr) noexcept {} + IStartupAppsManagerPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStartupAppsManagerPreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStartupAppsManagerPreviewStatics(std::nullptr_t = nullptr) noexcept {} + IStartupAppsManagerPreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..828f778a6cf49a641a69a4716faae404a9e8200d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.2.h @@ -0,0 +1,24 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_2_H +#define WINRT_Windows_ApplicationModel_Preview_2_H +#include "winrt/impl/Windows.ApplicationModel.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview +{ + struct WINRT_IMPL_EMPTY_BASES StartupAppInfoPreview : winrt::Windows::ApplicationModel::Preview::IStartupAppInfoPreview + { + StartupAppInfoPreview(std::nullptr_t) noexcept {} + StartupAppInfoPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::IStartupAppInfoPreview(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StartupAppsManagerPreview : winrt::Windows::ApplicationModel::Preview::IStartupAppsManagerPreview + { + StartupAppsManagerPreview(std::nullptr_t) noexcept {} + StartupAppsManagerPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::IStartupAppsManagerPreview(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.0.h new file mode 100644 index 0000000000000000000000000000000000000000..754a3dd53f537fa7c8d71ebbd8d73b5a4a66a2c1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.0.h @@ -0,0 +1,99 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_0_H +#define WINRT_Windows_ApplicationModel_Preview_Holographic_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation +{ + struct IActivatedEventArgs; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Holographic +{ + struct IHolographicApplicationPreviewStatics; + struct IHolographicKeyboardPlacementOverridePreview; + struct IHolographicKeyboardPlacementOverridePreviewStatics; + struct HolographicApplicationPreview; + struct HolographicKeyboardPlacementOverridePreview; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Holographic.HolographicApplicationPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Holographic.IHolographicApplicationPreviewStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Holographic.IHolographicKeyboardPlacementOverridePreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Holographic.IHolographicKeyboardPlacementOverridePreviewStatics"; + template <> inline constexpr guid guid_v{ 0xFE038691,0x2A3A,0x45A9,{ 0xA2,0x08,0x7B,0xED,0x69,0x19,0x19,0xF3 } }; // FE038691-2A3A-45A9-A208-7BED691919F3 + template <> inline constexpr guid guid_v{ 0xC8A8CE3A,0xDFDE,0x5A14,{ 0x8D,0x5F,0x18,0x2C,0x52,0x6D,0xD9,0xC4 } }; // C8A8CE3A-DFDE-5A14-8D5F-182C526DD9C4 + template <> inline constexpr guid guid_v{ 0x202E6039,0x1FF6,0x5A06,{ 0xAA,0xC4,0xA5,0xE2,0x4F,0xA3,0xEC,0x4B } }; // 202E6039-1FF6-5A06-AAC4-A5E24FA3EC4B + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsCurrentViewPresentedOnHolographicDisplay(bool*) noexcept = 0; + virtual int32_t __stdcall IsHolographicActivation(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetPlacementOverride(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall SetPlacementOverrideWithMaxSize(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall ResetPlacementOverride() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics + { + auto IsCurrentViewPresentedOnHolographicDisplay() const; + auto IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics; + }; + template + struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview + { + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; + auto ResetPlacementOverride() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview; + }; + template + struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.1.h new file mode 100644 index 0000000000000000000000000000000000000000..20bc5b79d1ee58a5b537efdf0c82a7b545675d5d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_1_H +#define WINRT_Windows_ApplicationModel_Preview_Holographic_1_H +#include "winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Holographic +{ + struct WINRT_IMPL_EMPTY_BASES IHolographicApplicationPreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicApplicationPreviewStatics(std::nullptr_t = nullptr) noexcept {} + IHolographicApplicationPreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicKeyboardPlacementOverridePreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicKeyboardPlacementOverridePreview(std::nullptr_t = nullptr) noexcept {} + IHolographicKeyboardPlacementOverridePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicKeyboardPlacementOverridePreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicKeyboardPlacementOverridePreviewStatics(std::nullptr_t = nullptr) noexcept {} + IHolographicKeyboardPlacementOverridePreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8212ed43df41b09ce845fb19943cb1339a5e1f59 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.holographic.2.h @@ -0,0 +1,26 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_2_H +#define WINRT_Windows_ApplicationModel_Preview_Holographic_2_H +#include "winrt/impl/Windows.ApplicationModel.Activation.1.h" +#include "winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Holographic +{ + struct HolographicApplicationPreview + { + HolographicApplicationPreview() = delete; + static auto IsCurrentViewPresentedOnHolographicDisplay(); + static auto IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs); + }; + struct WINRT_IMPL_EMPTY_BASES HolographicKeyboardPlacementOverridePreview : winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview + { + HolographicKeyboardPlacementOverridePreview(std::nullptr_t) noexcept {} + HolographicKeyboardPlacementOverridePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4977ce5b764e6f5f2bdb9b4017f55d0abe4ffda2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.0.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_0_H +#define WINRT_Windows_ApplicationModel_Preview_InkWorkspace_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::InkWorkspace +{ + struct IInkWorkspaceHostedAppManager; + struct IInkWorkspaceHostedAppManagerStatics; + struct InkWorkspaceHostedAppManager; + struct PreviewInkWorkspaceContract; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract"; + template <> inline constexpr guid guid_v{ 0xFE0A7990,0x5E59,0x4BB7,{ 0x8A,0x63,0x7D,0x21,0x8C,0xD9,0x63,0x00 } }; // FE0A7990-5E59-4BB7-8A63-7D218CD96300 + template <> inline constexpr guid guid_v{ 0xCBFD8CC5,0xA162,0x4BC4,{ 0x84,0xEE,0xE8,0x71,0x6D,0x52,0x33,0xC5 } }; // CBFD8CC5-A162-4BC4-84EE-E8716D5233C5 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetThumbnailAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentApp(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager + { + auto SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager; + }; + template + struct consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics + { + auto GetForCurrentApp() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f6205afc6e9ad32f94fd9e31788051e0e278fcc3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_1_H +#define WINRT_Windows_ApplicationModel_Preview_InkWorkspace_1_H +#include "winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::InkWorkspace +{ + struct WINRT_IMPL_EMPTY_BASES IInkWorkspaceHostedAppManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInkWorkspaceHostedAppManager(std::nullptr_t = nullptr) noexcept {} + IInkWorkspaceHostedAppManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInkWorkspaceHostedAppManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInkWorkspaceHostedAppManagerStatics(std::nullptr_t = nullptr) noexcept {} + IInkWorkspaceHostedAppManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.2.h new file mode 100644 index 0000000000000000000000000000000000000000..110ea3a7d2b6779c38eeae4eaddd330b94eb6076 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.inkworkspace.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_2_H +#define WINRT_Windows_ApplicationModel_Preview_InkWorkspace_2_H +#include "winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::InkWorkspace +{ + struct WINRT_IMPL_EMPTY_BASES InkWorkspaceHostedAppManager : winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManager + { + InkWorkspaceHostedAppManager(std::nullptr_t) noexcept {} + InkWorkspaceHostedAppManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManager(ptr, take_ownership_from_abi) {} + static auto GetForCurrentApp(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.0.h new file mode 100644 index 0000000000000000000000000000000000000000..84e68e6aa5487d5f53bb29ca58003d2cd91285de --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.0.h @@ -0,0 +1,212 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Notes_0_H +#define WINRT_Windows_ApplicationModel_Preview_Notes_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Notes +{ + struct INotePlacementChangedPreviewEventArgs; + struct INoteVisibilityChangedPreviewEventArgs; + struct INotesWindowManagerPreview; + struct INotesWindowManagerPreview2; + struct INotesWindowManagerPreviewShowNoteOptions; + struct INotesWindowManagerPreviewStatics; + struct NotePlacementChangedPreviewEventArgs; + struct NoteVisibilityChangedPreviewEventArgs; + struct NotesWindowManagerPreview; + struct NotesWindowManagerPreviewShowNoteOptions; + struct PreviewNotesContract; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INotePlacementChangedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.Notes.PreviewNotesContract"; + template <> inline constexpr guid guid_v{ 0x491D57B7,0xF780,0x4E7F,{ 0xA9,0x39,0x9A,0x4C,0xAF,0x96,0x52,0x14 } }; // 491D57B7-F780-4E7F-A939-9A4CAF965214 + template <> inline constexpr guid guid_v{ 0x0E34649E,0x3815,0x4FF6,{ 0x83,0xB3,0xA1,0x4D,0x17,0x12,0x0E,0x24 } }; // 0E34649E-3815-4FF6-83B3-A14D17120E24 + template <> inline constexpr guid guid_v{ 0xDC2AC23E,0x4850,0x4F13,{ 0x9C,0xC7,0xFF,0x48,0x7E,0xFD,0xFC,0xDE } }; // DC2AC23E-4850-4F13-9CC7-FF487EFDFCDE + template <> inline constexpr guid guid_v{ 0xEDFE864A,0x1F54,0x4B09,{ 0x98,0x23,0xFF,0x47,0x7F,0x6F,0xA3,0xBC } }; // EDFE864A-1F54-4B09-9823-FF477F6FA3BC + template <> inline constexpr guid guid_v{ 0x886B09D6,0xA6AE,0x4007,{ 0xA5,0x6D,0x1C,0xA7,0x0C,0x84,0xC0,0xD2 } }; // 886B09D6-A6AE-4007-A56D-1CA70C84C0D2 + template <> inline constexpr guid guid_v{ 0x6668CC88,0x0A8E,0x4127,{ 0xA3,0x8E,0x99,0x54,0x45,0x86,0x8A,0x78 } }; // 6668CC88-0A8E-4127-A38E-995445868A78 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ViewId(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ViewId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsVisible(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsScreenLocked(bool*) noexcept = 0; + virtual int32_t __stdcall ShowNote(int32_t) noexcept = 0; + virtual int32_t __stdcall ShowNoteRelativeTo(int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall ShowNoteWithPlacement(int32_t, void*) noexcept = 0; + virtual int32_t __stdcall HideNote(int32_t) noexcept = 0; + virtual int32_t __stdcall GetNotePlacement(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TrySetNoteSize(int32_t, winrt::Windows::Foundation::Size, bool*) noexcept = 0; + virtual int32_t __stdcall SetFocusToNextView() noexcept = 0; + virtual int32_t __stdcall SetNotesThumbnailAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_SystemLockStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SystemLockStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NotePlacementChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NotePlacementChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NoteVisibilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NoteVisibilityChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ShowNoteRelativeToWithOptions(int32_t, int32_t, void*) noexcept = 0; + virtual int32_t __stdcall ShowNoteWithPlacementWithOptions(int32_t, void*, void*) noexcept = 0; + virtual int32_t __stdcall SetFocusToPreviousView() noexcept = 0; + virtual int32_t __stdcall SetThumbnailImageForTaskSwitcherAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShowWithFocus(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShowWithFocus(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentApp(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs + { + [[nodiscard]] auto ViewId() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs + { + [[nodiscard]] auto ViewId() const; + [[nodiscard]] auto IsVisible() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview + { + [[nodiscard]] auto IsScreenLocked() const; + auto ShowNote(int32_t noteViewId) const; + auto ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const; + auto ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto HideNote(int32_t noteViewId) const; + auto GetNotePlacement(int32_t noteViewId) const; + auto TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const; + auto SetFocusToNextView() const; + auto SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const; + auto SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SystemLockStateChanged_revoker = impl::event_revoker::remove_SystemLockStateChanged>; + [[nodiscard]] auto SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemLockStateChanged(winrt::event_token const& token) const noexcept; + auto NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using NotePlacementChanged_revoker = impl::event_revoker::remove_NotePlacementChanged>; + [[nodiscard]] auto NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NotePlacementChanged(winrt::event_token const& token) const noexcept; + auto NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using NoteVisibilityChanged_revoker = impl::event_revoker::remove_NoteVisibilityChanged>; + [[nodiscard]] auto NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NoteVisibilityChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2 + { + auto ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; + auto ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; + auto SetFocusToPreviousView() const; + auto SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions + { + [[nodiscard]] auto ShowWithFocus() const; + auto ShowWithFocus(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions; + }; + template + struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics + { + auto GetForCurrentApp() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4ce777080e60d9df7eac2862b88c7b0d1cafd1e0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Notes_1_H +#define WINRT_Windows_ApplicationModel_Preview_Notes_1_H +#include "winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Notes +{ + struct WINRT_IMPL_EMPTY_BASES INotePlacementChangedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INotePlacementChangedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + INotePlacementChangedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INoteVisibilityChangedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INoteVisibilityChangedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + INoteVisibilityChangedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INotesWindowManagerPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INotesWindowManagerPreview(std::nullptr_t = nullptr) noexcept {} + INotesWindowManagerPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INotesWindowManagerPreview2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INotesWindowManagerPreview2(std::nullptr_t = nullptr) noexcept {} + INotesWindowManagerPreview2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INotesWindowManagerPreviewShowNoteOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INotesWindowManagerPreviewShowNoteOptions(std::nullptr_t = nullptr) noexcept {} + INotesWindowManagerPreviewShowNoteOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INotesWindowManagerPreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INotesWindowManagerPreviewStatics(std::nullptr_t = nullptr) noexcept {} + INotesWindowManagerPreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.2.h new file mode 100644 index 0000000000000000000000000000000000000000..48270170f42cde3b3c1e7d63316c21da61addd15 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.preview.notes.2.h @@ -0,0 +1,40 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Preview_Notes_2_H +#define WINRT_Windows_ApplicationModel_Preview_Notes_2_H +#include "winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview::Notes +{ + struct WINRT_IMPL_EMPTY_BASES NotePlacementChangedPreviewEventArgs : winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs + { + NotePlacementChangedPreviewEventArgs(std::nullptr_t) noexcept {} + NotePlacementChangedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NoteVisibilityChangedPreviewEventArgs : winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs + { + NoteVisibilityChangedPreviewEventArgs(std::nullptr_t) noexcept {} + NoteVisibilityChangedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NotesWindowManagerPreview : winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview, + impl::require + { + NotesWindowManagerPreview(std::nullptr_t) noexcept {} + NotesWindowManagerPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview(ptr, take_ownership_from_abi) {} + using winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview::ShowNoteRelativeTo; + using impl::consume_t::ShowNoteRelativeTo; + using winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview::ShowNoteWithPlacement; + using impl::consume_t::ShowNoteWithPlacement; + static auto GetForCurrentApp(); + }; + struct WINRT_IMPL_EMPTY_BASES NotesWindowManagerPreviewShowNoteOptions : winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions + { + NotesWindowManagerPreviewShowNoteOptions(std::nullptr_t) noexcept {} + NotesWindowManagerPreviewShowNoteOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions(ptr, take_ownership_from_abi) {} + NotesWindowManagerPreviewShowNoteOptions(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.0.h new file mode 100644 index 0000000000000000000000000000000000000000..3b538ea1fc03dd69e1a77e46bddd3d674fc12fa8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.0.h @@ -0,0 +1,173 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_0_H +#define WINRT_Windows_ApplicationModel_Resources_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct UIContext; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources +{ + struct IResourceLoader; + struct IResourceLoader2; + struct IResourceLoaderFactory; + struct IResourceLoaderStatics; + struct IResourceLoaderStatics2; + struct IResourceLoaderStatics3; + struct IResourceLoaderStatics4; + struct ResourceLoader; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.ResourceLoader"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoader"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoader2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics4"; + template <> inline constexpr guid guid_v{ 0x08524908,0x16EF,0x45AD,{ 0xA6,0x02,0x29,0x36,0x37,0xD7,0xE6,0x1A } }; // 08524908-16EF-45AD-A602-293637D7E61A + template <> inline constexpr guid guid_v{ 0x10EB6EC6,0x8138,0x48C1,{ 0xBC,0x65,0xE1,0xF1,0x42,0x07,0x36,0x7C } }; // 10EB6EC6-8138-48C1-BC65-E1F14207367C + template <> inline constexpr guid guid_v{ 0xC33A3603,0x69DC,0x4285,{ 0xA0,0x77,0xD5,0xC0,0xE4,0x7C,0xCB,0xE8 } }; // C33A3603-69DC-4285-A077-D5C0E47CCBE8 + template <> inline constexpr guid guid_v{ 0xBF777CE1,0x19C8,0x49C2,{ 0x95,0x3C,0x47,0xE9,0x22,0x7B,0x33,0x4E } }; // BF777CE1-19C8-49C2-953C-47E9227B334E + template <> inline constexpr guid guid_v{ 0x0CC04141,0x6466,0x4989,{ 0x94,0x94,0x0B,0x82,0xDF,0xC5,0x3F,0x1F } }; // 0CC04141-6466-4989-9494-0B82DFC53F1F + template <> inline constexpr guid guid_v{ 0x64609DFB,0x64AC,0x491B,{ 0x81,0x00,0x0E,0x55,0x8D,0x61,0xC1,0xD0 } }; // 64609DFB-64AC-491B-8100-0E558D61C1D0 + template <> inline constexpr guid guid_v{ 0x9FB36C32,0x6C8C,0x4316,{ 0x96,0x2E,0x90,0x95,0x39,0xB5,0xC2,0x59 } }; // 9FB36C32-6C8C-4316-962E-909539B5C259 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::IResourceLoader; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetString(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStringForUri(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateResourceLoaderByName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStringForReference(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall GetForCurrentViewWithName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetForViewIndependentUse(void**) noexcept = 0; + virtual int32_t __stdcall GetForViewIndependentUseWithName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUIContext(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultPriPath(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoader + { + auto GetString(param::hstring const& resource) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoader; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoader2 + { + auto GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoader2; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory + { + auto CreateResourceLoaderByName(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics + { + auto GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2 + { + auto GetForCurrentView() const; + auto GetForCurrentView(param::hstring const& name) const; + auto GetForViewIndependentUse() const; + auto GetForViewIndependentUse(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3 + { + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3; + }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4 + { + auto GetDefaultPriPath(param::hstring const& packageFullName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8f9b824fe06115ee8a2c2823b4319e6f6dc884fd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.1.h @@ -0,0 +1,62 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_1_H +#define WINRT_Windows_ApplicationModel_Resources_1_H +#include "winrt/impl/Windows.ApplicationModel.Resources.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources +{ + struct WINRT_IMPL_EMPTY_BASES IResourceLoader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoader(std::nullptr_t = nullptr) noexcept {} + IResourceLoader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoader2(std::nullptr_t = nullptr) noexcept {} + IResourceLoader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoaderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderFactory(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoaderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderStatics(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoaderStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderStatics2(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoaderStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderStatics3(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceLoaderStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderStatics4(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.2.h new file mode 100644 index 0000000000000000000000000000000000000000..70669240456ac66ccef03753881aa4a9bca3784c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.2.h @@ -0,0 +1,30 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_2_H +#define WINRT_Windows_ApplicationModel_Resources_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.UI.1.h" +#include "winrt/impl/Windows.ApplicationModel.Resources.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources +{ + struct WINRT_IMPL_EMPTY_BASES ResourceLoader : winrt::Windows::ApplicationModel::Resources::IResourceLoader, + impl::require + { + ResourceLoader(std::nullptr_t) noexcept {} + ResourceLoader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::IResourceLoader(ptr, take_ownership_from_abi) {} + ResourceLoader(); + explicit ResourceLoader(param::hstring const& name); + static auto GetStringForReference(winrt::Windows::Foundation::Uri const& uri); + static auto GetForCurrentView(); + static auto GetForCurrentView(param::hstring const& name); + static auto GetForViewIndependentUse(); + static auto GetForViewIndependentUse(param::hstring const& name); + static auto GetForUIContext(winrt::Windows::UI::UIContext const& context); + static auto GetDefaultPriPath(param::hstring const& packageFullName); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..10d53d2b1fbd1d906c2622896304338fa80b0a5a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.0.h @@ -0,0 +1,470 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Core_0_H +#define WINRT_Windows_ApplicationModel_Resources_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IIterator; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; + template struct WINRT_IMPL_EMPTY_BASES IMapView; + template struct WINRT_IMPL_EMPTY_BASES IObservableMap; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct UIContext; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Core +{ + enum class ResourceCandidateKind : int32_t + { + String = 0, + File = 1, + EmbeddedData = 2, + }; + enum class ResourceQualifierPersistence : int32_t + { + None = 0, + LocalMachine = 1, + }; + struct INamedResource; + struct IResourceCandidate; + struct IResourceCandidate2; + struct IResourceCandidate3; + struct IResourceContext; + struct IResourceContextStatics; + struct IResourceContextStatics2; + struct IResourceContextStatics3; + struct IResourceContextStatics4; + struct IResourceManager; + struct IResourceManager2; + struct IResourceManagerStatics; + struct IResourceMap; + struct IResourceQualifier; + struct NamedResource; + struct ResourceCandidate; + struct ResourceCandidateVectorView; + struct ResourceContext; + struct ResourceContextLanguagesVectorView; + struct ResourceManager; + struct ResourceMap; + struct ResourceMapIterator; + struct ResourceMapMapView; + struct ResourceMapMapViewIterator; + struct ResourceQualifier; + struct ResourceQualifierMapView; + struct ResourceQualifierObservableMap; + struct ResourceQualifierVectorView; + struct ResourceLayoutInfo; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.NamedResource"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceCandidate"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceContext"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceMap"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceMapIterator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceMapMapView"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceQualifier"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceCandidateKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceQualifierPersistence"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.ResourceLayoutInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.INamedResource"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceCandidate"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceCandidate2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceCandidate3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceContext"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceContextStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceContextStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceContextStatics3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceContextStatics4"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceManager2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceMap"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Core.IResourceQualifier"; + template <> inline constexpr guid guid_v{ 0x1C98C219,0x0B13,0x4240,{ 0x89,0xA5,0xD4,0x95,0xDC,0x18,0x9A,0x00 } }; // 1C98C219-0B13-4240-89A5-D495DC189A00 + template <> inline constexpr guid guid_v{ 0xAF5207D9,0xC433,0x4764,{ 0xB3,0xFD,0x8F,0xA6,0xBF,0xBC,0xBA,0xDC } }; // AF5207D9-C433-4764-B3FD-8FA6BFBCBADC + template <> inline constexpr guid guid_v{ 0x69E5B468,0xF6FC,0x4013,{ 0xAA,0xA2,0xD5,0x3F,0x17,0x57,0xD3,0xB5 } }; // 69E5B468-F6FC-4013-AAA2-D53F1757D3B5 + template <> inline constexpr guid guid_v{ 0x08AE97F8,0x517A,0x4674,{ 0x95,0x8C,0x4A,0x3C,0x7C,0xD2,0xCC,0x6B } }; // 08AE97F8-517A-4674-958C-4A3C7CD2CC6B + template <> inline constexpr guid guid_v{ 0x2FA22F4B,0x707E,0x4B27,{ 0xAD,0x0D,0xD0,0xD8,0xCD,0x46,0x8F,0xD2 } }; // 2FA22F4B-707E-4B27-AD0D-D0D8CD468FD2 + template <> inline constexpr guid guid_v{ 0x98BE9D6C,0x6338,0x4B31,{ 0x99,0xDF,0xB2,0xB4,0x42,0xF1,0x71,0x49 } }; // 98BE9D6C-6338-4B31-99DF-B2B442F17149 + template <> inline constexpr guid guid_v{ 0x41F752EF,0x12AF,0x41B9,{ 0xAB,0x36,0xB1,0xEB,0x4B,0x51,0x24,0x60 } }; // 41F752EF-12AF-41B9-AB36-B1EB4B512460 + template <> inline constexpr guid guid_v{ 0x20CF492C,0xAF0F,0x450B,{ 0x9D,0xA6,0x10,0x6D,0xD0,0xC2,0x9A,0x39 } }; // 20CF492C-AF0F-450B-9DA6-106DD0C29A39 + template <> inline constexpr guid guid_v{ 0x22EB9CCD,0xFB31,0x4BFA,{ 0xB8,0x6B,0xDF,0x9D,0x9D,0x7B,0xDC,0x39 } }; // 22EB9CCD-FB31-4BFA-B86B-DF9D9D7BDC39 + template <> inline constexpr guid guid_v{ 0xF744D97B,0x9988,0x44FB,{ 0xAB,0xD6,0x53,0x78,0x84,0x4C,0xFA,0x8B } }; // F744D97B-9988-44FB-ABD6-5378844CFA8B + template <> inline constexpr guid guid_v{ 0x9D66FE6C,0xA4D7,0x4C23,{ 0x9E,0x85,0x67,0x5F,0x30,0x4C,0x25,0x2D } }; // 9D66FE6C-A4D7-4C23-9E85-675F304C252D + template <> inline constexpr guid guid_v{ 0x1CC0FDFC,0x69EE,0x4E43,{ 0x99,0x01,0x47,0xF1,0x26,0x87,0xBA,0xF7 } }; // 1CC0FDFC-69EE-4E43-9901-47F12687BAF7 + template <> inline constexpr guid guid_v{ 0x72284824,0xDB8C,0x42F8,{ 0xB0,0x8C,0x53,0xFF,0x35,0x7D,0xAD,0x82 } }; // 72284824-DB8C-42F8-B08C-53FF357DAD82 + template <> inline constexpr guid guid_v{ 0x785DA5B2,0x4AFD,0x4376,{ 0xA8,0x88,0xC5,0xF9,0xA6,0xB7,0xA0,0x5C } }; // 785DA5B2-4AFD-4376-A888-C5F9A6B7A05C + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::INamedResource; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::IResourceContext; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::IResourceManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::IResourceMap; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterator>; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMapView; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterator>; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMapView; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IObservableMap; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall get_Candidates(void**) noexcept = 0; + virtual int32_t __stdcall Resolve(void**) noexcept = 0; + virtual int32_t __stdcall ResolveForContext(void*, void**) noexcept = 0; + virtual int32_t __stdcall ResolveAll(void**) noexcept = 0; + virtual int32_t __stdcall ResolveAllForContext(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Qualifiers(void**) noexcept = 0; + virtual int32_t __stdcall get_IsMatch(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMatchAsDefault(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDefault(bool*) noexcept = 0; + virtual int32_t __stdcall get_ValueAsString(void**) noexcept = 0; + virtual int32_t __stdcall GetValueAsFileAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetQualifierValue(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetValueAsStreamAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QualifierValues(void**) noexcept = 0; + virtual int32_t __stdcall Reset() noexcept = 0; + virtual int32_t __stdcall ResetQualifierValues(void*) noexcept = 0; + virtual int32_t __stdcall OverrideToMatch(void*) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall put_Languages(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMatchingContext(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall SetGlobalQualifierValue(void*, void*) noexcept = 0; + virtual int32_t __stdcall ResetGlobalQualifierValues() noexcept = 0; + virtual int32_t __stdcall ResetGlobalQualifierValuesForSpecifiedQualifiers(void*) noexcept = 0; + virtual int32_t __stdcall GetForViewIndependentUse(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetGlobalQualifierValueWithPersistence(void*, void*, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUIContext(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MainResourceMap(void**) noexcept = 0; + virtual int32_t __stdcall get_AllResourceMaps(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultContext(void**) noexcept = 0; + virtual int32_t __stdcall LoadPriFiles(void*) noexcept = 0; + virtual int32_t __stdcall UnloadPriFiles(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAllNamedResourcesForPackage(void*, struct struct_Windows_ApplicationModel_Resources_Core_ResourceLayoutInfo, void**) noexcept = 0; + virtual int32_t __stdcall GetAllSubtreesForPackage(void*, struct struct_Windows_ApplicationModel_Resources_Core_ResourceLayoutInfo, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + virtual int32_t __stdcall IsResourceReference(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall GetValue(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetValueForContext(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSubtree(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QualifierName(void**) noexcept = 0; + virtual int32_t __stdcall get_QualifierValue(void**) noexcept = 0; + virtual int32_t __stdcall get_IsDefault(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMatch(bool*) noexcept = 0; + virtual int32_t __stdcall get_Score(double*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_INamedResource + { + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Candidates() const; + auto Resolve() const; + auto Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; + auto ResolveAll() const; + auto ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_INamedResource; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate + { + [[nodiscard]] auto Qualifiers() const; + [[nodiscard]] auto IsMatch() const; + [[nodiscard]] auto IsMatchAsDefault() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto ValueAsString() const; + auto GetValueAsFileAsync() const; + auto GetQualifierValue(param::hstring const& qualifierName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2 + { + auto GetValueAsStreamAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3 + { + [[nodiscard]] auto Kind() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceContext + { + [[nodiscard]] auto QualifierValues() const; + auto Reset() const; + auto Reset(param::iterable const& qualifierNames) const; + auto OverrideToMatch(param::iterable const& result) const; + auto Clone() const; + [[nodiscard]] auto Languages() const; + auto Languages(param::async_vector_view const& languages) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceContext; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics + { + auto CreateMatchingContext(param::iterable const& result) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2 + { + auto GetForCurrentView() const; + auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const; + auto ResetGlobalQualifierValues() const; + auto ResetGlobalQualifierValues(param::iterable const& qualifierNames) const; + auto GetForViewIndependentUse() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3 + { + auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4 + { + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceManager + { + [[nodiscard]] auto MainResourceMap() const; + [[nodiscard]] auto AllResourceMaps() const; + [[nodiscard]] auto DefaultContext() const; + auto LoadPriFiles(param::iterable const& files) const; + auto UnloadPriFiles(param::iterable const& files) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceManager; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceManager2 + { + auto GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; + auto GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceManager2; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics + { + [[nodiscard]] auto Current() const; + auto IsResourceReference(param::hstring const& resourceReference) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceMap + { + [[nodiscard]] auto Uri() const; + auto GetValue(param::hstring const& resource) const; + auto GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const; + auto GetSubtree(param::hstring const& reference) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceMap; + }; + template + struct consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier + { + [[nodiscard]] auto QualifierName() const; + [[nodiscard]] auto QualifierValue() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto IsMatch() const; + [[nodiscard]] auto Score() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier; + }; + struct struct_Windows_ApplicationModel_Resources_Core_ResourceLayoutInfo + { + uint32_t MajorVersion; + uint32_t MinorVersion; + uint32_t ResourceSubtreeCount; + uint32_t NamedResourceCount; + int32_t Checksum; + }; + template <> struct abi + { + using type = struct_Windows_ApplicationModel_Resources_Core_ResourceLayoutInfo; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..d7e0d72d6ab4b100ecd1901ea8ac7d126d834310 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.1.h @@ -0,0 +1,113 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Core_1_H +#define WINRT_Windows_ApplicationModel_Resources_Core_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.ApplicationModel.Resources.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Core +{ + struct WINRT_IMPL_EMPTY_BASES INamedResource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INamedResource(std::nullptr_t = nullptr) noexcept {} + INamedResource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceCandidate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceCandidate(std::nullptr_t = nullptr) noexcept {} + IResourceCandidate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceCandidate2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceCandidate2(std::nullptr_t = nullptr) noexcept {} + IResourceCandidate2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceCandidate3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceCandidate3(std::nullptr_t = nullptr) noexcept {} + IResourceCandidate3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceContext(std::nullptr_t = nullptr) noexcept {} + IResourceContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceContextStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceContextStatics(std::nullptr_t = nullptr) noexcept {} + IResourceContextStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceContextStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceContextStatics2(std::nullptr_t = nullptr) noexcept {} + IResourceContextStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceContextStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceContextStatics3(std::nullptr_t = nullptr) noexcept {} + IResourceContextStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceContextStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceContextStatics4(std::nullptr_t = nullptr) noexcept {} + IResourceContextStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceManager(std::nullptr_t = nullptr) noexcept {} + IResourceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceManager2(std::nullptr_t = nullptr) noexcept {} + IResourceManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceManagerStatics(std::nullptr_t = nullptr) noexcept {} + IResourceManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceMap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require>, winrt::Windows::Foundation::Collections::IMapView> + { + IResourceMap(std::nullptr_t = nullptr) noexcept {} + IResourceMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceQualifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceQualifier(std::nullptr_t = nullptr) noexcept {} + IResourceQualifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1657f44a00ce59af186a0763baf7838762876e2d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.core.2.h @@ -0,0 +1,114 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Core_2_H +#define WINRT_Windows_ApplicationModel_Resources_Core_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.UI.1.h" +#include "winrt/impl/Windows.ApplicationModel.Resources.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Core +{ + struct ResourceLayoutInfo + { + uint32_t MajorVersion {}; + uint32_t MinorVersion {}; + uint32_t ResourceSubtreeCount {}; + uint32_t NamedResourceCount {}; + int32_t Checksum {}; + }; + inline bool operator==(ResourceLayoutInfo const& left, ResourceLayoutInfo const& right) noexcept + { + return left.MajorVersion == right.MajorVersion && left.MinorVersion == right.MinorVersion && left.ResourceSubtreeCount == right.ResourceSubtreeCount && left.NamedResourceCount == right.NamedResourceCount && left.Checksum == right.Checksum; + } + inline bool operator!=(ResourceLayoutInfo const& left, ResourceLayoutInfo const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES NamedResource : winrt::Windows::ApplicationModel::Resources::Core::INamedResource + { + NamedResource(std::nullptr_t) noexcept {} + NamedResource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::INamedResource(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceCandidate : winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate, + impl::require + { + ResourceCandidate(std::nullptr_t) noexcept {} + ResourceCandidate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceCandidateVectorView : winrt::Windows::Foundation::Collections::IVectorView + { + ResourceCandidateVectorView(std::nullptr_t) noexcept {} + ResourceCandidateVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceContext : winrt::Windows::ApplicationModel::Resources::Core::IResourceContext + { + ResourceContext(std::nullptr_t) noexcept {} + ResourceContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceContext(ptr, take_ownership_from_abi) {} + ResourceContext(); + static auto CreateMatchingContext(param::iterable const& result); + static auto GetForCurrentView(); + static auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value); + static auto ResetGlobalQualifierValues(); + static auto ResetGlobalQualifierValues(param::iterable const& qualifierNames); + static auto GetForViewIndependentUse(); + static auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence); + static auto GetForUIContext(winrt::Windows::UI::UIContext const& context); + }; + struct WINRT_IMPL_EMPTY_BASES ResourceContextLanguagesVectorView : winrt::Windows::Foundation::Collections::IVectorView + { + ResourceContextLanguagesVectorView(std::nullptr_t) noexcept {} + ResourceContextLanguagesVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceManager : winrt::Windows::ApplicationModel::Resources::Core::IResourceManager, + impl::require + { + ResourceManager(std::nullptr_t) noexcept {} + ResourceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + static auto IsResourceReference(param::hstring const& resourceReference); + }; + struct WINRT_IMPL_EMPTY_BASES ResourceMap : winrt::Windows::ApplicationModel::Resources::Core::IResourceMap + { + ResourceMap(std::nullptr_t) noexcept {} + ResourceMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceMap(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceMapIterator : winrt::Windows::Foundation::Collections::IIterator> + { + ResourceMapIterator(std::nullptr_t) noexcept {} + ResourceMapIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator>(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceMapMapView : winrt::Windows::Foundation::Collections::IMapView + { + ResourceMapMapView(std::nullptr_t) noexcept {} + ResourceMapMapView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMapView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceMapMapViewIterator : winrt::Windows::Foundation::Collections::IIterator> + { + ResourceMapMapViewIterator(std::nullptr_t) noexcept {} + ResourceMapMapViewIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator>(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceQualifier : winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier + { + ResourceQualifier(std::nullptr_t) noexcept {} + ResourceQualifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceQualifierMapView : winrt::Windows::Foundation::Collections::IMapView + { + ResourceQualifierMapView(std::nullptr_t) noexcept {} + ResourceQualifierMapView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMapView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceQualifierObservableMap : winrt::Windows::Foundation::Collections::IObservableMap + { + ResourceQualifierObservableMap(std::nullptr_t) noexcept {} + ResourceQualifierObservableMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IObservableMap(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceQualifierVectorView : winrt::Windows::Foundation::Collections::IVectorView + { + ResourceQualifierVectorView(std::nullptr_t) noexcept {} + ResourceQualifierVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.0.h new file mode 100644 index 0000000000000000000000000000000000000000..3b388ec9ae90111112b8531dc45eb5a6b7e3dc4b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.0.h @@ -0,0 +1,155 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Management_0_H +#define WINRT_Windows_ApplicationModel_Resources_Management_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Management +{ + enum class IndexedResourceType : int32_t + { + String = 0, + Path = 1, + EmbeddedData = 2, + }; + struct IIndexedResourceCandidate; + struct IIndexedResourceQualifier; + struct IResourceIndexer; + struct IResourceIndexerFactory; + struct IResourceIndexerFactory2; + struct IndexedResourceCandidate; + struct IndexedResourceQualifier; + struct ResourceIndexer; + struct ResourceIndexerContract; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.ResourceIndexer"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IndexedResourceType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IIndexedResourceCandidate"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IIndexedResourceQualifier"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IResourceIndexer"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IResourceIndexerFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.IResourceIndexerFactory2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.Management.ResourceIndexerContract"; + template <> inline constexpr guid guid_v{ 0x0E619EF3,0xFAEC,0x4414,{ 0xA9,0xD7,0x54,0xAC,0xD5,0x95,0x3F,0x29 } }; // 0E619EF3-FAEC-4414-A9D7-54ACD5953F29 + template <> inline constexpr guid guid_v{ 0xDAE3BB9B,0xD304,0x497F,{ 0xA1,0x68,0xA3,0x40,0x04,0x2C,0x8A,0xDB } }; // DAE3BB9B-D304-497F-A168-A340042C8ADB + template <> inline constexpr guid guid_v{ 0x2D4CF9A5,0xE32F,0x4AB2,{ 0x87,0x48,0x96,0x35,0x0A,0x01,0x6D,0xA3 } }; // 2D4CF9A5-E32F-4AB2-8748-96350A016DA3 + template <> inline constexpr guid guid_v{ 0xB8DE3F09,0x31CD,0x4D97,{ 0xBD,0x30,0x8D,0x39,0xF7,0x42,0xBC,0x61 } }; // B8DE3F09-31CD-4D97-BD30-8D39F742BC61 + template <> inline constexpr guid guid_v{ 0x6040F18D,0xD5E5,0x4B60,{ 0x92,0x01,0xCD,0x27,0x9C,0xBC,0xFE,0xD9 } }; // 6040F18D-D5E5-4B60-9201-CD279CBCFED9 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall get_Metadata(void**) noexcept = 0; + virtual int32_t __stdcall get_Qualifiers(void**) noexcept = 0; + virtual int32_t __stdcall get_ValueAsString(void**) noexcept = 0; + virtual int32_t __stdcall GetQualifierValue(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QualifierName(void**) noexcept = 0; + virtual int32_t __stdcall get_QualifierValue(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IndexFilePath(void*, void**) noexcept = 0; + virtual int32_t __stdcall IndexFileContentsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateResourceIndexer(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateResourceIndexerWithExtension(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Metadata() const; + [[nodiscard]] auto Qualifiers() const; + [[nodiscard]] auto ValueAsString() const; + auto GetQualifierValue(param::hstring const& qualifierName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate; + }; + template + struct consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier + { + [[nodiscard]] auto QualifierName() const; + [[nodiscard]] auto QualifierValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier; + }; + template + struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer + { + auto IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const; + auto IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer; + }; + template + struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory + { + auto CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory; + }; + template + struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2 + { + auto CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5d792e71ccca223b8f3c12b8636733cf1903c7be --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Management_1_H +#define WINRT_Windows_ApplicationModel_Resources_Management_1_H +#include "winrt/impl/Windows.ApplicationModel.Resources.Management.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Management +{ + struct WINRT_IMPL_EMPTY_BASES IIndexedResourceCandidate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIndexedResourceCandidate(std::nullptr_t = nullptr) noexcept {} + IIndexedResourceCandidate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIndexedResourceQualifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIndexedResourceQualifier(std::nullptr_t = nullptr) noexcept {} + IIndexedResourceQualifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceIndexer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceIndexer(std::nullptr_t = nullptr) noexcept {} + IResourceIndexer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceIndexerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceIndexerFactory(std::nullptr_t = nullptr) noexcept {} + IResourceIndexerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResourceIndexerFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceIndexerFactory2(std::nullptr_t = nullptr) noexcept {} + IResourceIndexerFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.2.h new file mode 100644 index 0000000000000000000000000000000000000000..d60742564a3ccce47b4ecbb82648c0ada72fcc1f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.resources.management.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Resources_Management_2_H +#define WINRT_Windows_ApplicationModel_Resources_Management_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.ApplicationModel.Resources.Management.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Management +{ + struct WINRT_IMPL_EMPTY_BASES IndexedResourceCandidate : winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate + { + IndexedResourceCandidate(std::nullptr_t) noexcept {} + IndexedResourceCandidate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IndexedResourceQualifier : winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier + { + IndexedResourceQualifier(std::nullptr_t) noexcept {} + IndexedResourceQualifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ResourceIndexer : winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer + { + ResourceIndexer(std::nullptr_t) noexcept {} + ResourceIndexer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer(ptr, take_ownership_from_abi) {} + explicit ResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot); + ResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.0.h new file mode 100644 index 0000000000000000000000000000000000000000..caa80b31c9f68dad302dfdb50b95262566aae5d7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.0.h @@ -0,0 +1,544 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_0_H +#define WINRT_Windows_ApplicationModel_Search_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search +{ + struct ILocalContentSuggestionSettings; + struct ISearchPane; + struct ISearchPaneQueryChangedEventArgs; + struct ISearchPaneQueryLinguisticDetails; + struct ISearchPaneQuerySubmittedEventArgs; + struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails; + struct ISearchPaneResultSuggestionChosenEventArgs; + struct ISearchPaneStatics; + struct ISearchPaneStaticsWithHideThisApplication; + struct ISearchPaneSuggestionsRequest; + struct ISearchPaneSuggestionsRequestDeferral; + struct ISearchPaneSuggestionsRequestedEventArgs; + struct ISearchPaneVisibilityChangedEventArgs; + struct ISearchQueryLinguisticDetails; + struct ISearchQueryLinguisticDetailsFactory; + struct ISearchSuggestionCollection; + struct ISearchSuggestionsRequest; + struct ISearchSuggestionsRequestDeferral; + struct LocalContentSuggestionSettings; + struct SearchPane; + struct SearchPaneQueryChangedEventArgs; + struct SearchPaneQueryLinguisticDetails; + struct SearchPaneQuerySubmittedEventArgs; + struct SearchPaneResultSuggestionChosenEventArgs; + struct SearchPaneSuggestionsRequest; + struct SearchPaneSuggestionsRequestDeferral; + struct SearchPaneSuggestionsRequestedEventArgs; + struct SearchPaneVisibilityChangedEventArgs; + struct SearchQueryLinguisticDetails; + struct SearchSuggestionCollection; + struct SearchSuggestionsRequest; + struct SearchSuggestionsRequestDeferral; + struct SearchContract; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.LocalContentSuggestionSettings"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPane"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchQueryLinguisticDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchSuggestionCollection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchSuggestionsRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ILocalContentSuggestionSettings"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPane"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneQueryChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneQueryLinguisticDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneQuerySubmittedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneResultSuggestionChosenEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneStaticsWithHideThisApplication"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneSuggestionsRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneSuggestionsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneSuggestionsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchPaneVisibilityChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchQueryLinguisticDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchQueryLinguisticDetailsFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchSuggestionCollection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchSuggestionsRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.ISearchSuggestionsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.SearchContract"; + template <> inline constexpr guid guid_v{ 0xEEAEB062,0x743D,0x456E,{ 0x84,0xA3,0x23,0xF0,0x6F,0x2D,0x15,0xD7 } }; // EEAEB062-743D-456E-84A3-23F06F2D15D7 + template <> inline constexpr guid guid_v{ 0xFDACEC38,0x3700,0x4D73,{ 0x91,0xA1,0x2F,0x99,0x86,0x74,0x23,0x8A } }; // FDACEC38-3700-4D73-91A1-2F998674238A + template <> inline constexpr guid guid_v{ 0x3C064FE9,0x2351,0x4248,{ 0xA5,0x29,0x71,0x10,0xF4,0x64,0xA7,0x85 } }; // 3C064FE9-2351-4248-A529-7110F464A785 + template <> inline constexpr guid guid_v{ 0x82FB460E,0x0940,0x4B6D,{ 0xB8,0xD0,0x64,0x2B,0x30,0x98,0x9E,0x15 } }; // 82FB460E-0940-4B6D-B8D0-642B30989E15 + template <> inline constexpr guid guid_v{ 0x143BA4FC,0xE9C5,0x4736,{ 0x91,0xB2,0xE8,0xEB,0x9C,0xB8,0x83,0x56 } }; // 143BA4FC-E9C5-4736-91B2-E8EB9CB88356 + template <> inline constexpr guid guid_v{ 0x460C92E5,0x4C32,0x4538,{ 0xA4,0xD4,0xB6,0xB4,0x40,0x0D,0x14,0x0F } }; // 460C92E5-4C32-4538-A4D4-B6B4400D140F + template <> inline constexpr guid guid_v{ 0xC8316CC0,0xAED2,0x41E0,{ 0xBC,0xE0,0xC2,0x6C,0xA7,0x4F,0x85,0xEC } }; // C8316CC0-AED2-41E0-BCE0-C26CA74F85EC + template <> inline constexpr guid guid_v{ 0x9572ADF1,0x8F1D,0x481F,{ 0xA1,0x5B,0xC6,0x16,0x55,0xF1,0x6A,0x0E } }; // 9572ADF1-8F1D-481F-A15B-C61655F16A0E + template <> inline constexpr guid guid_v{ 0x00732830,0x50F1,0x4D03,{ 0x99,0xAC,0xC6,0x64,0x4C,0x8E,0xD8,0xB5 } }; // 00732830-50F1-4D03-99AC-C6644C8ED8B5 + template <> inline constexpr guid guid_v{ 0x81B10B1C,0xE561,0x4093,{ 0x9B,0x4D,0x2A,0xD4,0x82,0x79,0x4A,0x53 } }; // 81B10B1C-E561-4093-9B4D-2AD482794A53 + template <> inline constexpr guid guid_v{ 0xA0D009F7,0x8748,0x4EE2,{ 0xAD,0x44,0xAF,0xA6,0xBE,0x99,0x7C,0x51 } }; // A0D009F7-8748-4EE2-AD44-AFA6BE997C51 + template <> inline constexpr guid guid_v{ 0xC89B8A2F,0xAC56,0x4460,{ 0x8D,0x2F,0x80,0x02,0x3B,0xEC,0x4F,0xC5 } }; // C89B8A2F-AC56-4460-8D2F-80023BEC4FC5 + template <> inline constexpr guid guid_v{ 0x3C4D3046,0xAC4B,0x49F2,{ 0x97,0xD6,0x02,0x0E,0x61,0x82,0xCB,0x9C } }; // 3C4D3046-AC4B-49F2-97D6-020E6182CB9C + template <> inline constexpr guid guid_v{ 0x46A1205B,0x69C9,0x4745,{ 0xB7,0x2F,0xA8,0xA4,0xFC,0x8F,0x24,0xAE } }; // 46A1205B-69C9-4745-B72F-A8A4FC8F24AE + template <> inline constexpr guid guid_v{ 0xCAC6C3B8,0x3C64,0x4DFD,{ 0xAD,0x9F,0x47,0x9E,0x4D,0x40,0x65,0xA4 } }; // CAC6C3B8-3C64-4DFD-AD9F-479E4D4065A4 + template <> inline constexpr guid guid_v{ 0x323A8A4B,0xFBEA,0x4446,{ 0xAB,0xBC,0x3D,0xA7,0x91,0x5F,0xDD,0x3A } }; // 323A8A4B-FBEA-4446-ABBC-3DA7915FDD3A + template <> inline constexpr guid guid_v{ 0x4E4E26A7,0x44E5,0x4039,{ 0x90,0x99,0x60,0x00,0xEA,0xD1,0xF0,0xC6 } }; // 4E4E26A7-44E5-4039-9099-6000EAD1F0C6 + template <> inline constexpr guid guid_v{ 0xB71598A9,0xC065,0x456D,{ 0xA8,0x45,0x1E,0xCC,0xEC,0x5D,0xC2,0x8B } }; // B71598A9-C065-456D-A845-1ECCEC5DC28B + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPane; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneResultSuggestionChosenEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Locations(void**) noexcept = 0; + virtual int32_t __stdcall put_AqsFilter(void*) noexcept = 0; + virtual int32_t __stdcall get_AqsFilter(void**) noexcept = 0; + virtual int32_t __stdcall get_PropertiesToMatch(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_SearchHistoryEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_SearchHistoryEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_SearchHistoryContext(void*) noexcept = 0; + virtual int32_t __stdcall get_SearchHistoryContext(void**) noexcept = 0; + virtual int32_t __stdcall put_PlaceholderText(void*) noexcept = 0; + virtual int32_t __stdcall get_PlaceholderText(void**) noexcept = 0; + virtual int32_t __stdcall get_QueryText(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_Visible(bool*) noexcept = 0; + virtual int32_t __stdcall add_VisibilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VisibilityChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_QueryChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_QueryChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SuggestionsRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SuggestionsRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_QuerySubmitted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_QuerySubmitted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ResultSuggestionChosen(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ResultSuggestionChosen(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall SetLocalContentSuggestionSettings(void*) noexcept = 0; + virtual int32_t __stdcall ShowOverloadDefault() noexcept = 0; + virtual int32_t __stdcall ShowOverloadWithQuery(void*) noexcept = 0; + virtual int32_t __stdcall put_ShowOnKeyboardInput(bool) noexcept = 0; + virtual int32_t __stdcall get_ShowOnKeyboardInput(bool*) noexcept = 0; + virtual int32_t __stdcall TrySetQueryText(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QueryText(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_LinguisticDetails(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QueryTextAlternatives(void**) noexcept = 0; + virtual int32_t __stdcall get_QueryTextCompositionStart(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_QueryTextCompositionLength(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QueryText(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LinguisticDetails(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall HideThisApplication() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; + virtual int32_t __stdcall get_SearchSuggestionCollection(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Visible(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QueryTextAlternatives(void**) noexcept = 0; + virtual int32_t __stdcall get_QueryTextCompositionStart(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_QueryTextCompositionLength(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall AppendQuerySuggestion(void*) noexcept = 0; + virtual int32_t __stdcall AppendQuerySuggestions(void*) noexcept = 0; + virtual int32_t __stdcall AppendResultSuggestion(void*, void*, void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall AppendSearchSeparator(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; + virtual int32_t __stdcall get_SearchSuggestionCollection(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings + { + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto Locations() const; + auto AqsFilter(param::hstring const& value) const; + [[nodiscard]] auto AqsFilter() const; + [[nodiscard]] auto PropertiesToMatch() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPane + { + auto SearchHistoryEnabled(bool value) const; + [[nodiscard]] auto SearchHistoryEnabled() const; + auto SearchHistoryContext(param::hstring const& value) const; + [[nodiscard]] auto SearchHistoryContext() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Visible() const; + auto VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& token) const noexcept; + auto QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using QueryChanged_revoker = impl::event_revoker::remove_QueryChanged>; + [[nodiscard]] auto QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QueryChanged(winrt::event_token const& token) const noexcept; + auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SuggestionsRequested_revoker = impl::event_revoker::remove_SuggestionsRequested>; + [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionsRequested(winrt::event_token const& token) const noexcept; + auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using QuerySubmitted_revoker = impl::event_revoker::remove_QuerySubmitted>; + [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuerySubmitted(winrt::event_token const& token) const noexcept; + auto ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ResultSuggestionChosen_revoker = impl::event_revoker::remove_ResultSuggestionChosen>; + [[nodiscard]] auto ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResultSuggestionChosen(winrt::event_token const& token) const noexcept; + auto SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; + auto Show() const; + auto Show(param::hstring const& query) const; + auto ShowOnKeyboardInput(bool value) const; + [[nodiscard]] auto ShowOnKeyboardInput() const; + auto TrySetQueryText(param::hstring const& query) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPane; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs + { + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails + { + [[nodiscard]] auto QueryTextAlternatives() const; + [[nodiscard]] auto QueryTextCompositionStart() const; + [[nodiscard]] auto QueryTextCompositionLength() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs + { + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails + { + [[nodiscard]] auto LinguisticDetails() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs + { + [[nodiscard]] auto Tag() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneStatics; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication + { + auto HideThisApplication() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest + { + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto SearchSuggestionCollection() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs + { + [[nodiscard]] auto Visible() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails + { + [[nodiscard]] auto QueryTextAlternatives() const; + [[nodiscard]] auto QueryTextCompositionStart() const; + [[nodiscard]] auto QueryTextCompositionLength() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory + { + auto CreateInstance(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection + { + [[nodiscard]] auto Size() const; + auto AppendQuerySuggestion(param::hstring const& text) const; + auto AppendQuerySuggestions(param::iterable const& suggestions) const; + auto AppendResultSuggestion(param::hstring const& text, param::hstring const& detailText, param::hstring const& tag, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& image, param::hstring const& imageAlternateText) const; + auto AppendSearchSeparator(param::hstring const& label) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest + { + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto SearchSuggestionCollection() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest; + }; + template + struct consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e4acf20bfbe85879617292ca4e0e48c4101936f4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.1.h @@ -0,0 +1,140 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_1_H +#define WINRT_Windows_ApplicationModel_Search_1_H +#include "winrt/impl/Windows.ApplicationModel.Search.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search +{ + struct WINRT_IMPL_EMPTY_BASES ILocalContentSuggestionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILocalContentSuggestionSettings(std::nullptr_t = nullptr) noexcept {} + ILocalContentSuggestionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPane : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPane(std::nullptr_t = nullptr) noexcept {} + ISearchPane(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneQueryChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneQueryChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchPaneQueryChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneQueryLinguisticDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneQueryLinguisticDetails(std::nullptr_t = nullptr) noexcept {} + ISearchPaneQueryLinguisticDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneQuerySubmittedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneQuerySubmittedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchPaneQuerySubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails(std::nullptr_t = nullptr) noexcept {} + ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneResultSuggestionChosenEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneResultSuggestionChosenEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchPaneResultSuggestionChosenEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneStatics(std::nullptr_t = nullptr) noexcept {} + ISearchPaneStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneStaticsWithHideThisApplication : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneStaticsWithHideThisApplication(std::nullptr_t = nullptr) noexcept {} + ISearchPaneStaticsWithHideThisApplication(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneSuggestionsRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneSuggestionsRequest(std::nullptr_t = nullptr) noexcept {} + ISearchPaneSuggestionsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneSuggestionsRequestDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneSuggestionsRequestDeferral(std::nullptr_t = nullptr) noexcept {} + ISearchPaneSuggestionsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneSuggestionsRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISearchPaneSuggestionsRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchPaneSuggestionsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchPaneVisibilityChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchPaneVisibilityChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchPaneVisibilityChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchQueryLinguisticDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchQueryLinguisticDetails(std::nullptr_t = nullptr) noexcept {} + ISearchQueryLinguisticDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchQueryLinguisticDetailsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchQueryLinguisticDetailsFactory(std::nullptr_t = nullptr) noexcept {} + ISearchQueryLinguisticDetailsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestionCollection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestionCollection(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestionCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestionsRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestionsRequest(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestionsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestionsRequestDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestionsRequestDeferral(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestionsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5cb0e31a2699c5fabb5cf0645cb3abef0d9eb35c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.2.h @@ -0,0 +1,89 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_2_H +#define WINRT_Windows_ApplicationModel_Search_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.ApplicationModel.Search.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search +{ + struct WINRT_IMPL_EMPTY_BASES LocalContentSuggestionSettings : winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings + { + LocalContentSuggestionSettings(std::nullptr_t) noexcept {} + LocalContentSuggestionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings(ptr, take_ownership_from_abi) {} + LocalContentSuggestionSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES SearchPane : winrt::Windows::ApplicationModel::Search::ISearchPane + { + SearchPane(std::nullptr_t) noexcept {} + SearchPane(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPane(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto HideThisApplication(); + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneQueryChangedEventArgs : winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs + { + SearchPaneQueryChangedEventArgs(std::nullptr_t) noexcept {} + SearchPaneQueryChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneQueryLinguisticDetails : winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails + { + SearchPaneQueryLinguisticDetails(std::nullptr_t) noexcept {} + SearchPaneQueryLinguisticDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneQuerySubmittedEventArgs : winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs, + impl::require + { + SearchPaneQuerySubmittedEventArgs(std::nullptr_t) noexcept {} + SearchPaneQuerySubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneResultSuggestionChosenEventArgs : winrt::Windows::ApplicationModel::Search::ISearchPaneResultSuggestionChosenEventArgs + { + SearchPaneResultSuggestionChosenEventArgs(std::nullptr_t) noexcept {} + SearchPaneResultSuggestionChosenEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneResultSuggestionChosenEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneSuggestionsRequest : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest + { + SearchPaneSuggestionsRequest(std::nullptr_t) noexcept {} + SearchPaneSuggestionsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneSuggestionsRequestDeferral : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral + { + SearchPaneSuggestionsRequestDeferral(std::nullptr_t) noexcept {} + SearchPaneSuggestionsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneSuggestionsRequestedEventArgs : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestedEventArgs + { + SearchPaneSuggestionsRequestedEventArgs(std::nullptr_t) noexcept {} + SearchPaneSuggestionsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchPaneVisibilityChangedEventArgs : winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs + { + SearchPaneVisibilityChangedEventArgs(std::nullptr_t) noexcept {} + SearchPaneVisibilityChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchQueryLinguisticDetails : winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails + { + SearchQueryLinguisticDetails(std::nullptr_t) noexcept {} + SearchQueryLinguisticDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails(ptr, take_ownership_from_abi) {} + SearchQueryLinguisticDetails(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength); + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestionCollection : winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection + { + SearchSuggestionCollection(std::nullptr_t) noexcept {} + SearchSuggestionCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestionsRequest : winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest + { + SearchSuggestionsRequest(std::nullptr_t) noexcept {} + SearchSuggestionsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestionsRequestDeferral : winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral + { + SearchSuggestionsRequestDeferral(std::nullptr_t) noexcept {} + SearchSuggestionsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..7f0e6a2a62a64ecc2e9c9c875262f77193b003b6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.0.h @@ -0,0 +1,184 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_Core_0_H +#define WINRT_Windows_ApplicationModel_Search_Core_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search +{ + struct LocalContentSuggestionSettings; + struct SearchQueryLinguisticDetails; + struct SearchSuggestionsRequest; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search::Core +{ + enum class SearchSuggestionKind : int32_t + { + Query = 0, + Result = 1, + Separator = 2, + }; + struct IRequestingFocusOnKeyboardInputEventArgs; + struct ISearchSuggestion; + struct ISearchSuggestionManager; + struct ISearchSuggestionsRequestedEventArgs; + struct RequestingFocusOnKeyboardInputEventArgs; + struct SearchSuggestion; + struct SearchSuggestionManager; + struct SearchSuggestionsRequestedEventArgs; + struct SearchCoreContract; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.SearchSuggestion"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.SearchSuggestionManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.SearchSuggestionKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.IRequestingFocusOnKeyboardInputEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.ISearchSuggestion"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.ISearchSuggestionManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.ISearchSuggestionsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Search.Core.SearchCoreContract"; + template <> inline constexpr guid guid_v{ 0xA1195F27,0xB1A7,0x41A2,{ 0x87,0x9D,0x6A,0x68,0x68,0x7E,0x59,0x85 } }; // A1195F27-B1A7-41A2-879D-6A68687E5985 + template <> inline constexpr guid guid_v{ 0x5B5554B0,0x1527,0x437B,{ 0x95,0xC5,0x8D,0x18,0xD2,0xB8,0xAF,0x55 } }; // 5B5554B0-1527-437B-95C5-8D18D2B8AF55 + template <> inline constexpr guid guid_v{ 0x3F0C50A1,0xCB9D,0x497B,{ 0xB5,0x00,0x3C,0x04,0xAC,0x95,0x9A,0xD2 } }; // 3F0C50A1-CB9D-497B-B500-3C04AC959AD2 + template <> inline constexpr guid guid_v{ 0x6FD519E5,0x9E7E,0x4AB4,{ 0x8B,0xE3,0xC7,0x6B,0x1B,0xD4,0x34,0x4A } }; // 6FD519E5-9E7E-4AB4-8BE3-C76B1BD4344A + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::Core::IRequestingFocusOnKeyboardInputEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall get_DetailText(void**) noexcept = 0; + virtual int32_t __stdcall get_Image(void**) noexcept = 0; + virtual int32_t __stdcall get_ImageAlternateText(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SearchHistoryEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_SearchHistoryEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_SearchHistoryContext(void**) noexcept = 0; + virtual int32_t __stdcall put_SearchHistoryContext(void*) noexcept = 0; + virtual int32_t __stdcall SetLocalContentSuggestionSettings(void*) noexcept = 0; + virtual int32_t __stdcall SetQuery(void*) noexcept = 0; + virtual int32_t __stdcall SetQueryWithLanguage(void*, void*) noexcept = 0; + virtual int32_t __stdcall SetQueryWithSearchQueryLinguisticDetails(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall get_Suggestions(void**) noexcept = 0; + virtual int32_t __stdcall AddToHistory(void*) noexcept = 0; + virtual int32_t __stdcall AddToHistoryWithLanguage(void*, void*) noexcept = 0; + virtual int32_t __stdcall ClearHistory() noexcept = 0; + virtual int32_t __stdcall add_SuggestionsRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SuggestionsRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RequestingFocusOnKeyboardInput(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RequestingFocusOnKeyboardInput(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QueryText(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_LinguisticDetails(void**) noexcept = 0; + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Search_Core_IRequestingFocusOnKeyboardInputEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_Core_IRequestingFocusOnKeyboardInputEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto DetailText() const; + [[nodiscard]] auto Image() const; + [[nodiscard]] auto ImageAlternateText() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion; + }; + template + struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager + { + [[nodiscard]] auto SearchHistoryEnabled() const; + auto SearchHistoryEnabled(bool value) const; + [[nodiscard]] auto SearchHistoryContext() const; + auto SearchHistoryContext(param::hstring const& value) const; + auto SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; + auto SetQuery(param::hstring const& queryText) const; + auto SetQuery(param::hstring const& queryText, param::hstring const& language) const; + auto SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const; + [[nodiscard]] auto Suggestions() const; + auto AddToHistory(param::hstring const& queryText) const; + auto AddToHistory(param::hstring const& queryText, param::hstring const& language) const; + auto ClearHistory() const; + auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SuggestionsRequested_revoker = impl::event_revoker::remove_SuggestionsRequested>; + [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionsRequested(winrt::event_token const& token) const noexcept; + auto RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RequestingFocusOnKeyboardInput_revoker = impl::event_revoker::remove_RequestingFocusOnKeyboardInput>; + [[nodiscard]] auto RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager; + }; + template + struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs + { + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3d97132753028d9b6ef28738bfaf0233f313c446 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_Core_1_H +#define WINRT_Windows_ApplicationModel_Search_Core_1_H +#include "winrt/impl/Windows.ApplicationModel.Search.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search::Core +{ + struct WINRT_IMPL_EMPTY_BASES IRequestingFocusOnKeyboardInputEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRequestingFocusOnKeyboardInputEventArgs(std::nullptr_t = nullptr) noexcept {} + IRequestingFocusOnKeyboardInputEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestion(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestionManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestionManager(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISearchSuggestionsRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISearchSuggestionsRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISearchSuggestionsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..d75e4e7862e8565042eaae3558a93af6657aedc8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.search.core.2.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Search_Core_2_H +#define WINRT_Windows_ApplicationModel_Search_Core_2_H +#include "winrt/impl/Windows.ApplicationModel.Search.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Search::Core +{ + struct WINRT_IMPL_EMPTY_BASES RequestingFocusOnKeyboardInputEventArgs : winrt::Windows::ApplicationModel::Search::Core::IRequestingFocusOnKeyboardInputEventArgs + { + RequestingFocusOnKeyboardInputEventArgs(std::nullptr_t) noexcept {} + RequestingFocusOnKeyboardInputEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::Core::IRequestingFocusOnKeyboardInputEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestion : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion + { + SearchSuggestion(std::nullptr_t) noexcept {} + SearchSuggestion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestionManager : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager + { + SearchSuggestionManager(std::nullptr_t) noexcept {} + SearchSuggestionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager(ptr, take_ownership_from_abi) {} + SearchSuggestionManager(); + }; + struct WINRT_IMPL_EMPTY_BASES SearchSuggestionsRequestedEventArgs : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs + { + SearchSuggestionsRequestedEventArgs(std::nullptr_t) noexcept {} + SearchSuggestionsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8fc7fa689fd469a8da8f092e3f44d099b568105b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.0.h @@ -0,0 +1,312 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_0_H +#define WINRT_Windows_ApplicationModel_SocialInfo_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct BitmapSize; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo +{ + enum class SocialFeedItemStyle : int32_t + { + Default = 0, + Photo = 1, + }; + enum class SocialFeedKind : int32_t + { + HomeFeed = 0, + ContactFeed = 1, + Dashboard = 2, + }; + enum class SocialFeedUpdateMode : int32_t + { + Append = 0, + Replace = 1, + }; + enum class SocialItemBadgeStyle : int32_t + { + Hidden = 0, + Visible = 1, + VisibleWithCount = 2, + }; + struct ISocialFeedChildItem; + struct ISocialFeedContent; + struct ISocialFeedItem; + struct ISocialFeedSharedItem; + struct ISocialItemThumbnail; + struct ISocialUserInfo; + struct SocialFeedChildItem; + struct SocialFeedContent; + struct SocialFeedItem; + struct SocialFeedSharedItem; + struct SocialItemThumbnail; + struct SocialUserInfo; + struct SocialInfoContract; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedChildItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedContent"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedSharedItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialItemThumbnail"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialUserInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedItemStyle"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedUpdateMode"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialItemBadgeStyle"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedChildItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedContent"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedSharedItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialItemThumbnail"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialUserInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialInfoContract"; + template <> inline constexpr guid guid_v{ 0x0B6A985A,0xD59D,0x40BE,{ 0x98,0x0C,0x48,0x8A,0x2A,0xB3,0x0A,0x83 } }; // 0B6A985A-D59D-40BE-980C-488A2AB30A83 + template <> inline constexpr guid guid_v{ 0xA234E429,0x3E39,0x494D,{ 0xA3,0x7C,0xF4,0x62,0xA2,0x49,0x45,0x14 } }; // A234E429-3E39-494D-A37C-F462A2494514 + template <> inline constexpr guid guid_v{ 0x4F1392AB,0x1F72,0x4D33,{ 0xB6,0x95,0xDE,0x3E,0x1D,0xB6,0x03,0x17 } }; // 4F1392AB-1F72-4D33-B695-DE3E1DB60317 + template <> inline constexpr guid guid_v{ 0x7BFB9E40,0xA6AA,0x45A7,{ 0x9F,0xF6,0x54,0xC4,0x21,0x05,0xDD,0x1F } }; // 7BFB9E40-A6AA-45A7-9FF6-54C42105DD1F + template <> inline constexpr guid guid_v{ 0x5CBF831A,0x3F08,0x497F,{ 0x91,0x7F,0x57,0xE0,0x9D,0x84,0xB1,0x41 } }; // 5CBF831A-3F08-497F-917F-57E09D84B141 + template <> inline constexpr guid guid_v{ 0x9E5E1BD1,0x90D0,0x4E1D,{ 0x95,0x54,0x84,0x4D,0x46,0x60,0x7F,0x61 } }; // 9E5E1BD1-90D0-4E1D-9554-844D46607F61 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Author(void**) noexcept = 0; + virtual int32_t __stdcall get_PrimaryContent(void**) noexcept = 0; + virtual int32_t __stdcall get_SecondaryContent(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnails(void**) noexcept = 0; + virtual int32_t __stdcall get_SharedItem(void**) noexcept = 0; + virtual int32_t __stdcall put_SharedItem(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall put_Message(void*) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Author(void**) noexcept = 0; + virtual int32_t __stdcall get_PrimaryContent(void**) noexcept = 0; + virtual int32_t __stdcall get_SecondaryContent(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnails(void**) noexcept = 0; + virtual int32_t __stdcall get_SharedItem(void**) noexcept = 0; + virtual int32_t __stdcall put_SharedItem(void*) noexcept = 0; + virtual int32_t __stdcall get_BadgeStyle(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_BadgeStyle(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BadgeCountValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_BadgeCountValue(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteId(void*) noexcept = 0; + virtual int32_t __stdcall get_ChildItem(void**) noexcept = 0; + virtual int32_t __stdcall put_ChildItem(void*) noexcept = 0; + virtual int32_t __stdcall get_Style(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Style(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OriginalSource(void**) noexcept = 0; + virtual int32_t __stdcall put_OriginalSource(void*) noexcept = 0; + virtual int32_t __stdcall get_Content(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ImageUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ImageUri(void*) noexcept = 0; + virtual int32_t __stdcall get_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; + virtual int32_t __stdcall put_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; + virtual int32_t __stdcall SetImageAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall put_UserName(void*) noexcept = 0; + virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteId(void*) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem + { + [[nodiscard]] auto Author() const; + [[nodiscard]] auto PrimaryContent() const; + [[nodiscard]] auto SecondaryContent() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Thumbnails() const; + [[nodiscard]] auto SharedItem() const; + auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Message() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem + { + [[nodiscard]] auto Author() const; + [[nodiscard]] auto PrimaryContent() const; + [[nodiscard]] auto SecondaryContent() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Thumbnails() const; + [[nodiscard]] auto SharedItem() const; + auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; + [[nodiscard]] auto BadgeStyle() const; + auto BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const; + [[nodiscard]] auto BadgeCountValue() const; + auto BadgeCountValue(int32_t value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto ChildItem() const; + auto ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const; + [[nodiscard]] auto Style() const; + auto Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem + { + [[nodiscard]] auto OriginalSource() const; + auto OriginalSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + auto Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; + [[nodiscard]] auto Thumbnail() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail + { + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ImageUri() const; + auto ImageUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto BitmapSize() const; + auto BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + auto SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo + { + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3355bdd5af0c5082d4892bea2239b8d1fdbfabe2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_1_H +#define WINRT_Windows_ApplicationModel_SocialInfo_1_H +#include "winrt/impl/Windows.ApplicationModel.SocialInfo.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo +{ + struct WINRT_IMPL_EMPTY_BASES ISocialFeedChildItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialFeedChildItem(std::nullptr_t = nullptr) noexcept {} + ISocialFeedChildItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialFeedContent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialFeedContent(std::nullptr_t = nullptr) noexcept {} + ISocialFeedContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialFeedItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialFeedItem(std::nullptr_t = nullptr) noexcept {} + ISocialFeedItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialFeedSharedItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialFeedSharedItem(std::nullptr_t = nullptr) noexcept {} + ISocialFeedSharedItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialItemThumbnail : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialItemThumbnail(std::nullptr_t = nullptr) noexcept {} + ISocialItemThumbnail(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialUserInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialUserInfo(std::nullptr_t = nullptr) noexcept {} + ISocialUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1752de3cb3f5a4dd971645c1941cd12edb3345e2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.2.h @@ -0,0 +1,47 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_2_H +#define WINRT_Windows_ApplicationModel_SocialInfo_2_H +#include "winrt/impl/Windows.ApplicationModel.SocialInfo.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo +{ + struct WINRT_IMPL_EMPTY_BASES SocialFeedChildItem : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem + { + SocialFeedChildItem(std::nullptr_t) noexcept {} + SocialFeedChildItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem(ptr, take_ownership_from_abi) {} + SocialFeedChildItem(); + }; + struct WINRT_IMPL_EMPTY_BASES SocialFeedContent : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent + { + SocialFeedContent(std::nullptr_t) noexcept {} + SocialFeedContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SocialFeedItem : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem + { + SocialFeedItem(std::nullptr_t) noexcept {} + SocialFeedItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem(ptr, take_ownership_from_abi) {} + SocialFeedItem(); + }; + struct WINRT_IMPL_EMPTY_BASES SocialFeedSharedItem : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem + { + SocialFeedSharedItem(std::nullptr_t) noexcept {} + SocialFeedSharedItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem(ptr, take_ownership_from_abi) {} + SocialFeedSharedItem(); + }; + struct WINRT_IMPL_EMPTY_BASES SocialItemThumbnail : winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail + { + SocialItemThumbnail(std::nullptr_t) noexcept {} + SocialItemThumbnail(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail(ptr, take_ownership_from_abi) {} + SocialItemThumbnail(); + }; + struct WINRT_IMPL_EMPTY_BASES SocialUserInfo : winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo + { + SocialUserInfo(std::nullptr_t) noexcept {} + SocialUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a2551b3d35e1641256094de7f98c6232d0dea7c1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.0.h @@ -0,0 +1,130 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_0_H +#define WINRT_Windows_ApplicationModel_SocialInfo_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo +{ + struct SocialFeedContent; + enum class SocialFeedKind : int32_t; + enum class SocialFeedUpdateMode : int32_t; + struct SocialItemThumbnail; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo::Provider +{ + struct ISocialDashboardItemUpdater; + struct ISocialFeedUpdater; + struct ISocialInfoProviderManagerStatics; + struct SocialDashboardItemUpdater; + struct SocialFeedUpdater; + struct SocialInfoProviderManager; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.ISocialDashboardItemUpdater"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.ISocialFeedUpdater"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.Provider.ISocialInfoProviderManagerStatics"; + template <> inline constexpr guid guid_v{ 0x3CDE9DC9,0x4800,0x46CD,{ 0x86,0x9B,0x19,0x73,0xEC,0x68,0x5B,0xDE } }; // 3CDE9DC9-4800-46CD-869B-1973EC685BDE + template <> inline constexpr guid guid_v{ 0x7A0C0AA7,0xED89,0x4BD5,{ 0xA8,0xD9,0x15,0xF4,0xD9,0x86,0x1C,0x10 } }; // 7A0C0AA7-ED89-4BD5-A8D9-15F4D9861C10 + template <> inline constexpr guid guid_v{ 0x1B88E52B,0x7787,0x48D6,{ 0xAA,0x12,0xD8,0xE8,0xF4,0x7A,0xB8,0x5A } }; // 1B88E52B-7787-48D6-AA12-D8E8F47AB85A + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OwnerRemoteId(void**) noexcept = 0; + virtual int32_t __stdcall get_Content(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall CommitAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OwnerRemoteId(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Items(void**) noexcept = 0; + virtual int32_t __stdcall CommitAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateSocialFeedUpdaterAsync(int32_t, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDashboardItemUpdaterAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateBadgeCountValue(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall ReportNewContentAvailable(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall ProvisionAsync(void**) noexcept = 0; + virtual int32_t __stdcall DeprovisionAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater + { + [[nodiscard]] auto OwnerRemoteId() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + auto Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto CommitAsync() const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater + { + [[nodiscard]] auto OwnerRemoteId() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Items() const; + auto CommitAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater; + }; + template + struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics + { + auto CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const; + auto CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const; + auto UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const; + auto ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const; + auto ProvisionAsync() const; + auto DeprovisionAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..b2734cb37f3bd83c6dba116a13f9c02501a1a68b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_1_H +#define WINRT_Windows_ApplicationModel_SocialInfo_Provider_1_H +#include "winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo::Provider +{ + struct WINRT_IMPL_EMPTY_BASES ISocialDashboardItemUpdater : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialDashboardItemUpdater(std::nullptr_t = nullptr) noexcept {} + ISocialDashboardItemUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialFeedUpdater : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialFeedUpdater(std::nullptr_t = nullptr) noexcept {} + ISocialFeedUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocialInfoProviderManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocialInfoProviderManagerStatics(std::nullptr_t = nullptr) noexcept {} + ISocialInfoProviderManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..812e8fb70639a65e088f3557c0b306f2c896222b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.socialinfo.provider.2.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_2_H +#define WINRT_Windows_ApplicationModel_SocialInfo_Provider_2_H +#include "winrt/impl/Windows.ApplicationModel.SocialInfo.1.h" +#include "winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo::Provider +{ + struct WINRT_IMPL_EMPTY_BASES SocialDashboardItemUpdater : winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater + { + SocialDashboardItemUpdater(std::nullptr_t) noexcept {} + SocialDashboardItemUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SocialFeedUpdater : winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater + { + SocialFeedUpdater(std::nullptr_t) noexcept {} + SocialFeedUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater(ptr, take_ownership_from_abi) {} + }; + struct SocialInfoProviderManager + { + SocialInfoProviderManager() = delete; + static auto CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId); + static auto CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId); + static auto UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount); + static auto ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind); + static auto ProvisionAsync(); + static auto DeprovisionAsync(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c120adf8dfe018cdf6b7d2dceff414a725a58cf2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.0.h @@ -0,0 +1,661 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_0_H +#define WINRT_Windows_ApplicationModel_Store_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store +{ + enum class FulfillmentResult : int32_t + { + Succeeded = 0, + NothingToFulfill = 1, + PurchasePending = 2, + PurchaseReverted = 3, + ServerError = 4, + }; + enum class ProductPurchaseStatus : int32_t + { + Succeeded = 0, + AlreadyPurchased = 1, + NotFulfilled = 2, + NotPurchased = 3, + }; + enum class ProductType : int32_t + { + Unknown = 0, + Durable = 1, + Consumable = 2, + }; + struct ICurrentApp; + struct ICurrentApp2Statics; + struct ICurrentAppSimulator; + struct ICurrentAppSimulatorStaticsWithFiltering; + struct ICurrentAppSimulatorWithCampaignId; + struct ICurrentAppSimulatorWithConsumables; + struct ICurrentAppStaticsWithFiltering; + struct ICurrentAppWithCampaignId; + struct ICurrentAppWithConsumables; + struct ILicenseInformation; + struct IListingInformation; + struct IListingInformation2; + struct IProductLicense; + struct IProductLicenseWithFulfillment; + struct IProductListing; + struct IProductListing2; + struct IProductListingWithConsumables; + struct IProductListingWithMetadata; + struct IProductPurchaseDisplayProperties; + struct IProductPurchaseDisplayPropertiesFactory; + struct IPurchaseResults; + struct IUnfulfilledConsumable; + struct CurrentApp; + struct CurrentAppSimulator; + struct LicenseInformation; + struct ListingInformation; + struct ProductLicense; + struct ProductListing; + struct ProductPurchaseDisplayProperties; + struct PurchaseResults; + struct UnfulfilledConsumable; + struct LicenseChangedEventHandler; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.CurrentApp"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.CurrentAppSimulator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseInformation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ListingInformation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ProductLicense"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ProductListing"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.PurchaseResults"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.UnfulfilledConsumable"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.FulfillmentResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ProductPurchaseStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ProductType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentApp"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentApp2Statics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppSimulator"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppSimulatorStaticsWithFiltering"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppSimulatorWithCampaignId"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppSimulatorWithConsumables"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppStaticsWithFiltering"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppWithCampaignId"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ICurrentAppWithConsumables"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.ILicenseInformation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IListingInformation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IListingInformation2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductLicense"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductLicenseWithFulfillment"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductListing"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductListing2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductListingWithConsumables"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductListingWithMetadata"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductPurchaseDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IProductPurchaseDisplayPropertiesFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IPurchaseResults"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.IUnfulfilledConsumable"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseChangedEventHandler"; + template <> inline constexpr guid guid_v{ 0xD52DC065,0xDA3F,0x4685,{ 0x99,0x5E,0x9B,0x48,0x2E,0xB5,0xE6,0x03 } }; // D52DC065-DA3F-4685-995E-9B482EB5E603 + template <> inline constexpr guid guid_v{ 0xDF4E6E2D,0x3171,0x4AD3,{ 0x86,0x14,0x2C,0x61,0x24,0x43,0x73,0xCB } }; // DF4E6E2D-3171-4AD3-8614-2C61244373CB + template <> inline constexpr guid guid_v{ 0xF17F9DB1,0x74CD,0x4787,{ 0x97,0x87,0x19,0x86,0x6E,0x9A,0x55,0x59 } }; // F17F9DB1-74CD-4787-9787-19866E9A5559 + template <> inline constexpr guid guid_v{ 0x617E70E2,0xF86F,0x4B54,{ 0x96,0x66,0xDD,0xE2,0x85,0x09,0x2C,0x68 } }; // 617E70E2-F86F-4B54-9666-DDE285092C68 + template <> inline constexpr guid guid_v{ 0x84678A43,0xDF00,0x4672,{ 0xA4,0x3F,0xB2,0x5B,0x14,0x41,0xCF,0xCF } }; // 84678A43-DF00-4672-A43F-B25B1441CFCF + template <> inline constexpr guid guid_v{ 0x4E51F0AB,0x20E7,0x4412,{ 0x9B,0x85,0x59,0xBB,0x78,0x38,0x86,0x67 } }; // 4E51F0AB-20E7-4412-9B85-59BB78388667 + template <> inline constexpr guid guid_v{ 0xD36D6542,0x9085,0x438E,{ 0x97,0xBA,0xA2,0x5C,0x97,0x6B,0xE2,0xFD } }; // D36D6542-9085-438E-97BA-A25C976BE2FD + template <> inline constexpr guid guid_v{ 0x312F4CD0,0x36C1,0x44A6,{ 0xB3,0x2B,0x43,0x2D,0x60,0x8E,0x4D,0xD6 } }; // 312F4CD0-36C1-44A6-B32B-432D608E4DD6 + template <> inline constexpr guid guid_v{ 0x844E0071,0x9E4F,0x4F79,{ 0x99,0x5A,0x5F,0x91,0x17,0x2E,0x6C,0xEF } }; // 844E0071-9E4F-4F79-995A-5F91172E6CEF + template <> inline constexpr guid guid_v{ 0x8EB7DC30,0xF170,0x4ED5,{ 0x8E,0x21,0x15,0x16,0xDA,0x3F,0xD3,0x67 } }; // 8EB7DC30-F170-4ED5-8E21-1516DA3FD367 + template <> inline constexpr guid guid_v{ 0x588B4ABF,0xBC74,0x4383,{ 0xB7,0x8C,0x99,0x60,0x63,0x23,0xDE,0xCE } }; // 588B4ABF-BC74-4383-B78C-99606323DECE + template <> inline constexpr guid guid_v{ 0xC0FD2C1D,0xB30E,0x4384,{ 0x84,0xEA,0x72,0xFE,0xFA,0x82,0x22,0x3E } }; // C0FD2C1D-B30E-4384-84EA-72FEFA82223E + template <> inline constexpr guid guid_v{ 0x363308C7,0x2BCF,0x4C0E,{ 0x8F,0x2F,0xE8,0x08,0xAA,0xA8,0xF9,0x9D } }; // 363308C7-2BCF-4C0E-8F2F-E808AAA8F99D + template <> inline constexpr guid guid_v{ 0xFC535C8A,0xF667,0x40F3,{ 0xBA,0x3C,0x04,0x5A,0x63,0xAB,0xB3,0xAC } }; // FC535C8A-F667-40F3-BA3C-045A63ABB3AC + template <> inline constexpr guid guid_v{ 0x45A7D6AD,0xC750,0x4D9C,{ 0x94,0x7C,0xB0,0x0D,0xCB,0xF9,0xE9,0xC2 } }; // 45A7D6AD-C750-4D9C-947C-B00DCBF9E9C2 + template <> inline constexpr guid guid_v{ 0xF89E290F,0x73FE,0x494D,{ 0xA9,0x39,0x08,0xA9,0xB2,0x49,0x5A,0xBE } }; // F89E290F-73FE-494D-A939-08A9B2495ABE + template <> inline constexpr guid guid_v{ 0xEB9E9790,0x8F6B,0x481F,{ 0x93,0xA7,0x5C,0x3A,0x63,0x06,0x81,0x49 } }; // EB9E9790-8F6B-481F-93A7-5C3A63068149 + template <> inline constexpr guid guid_v{ 0x124DA567,0x23F8,0x423E,{ 0x95,0x32,0x18,0x99,0x43,0xC4,0x0A,0xCE } }; // 124DA567-23F8-423E-9532-189943C40ACE + template <> inline constexpr guid guid_v{ 0xD70B7420,0xBC92,0x401B,{ 0xA8,0x09,0xC9,0xB2,0xE5,0xDB,0xBD,0xAF } }; // D70B7420-BC92-401B-A809-C9B2E5DBBDAF + template <> inline constexpr guid guid_v{ 0x6F491DF4,0x32D6,0x4B40,{ 0xB4,0x74,0xB8,0x30,0x38,0xA4,0xD9,0xCF } }; // 6F491DF4-32D6-4B40-B474-B83038A4D9CF + template <> inline constexpr guid guid_v{ 0xED50B37E,0x8656,0x4F65,{ 0xB8,0xC8,0xAC,0x7E,0x0C,0xB1,0xA1,0xC2 } }; // ED50B37E-8656-4F65-B8C8-AC7E0CB1A1C2 + template <> inline constexpr guid guid_v{ 0x2DF7FBBB,0x1CDD,0x4CB8,{ 0xA0,0x14,0x7B,0x9C,0xF8,0x98,0x69,0x27 } }; // 2DF7FBBB-1CDD-4CB8-A014-7B9CF8986927 + template <> inline constexpr guid guid_v{ 0xD4A50255,0x1369,0x4C36,{ 0x83,0x2F,0x6F,0x2D,0x88,0xE3,0x65,0x9B } }; // D4A50255-1369-4C36-832F-6F2D88E3659B + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::ILicenseInformation; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IListingInformation; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IProductLicense; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IProductListing; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IPurchaseResults; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LicenseInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_LinkUri(void**) noexcept = 0; + virtual int32_t __stdcall get_AppId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall RequestAppPurchaseAsync(bool, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseAsync(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall LoadListingInformationAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAppReceiptAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetProductReceiptAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCustomerPurchaseIdAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCustomerCollectionsIdAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LicenseInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_LinkUri(void**) noexcept = 0; + virtual int32_t __stdcall get_AppId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall RequestAppPurchaseAsync(bool, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseAsync(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall LoadListingInformationAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAppReceiptAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetProductReceiptAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReloadSimulatorAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadListingInformationByProductIdsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadListingInformationByKeywordsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAppPurchaseCampaignIdAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportConsumableFulfillmentAsync(void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseWithResultsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseWithDisplayPropertiesAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetUnfulfilledConsumablesAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadListingInformationByProductIdsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadListingInformationByKeywordsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportProductFulfillment(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAppPurchaseCampaignIdAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportConsumableFulfillmentAsync(void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseWithResultsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestProductPurchaseWithDisplayPropertiesAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetUnfulfilledConsumablesAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductLicenses(void**) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTrial(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(int64_t*) noexcept = 0; + virtual int32_t __stdcall add_LicenseChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LicenseChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentMarket(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_ProductListings(void**) noexcept = 0; + virtual int32_t __stdcall get_FormattedPrice(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_AgeRating(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FormattedBasePrice(void**) noexcept = 0; + virtual int32_t __stdcall get_SaleEndDate(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsOnSale(bool*) noexcept = 0; + virtual int32_t __stdcall get_CurrencyCode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsConsumable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_FormattedPrice(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FormattedBasePrice(void**) noexcept = 0; + virtual int32_t __stdcall get_SaleEndDate(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsOnSale(bool*) noexcept = 0; + virtual int32_t __stdcall get_CurrencyCode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_Keywords(void**) noexcept = 0; + virtual int32_t __stdcall get_ProductType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall get_ImageUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Image(void**) noexcept = 0; + virtual int32_t __stdcall put_Image(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateProductPurchaseDisplayProperties(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TransactionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ReceiptXml(void**) noexcept = 0; + virtual int32_t __stdcall get_OfferId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_TransactionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_OfferId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke() noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentApp + { + [[nodiscard]] auto LicenseInformation() const; + [[nodiscard]] auto LinkUri() const; + [[nodiscard]] auto AppId() const; + auto RequestAppPurchaseAsync(bool includeReceipt) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; + auto LoadListingInformationAsync() const; + auto GetAppReceiptAsync() const; + auto GetProductReceiptAsync(param::hstring const& productId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentApp; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentApp2Statics + { + auto GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + auto GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentApp2Statics; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulator + { + [[nodiscard]] auto LicenseInformation() const; + [[nodiscard]] auto LinkUri() const; + [[nodiscard]] auto AppId() const; + auto RequestAppPurchaseAsync(bool includeReceipt) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; + auto LoadListingInformationAsync() const; + auto GetAppReceiptAsync() const; + auto GetProductReceiptAsync(param::hstring const& productId) const; + auto ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppSimulator; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering + { + auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; + auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId + { + auto GetAppPurchaseCampaignIdAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables + { + auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; + auto GetUnfulfilledConsumablesAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering + { + auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; + auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; + auto ReportProductFulfillment(param::hstring const& productId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId + { + auto GetAppPurchaseCampaignIdAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId; + }; + template + struct consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables + { + auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; + auto GetUnfulfilledConsumablesAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables; + }; + template + struct consume_Windows_ApplicationModel_Store_ILicenseInformation + { + [[nodiscard]] auto ProductLicenses() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto IsTrial() const; + [[nodiscard]] auto ExpirationDate() const; + auto LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; + using LicenseChanged_revoker = impl::event_revoker::remove_LicenseChanged>; + [[nodiscard]] auto LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; + auto LicenseChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_ILicenseInformation; + }; + template + struct consume_Windows_ApplicationModel_Store_IListingInformation + { + [[nodiscard]] auto CurrentMarket() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto ProductListings() const; + [[nodiscard]] auto FormattedPrice() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto AgeRating() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IListingInformation; + }; + template + struct consume_Windows_ApplicationModel_Store_IListingInformation2 + { + [[nodiscard]] auto FormattedBasePrice() const; + [[nodiscard]] auto SaleEndDate() const; + [[nodiscard]] auto IsOnSale() const; + [[nodiscard]] auto CurrencyCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IListingInformation2; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductLicense + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto ExpirationDate() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductLicense; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment + { + [[nodiscard]] auto IsConsumable() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductListing + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto FormattedPrice() const; + [[nodiscard]] auto Name() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductListing; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductListing2 + { + [[nodiscard]] auto FormattedBasePrice() const; + [[nodiscard]] auto SaleEndDate() const; + [[nodiscard]] auto IsOnSale() const; + [[nodiscard]] auto CurrencyCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductListing2; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductListingWithConsumables + { + [[nodiscard]] auto ProductType() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductListingWithConsumables; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductListingWithMetadata + { + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto ProductType() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto ImageUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductListingWithMetadata; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties; + }; + template + struct consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory + { + auto CreateProductPurchaseDisplayProperties(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory; + }; + template + struct consume_Windows_ApplicationModel_Store_IPurchaseResults + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto TransactionId() const; + [[nodiscard]] auto ReceiptXml() const; + [[nodiscard]] auto OfferId() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IPurchaseResults; + }; + template + struct consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto TransactionId() const; + [[nodiscard]] auto OfferId() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8c12532a5133d6dd348bcb38d1b465f87af56b5b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.1.h @@ -0,0 +1,169 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_1_H +#define WINRT_Windows_ApplicationModel_Store_1_H +#include "winrt/impl/Windows.ApplicationModel.Store.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store +{ + struct WINRT_IMPL_EMPTY_BASES ICurrentApp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentApp(std::nullptr_t = nullptr) noexcept {} + ICurrentApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentApp2Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentApp2Statics(std::nullptr_t = nullptr) noexcept {} + ICurrentApp2Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppSimulator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppSimulator(std::nullptr_t = nullptr) noexcept {} + ICurrentAppSimulator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppSimulatorStaticsWithFiltering : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppSimulatorStaticsWithFiltering(std::nullptr_t = nullptr) noexcept {} + ICurrentAppSimulatorStaticsWithFiltering(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppSimulatorWithCampaignId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppSimulatorWithCampaignId(std::nullptr_t = nullptr) noexcept {} + ICurrentAppSimulatorWithCampaignId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppSimulatorWithConsumables : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppSimulatorWithConsumables(std::nullptr_t = nullptr) noexcept {} + ICurrentAppSimulatorWithConsumables(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppStaticsWithFiltering : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppStaticsWithFiltering(std::nullptr_t = nullptr) noexcept {} + ICurrentAppStaticsWithFiltering(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppWithCampaignId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppWithCampaignId(std::nullptr_t = nullptr) noexcept {} + ICurrentAppWithCampaignId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentAppWithConsumables : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentAppWithConsumables(std::nullptr_t = nullptr) noexcept {} + ICurrentAppWithConsumables(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILicenseInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILicenseInformation(std::nullptr_t = nullptr) noexcept {} + ILicenseInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IListingInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IListingInformation(std::nullptr_t = nullptr) noexcept {} + IListingInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IListingInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IListingInformation2(std::nullptr_t = nullptr) noexcept {} + IListingInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductLicense : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductLicense(std::nullptr_t = nullptr) noexcept {} + IProductLicense(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductLicenseWithFulfillment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IProductLicenseWithFulfillment(std::nullptr_t = nullptr) noexcept {} + IProductLicenseWithFulfillment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductListing : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductListing(std::nullptr_t = nullptr) noexcept {} + IProductListing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductListing2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductListing2(std::nullptr_t = nullptr) noexcept {} + IProductListing2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductListingWithConsumables : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductListingWithConsumables(std::nullptr_t = nullptr) noexcept {} + IProductListingWithConsumables(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductListingWithMetadata : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IProductListingWithMetadata(std::nullptr_t = nullptr) noexcept {} + IProductListingWithMetadata(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductPurchaseDisplayProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductPurchaseDisplayProperties(std::nullptr_t = nullptr) noexcept {} + IProductPurchaseDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProductPurchaseDisplayPropertiesFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProductPurchaseDisplayPropertiesFactory(std::nullptr_t = nullptr) noexcept {} + IProductPurchaseDisplayPropertiesFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPurchaseResults : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPurchaseResults(std::nullptr_t = nullptr) noexcept {} + IPurchaseResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUnfulfilledConsumable : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUnfulfilledConsumable(std::nullptr_t = nullptr) noexcept {} + IUnfulfilledConsumable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8699a33b0cdf35570968d550dbcb575123845b3c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.2.h @@ -0,0 +1,110 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_2_H +#define WINRT_Windows_ApplicationModel_Store_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.ApplicationModel.Store.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store +{ + struct LicenseChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + LicenseChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + LicenseChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template LicenseChangedEventHandler(L lambda); + template LicenseChangedEventHandler(F* function); + template LicenseChangedEventHandler(O* object, M method); + template LicenseChangedEventHandler(com_ptr&& object, M method); + template LicenseChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template LicenseChangedEventHandler(std::shared_ptr&& object, M method); + template LicenseChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()() const; + }; + struct CurrentApp + { + CurrentApp() = delete; + [[nodiscard]] static auto LicenseInformation(); + [[nodiscard]] static auto LinkUri(); + [[nodiscard]] static auto AppId(); + static auto RequestAppPurchaseAsync(bool includeReceipt); + static auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt); + static auto LoadListingInformationAsync(); + static auto GetAppReceiptAsync(); + static auto GetProductReceiptAsync(param::hstring const& productId); + static auto GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId); + static auto GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId); + static auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds); + static auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords); + static auto ReportProductFulfillment(param::hstring const& productId); + static auto GetAppPurchaseCampaignIdAsync(); + static auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId); + static auto RequestProductPurchaseAsync(param::hstring const& productId); + static auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties); + static auto GetUnfulfilledConsumablesAsync(); + }; + struct CurrentAppSimulator + { + CurrentAppSimulator() = delete; + [[nodiscard]] static auto LicenseInformation(); + [[nodiscard]] static auto LinkUri(); + [[nodiscard]] static auto AppId(); + static auto RequestAppPurchaseAsync(bool includeReceipt); + static auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt); + static auto LoadListingInformationAsync(); + static auto GetAppReceiptAsync(); + static auto GetProductReceiptAsync(param::hstring const& productId); + static auto ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile); + static auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds); + static auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords); + static auto GetAppPurchaseCampaignIdAsync(); + static auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId); + static auto RequestProductPurchaseAsync(param::hstring const& productId); + static auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties); + static auto GetUnfulfilledConsumablesAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES LicenseInformation : winrt::Windows::ApplicationModel::Store::ILicenseInformation + { + LicenseInformation(std::nullptr_t) noexcept {} + LicenseInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::ILicenseInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ListingInformation : winrt::Windows::ApplicationModel::Store::IListingInformation, + impl::require + { + ListingInformation(std::nullptr_t) noexcept {} + ListingInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IListingInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProductLicense : winrt::Windows::ApplicationModel::Store::IProductLicense, + impl::require + { + ProductLicense(std::nullptr_t) noexcept {} + ProductLicense(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IProductLicense(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProductListing : winrt::Windows::ApplicationModel::Store::IProductListing, + impl::require + { + ProductListing(std::nullptr_t) noexcept {} + ProductListing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IProductListing(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProductPurchaseDisplayProperties : winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties + { + ProductPurchaseDisplayProperties(std::nullptr_t) noexcept {} + ProductPurchaseDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties(ptr, take_ownership_from_abi) {} + ProductPurchaseDisplayProperties(); + explicit ProductPurchaseDisplayProperties(param::hstring const& name); + }; + struct WINRT_IMPL_EMPTY_BASES PurchaseResults : winrt::Windows::ApplicationModel::Store::IPurchaseResults + { + PurchaseResults(std::nullptr_t) noexcept {} + PurchaseResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IPurchaseResults(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UnfulfilledConsumable : winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable + { + UnfulfilledConsumable(std::nullptr_t) noexcept {} + UnfulfilledConsumable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6e2c5262b66210249a8edc77d4b159a52d867cc3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.0.h @@ -0,0 +1,142 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_0_H +#define WINRT_Windows_ApplicationModel_Store_LicenseManagement_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::LicenseManagement +{ + enum class LicenseRefreshOption : int32_t + { + RunningLicenses = 0, + AllLicenses = 1, + }; + struct ILicenseManagerStatics; + struct ILicenseManagerStatics2; + struct ILicenseSatisfactionInfo; + struct ILicenseSatisfactionResult; + struct LicenseManager; + struct LicenseSatisfactionInfo; + struct LicenseSatisfactionResult; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.LicenseManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.ILicenseManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.ILicenseManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.ILicenseSatisfactionInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.LicenseManagement.ILicenseSatisfactionResult"; + template <> inline constexpr guid guid_v{ 0xB5AC3AE0,0xDA47,0x4F20,{ 0x9A,0x23,0x09,0x18,0x2C,0x94,0x76,0xFF } }; // B5AC3AE0-DA47-4F20-9A23-09182C9476FF + template <> inline constexpr guid guid_v{ 0xAB2EC47B,0x1F79,0x4480,{ 0xB8,0x7E,0x2C,0x49,0x9E,0x60,0x1B,0xA3 } }; // AB2EC47B-1F79-4480-B87E-2C499E601BA3 + template <> inline constexpr guid guid_v{ 0x3CCBB08F,0xDB31,0x48D5,{ 0x83,0x84,0xFA,0x17,0xC8,0x14,0x74,0xE2 } }; // 3CCBB08F-DB31-48D5-8384-FA17C81474E2 + template <> inline constexpr guid guid_v{ 0x3C674F73,0x3C87,0x4EE1,{ 0x82,0x01,0xF4,0x28,0x35,0x9B,0xD3,0xAF } }; // 3C674F73-3C87-4EE1-8201-F428359BD3AF + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddLicenseAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSatisfactionInfosAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RefreshLicensesAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SatisfiedByDevice(bool*) noexcept = 0; + virtual int32_t __stdcall get_SatisfiedByOpenLicense(bool*) noexcept = 0; + virtual int32_t __stdcall get_SatisfiedByTrial(bool*) noexcept = 0; + virtual int32_t __stdcall get_SatisfiedByPass(bool*) noexcept = 0; + virtual int32_t __stdcall get_SatisfiedByInstallMedia(bool*) noexcept = 0; + virtual int32_t __stdcall get_SatisfiedBySignedInUser(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSatisfied(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LicenseSatisfactionInfos(void**) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics + { + auto AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const; + auto GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2 + { + auto RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2; + }; + template + struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo + { + [[nodiscard]] auto SatisfiedByDevice() const; + [[nodiscard]] auto SatisfiedByOpenLicense() const; + [[nodiscard]] auto SatisfiedByTrial() const; + [[nodiscard]] auto SatisfiedByPass() const; + [[nodiscard]] auto SatisfiedByInstallMedia() const; + [[nodiscard]] auto SatisfiedBySignedInUser() const; + [[nodiscard]] auto IsSatisfied() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo; + }; + template + struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult + { + [[nodiscard]] auto LicenseSatisfactionInfos() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.1.h new file mode 100644 index 0000000000000000000000000000000000000000..fc11dd7de29835b80fdb8724041248d767c7662a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_1_H +#define WINRT_Windows_ApplicationModel_Store_LicenseManagement_1_H +#include "winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::LicenseManagement +{ + struct WINRT_IMPL_EMPTY_BASES ILicenseManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILicenseManagerStatics(std::nullptr_t = nullptr) noexcept {} + ILicenseManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILicenseManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILicenseManagerStatics2(std::nullptr_t = nullptr) noexcept {} + ILicenseManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILicenseSatisfactionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILicenseSatisfactionInfo(std::nullptr_t = nullptr) noexcept {} + ILicenseSatisfactionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILicenseSatisfactionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILicenseSatisfactionResult(std::nullptr_t = nullptr) noexcept {} + ILicenseSatisfactionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.2.h new file mode 100644 index 0000000000000000000000000000000000000000..fa226433aca23f98a3efeb3d4cb98d5af421a5b7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.licensemanagement.2.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_2_H +#define WINRT_Windows_ApplicationModel_Store_LicenseManagement_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::LicenseManagement +{ + struct LicenseManager + { + LicenseManager() = delete; + static auto AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license); + static auto GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds); + static auto RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption); + }; + struct WINRT_IMPL_EMPTY_BASES LicenseSatisfactionInfo : winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo + { + LicenseSatisfactionInfo(std::nullptr_t) noexcept {} + LicenseSatisfactionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LicenseSatisfactionResult : winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult + { + LicenseSatisfactionResult(std::nullptr_t) noexcept {} + LicenseSatisfactionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0ee5446315b7989a1c2433db818b44e193eddd0e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.0.h @@ -0,0 +1,484 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_0_H +#define WINRT_Windows_ApplicationModel_Store_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES IReference; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core +{ + struct WebTokenRequest; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct WebAccount; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::UI::Xaml +{ + struct UIElement; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview +{ + enum class DeliveryOptimizationDownloadMode : int32_t + { + Simple = 0, + HttpOnly = 1, + Lan = 2, + Group = 3, + Internet = 4, + Bypass = 5, + }; + enum class DeliveryOptimizationDownloadModeSource : int32_t + { + Default = 0, + Policy = 1, + }; + enum class StoreLogOptions : uint32_t + { + None = 0, + TryElevate = 0x1, + }; + enum class StorePreviewProductPurchaseStatus : int32_t + { + Succeeded = 0, + AlreadyPurchased = 1, + NotFulfilled = 2, + NotPurchased = 3, + }; + enum class StoreSystemFeature : int32_t + { + ArchitectureX86 = 0, + ArchitectureX64 = 1, + ArchitectureArm = 2, + DirectX9 = 3, + DirectX10 = 4, + DirectX11 = 5, + D3D12HardwareFL11 = 6, + D3D12HardwareFL12 = 7, + Memory300MB = 8, + Memory750MB = 9, + Memory1GB = 10, + Memory2GB = 11, + CameraFront = 12, + CameraRear = 13, + Gyroscope = 14, + Hover = 15, + Magnetometer = 16, + Nfc = 17, + Resolution720P = 18, + ResolutionWvga = 19, + ResolutionWvgaOr720P = 20, + ResolutionWxga = 21, + ResolutionWvgaOrWxga = 22, + ResolutionWxgaOr720P = 23, + Memory4GB = 24, + Memory6GB = 25, + Memory8GB = 26, + Memory12GB = 27, + Memory16GB = 28, + Memory20GB = 29, + VideoMemory2GB = 30, + VideoMemory4GB = 31, + VideoMemory6GB = 32, + VideoMemory1GB = 33, + ArchitectureArm64 = 34, + }; + struct IDeliveryOptimizationSettings; + struct IDeliveryOptimizationSettingsStatics; + struct IStoreConfigurationStatics; + struct IStoreConfigurationStatics2; + struct IStoreConfigurationStatics3; + struct IStoreConfigurationStatics4; + struct IStoreConfigurationStatics5; + struct IStoreHardwareManufacturerInfo; + struct IStorePreview; + struct IStorePreviewProductInfo; + struct IStorePreviewPurchaseResults; + struct IStorePreviewSkuInfo; + struct IWebAuthenticationCoreManagerHelper; + struct DeliveryOptimizationSettings; + struct StoreConfiguration; + struct StoreHardwareManufacturerInfo; + struct StorePreview; + struct StorePreviewProductInfo; + struct StorePreviewPurchaseResults; + struct StorePreviewSkuInfo; + struct WebAuthenticationCoreManagerHelper; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.DeliveryOptimizationSettings"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StoreConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StoreHardwareManufacturerInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StorePreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StorePreviewProductInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StorePreviewPurchaseResults"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StorePreviewSkuInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.WebAuthenticationCoreManagerHelper"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadMode"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadModeSource"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StoreLogOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StorePreviewProductPurchaseStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.StoreSystemFeature"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IDeliveryOptimizationSettings"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IDeliveryOptimizationSettingsStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreConfigurationStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreConfigurationStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreConfigurationStatics3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreConfigurationStatics4"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreConfigurationStatics5"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStoreHardwareManufacturerInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStorePreview"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStorePreviewProductInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStorePreviewPurchaseResults"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IStorePreviewSkuInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.IWebAuthenticationCoreManagerHelper"; + template <> inline constexpr guid guid_v{ 0x1810FDA0,0xE853,0x565E,{ 0xB8,0x74,0x7A,0x8A,0x7B,0x9A,0x0E,0x0F } }; // 1810FDA0-E853-565E-B874-7A8A7B9A0E0F + template <> inline constexpr guid guid_v{ 0x5C817CAF,0xAED5,0x5999,{ 0xB4,0xC9,0x8C,0x60,0x89,0x8B,0xC4,0xF3 } }; // 5C817CAF-AED5-5999-B4C9-8C60898BC4F3 + template <> inline constexpr guid guid_v{ 0x728F7FC0,0x8628,0x42EC,{ 0x84,0xA2,0x07,0x78,0x0E,0xB4,0x4D,0x8B } }; // 728F7FC0-8628-42EC-84A2-07780EB44D8B + template <> inline constexpr guid guid_v{ 0x657C4595,0xC8B7,0x4FE9,{ 0x9F,0x4C,0x4D,0x71,0x02,0x7D,0x34,0x7E } }; // 657C4595-C8B7-4FE9-9F4C-4D71027D347E + template <> inline constexpr guid guid_v{ 0x6D45F57C,0xF144,0x4CB5,{ 0x9D,0x3F,0x4E,0xB0,0x5E,0x30,0xB6,0xD3 } }; // 6D45F57C-F144-4CB5-9D3F-4EB05E30B6D3 + template <> inline constexpr guid guid_v{ 0x20FF56D2,0x4EE3,0x4CF0,{ 0x9B,0x12,0x55,0x2C,0x03,0x31,0x0F,0x75 } }; // 20FF56D2-4EE3-4CF0-9B12-552C03310F75 + template <> inline constexpr guid guid_v{ 0xF7613191,0x8FA9,0x49DB,{ 0x82,0x2B,0x01,0x60,0xE7,0xE4,0xE5,0xC5 } }; // F7613191-8FA9-49DB-822B-0160E7E4E5C5 + template <> inline constexpr guid guid_v{ 0xF292DC08,0xC654,0x43AC,{ 0xA2,0x1F,0x34,0x80,0x1C,0x9D,0x33,0x88 } }; // F292DC08-C654-43AC-A21F-34801C9D3388 + template <> inline constexpr guid guid_v{ 0x8A157241,0x840E,0x49A9,{ 0xBC,0x01,0x5D,0x5B,0x01,0xFB,0xC8,0xE9 } }; // 8A157241-840E-49A9-BC01-5D5B01FBC8E9 + template <> inline constexpr guid guid_v{ 0x1937DBB3,0x6C01,0x4C9D,{ 0x85,0xCD,0x5B,0xAB,0xAA,0xC2,0xB3,0x51 } }; // 1937DBB3-6C01-4C9D-85CD-5BABAAC2B351 + template <> inline constexpr guid guid_v{ 0xB0DAAED1,0xD6C5,0x4E53,{ 0xA0,0x43,0xFB,0xA0,0xD8,0xE6,0x12,0x31 } }; // B0DAAED1-D6C5-4E53-A043-FBA0D8E61231 + template <> inline constexpr guid guid_v{ 0x81FD76E2,0x0B26,0x48D9,{ 0x98,0xCE,0x27,0x46,0x1C,0x66,0x9D,0x6C } }; // 81FD76E2-0B26-48D9-98CE-27461C669D6C + template <> inline constexpr guid guid_v{ 0x06A50525,0xE715,0x4123,{ 0x92,0x76,0x9D,0x6F,0x86,0x5B,0xA5,0x5F } }; // 06A50525-E715-4123-9276-9D6F865BA55F + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DownloadMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DownloadModeSource(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentSettings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSystemConfiguration(void*, void*, int64_t, void*) noexcept = 0; + virtual int32_t __stdcall SetMobileOperatorConfiguration(void*, uint32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall SetStoreWebAccountId(void*) noexcept = 0; + virtual int32_t __stdcall IsStoreWebAccountId(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_HardwareManufacturerInfo(void**) noexcept = 0; + virtual int32_t __stdcall FilterUnsupportedSystemFeaturesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PurchasePromptingPolicy(void**) noexcept = 0; + virtual int32_t __stdcall put_PurchasePromptingPolicy(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall HasStoreWebAccount(bool*) noexcept = 0; + virtual int32_t __stdcall HasStoreWebAccountForUser(void*, bool*) noexcept = 0; + virtual int32_t __stdcall GetStoreLogDataAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetStoreWebAccountIdForUser(void*, void*) noexcept = 0; + virtual int32_t __stdcall IsStoreWebAccountIdForUser(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall GetPurchasePromptingPolicyForUser(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPurchasePromptingPolicyForUser(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStoreWebAccountId(void**) noexcept = 0; + virtual int32_t __stdcall GetStoreWebAccountIdForUser(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetEnterpriseStoreWebAccountId(void*) noexcept = 0; + virtual int32_t __stdcall SetEnterpriseStoreWebAccountIdForUser(void*, void*) noexcept = 0; + virtual int32_t __stdcall GetEnterpriseStoreWebAccountId(void**) noexcept = 0; + virtual int32_t __stdcall GetEnterpriseStoreWebAccountIdForUser(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShouldRestrictToEnterpriseStoreOnly(bool*) noexcept = 0; + virtual int32_t __stdcall ShouldRestrictToEnterpriseStoreOnlyForUser(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsPinToDesktopSupported(bool*) noexcept = 0; + virtual int32_t __stdcall IsPinToTaskbarSupported(bool*) noexcept = 0; + virtual int32_t __stdcall IsPinToStartSupported(bool*) noexcept = 0; + virtual int32_t __stdcall PinToDesktop(void*) noexcept = 0; + virtual int32_t __stdcall PinToDesktopForUser(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HardwareManufacturerId(void**) noexcept = 0; + virtual int32_t __stdcall get_StoreContentModifierId(void**) noexcept = 0; + virtual int32_t __stdcall get_ModelName(void**) noexcept = 0; + virtual int32_t __stdcall get_ManufacturerName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestProductPurchaseByProductIdAndSkuIdAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadAddOnProductInfosAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProductType(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_SkuInfoList(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductPurchaseStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_SkuId(void**) noexcept = 0; + virtual int32_t __stdcall get_SkuType(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomDeveloperData(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrencyCode(void**) noexcept = 0; + virtual int32_t __stdcall get_FormattedListPrice(void**) noexcept = 0; + virtual int32_t __stdcall get_ExtendedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestTokenWithUIElementHostingAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestTokenWithUIElementHostingAndWebAccountAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings + { + [[nodiscard]] auto DownloadMode() const; + [[nodiscard]] auto DownloadModeSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics + { + auto GetCurrentSettings() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics + { + auto SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const; + auto SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const; + auto SetStoreWebAccountId(param::hstring const& webAccountId) const; + auto IsStoreWebAccountId(param::hstring const& webAccountId) const; + [[nodiscard]] auto HardwareManufacturerInfo() const; + auto FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2 + { + [[nodiscard]] auto PurchasePromptingPolicy() const; + auto PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3 + { + auto HasStoreWebAccount() const; + auto HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const; + auto GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const; + auto SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const; + auto SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4 + { + auto GetStoreWebAccountId() const; + auto GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; + auto SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const; + auto SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto GetEnterpriseStoreWebAccountId() const; + auto GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; + auto ShouldRestrictToEnterpriseStoreOnly() const; + auto ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5 + { + auto IsPinToDesktopSupported() const; + auto IsPinToTaskbarSupported() const; + auto IsPinToStartSupported() const; + auto PinToDesktop(param::hstring const& appPackageFamilyName) const; + auto PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo + { + [[nodiscard]] auto HardwareManufacturerId() const; + [[nodiscard]] auto StoreContentModifierId() const; + [[nodiscard]] auto ModelName() const; + [[nodiscard]] auto ManufacturerName() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStorePreview + { + auto RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto LoadAddOnProductInfosAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStorePreview; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto ProductType() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto SkuInfoList() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults + { + [[nodiscard]] auto ProductPurchaseStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto SkuId() const; + [[nodiscard]] auto SkuType() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto CustomDeveloperData() const; + [[nodiscard]] auto CurrencyCode() const; + [[nodiscard]] auto FormattedListPrice() const; + [[nodiscard]] auto ExtendedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper + { + auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; + auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..77bff60a02433048abe42cfc7fcf9cdf2c686a19 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.1.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_1_H +#define WINRT_Windows_ApplicationModel_Store_Preview_1_H +#include "winrt/impl/Windows.ApplicationModel.Store.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview +{ + struct WINRT_IMPL_EMPTY_BASES IDeliveryOptimizationSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeliveryOptimizationSettings(std::nullptr_t = nullptr) noexcept {} + IDeliveryOptimizationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeliveryOptimizationSettingsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeliveryOptimizationSettingsStatics(std::nullptr_t = nullptr) noexcept {} + IDeliveryOptimizationSettingsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreConfigurationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreConfigurationStatics(std::nullptr_t = nullptr) noexcept {} + IStoreConfigurationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreConfigurationStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreConfigurationStatics2(std::nullptr_t = nullptr) noexcept {} + IStoreConfigurationStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreConfigurationStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreConfigurationStatics3(std::nullptr_t = nullptr) noexcept {} + IStoreConfigurationStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreConfigurationStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreConfigurationStatics4(std::nullptr_t = nullptr) noexcept {} + IStoreConfigurationStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreConfigurationStatics5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreConfigurationStatics5(std::nullptr_t = nullptr) noexcept {} + IStoreConfigurationStatics5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStoreHardwareManufacturerInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStoreHardwareManufacturerInfo(std::nullptr_t = nullptr) noexcept {} + IStoreHardwareManufacturerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStorePreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorePreview(std::nullptr_t = nullptr) noexcept {} + IStorePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStorePreviewProductInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorePreviewProductInfo(std::nullptr_t = nullptr) noexcept {} + IStorePreviewProductInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStorePreviewPurchaseResults : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorePreviewPurchaseResults(std::nullptr_t = nullptr) noexcept {} + IStorePreviewPurchaseResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStorePreviewSkuInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorePreviewSkuInfo(std::nullptr_t = nullptr) noexcept {} + IStorePreviewSkuInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerHelper : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationCoreManagerHelper(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..728fbc5a5699891fbda10163dcf0361fafcb01c9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.2.h @@ -0,0 +1,89 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_2_H +#define WINRT_Windows_ApplicationModel_Store_Preview_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Security.Authentication.Web.Core.1.h" +#include "winrt/impl/Windows.Security.Credentials.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.UI.Xaml.1.h" +#include "winrt/impl/Windows.ApplicationModel.Store.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview +{ + struct WINRT_IMPL_EMPTY_BASES DeliveryOptimizationSettings : winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings + { + DeliveryOptimizationSettings(std::nullptr_t) noexcept {} + DeliveryOptimizationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings(ptr, take_ownership_from_abi) {} + static auto GetCurrentSettings(); + }; + struct StoreConfiguration + { + StoreConfiguration() = delete; + static auto SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor); + static auto SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes); + static auto SetStoreWebAccountId(param::hstring const& webAccountId); + static auto IsStoreWebAccountId(param::hstring const& webAccountId); + [[nodiscard]] static auto HardwareManufacturerInfo(); + static auto FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures); + [[nodiscard]] static auto PurchasePromptingPolicy(); + static auto PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value); + static auto HasStoreWebAccount(); + static auto HasStoreWebAccountForUser(winrt::Windows::System::User const& user); + static auto GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options); + static auto SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId); + static auto IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId); + static auto GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user); + static auto SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value); + static auto GetStoreWebAccountId(); + static auto GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user); + static auto SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId); + static auto SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId); + static auto GetEnterpriseStoreWebAccountId(); + static auto GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user); + static auto ShouldRestrictToEnterpriseStoreOnly(); + static auto ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user); + static auto IsPinToDesktopSupported(); + static auto IsPinToTaskbarSupported(); + static auto IsPinToStartSupported(); + static auto PinToDesktop(param::hstring const& appPackageFamilyName); + static auto PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName); + }; + struct WINRT_IMPL_EMPTY_BASES StoreHardwareManufacturerInfo : winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo + { + StoreHardwareManufacturerInfo(std::nullptr_t) noexcept {} + StoreHardwareManufacturerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo(ptr, take_ownership_from_abi) {} + }; + struct StorePreview + { + StorePreview() = delete; + static auto RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId); + static auto LoadAddOnProductInfosAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES StorePreviewProductInfo : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo + { + StorePreviewProductInfo(std::nullptr_t) noexcept {} + StorePreviewProductInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StorePreviewPurchaseResults : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults + { + StorePreviewPurchaseResults(std::nullptr_t) noexcept {} + StorePreviewPurchaseResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StorePreviewSkuInfo : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo + { + StorePreviewSkuInfo(std::nullptr_t) noexcept {} + StorePreviewSkuInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo(ptr, take_ownership_from_abi) {} + }; + struct WebAuthenticationCoreManagerHelper + { + WebAuthenticationCoreManagerHelper() = delete; + static auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement); + static auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.0.h new file mode 100644 index 0000000000000000000000000000000000000000..957758024cc5c1d4479a8ff23d3d6ed87f689e96 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.0.h @@ -0,0 +1,769 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_0_H +#define WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct HResult; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Management::Deployment +{ + struct PackageVolume; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview::InstallControl +{ + enum class AppInstallState : int32_t + { + Pending = 0, + Starting = 1, + AcquiringLicense = 2, + Downloading = 3, + RestoringData = 4, + Installing = 5, + Completed = 6, + Canceled = 7, + Paused = 8, + Error = 9, + PausedLowBattery = 10, + PausedWiFiRecommended = 11, + PausedWiFiRequired = 12, + ReadyToDownload = 13, + }; + enum class AppInstallType : int32_t + { + Install = 0, + Update = 1, + Repair = 2, + }; + enum class AppInstallationToastNotificationMode : int32_t + { + Default = 0, + Toast = 1, + ToastWithoutPopup = 2, + NoToast = 3, + }; + enum class AutoUpdateSetting : int32_t + { + Disabled = 0, + Enabled = 1, + DisabledByPolicy = 2, + EnabledByPolicy = 3, + }; + enum class GetEntitlementStatus : int32_t + { + Succeeded = 0, + NoStoreAccount = 1, + NetworkError = 2, + ServerError = 3, + }; + struct IAppInstallItem; + struct IAppInstallItem2; + struct IAppInstallItem3; + struct IAppInstallItem4; + struct IAppInstallItem5; + struct IAppInstallManager; + struct IAppInstallManager2; + struct IAppInstallManager3; + struct IAppInstallManager4; + struct IAppInstallManager5; + struct IAppInstallManager6; + struct IAppInstallManager7; + struct IAppInstallManagerItemEventArgs; + struct IAppInstallOptions; + struct IAppInstallOptions2; + struct IAppInstallStatus; + struct IAppInstallStatus2; + struct IAppInstallStatus3; + struct IAppUpdateOptions; + struct IAppUpdateOptions2; + struct IGetEntitlementResult; + struct IGetEntitlementResult2; + struct AppInstallItem; + struct AppInstallManager; + struct AppInstallManagerItemEventArgs; + struct AppInstallOptions; + struct AppInstallStatus; + struct AppUpdateOptions; + struct GetEntitlementResult; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallState"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallationToastNotificationMode"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.AutoUpdateSetting"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallItem2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallItem3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallItem4"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallItem5"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager4"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager5"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager6"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManager7"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallManagerItemEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallOptions2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallStatus2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppInstallStatus3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppUpdateOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IAppUpdateOptions2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IGetEntitlementResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Store.Preview.InstallControl.IGetEntitlementResult2"; + template <> inline constexpr guid guid_v{ 0x49D3DFAB,0x168A,0x4CBF,{ 0xA9,0x3A,0x9E,0x44,0x8C,0x82,0x73,0x7D } }; // 49D3DFAB-168A-4CBF-A93A-9E448C82737D + template <> inline constexpr guid guid_v{ 0xD3972AF8,0x40C0,0x4FD7,{ 0xAA,0x6C,0x0A,0xA1,0x3C,0xA6,0x18,0x8C } }; // D3972AF8-40C0-4FD7-AA6C-0AA13CA6188C + template <> inline constexpr guid guid_v{ 0x6F3DC998,0xDD47,0x433C,{ 0x92,0x34,0x56,0x01,0x72,0xD6,0x7A,0x45 } }; // 6F3DC998-DD47-433C-9234-560172D67A45 + template <> inline constexpr guid guid_v{ 0xC2D1CE12,0x71FF,0x4FC8,{ 0xB5,0x40,0x45,0x3D,0x4B,0x37,0xE1,0xD1 } }; // C2D1CE12-71FF-4FC8-B540-453D4B37E1D1 + template <> inline constexpr guid guid_v{ 0x5510E7CC,0x4076,0x4A0B,{ 0x94,0x72,0xC2,0x1D,0x9D,0x38,0x0E,0x55 } }; // 5510E7CC-4076-4A0B-9472-C21D9D380E55 + template <> inline constexpr guid guid_v{ 0x9353E170,0x8441,0x4B45,{ 0xBD,0x72,0x7C,0x2F,0xA9,0x25,0xBE,0xEE } }; // 9353E170-8441-4B45-BD72-7C2FA925BEEE + template <> inline constexpr guid guid_v{ 0x16937851,0xED37,0x480D,{ 0x83,0x14,0x52,0xE2,0x7C,0x03,0xF0,0x4A } }; // 16937851-ED37-480D-8314-52E27C03F04A + template <> inline constexpr guid guid_v{ 0x95B24B17,0xE96A,0x4D0E,{ 0x84,0xE1,0xC8,0xCB,0x41,0x7A,0x01,0x78 } }; // 95B24B17-E96A-4D0E-84E1-C8CB417A0178 + template <> inline constexpr guid guid_v{ 0x260A2A16,0x5A9E,0x4EBD,{ 0xB9,0x44,0xF2,0xBA,0x75,0xC3,0x11,0x59 } }; // 260A2A16-5A9E-4EBD-B944-F2BA75C31159 + template <> inline constexpr guid guid_v{ 0x3CD7BE4C,0x1BE9,0x4F7F,{ 0xB6,0x75,0xAA,0x1D,0x64,0xA5,0x29,0xB2 } }; // 3CD7BE4C-1BE9-4F7F-B675-AA1D64A529B2 + template <> inline constexpr guid guid_v{ 0xC9E7D408,0xF27A,0x4471,{ 0xB2,0xF4,0xE7,0x6E,0xFC,0xBE,0xBC,0xCA } }; // C9E7D408-F27A-4471-B2F4-E76EFCBEBCCA + template <> inline constexpr guid guid_v{ 0xA5EE7B30,0xD5E4,0x49A3,{ 0x98,0x53,0x3D,0xB0,0x32,0x03,0x32,0x1D } }; // A5EE7B30-D5E4-49A3-9853-3DB03203321D + template <> inline constexpr guid guid_v{ 0xBC505743,0x4674,0x4DD1,{ 0x95,0x7E,0xC2,0x56,0x82,0x08,0x6A,0x14 } }; // BC505743-4674-4DD1-957E-C25682086A14 + template <> inline constexpr guid guid_v{ 0xC9808300,0x1CB8,0x4EB6,{ 0x8C,0x9F,0x6A,0x30,0xC6,0x4A,0x5B,0x51 } }; // C9808300-1CB8-4EB6-8C9F-6A30C64A5B51 + template <> inline constexpr guid guid_v{ 0x8A04C0D7,0xC94B,0x425E,{ 0x95,0xB4,0xBF,0x27,0xFA,0xEA,0xEE,0x89 } }; // 8A04C0D7-C94B-425E-95B4-BF27FAEAEE89 + template <> inline constexpr guid guid_v{ 0x936DCCFA,0x2450,0x4126,{ 0x88,0xB1,0x61,0x27,0xA6,0x44,0xDD,0x5C } }; // 936DCCFA-2450-4126-88B1-6127A644DD5C + template <> inline constexpr guid guid_v{ 0x96E7818A,0x5E92,0x4AA9,{ 0x8E,0xDC,0x58,0xFE,0xD4,0xB8,0x7E,0x00 } }; // 96E7818A-5E92-4AA9-8EDC-58FED4B87E00 + template <> inline constexpr guid guid_v{ 0xCB880C56,0x837B,0x4B4C,{ 0x9E,0xBB,0x6D,0x44,0xA0,0xA9,0x63,0x07 } }; // CB880C56-837B-4B4C-9EBB-6D44A0A96307 + template <> inline constexpr guid guid_v{ 0x26F0B02F,0xC2F3,0x4AEA,{ 0xAF,0x8C,0x63,0x08,0xDD,0x9D,0xB8,0x5F } }; // 26F0B02F-C2F3-4AEA-AF8C-6308DD9DB85F + template <> inline constexpr guid guid_v{ 0xF4646E08,0xED26,0x4BF9,{ 0x96,0x79,0x48,0xF6,0x28,0xE5,0x3D,0xF8 } }; // F4646E08-ED26-4BF9-9679-48F628E53DF8 + template <> inline constexpr guid guid_v{ 0x74FC843F,0x1A9E,0x4609,{ 0x8E,0x4D,0x81,0x90,0x86,0xD0,0x8A,0x3D } }; // 74FC843F-1A9E-4609-8E4D-819086D08A3D + template <> inline constexpr guid guid_v{ 0xE3906641,0xA981,0x4302,{ 0x8C,0x68,0xFF,0x83,0x66,0x66,0xBB,0x3B } }; // E3906641-A981-4302-8C68-FF836666BB3B + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProductId(void**) noexcept = 0; + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall get_InstallType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsUserInitiated(bool*) noexcept = 0; + virtual int32_t __stdcall GetCurrentStatus(void**) noexcept = 0; + virtual int32_t __stdcall Cancel() noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall Restart() noexcept = 0; + virtual int32_t __stdcall add_Completed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Completed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CancelWithTelemetry(void*) noexcept = 0; + virtual int32_t __stdcall PauseWithTelemetry(void*) noexcept = 0; + virtual int32_t __stdcall RestartWithTelemetry(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Children(void**) noexcept = 0; + virtual int32_t __stdcall get_ItemOperationsMightAffectOtherItems(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LaunchAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_LaunchAfterInstall(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinToDesktopAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToDesktopAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_PinToStartAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToStartAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_PinToTaskbarAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToTaskbarAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_CompletedInstallToastNotificationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CompletedInstallToastNotificationMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_InstallInProgressToastNotificationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_InstallInProgressToastNotificationMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppInstallItems(void**) noexcept = 0; + virtual int32_t __stdcall Cancel(void*) noexcept = 0; + virtual int32_t __stdcall Pause(void*) noexcept = 0; + virtual int32_t __stdcall Restart(void*) noexcept = 0; + virtual int32_t __stdcall add_ItemCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ItemStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_AutoUpdateSetting(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoUpdateSetting(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AcquisitionIdentity(void**) noexcept = 0; + virtual int32_t __stdcall put_AcquisitionIdentity(void*) noexcept = 0; + virtual int32_t __stdcall GetIsApplicableAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartAppInstallAsync(void*, void*, bool, bool, void**) noexcept = 0; + virtual int32_t __stdcall UpdateAppByPackageFamilyNameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForUpdatesAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForAllUpdatesAsync(void**) noexcept = 0; + virtual int32_t __stdcall IsStoreBlockedByPolicyAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsAppAllowedToInstallAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAppInstallWithTelemetryAsync(void*, void*, bool, bool, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateAppByPackageFamilyNameWithTelemetryAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForUpdatesWithTelemetryAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForAllUpdatesWithTelemetryAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsAppAllowedToInstallWithTelemetryAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CancelWithTelemetry(void*, void*) noexcept = 0; + virtual int32_t __stdcall PauseWithTelemetry(void*, void*) noexcept = 0; + virtual int32_t __stdcall RestartWithTelemetry(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartProductInstallAsync(void*, void*, void*, void*, bool, bool, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartProductInstallForUserAsync(void*, void*, void*, void*, void*, bool, bool, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateAppByPackageFamilyNameForUserAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForUpdatesForUserAsync(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForAllUpdatesForUserAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsAppAllowedToInstallForUserAsync(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsApplicableForUserAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall MoveToFrontOfDownloadQueue(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFreeUserEntitlementAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetFreeUserEntitlementForUserAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetFreeDeviceEntitlementAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppInstallItemsWithGroupSupport(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SearchForAllUpdatesWithUpdateOptionsAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForAllUpdatesWithUpdateOptionsForUserAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForUpdatesWithUpdateOptionsAsync(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SearchForUpdatesWithUpdateOptionsForUserAsync(void*, void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartProductInstallWithOptionsAsync(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartProductInstallWithOptionsForUserAsync(void*, void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsPackageIdentityAllowedToInstallAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetIsPackageIdentityAllowedToInstallForUserAsync(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanInstallForAllUsers(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Item(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CatalogId(void**) noexcept = 0; + virtual int32_t __stdcall put_CatalogId(void*) noexcept = 0; + virtual int32_t __stdcall get_ForceUseOfNonRemovableStorage(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceUseOfNonRemovableStorage(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowForcedAppRestart(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowForcedAppRestart(bool) noexcept = 0; + virtual int32_t __stdcall get_Repair(bool*) noexcept = 0; + virtual int32_t __stdcall put_Repair(bool) noexcept = 0; + virtual int32_t __stdcall get_TargetVolume(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetVolume(void*) noexcept = 0; + virtual int32_t __stdcall get_LaunchAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_LaunchAfterInstall(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinToDesktopAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToDesktopAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_PinToStartAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToStartAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_PinToTaskbarAfterInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_PinToTaskbarAfterInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_CompletedInstallToastNotificationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CompletedInstallToastNotificationMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_InstallInProgressToastNotificationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_InstallInProgressToastNotificationMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_InstallForAllUsers(bool*) noexcept = 0; + virtual int32_t __stdcall put_InstallForAllUsers(bool) noexcept = 0; + virtual int32_t __stdcall get_StageButDoNotInstall(bool*) noexcept = 0; + virtual int32_t __stdcall put_StageButDoNotInstall(bool) noexcept = 0; + virtual int32_t __stdcall get_CampaignId(void**) noexcept = 0; + virtual int32_t __stdcall put_CampaignId(void*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedCampaignId(void**) noexcept = 0; + virtual int32_t __stdcall put_ExtendedCampaignId(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InstallState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DownloadSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_BytesDownloaded(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_PercentComplete(double*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_User(void**) noexcept = 0; + virtual int32_t __stdcall get_ReadyForLaunch(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsStaged(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CatalogId(void**) noexcept = 0; + virtual int32_t __stdcall put_CatalogId(void*) noexcept = 0; + virtual int32_t __stdcall get_AllowForcedAppRestart(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowForcedAppRestart(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AutomaticallyDownloadAndInstallUpdateIfFound(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutomaticallyDownloadAndInstallUpdateIfFound(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAlreadyOwned(bool*) noexcept = 0; + virtual int32_t __stdcall get_OrderId(void**) noexcept = 0; + virtual int32_t __stdcall get_SkuId(void**) noexcept = 0; + virtual int32_t __stdcall get_AvailabilityId(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem + { + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto PackageFamilyName() const; + [[nodiscard]] auto InstallType() const; + [[nodiscard]] auto IsUserInitiated() const; + auto GetCurrentStatus() const; + auto Cancel() const; + auto Pause() const; + auto Restart() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Completed_revoker = impl::event_revoker::remove_Completed>; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2 + { + auto Cancel(param::hstring const& correlationVector) const; + auto Pause(param::hstring const& correlationVector) const; + auto Restart(param::hstring const& correlationVector) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3 + { + [[nodiscard]] auto Children() const; + [[nodiscard]] auto ItemOperationsMightAffectOtherItems() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4 + { + [[nodiscard]] auto LaunchAfterInstall() const; + auto LaunchAfterInstall(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5 + { + [[nodiscard]] auto PinToDesktopAfterInstall() const; + auto PinToDesktopAfterInstall(bool value) const; + [[nodiscard]] auto PinToStartAfterInstall() const; + auto PinToStartAfterInstall(bool value) const; + [[nodiscard]] auto PinToTaskbarAfterInstall() const; + auto PinToTaskbarAfterInstall(bool value) const; + [[nodiscard]] auto CompletedInstallToastNotificationMode() const; + auto CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallInProgressToastNotificationMode() const; + auto InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager + { + [[nodiscard]] auto AppInstallItems() const; + auto Cancel(param::hstring const& productId) const; + auto Pause(param::hstring const& productId) const; + auto Restart(param::hstring const& productId) const; + auto ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemCompleted_revoker = impl::event_revoker::remove_ItemCompleted>; + [[nodiscard]] auto ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemCompleted(winrt::event_token const& token) const noexcept; + auto ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemStatusChanged_revoker = impl::event_revoker::remove_ItemStatusChanged>; + [[nodiscard]] auto ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AutoUpdateSetting() const; + auto AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const; + [[nodiscard]] auto AcquisitionIdentity() const; + auto AcquisitionIdentity(param::hstring const& value) const; + auto GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const; + auto UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto SearchForAllUpdatesAsync() const; + auto IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const; + auto GetIsAppAllowedToInstallAsync(param::hstring const& productId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2 + { + auto StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const; + auto UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto SearchForAllUpdatesAsync(param::hstring const& correlationVector) const; + auto GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto Cancel(param::hstring const& productId, param::hstring const& correlationVector) const; + auto Pause(param::hstring const& productId, param::hstring const& correlationVector) const; + auto Restart(param::hstring const& productId, param::hstring const& correlationVector) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3 + { + auto StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; + auto SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const; + auto GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const; + auto MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4 + { + auto GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + auto GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + auto GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5 + { + [[nodiscard]] auto AppInstallItemsWithGroupSupport() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6 + { + auto SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; + auto StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; + auto GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; + auto GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7 + { + [[nodiscard]] auto CanInstallForAllUsers() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs + { + [[nodiscard]] auto Item() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions + { + [[nodiscard]] auto CatalogId() const; + auto CatalogId(param::hstring const& value) const; + [[nodiscard]] auto ForceUseOfNonRemovableStorage() const; + auto ForceUseOfNonRemovableStorage(bool value) const; + [[nodiscard]] auto AllowForcedAppRestart() const; + auto AllowForcedAppRestart(bool value) const; + [[nodiscard]] auto Repair() const; + auto Repair(bool value) const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto LaunchAfterInstall() const; + auto LaunchAfterInstall(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2 + { + [[nodiscard]] auto PinToDesktopAfterInstall() const; + auto PinToDesktopAfterInstall(bool value) const; + [[nodiscard]] auto PinToStartAfterInstall() const; + auto PinToStartAfterInstall(bool value) const; + [[nodiscard]] auto PinToTaskbarAfterInstall() const; + auto PinToTaskbarAfterInstall(bool value) const; + [[nodiscard]] auto CompletedInstallToastNotificationMode() const; + auto CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallInProgressToastNotificationMode() const; + auto InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallForAllUsers() const; + auto InstallForAllUsers(bool value) const; + [[nodiscard]] auto StageButDoNotInstall() const; + auto StageButDoNotInstall(bool value) const; + [[nodiscard]] auto CampaignId() const; + auto CampaignId(param::hstring const& value) const; + [[nodiscard]] auto ExtendedCampaignId() const; + auto ExtendedCampaignId(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus + { + [[nodiscard]] auto InstallState() const; + [[nodiscard]] auto DownloadSizeInBytes() const; + [[nodiscard]] auto BytesDownloaded() const; + [[nodiscard]] auto PercentComplete() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2 + { + [[nodiscard]] auto User() const; + [[nodiscard]] auto ReadyForLaunch() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3 + { + [[nodiscard]] auto IsStaged() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions + { + [[nodiscard]] auto CatalogId() const; + auto CatalogId(param::hstring const& value) const; + [[nodiscard]] auto AllowForcedAppRestart() const; + auto AllowForcedAppRestart(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2 + { + [[nodiscard]] auto AutomaticallyDownloadAndInstallUpdateIfFound() const; + auto AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult; + }; + template + struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2 + { + [[nodiscard]] auto IsAlreadyOwned() const; + [[nodiscard]] auto OrderId() const; + [[nodiscard]] auto SkuId() const; + [[nodiscard]] auto AvailabilityId() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6e64d82f744159a6029c2c8b6e07810a455f57d6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.1.h @@ -0,0 +1,167 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_1_H +#define WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_1_H +#include "winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview::InstallControl +{ + struct WINRT_IMPL_EMPTY_BASES IAppInstallItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallItem(std::nullptr_t = nullptr) noexcept {} + IAppInstallItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallItem2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallItem2(std::nullptr_t = nullptr) noexcept {} + IAppInstallItem2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallItem3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallItem3(std::nullptr_t = nullptr) noexcept {} + IAppInstallItem3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallItem4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallItem4(std::nullptr_t = nullptr) noexcept {} + IAppInstallItem4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallItem5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallItem5(std::nullptr_t = nullptr) noexcept {} + IAppInstallItem5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager2(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager3(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager4(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager5(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager6(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManager7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManager7(std::nullptr_t = nullptr) noexcept {} + IAppInstallManager7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallManagerItemEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallManagerItemEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppInstallManagerItemEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallOptions(std::nullptr_t = nullptr) noexcept {} + IAppInstallOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallOptions2(std::nullptr_t = nullptr) noexcept {} + IAppInstallOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallStatus(std::nullptr_t = nullptr) noexcept {} + IAppInstallStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallStatus2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallStatus2(std::nullptr_t = nullptr) noexcept {} + IAppInstallStatus2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallStatus3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallStatus3(std::nullptr_t = nullptr) noexcept {} + IAppInstallStatus3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppUpdateOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppUpdateOptions(std::nullptr_t = nullptr) noexcept {} + IAppUpdateOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppUpdateOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppUpdateOptions2(std::nullptr_t = nullptr) noexcept {} + IAppUpdateOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGetEntitlementResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGetEntitlementResult(std::nullptr_t = nullptr) noexcept {} + IGetEntitlementResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGetEntitlementResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGetEntitlementResult2(std::nullptr_t = nullptr) noexcept {} + IGetEntitlementResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.2.h new file mode 100644 index 0000000000000000000000000000000000000000..cf2d1391aea40b68082637826d152090f72cab69 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.store.preview.installcontrol.2.h @@ -0,0 +1,89 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_2_H +#define WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_2_H +#include "winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview::InstallControl +{ + struct WINRT_IMPL_EMPTY_BASES AppInstallItem : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem, + impl::require + { + AppInstallItem(std::nullptr_t) noexcept {} + AppInstallItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem(ptr, take_ownership_from_abi) {} + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem::Cancel; + using impl::consume_t::Cancel; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem::Pause; + using impl::consume_t::Pause; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem::Restart; + using impl::consume_t::Restart; + }; + struct WINRT_IMPL_EMPTY_BASES AppInstallManager : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager, + impl::require + { + AppInstallManager(std::nullptr_t) noexcept {} + AppInstallManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager(ptr, take_ownership_from_abi) {} + AppInstallManager(); + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::Cancel; + using impl::consume_t::Cancel; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::GetIsAppAllowedToInstallAsync; + using impl::consume_t::GetIsAppAllowedToInstallAsync; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::Pause; + using impl::consume_t::Pause; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::Restart; + using impl::consume_t::Restart; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::SearchForAllUpdatesAsync; + using impl::consume_t::SearchForAllUpdatesAsync; + using impl::consume_t::SearchForAllUpdatesAsync; + using impl::consume_t::SearchForAllUpdatesForUserAsync; + using impl::consume_t::SearchForAllUpdatesForUserAsync; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::SearchForUpdatesAsync; + using impl::consume_t::SearchForUpdatesAsync; + using impl::consume_t::SearchForUpdatesAsync; + using impl::consume_t::SearchForUpdatesForUserAsync; + using impl::consume_t::SearchForUpdatesForUserAsync; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::StartAppInstallAsync; + using impl::consume_t::StartAppInstallAsync; + using impl::consume_t::StartProductInstallAsync; + using impl::consume_t::StartProductInstallAsync; + using impl::consume_t::StartProductInstallForUserAsync; + using impl::consume_t::StartProductInstallForUserAsync; + using winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager::UpdateAppByPackageFamilyNameAsync; + using impl::consume_t::UpdateAppByPackageFamilyNameAsync; + }; + struct WINRT_IMPL_EMPTY_BASES AppInstallManagerItemEventArgs : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs + { + AppInstallManagerItemEventArgs(std::nullptr_t) noexcept {} + AppInstallManagerItemEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppInstallOptions : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions, + impl::require + { + AppInstallOptions(std::nullptr_t) noexcept {} + AppInstallOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions(ptr, take_ownership_from_abi) {} + AppInstallOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES AppInstallStatus : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus, + impl::require + { + AppInstallStatus(std::nullptr_t) noexcept {} + AppInstallStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppUpdateOptions : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions, + impl::require + { + AppUpdateOptions(std::nullptr_t) noexcept {} + AppUpdateOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions(ptr, take_ownership_from_abi) {} + AppUpdateOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES GetEntitlementResult : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult, + impl::require + { + GetEntitlementResult(std::nullptr_t) noexcept {} + GetEntitlementResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.0.h new file mode 100644 index 0000000000000000000000000000000000000000..903270120a564945cf87d6aac50afbeb99c4aff2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.0.h @@ -0,0 +1,612 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_0_H +#define WINRT_Windows_ApplicationModel_UserActivities_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct WebAccount; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::UI::Shell +{ + struct IAdaptiveCard; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities +{ + enum class UserActivityState : int32_t + { + New = 0, + Published = 1, + }; + struct IUserActivity; + struct IUserActivity2; + struct IUserActivity3; + struct IUserActivityAttribution; + struct IUserActivityAttributionFactory; + struct IUserActivityChannel; + struct IUserActivityChannel2; + struct IUserActivityChannelStatics; + struct IUserActivityChannelStatics2; + struct IUserActivityChannelStatics3; + struct IUserActivityContentInfo; + struct IUserActivityContentInfoStatics; + struct IUserActivityFactory; + struct IUserActivityRequest; + struct IUserActivityRequestManager; + struct IUserActivityRequestManagerStatics; + struct IUserActivityRequestedEventArgs; + struct IUserActivitySession; + struct IUserActivitySessionHistoryItem; + struct IUserActivityStatics; + struct IUserActivityVisualElements; + struct IUserActivityVisualElements2; + struct UserActivity; + struct UserActivityAttribution; + struct UserActivityChannel; + struct UserActivityContentInfo; + struct UserActivityRequest; + struct UserActivityRequestManager; + struct UserActivityRequestedEventArgs; + struct UserActivitySession; + struct UserActivitySessionHistoryItem; + struct UserActivityVisualElements; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivity"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityAttribution"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityChannel"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityContentInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivitySession"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.UserActivityState"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivity"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivity2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivity3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityAttribution"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityAttributionFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityChannel"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityChannel2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityChannelStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityChannelStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityChannelStatics3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityContentInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityContentInfoStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityRequestManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityRequestManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivitySession"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivitySessionHistoryItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityVisualElements"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.IUserActivityVisualElements2"; + template <> inline constexpr guid guid_v{ 0xFC103E9E,0x2CAB,0x4D36,{ 0xAE,0xA2,0xB4,0xBB,0x55,0x6C,0xEF,0x0F } }; // FC103E9E-2CAB-4D36-AEA2-B4BB556CEF0F + template <> inline constexpr guid guid_v{ 0x9DC40C62,0x08C4,0x47AC,{ 0xAA,0x9C,0x2B,0xB2,0x22,0x1C,0x55,0xFD } }; // 9DC40C62-08C4-47AC-AA9C-2BB2221C55FD + template <> inline constexpr guid guid_v{ 0xE7697744,0xE1A2,0x5147,{ 0x8E,0x06,0x55,0xF1,0xEE,0xEF,0x27,0x1C } }; // E7697744-E1A2-5147-8E06-55F1EEEF271C + template <> inline constexpr guid guid_v{ 0x34A5C8B5,0x86DD,0x4AEC,{ 0xA4,0x91,0x6A,0x4F,0xAE,0xA5,0xD2,0x2E } }; // 34A5C8B5-86DD-4AEC-A491-6A4FAEA5D22E + template <> inline constexpr guid guid_v{ 0xE62BD252,0xC566,0x4F42,{ 0x99,0x74,0x91,0x6C,0x4D,0x76,0x37,0x7E } }; // E62BD252-C566-4F42-9974-916C4D76377E + template <> inline constexpr guid guid_v{ 0xBAC0F8B8,0xA0E4,0x483B,{ 0xB9,0x48,0x9C,0xBA,0xBD,0x06,0x07,0x0C } }; // BAC0F8B8-A0E4-483B-B948-9CBABD06070C + template <> inline constexpr guid guid_v{ 0x1698E35B,0xEB7E,0x4EA0,{ 0xBF,0x17,0xA4,0x59,0xE8,0xBE,0x70,0x6C } }; // 1698E35B-EB7E-4EA0-BF17-A459E8BE706C + template <> inline constexpr guid guid_v{ 0xC8C005AB,0x198D,0x4D80,{ 0xAB,0xB2,0xC9,0x77,0x5E,0xC4,0xA7,0x29 } }; // C8C005AB-198D-4D80-ABB2-C9775EC4A729 + template <> inline constexpr guid guid_v{ 0x8E87DE30,0xAA4F,0x4624,{ 0x9A,0xD0,0xD4,0x0F,0x3B,0xA0,0x31,0x7C } }; // 8E87DE30-AA4F-4624-9AD0-D40F3BA0317C + template <> inline constexpr guid guid_v{ 0x53BC4DDB,0xBBDF,0x5984,{ 0x80,0x2A,0x53,0x05,0x87,0x4E,0x20,0x5C } }; // 53BC4DDB-BBDF-5984-802A-5305874E205C + template <> inline constexpr guid guid_v{ 0xB399E5AD,0x137F,0x409D,{ 0x82,0x2D,0xE1,0xAF,0x27,0xCE,0x08,0xDC } }; // B399E5AD-137F-409D-822D-E1AF27CE08DC + template <> inline constexpr guid guid_v{ 0x9988C34B,0x0386,0x4BC9,{ 0x96,0x8A,0x82,0x00,0xB0,0x04,0x14,0x4F } }; // 9988C34B-0386-4BC9-968A-8200B004144F + template <> inline constexpr guid guid_v{ 0x7C385758,0x361D,0x4A67,{ 0x8A,0x3B,0x34,0xCA,0x29,0x78,0xF9,0xA3 } }; // 7C385758-361D-4A67-8A3B-34CA2978F9A3 + template <> inline constexpr guid guid_v{ 0xA0EF6355,0xCF35,0x4FF0,{ 0x88,0x33,0x50,0xCB,0x4B,0x72,0xE0,0x6D } }; // A0EF6355-CF35-4FF0-8833-50CB4B72E06D + template <> inline constexpr guid guid_v{ 0x0C30BE4E,0x903D,0x48D6,{ 0x82,0xD4,0x40,0x43,0xED,0x57,0x79,0x1B } }; // 0C30BE4E-903D-48D6-82D4-4043ED57791B + template <> inline constexpr guid guid_v{ 0xC0392DF1,0x224A,0x432C,{ 0x81,0xE5,0x0C,0x76,0xB4,0xC4,0xCE,0xFA } }; // C0392DF1-224A-432C-81E5-0C76B4C4CEFA + template <> inline constexpr guid guid_v{ 0xA4CC7A4C,0x8229,0x4CFD,{ 0xA3,0xBC,0xC6,0x1D,0x31,0x85,0x75,0xA4 } }; // A4CC7A4C-8229-4CFD-A3BC-C61D318575A4 + template <> inline constexpr guid guid_v{ 0xAE434D78,0x24FA,0x44A3,{ 0xAD,0x48,0x6E,0xDA,0x61,0xAA,0x19,0x24 } }; // AE434D78-24FA-44A3-AD48-6EDA61AA1924 + template <> inline constexpr guid guid_v{ 0xE8D59BD3,0x3E5D,0x49FD,{ 0x98,0xD7,0x6D,0xA9,0x75,0x21,0xE2,0x55 } }; // E8D59BD3-3E5D-49FD-98D7-6DA97521E255 + template <> inline constexpr guid guid_v{ 0x8C8FD333,0x0E09,0x47F6,{ 0x9A,0xC7,0x95,0xCF,0x5C,0x39,0x36,0x7B } }; // 8C8FD333-0E09-47F6-9AC7-95CF5C39367B + template <> inline constexpr guid guid_v{ 0x94757513,0x262F,0x49EF,{ 0xBB,0xBF,0x9B,0x75,0xD2,0xE8,0x52,0x50 } }; // 94757513-262F-49EF-BBBF-9B75D2E85250 + template <> inline constexpr guid guid_v{ 0xCAAE7FC7,0x3EEF,0x4359,{ 0x82,0x5C,0x9D,0x51,0xB9,0x22,0x0D,0xE3 } }; // CAAE7FC7-3EEF-4359-825C-9D51B9220DE3 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivity; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivitySession; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ActivityId(void**) noexcept = 0; + virtual int32_t __stdcall get_VisualElements(void**) noexcept = 0; + virtual int32_t __stdcall get_ContentUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ContentType(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentType(void*) noexcept = 0; + virtual int32_t __stdcall get_FallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall put_FallbackUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ActivationUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ActivationUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ContentInfo(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentInfo(void*) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreateSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ToJson(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsRoamable(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsRoamable(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IconUri(void**) noexcept = 0; + virtual int32_t __stdcall put_IconUri(void*) noexcept = 0; + virtual int32_t __stdcall get_AlternateText(void**) noexcept = 0; + virtual int32_t __stdcall put_AlternateText(void*) noexcept = 0; + virtual int32_t __stdcall get_AddImageQuery(bool*) noexcept = 0; + virtual int32_t __stdcall put_AddImageQuery(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithUri(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetOrCreateUserActivityAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteActivityAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteAllActivitiesAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetRecentUserActivitiesAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSessionHistoryItemsForUserActivityAsync(void*, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DisableAutoSessionCreation() noexcept = 0; + virtual int32_t __stdcall TryGetForWebAccount(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ToJson(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromJson(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithActivityId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetUserActivity(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_UserActivityRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UserActivityRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivityId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserActivity(void**) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_EndTime(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryParseFromJson(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryParseFromJsonArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall ToJsonArray(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayText(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayText(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_BackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_BackgroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_Attribution(void**) noexcept = 0; + virtual int32_t __stdcall put_Attribution(void*) noexcept = 0; + virtual int32_t __stdcall put_Content(void*) noexcept = 0; + virtual int32_t __stdcall get_Content(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AttributionDisplayText(void**) noexcept = 0; + virtual int32_t __stdcall put_AttributionDisplayText(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivity + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto VisualElements() const; + [[nodiscard]] auto ContentUri() const; + auto ContentUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; + [[nodiscard]] auto FallbackUri() const; + auto FallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ActivationUri() const; + auto ActivationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentInfo() const; + auto ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const; + auto SaveAsync() const; + auto CreateSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivity; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivity2 + { + auto ToJson() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivity2; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivity3 + { + [[nodiscard]] auto IsRoamable() const; + auto IsRoamable(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivity3; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution + { + [[nodiscard]] auto IconUri() const; + auto IconUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AlternateText() const; + auto AlternateText(param::hstring const& value) const; + [[nodiscard]] auto AddImageQuery() const; + auto AddImageQuery(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory + { + auto CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel + { + auto GetOrCreateUserActivityAsync(param::hstring const& activityId) const; + auto DeleteActivityAsync(param::hstring const& activityId) const; + auto DeleteAllActivitiesAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2 + { + auto GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const; + auto GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2 + { + auto DisableAutoSessionCreation() const; + auto TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3 + { + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo + { + auto ToJson() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics + { + auto FromJson(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory + { + auto CreateWithActivityId(param::hstring const& activityId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest + { + auto SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager + { + auto UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UserActivityRequested_revoker = impl::event_revoker::remove_UserActivityRequested>; + [[nodiscard]] auto UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserActivityRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivitySession + { + [[nodiscard]] auto ActivityId() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivitySession; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem + { + [[nodiscard]] auto UserActivity() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto EndTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics + { + auto TryParseFromJson(param::hstring const& json) const; + auto TryParseFromJsonArray(param::hstring const& json) const; + auto ToJsonArray(param::iterable const& activities) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements + { + [[nodiscard]] auto DisplayText() const; + auto DisplayText(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Attribution() const; + auto Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const; + auto Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const; + [[nodiscard]] auto Content() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2 + { + [[nodiscard]] auto AttributionDisplayText() const; + auto AttributionDisplayText(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3ea239ef37d0845fa1797bd11f3addef59341c78 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.1.h @@ -0,0 +1,167 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_1_H +#define WINRT_Windows_ApplicationModel_UserActivities_1_H +#include "winrt/impl/Windows.ApplicationModel.UserActivities.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities +{ + struct WINRT_IMPL_EMPTY_BASES IUserActivity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivity(std::nullptr_t = nullptr) noexcept {} + IUserActivity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivity2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivity2(std::nullptr_t = nullptr) noexcept {} + IUserActivity2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivity3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivity3(std::nullptr_t = nullptr) noexcept {} + IUserActivity3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityAttribution : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityAttribution(std::nullptr_t = nullptr) noexcept {} + IUserActivityAttribution(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityAttributionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityAttributionFactory(std::nullptr_t = nullptr) noexcept {} + IUserActivityAttributionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityChannel(std::nullptr_t = nullptr) noexcept {} + IUserActivityChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityChannel2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityChannel2(std::nullptr_t = nullptr) noexcept {} + IUserActivityChannel2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityChannelStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityChannelStatics(std::nullptr_t = nullptr) noexcept {} + IUserActivityChannelStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityChannelStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityChannelStatics2(std::nullptr_t = nullptr) noexcept {} + IUserActivityChannelStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityChannelStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityChannelStatics3(std::nullptr_t = nullptr) noexcept {} + IUserActivityChannelStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityContentInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityContentInfo(std::nullptr_t = nullptr) noexcept {} + IUserActivityContentInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityContentInfoStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityContentInfoStatics(std::nullptr_t = nullptr) noexcept {} + IUserActivityContentInfoStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityFactory(std::nullptr_t = nullptr) noexcept {} + IUserActivityFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityRequest(std::nullptr_t = nullptr) noexcept {} + IUserActivityRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityRequestManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityRequestManager(std::nullptr_t = nullptr) noexcept {} + IUserActivityRequestManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityRequestManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityRequestManagerStatics(std::nullptr_t = nullptr) noexcept {} + IUserActivityRequestManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserActivityRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivitySession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivitySession(std::nullptr_t = nullptr) noexcept {} + IUserActivitySession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivitySessionHistoryItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivitySessionHistoryItem(std::nullptr_t = nullptr) noexcept {} + IUserActivitySessionHistoryItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityStatics(std::nullptr_t = nullptr) noexcept {} + IUserActivityStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityVisualElements : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityVisualElements(std::nullptr_t = nullptr) noexcept {} + IUserActivityVisualElements(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserActivityVisualElements2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserActivityVisualElements2(std::nullptr_t = nullptr) noexcept {} + IUserActivityVisualElements2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.2.h new file mode 100644 index 0000000000000000000000000000000000000000..86c0157b2ac7793bde0bcacf3e8aa23d67a48295 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.2.h @@ -0,0 +1,83 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_2_H +#define WINRT_Windows_ApplicationModel_UserActivities_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Security.Credentials.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.ApplicationModel.UserActivities.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities +{ + struct WINRT_IMPL_EMPTY_BASES UserActivity : winrt::Windows::ApplicationModel::UserActivities::IUserActivity, + impl::require + { + UserActivity(std::nullptr_t) noexcept {} + UserActivity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivity(ptr, take_ownership_from_abi) {} + explicit UserActivity(param::hstring const& activityId); + static auto TryParseFromJson(param::hstring const& json); + static auto TryParseFromJsonArray(param::hstring const& json); + static auto ToJsonArray(param::iterable const& activities); + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityAttribution : winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution + { + UserActivityAttribution(std::nullptr_t) noexcept {} + UserActivityAttribution(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution(ptr, take_ownership_from_abi) {} + UserActivityAttribution(); + explicit UserActivityAttribution(winrt::Windows::Foundation::Uri const& iconUri); + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityChannel : winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel, + impl::require + { + UserActivityChannel(std::nullptr_t) noexcept {} + UserActivityChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto DisableAutoSessionCreation(); + static auto TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account); + static auto GetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityContentInfo : winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo + { + UserActivityContentInfo(std::nullptr_t) noexcept {} + UserActivityContentInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo(ptr, take_ownership_from_abi) {} + static auto FromJson(param::hstring const& value); + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityRequest : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest + { + UserActivityRequest(std::nullptr_t) noexcept {} + UserActivityRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityRequestManager : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager + { + UserActivityRequestManager(std::nullptr_t) noexcept {} + UserActivityRequestManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityRequestedEventArgs : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs + { + UserActivityRequestedEventArgs(std::nullptr_t) noexcept {} + UserActivityRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserActivitySession : winrt::Windows::ApplicationModel::UserActivities::IUserActivitySession, + impl::require + { + UserActivitySession(std::nullptr_t) noexcept {} + UserActivitySession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivitySession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserActivitySessionHistoryItem : winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem + { + UserActivitySessionHistoryItem(std::nullptr_t) noexcept {} + UserActivitySessionHistoryItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserActivityVisualElements : winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements, + impl::require + { + UserActivityVisualElements(std::nullptr_t) noexcept {} + UserActivityVisualElements(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..16fa44f1a7d859a6e57985caf2b74ca26e1a7c78 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.0.h @@ -0,0 +1,50 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_0_H +#define WINRT_Windows_ApplicationModel_UserActivities_Core_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities +{ + struct UserActivity; + struct UserActivityChannel; + struct UserActivitySession; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities::Core +{ + struct ICoreUserActivityManagerStatics; + struct CoreUserActivityManager; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.Core.CoreUserActivityManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserActivities.Core.ICoreUserActivityManagerStatics"; + template <> inline constexpr guid guid_v{ 0xCA3ADB02,0xA4BE,0x4D4D,{ 0xBF,0xA8,0x67,0x95,0xF4,0x26,0x4E,0xFB } }; // CA3ADB02-A4BE-4D4D-BFA8-6795F4264EFB + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateUserActivitySessionInBackground(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteUserActivitySessionsInTimeRangeAsync(void*, int64_t, int64_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics + { + auto CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; + auto DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e8e16aa7e192b12550f8bfdd3df238da3ab82545 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_1_H +#define WINRT_Windows_ApplicationModel_UserActivities_Core_1_H +#include "winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities::Core +{ + struct WINRT_IMPL_EMPTY_BASES ICoreUserActivityManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICoreUserActivityManagerStatics(std::nullptr_t = nullptr) noexcept {} + ICoreUserActivityManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a988a449f4eaff62d9fcc7c3081de94c2353a33b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.useractivities.core.2.h @@ -0,0 +1,21 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_2_H +#define WINRT_Windows_ApplicationModel_UserActivities_Core_2_H +#include "winrt/impl/Windows.ApplicationModel.UserActivities.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserActivities::Core +{ + struct CoreUserActivityManager + { + CoreUserActivityManager() = delete; + static auto CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity); + static auto DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.0.h new file mode 100644 index 0000000000000000000000000000000000000000..30d11f8ffb809a125cb9dd15898029705805f079 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.0.h @@ -0,0 +1,360 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_0_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts +{ + enum class UserDataAccountContentKinds : uint32_t + { + Email = 0x1, + Contact = 0x2, + Appointment = 0x4, + }; + enum class UserDataAccountOtherAppReadAccess : int32_t + { + SystemOnly = 0, + Full = 1, + None = 2, + }; + enum class UserDataAccountStoreAccessType : int32_t + { + AllAccountsReadOnly = 0, + AppAccountsReadWrite = 1, + }; + struct IUserDataAccount; + struct IUserDataAccount2; + struct IUserDataAccount3; + struct IUserDataAccount4; + struct IUserDataAccountManagerForUser; + struct IUserDataAccountManagerStatics; + struct IUserDataAccountManagerStatics2; + struct IUserDataAccountStore; + struct IUserDataAccountStore2; + struct IUserDataAccountStore3; + struct IUserDataAccountStoreChangedEventArgs; + struct UserDataAccount; + struct UserDataAccountManager; + struct UserDataAccountManagerForUser; + struct UserDataAccountStore; + struct UserDataAccountStoreChangedEventArgs; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountContentKinds"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountOtherAppReadAccess"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreAccessType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccount"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccount2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccount3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccount4"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountManagerForUser"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountStore2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountStore3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.IUserDataAccountStoreChangedEventArgs"; + template <> inline constexpr guid guid_v{ 0xB9C4367E,0xB348,0x4910,{ 0xBE,0x94,0x4A,0xD4,0xBB,0xA6,0xDE,0xA7 } }; // B9C4367E-B348-4910-BE94-4AD4BBA6DEA7 + template <> inline constexpr guid guid_v{ 0x078CD89F,0xDE82,0x404B,{ 0x81,0x95,0xC8,0xA3,0xAC,0x19,0x8F,0x60 } }; // 078CD89F-DE82-404B-8195-C8A3AC198F60 + template <> inline constexpr guid guid_v{ 0x01533845,0x6C43,0x4286,{ 0x9D,0x69,0x3E,0x17,0x09,0xA1,0xF2,0x66 } }; // 01533845-6C43-4286-9D69-3E1709A1F266 + template <> inline constexpr guid guid_v{ 0xC4315210,0xEAE5,0x4F0A,{ 0xA8,0xB2,0x1C,0xCA,0x11,0x5E,0x00,0x8F } }; // C4315210-EAE5-4F0A-A8B2-1CCA115E008F + template <> inline constexpr guid guid_v{ 0x56A6E8DB,0xDB8F,0x41AB,{ 0xA6,0x5F,0x8C,0x59,0x71,0xAA,0xC9,0x82 } }; // 56A6E8DB-DB8F-41AB-A65F-8C5971AAC982 + template <> inline constexpr guid guid_v{ 0x0D9B89EA,0x1928,0x4A20,{ 0x86,0xD5,0x3C,0x73,0x7F,0x7D,0xC3,0xB0 } }; // 0D9B89EA-1928-4A20-86D5-3C737F7DC3B0 + template <> inline constexpr guid guid_v{ 0x6A3DED88,0x316B,0x435E,{ 0xB5,0x34,0xF7,0xD4,0xB4,0xB7,0xDB,0xA6 } }; // 6A3DED88-316B-435E-B534-F7D4B4B7DBA6 + template <> inline constexpr guid guid_v{ 0x2073B0AD,0x7D0A,0x4E76,{ 0xBF,0x45,0x23,0x68,0xF9,0x78,0xA5,0x9A } }; // 2073B0AD-7D0A-4E76-BF45-2368F978A59A + template <> inline constexpr guid guid_v{ 0xB1E0AEF7,0x9560,0x4631,{ 0x8A,0xF0,0x06,0x1D,0x30,0x16,0x14,0x69 } }; // B1E0AEF7-9560-4631-8AF0-061D30161469 + template <> inline constexpr guid guid_v{ 0x8142C094,0xF3C9,0x478B,{ 0xB1,0x17,0x65,0x85,0xBE,0xBB,0x67,0x89 } }; // 8142C094-F3C9-478B-B117-6585BEBB6789 + template <> inline constexpr guid guid_v{ 0x84E3E2E5,0x8820,0x4512,{ 0xB1,0xF6,0x2E,0x03,0x5B,0xE1,0x07,0x2C } }; // 84E3E2E5-8820-4512-B1F6-2E035BE1072C + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_UserDisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_UserDisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_OtherAppReadAccess(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OtherAppReadAccess(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Icon(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceAccountTypeId(void**) noexcept = 0; + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAppointmentCalendarsAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindEmailMailboxesAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindContactListsAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindContactAnnotationListsAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnterpriseId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsProtectedUnderLock(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExplictReadAccessPackageFamilyNames(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanShowCreateContactGroup(bool*) noexcept = 0; + virtual int32_t __stdcall put_CanShowCreateContactGroup(bool) noexcept = 0; + virtual int32_t __stdcall get_ProviderProperties(void**) noexcept = 0; + virtual int32_t __stdcall FindUserDataTaskListsAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindContactGroupsAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryShowCreateContactGroupAsync(void**) noexcept = 0; + virtual int32_t __stdcall put_IsProtectedUnderLock(bool) noexcept = 0; + virtual int32_t __stdcall put_Icon(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ShowAddAccountAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall ShowAccountSettingsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowAccountErrorResolverAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAccountsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateAccountAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAccountWithPackageRelativeAppIdAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_StoreChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StoreChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UserDisplayName() const; + auto UserDisplayName(param::hstring const& value) const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const; + [[nodiscard]] auto Icon() const; + [[nodiscard]] auto DeviceAccountTypeId() const; + [[nodiscard]] auto PackageFamilyName() const; + auto SaveAsync() const; + auto DeleteAsync() const; + auto FindAppointmentCalendarsAsync() const; + auto FindEmailMailboxesAsync() const; + auto FindContactListsAsync() const; + auto FindContactAnnotationListsAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2 + { + [[nodiscard]] auto EnterpriseId() const; + [[nodiscard]] auto IsProtectedUnderLock() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3 + { + [[nodiscard]] auto ExplictReadAccessPackageFamilyNames() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4 + { + [[nodiscard]] auto CanShowCreateContactGroup() const; + auto CanShowCreateContactGroup(bool value) const; + [[nodiscard]] auto ProviderProperties() const; + auto FindUserDataTaskListsAsync() const; + auto FindContactGroupsAsync() const; + auto TryShowCreateContactGroupAsync() const; + auto IsProtectedUnderLock(bool value) const; + auto Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser + { + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics + { + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; + auto ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const; + auto ShowAccountSettingsAsync(param::hstring const& id) const; + auto ShowAccountErrorResolverAsync(param::hstring const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2 + { + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore + { + auto FindAccountsAsync() const; + auto GetAccountAsync(param::hstring const& id) const; + auto CreateAccountAsync(param::hstring const& userDisplayName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2 + { + auto CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const; + auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StoreChanged_revoker = impl::event_revoker::remove_StoreChanged>; + [[nodiscard]] auto StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StoreChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3 + { + auto CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs + { + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8586b1da6a480ec1ee5a6594fb5fdf7ba20f12c2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_1_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_1_H +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts +{ + struct WINRT_IMPL_EMPTY_BASES IUserDataAccount : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccount(std::nullptr_t = nullptr) noexcept {} + IUserDataAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccount2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccount2(std::nullptr_t = nullptr) noexcept {} + IUserDataAccount2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccount3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccount3(std::nullptr_t = nullptr) noexcept {} + IUserDataAccount3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccount4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccount4(std::nullptr_t = nullptr) noexcept {} + IUserDataAccount4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountManagerForUser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountManagerForUser(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountManagerForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountManagerStatics(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountStore(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountStore2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccountStore2(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountStore2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::CreateAccountAsync; + using impl::consume_t::CreateAccountAsync; + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountStore3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccountStore3(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountStore3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::CreateAccountAsync; + using impl::consume_t::CreateAccountAsync; + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountStoreChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountStoreChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountStoreChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f6c5a7465bdf32445565596b25577f2a93078283 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.2.h @@ -0,0 +1,52 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_2_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts +{ + struct WINRT_IMPL_EMPTY_BASES UserDataAccount : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount, + impl::require + { + UserDataAccount(std::nullptr_t) noexcept {} + UserDataAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount(ptr, take_ownership_from_abi) {} + using winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount::Icon; + using impl::consume_t::Icon; + using impl::consume_t::IsProtectedUnderLock; + using impl::consume_t::IsProtectedUnderLock; + }; + struct UserDataAccountManager + { + UserDataAccountManager() = delete; + static auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType); + static auto ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds); + static auto ShowAccountSettingsAsync(param::hstring const& id); + static auto ShowAccountErrorResolverAsync(param::hstring const& id); + static auto GetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountManagerForUser : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser + { + UserDataAccountManagerForUser(std::nullptr_t) noexcept {} + UserDataAccountManagerForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountStore : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore, + impl::require + { + UserDataAccountStore(std::nullptr_t) noexcept {} + UserDataAccountStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore(ptr, take_ownership_from_abi) {} + using winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore::CreateAccountAsync; + using impl::consume_t::CreateAccountAsync; + using impl::consume_t::CreateAccountAsync; + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountStoreChangedEventArgs : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs + { + UserDataAccountStoreChangedEventArgs(std::nullptr_t) noexcept {} + UserDataAccountStoreChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e842aaef1d9dd28fbaa017aec6bd48f118bfa7c5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.0.h @@ -0,0 +1,162 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_0_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts +{ + enum class UserDataAccountContentKinds : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::Provider +{ + enum class UserDataAccountProviderOperationKind : int32_t + { + AddAccount = 0, + Settings = 1, + ResolveErrors = 2, + }; + enum class UserDataAccountProviderPartnerAccountKind : int32_t + { + Exchange = 0, + PopOrImap = 1, + }; + struct IUserDataAccountPartnerAccountInfo; + struct IUserDataAccountProviderAddAccountOperation; + struct IUserDataAccountProviderOperation; + struct IUserDataAccountProviderResolveErrorsOperation; + struct IUserDataAccountProviderSettingsOperation; + struct UserDataAccountPartnerAccountInfo; + struct UserDataAccountProviderAddAccountOperation; + struct UserDataAccountProviderResolveErrorsOperation; + struct UserDataAccountProviderSettingsOperation; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountPartnerAccountInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderAddAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderResolveErrorsOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderSettingsOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderOperationKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderPartnerAccountKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountPartnerAccountInfo"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderAddAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderResolveErrorsOperation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderSettingsOperation"; + template <> inline constexpr guid guid_v{ 0x5F200037,0xF6EF,0x4EC3,{ 0x86,0x30,0x01,0x2C,0x59,0xC1,0x14,0x9F } }; // 5F200037-F6EF-4EC3-8630-012C59C1149F + template <> inline constexpr guid guid_v{ 0xB9C72530,0x3F84,0x4B5D,{ 0x8E,0xAA,0x45,0xE9,0x7A,0xA8,0x42,0xED } }; // B9C72530-3F84-4B5D-8EAA-45E97AA842ED + template <> inline constexpr guid guid_v{ 0xA20AAD63,0x888C,0x4A62,{ 0xA3,0xDD,0x34,0xD0,0x7A,0x80,0x2B,0x2B } }; // A20AAD63-888C-4A62-A3DD-34D07A802B2B + template <> inline constexpr guid guid_v{ 0x6235DC15,0xBFCB,0x41E1,{ 0x99,0x57,0x97,0x59,0xA2,0x88,0x46,0xCC } }; // 6235DC15-BFCB-41E1-9957-9759A28846CC + template <> inline constexpr guid guid_v{ 0x92034DB7,0x8648,0x4F30,{ 0xAC,0xFA,0x30,0x02,0x65,0x8C,0xA8,0x0D } }; // 92034DB7-8648-4F30-ACFA-3002658CA80D + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Priority(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AccountKind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentKinds(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PartnerAccountInfos(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompleted(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserDataAccountId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompleted() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserDataAccountId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompleted() noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Priority() const; + [[nodiscard]] auto AccountKind() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation + { + [[nodiscard]] auto ContentKinds() const; + [[nodiscard]] auto PartnerAccountInfos() const; + auto ReportCompleted(param::hstring const& userDataAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation + { + [[nodiscard]] auto Kind() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation + { + [[nodiscard]] auto UserDataAccountId() const; + auto ReportCompleted() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation + { + [[nodiscard]] auto UserDataAccountId() const; + auto ReportCompleted() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..24e3d8e44d67bf423c7d9149558d5750b66cc69f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.1.h @@ -0,0 +1,51 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_1_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_1_H +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountPartnerAccountInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountPartnerAccountInfo(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountPartnerAccountInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountProviderAddAccountOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccountProviderAddAccountOperation(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountProviderAddAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountProviderOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountProviderOperation(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountProviderOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountProviderResolveErrorsOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccountProviderResolveErrorsOperation(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountProviderResolveErrorsOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountProviderSettingsOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUserDataAccountProviderSettingsOperation(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountProviderSettingsOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0ef1fb2ffc8352ba4de83a02ddbb12efdca11a3b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.provider.2.h @@ -0,0 +1,33 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_2_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_2_H +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::Provider +{ + struct WINRT_IMPL_EMPTY_BASES UserDataAccountPartnerAccountInfo : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo + { + UserDataAccountPartnerAccountInfo(std::nullptr_t) noexcept {} + UserDataAccountPartnerAccountInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountProviderAddAccountOperation : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation + { + UserDataAccountProviderAddAccountOperation(std::nullptr_t) noexcept {} + UserDataAccountProviderAddAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountProviderResolveErrorsOperation : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation + { + UserDataAccountProviderResolveErrorsOperation(std::nullptr_t) noexcept {} + UserDataAccountProviderResolveErrorsOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataAccountProviderSettingsOperation : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation + { + UserDataAccountProviderSettingsOperation(std::nullptr_t) noexcept {} + UserDataAccountProviderSettingsOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.0.h new file mode 100644 index 0000000000000000000000000000000000000000..255b344f242b0d209681e8b51a1d03371b50667b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.0.h @@ -0,0 +1,342 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_0_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess +{ + enum class DeviceAccountAuthenticationType : int32_t + { + Basic = 0, + OAuth = 1, + SingleSignOn = 2, + }; + enum class DeviceAccountIconId : int32_t + { + Exchange = 0, + Msa = 1, + Outlook = 2, + Generic = 3, + }; + enum class DeviceAccountMailAgeFilter : int32_t + { + All = 0, + Last1Day = 1, + Last3Days = 2, + Last7Days = 3, + Last14Days = 4, + Last30Days = 5, + Last90Days = 6, + }; + enum class DeviceAccountServerType : int32_t + { + Exchange = 0, + Pop = 1, + Imap = 2, + }; + enum class DeviceAccountSyncScheduleKind : int32_t + { + Manual = 0, + Every15Minutes = 1, + Every30Minutes = 2, + Every60Minutes = 3, + Every2Hours = 4, + Daily = 5, + AsItemsArrive = 6, + }; + struct IDeviceAccountConfiguration; + struct IDeviceAccountConfiguration2; + struct IUserDataAccountSystemAccessManagerStatics; + struct IUserDataAccountSystemAccessManagerStatics2; + struct DeviceAccountConfiguration; + struct UserDataAccountSystemAccessManager; +} +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 <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.UserDataAccountSystemAccessManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountAuthenticationType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountIconId"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountMailAgeFilter"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountServerType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountSyncScheduleKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.IDeviceAccountConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.IDeviceAccountConfiguration2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.IUserDataAccountSystemAccessManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataAccounts.SystemAccess.IUserDataAccountSystemAccessManagerStatics2"; + template <> inline constexpr guid guid_v{ 0xAD0123A3,0xFBDC,0x4D1B,{ 0xBE,0x43,0x5A,0x27,0xEA,0x4A,0x1B,0x63 } }; // AD0123A3-FBDC-4D1B-BE43-5A27EA4A1B63 + template <> inline constexpr guid guid_v{ 0xF2B2E5A6,0x728D,0x4A4A,{ 0x89,0x45,0x2B,0xF8,0x58,0x01,0x36,0xDE } }; // F2B2E5A6-728D-4A4A-8945-2BF8580136DE + template <> inline constexpr guid guid_v{ 0x9D6B11B9,0xCBE5,0x45F5,{ 0x82,0x2B,0xC2,0x67,0xB8,0x1D,0xBD,0xB6 } }; // 9D6B11B9-CBE5-45F5-822B-C267B81DBDB6 + template <> inline constexpr guid guid_v{ 0x943F854D,0x4B4E,0x439F,{ 0x83,0xD3,0x97,0x9B,0x27,0xC0,0x5A,0xC7 } }; // 943F854D-4B4E-439F-83D3-979B27C05AC7 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AccountName(void**) noexcept = 0; + virtual int32_t __stdcall put_AccountName(void*) noexcept = 0; + virtual int32_t __stdcall get_DeviceAccountTypeId(void**) noexcept = 0; + virtual int32_t __stdcall put_DeviceAccountTypeId(void*) noexcept = 0; + virtual int32_t __stdcall get_ServerType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ServerType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_EmailAddress(void**) noexcept = 0; + virtual int32_t __stdcall put_EmailAddress(void*) noexcept = 0; + virtual int32_t __stdcall get_Domain(void**) noexcept = 0; + virtual int32_t __stdcall put_Domain(void*) noexcept = 0; + virtual int32_t __stdcall get_EmailSyncEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_EmailSyncEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ContactsSyncEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_ContactsSyncEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_CalendarSyncEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_CalendarSyncEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IncomingServerAddress(void**) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerAddress(void*) noexcept = 0; + virtual int32_t __stdcall get_IncomingServerPort(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerPort(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IncomingServerRequiresSsl(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerRequiresSsl(bool) noexcept = 0; + virtual int32_t __stdcall get_IncomingServerUsername(void**) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerUsername(void*) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerAddress(void**) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerAddress(void*) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerPort(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerPort(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerRequiresSsl(bool*) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerRequiresSsl(bool) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerUsername(void**) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerUsername(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncomingServerCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_OAuthRefreshToken(void**) noexcept = 0; + virtual int32_t __stdcall put_OAuthRefreshToken(void*) noexcept = 0; + virtual int32_t __stdcall get_IsExternallyManaged(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsExternallyManaged(bool) noexcept = 0; + virtual int32_t __stdcall get_AccountIconId(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AccountIconId(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsSsoAuthenticationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SsoAccountId(void**) noexcept = 0; + virtual int32_t __stdcall put_SsoAccountId(void*) noexcept = 0; + virtual int32_t __stdcall get_AlwaysDownloadFullMessage(bool*) noexcept = 0; + virtual int32_t __stdcall put_AlwaysDownloadFullMessage(bool) noexcept = 0; + virtual int32_t __stdcall get_DoesPolicyAllowMailSync(bool*) noexcept = 0; + virtual int32_t __stdcall get_SyncScheduleKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SyncScheduleKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MailAgeFilter(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MailAgeFilter(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsClientAuthenticationCertificateRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsClientAuthenticationCertificateRequired(bool) noexcept = 0; + virtual int32_t __stdcall get_AutoSelectAuthenticationCertificate(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoSelectAuthenticationCertificate(bool) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationCertificateId(void**) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationCertificateId(void*) noexcept = 0; + virtual int32_t __stdcall get_CardDavSyncScheduleKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CardDavSyncScheduleKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CalDavSyncScheduleKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CalDavSyncScheduleKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CardDavServerUrl(void**) noexcept = 0; + virtual int32_t __stdcall put_CardDavServerUrl(void*) noexcept = 0; + virtual int32_t __stdcall get_CardDavRequiresSsl(bool*) noexcept = 0; + virtual int32_t __stdcall put_CardDavRequiresSsl(bool) noexcept = 0; + virtual int32_t __stdcall get_CalDavServerUrl(void**) noexcept = 0; + virtual int32_t __stdcall put_CalDavServerUrl(void*) noexcept = 0; + virtual int32_t __stdcall get_CalDavRequiresSsl(bool*) noexcept = 0; + virtual int32_t __stdcall put_CalDavRequiresSsl(bool) noexcept = 0; + virtual int32_t __stdcall get_WasModifiedByUser(bool*) noexcept = 0; + virtual int32_t __stdcall put_WasModifiedByUser(bool) noexcept = 0; + virtual int32_t __stdcall get_WasIncomingServerCertificateHashConfirmed(bool*) noexcept = 0; + virtual int32_t __stdcall put_WasIncomingServerCertificateHashConfirmed(bool) noexcept = 0; + virtual int32_t __stdcall get_IncomingServerCertificateHash(void**) noexcept = 0; + virtual int32_t __stdcall put_IncomingServerCertificateHash(void*) noexcept = 0; + virtual int32_t __stdcall get_IsOutgoingServerAuthenticationRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsOutgoingServerAuthenticationRequired(bool) noexcept = 0; + virtual int32_t __stdcall get_IsOutgoingServerAuthenticationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsOutgoingServerAuthenticationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_WasOutgoingServerCertificateHashConfirmed(bool*) noexcept = 0; + virtual int32_t __stdcall put_WasOutgoingServerCertificateHashConfirmed(bool) noexcept = 0; + virtual int32_t __stdcall get_OutgoingServerCertificateHash(void**) noexcept = 0; + virtual int32_t __stdcall put_OutgoingServerCertificateHash(void*) noexcept = 0; + virtual int32_t __stdcall get_IsSyncScheduleManagedBySystem(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSyncScheduleManagedBySystem(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAndShowDeviceAccountsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SuppressLocalAccountWithAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteDeviceAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceAccountConfigurationAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration + { + [[nodiscard]] auto AccountName() const; + auto AccountName(param::hstring const& value) const; + [[nodiscard]] auto DeviceAccountTypeId() const; + auto DeviceAccountTypeId(param::hstring const& value) const; + [[nodiscard]] auto ServerType() const; + auto ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const; + [[nodiscard]] auto EmailAddress() const; + auto EmailAddress(param::hstring const& value) const; + [[nodiscard]] auto Domain() const; + auto Domain(param::hstring const& value) const; + [[nodiscard]] auto EmailSyncEnabled() const; + auto EmailSyncEnabled(bool value) const; + [[nodiscard]] auto ContactsSyncEnabled() const; + auto ContactsSyncEnabled(bool value) const; + [[nodiscard]] auto CalendarSyncEnabled() const; + auto CalendarSyncEnabled(bool value) const; + [[nodiscard]] auto IncomingServerAddress() const; + auto IncomingServerAddress(param::hstring const& value) const; + [[nodiscard]] auto IncomingServerPort() const; + auto IncomingServerPort(int32_t value) const; + [[nodiscard]] auto IncomingServerRequiresSsl() const; + auto IncomingServerRequiresSsl(bool value) const; + [[nodiscard]] auto IncomingServerUsername() const; + auto IncomingServerUsername(param::hstring const& value) const; + [[nodiscard]] auto OutgoingServerAddress() const; + auto OutgoingServerAddress(param::hstring const& value) const; + [[nodiscard]] auto OutgoingServerPort() const; + auto OutgoingServerPort(int32_t value) const; + [[nodiscard]] auto OutgoingServerRequiresSsl() const; + auto OutgoingServerRequiresSsl(bool value) const; + [[nodiscard]] auto OutgoingServerUsername() const; + auto OutgoingServerUsername(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2 + { + [[nodiscard]] auto IncomingServerCredential() const; + auto IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto OutgoingServerCredential() const; + auto OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto OAuthRefreshToken() const; + auto OAuthRefreshToken(param::hstring const& value) const; + [[nodiscard]] auto IsExternallyManaged() const; + auto IsExternallyManaged(bool value) const; + [[nodiscard]] auto AccountIconId() const; + auto AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const; + [[nodiscard]] auto AuthenticationType() const; + auto AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const; + [[nodiscard]] auto IsSsoAuthenticationSupported() const; + [[nodiscard]] auto SsoAccountId() const; + auto SsoAccountId(param::hstring const& value) const; + [[nodiscard]] auto AlwaysDownloadFullMessage() const; + auto AlwaysDownloadFullMessage(bool value) const; + [[nodiscard]] auto DoesPolicyAllowMailSync() const; + [[nodiscard]] auto SyncScheduleKind() const; + auto SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto MailAgeFilter() const; + auto MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const; + [[nodiscard]] auto IsClientAuthenticationCertificateRequired() const; + auto IsClientAuthenticationCertificateRequired(bool value) const; + [[nodiscard]] auto AutoSelectAuthenticationCertificate() const; + auto AutoSelectAuthenticationCertificate(bool value) const; + [[nodiscard]] auto AuthenticationCertificateId() const; + auto AuthenticationCertificateId(param::hstring const& value) const; + [[nodiscard]] auto CardDavSyncScheduleKind() const; + auto CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto CalDavSyncScheduleKind() const; + auto CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto CardDavServerUrl() const; + auto CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto CardDavRequiresSsl() const; + auto CardDavRequiresSsl(bool value) const; + [[nodiscard]] auto CalDavServerUrl() const; + auto CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto CalDavRequiresSsl() const; + auto CalDavRequiresSsl(bool value) const; + [[nodiscard]] auto WasModifiedByUser() const; + auto WasModifiedByUser(bool value) const; + [[nodiscard]] auto WasIncomingServerCertificateHashConfirmed() const; + auto WasIncomingServerCertificateHashConfirmed(bool value) const; + [[nodiscard]] auto IncomingServerCertificateHash() const; + auto IncomingServerCertificateHash(param::hstring const& value) const; + [[nodiscard]] auto IsOutgoingServerAuthenticationRequired() const; + auto IsOutgoingServerAuthenticationRequired(bool value) const; + [[nodiscard]] auto IsOutgoingServerAuthenticationEnabled() const; + auto IsOutgoingServerAuthenticationEnabled(bool value) const; + [[nodiscard]] auto WasOutgoingServerCertificateHashConfirmed() const; + auto WasOutgoingServerCertificateHashConfirmed(bool value) const; + [[nodiscard]] auto OutgoingServerCertificateHash() const; + auto OutgoingServerCertificateHash(param::hstring const& value) const; + [[nodiscard]] auto IsSyncScheduleManagedBySystem() const; + auto IsSyncScheduleManagedBySystem(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics + { + auto AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2 + { + auto SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const; + auto CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const; + auto DeleteDeviceAccountAsync(param::hstring const& accountId) const; + auto GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4f09c0c491ac7fd5ed23e12d688fdcd24fbe12b4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_1_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_1_H +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess +{ + struct WINRT_IMPL_EMPTY_BASES IDeviceAccountConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccountConfiguration(std::nullptr_t = nullptr) noexcept {} + IDeviceAccountConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccountConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccountConfiguration2(std::nullptr_t = nullptr) noexcept {} + IDeviceAccountConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountSystemAccessManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountSystemAccessManagerStatics(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountSystemAccessManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataAccountSystemAccessManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAccountSystemAccessManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IUserDataAccountSystemAccessManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0b18ed1a44490997f92fe31cec40ffaf4475b7ed --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdataaccounts.systemaccess.2.h @@ -0,0 +1,30 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_2_H +#define WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess +{ + struct WINRT_IMPL_EMPTY_BASES DeviceAccountConfiguration : winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration, + impl::require + { + DeviceAccountConfiguration(std::nullptr_t) noexcept {} + DeviceAccountConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration(ptr, take_ownership_from_abi) {} + DeviceAccountConfiguration(); + }; + struct UserDataAccountSystemAccessManager + { + UserDataAccountSystemAccessManager() = delete; + static auto AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts); + static auto SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId); + static auto CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account); + static auto DeleteDeviceAccountAsync(param::hstring const& accountId); + static auto GetDeviceAccountConfigurationAsync(param::hstring const& accountId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c1282d5f32d8a271b309f1a13c4bd76d9e62123f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.0.h @@ -0,0 +1,602 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_0_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks +{ + enum class UserDataTaskDaysOfWeek : uint32_t + { + None = 0, + Sunday = 0x1, + Monday = 0x2, + Tuesday = 0x4, + Wednesday = 0x8, + Thursday = 0x10, + Friday = 0x20, + Saturday = 0x40, + }; + enum class UserDataTaskDetailsKind : int32_t + { + PlainText = 0, + Html = 1, + }; + enum class UserDataTaskKind : int32_t + { + Single = 0, + Recurring = 1, + Regenerating = 2, + }; + enum class UserDataTaskListOtherAppReadAccess : int32_t + { + Full = 0, + SystemOnly = 1, + None = 2, + }; + enum class UserDataTaskListOtherAppWriteAccess : int32_t + { + Limited = 0, + None = 1, + }; + enum class UserDataTaskListSyncStatus : int32_t + { + Idle = 0, + Syncing = 1, + UpToDate = 2, + AuthenticationError = 3, + PolicyError = 4, + UnknownError = 5, + }; + enum class UserDataTaskPriority : int32_t + { + Normal = 0, + Low = -1, + High = 1, + }; + enum class UserDataTaskQueryKind : int32_t + { + All = 0, + Incomplete = 1, + Complete = 2, + }; + enum class UserDataTaskQuerySortProperty : int32_t + { + DueDate = 0, + }; + enum class UserDataTaskRecurrenceUnit : int32_t + { + Daily = 0, + Weekly = 1, + Monthly = 2, + MonthlyOnDay = 3, + Yearly = 4, + YearlyOnDay = 5, + }; + enum class UserDataTaskRegenerationUnit : int32_t + { + Daily = 0, + Weekly = 1, + Monthly = 2, + Yearly = 4, + }; + enum class UserDataTaskSensitivity : int32_t + { + Public = 0, + Private = 1, + }; + enum class UserDataTaskStoreAccessType : int32_t + { + AppTasksReadWrite = 0, + AllTasksLimitedReadWrite = 1, + }; + enum class UserDataTaskWeekOfMonth : int32_t + { + First = 0, + Second = 1, + Third = 2, + Fourth = 3, + Last = 4, + }; + struct IUserDataTask; + struct IUserDataTaskBatch; + struct IUserDataTaskList; + struct IUserDataTaskListLimitedWriteOperations; + struct IUserDataTaskListSyncManager; + struct IUserDataTaskManager; + struct IUserDataTaskManagerStatics; + struct IUserDataTaskQueryOptions; + struct IUserDataTaskReader; + struct IUserDataTaskRecurrenceProperties; + struct IUserDataTaskRegenerationProperties; + struct IUserDataTaskStore; + struct UserDataTask; + struct UserDataTaskBatch; + struct UserDataTaskList; + struct UserDataTaskListLimitedWriteOperations; + struct UserDataTaskListSyncManager; + struct UserDataTaskManager; + struct UserDataTaskQueryOptions; + struct UserDataTaskReader; + struct UserDataTaskRecurrenceProperties; + struct UserDataTaskRegenerationProperties; + struct UserDataTaskStore; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTask"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskList"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskReader"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskDaysOfWeek"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskDetailsKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppReadAccess"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppWriteAccess"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncStatus"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskPriority"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskQuerySortProperty"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceUnit"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationUnit"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskSensitivity"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskStoreAccessType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.UserDataTaskWeekOfMonth"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTask"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskBatch"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskList"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskListLimitedWriteOperations"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskListSyncManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskQueryOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskReader"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskRecurrenceProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskRegenerationProperties"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.IUserDataTaskStore"; + template <> inline constexpr guid guid_v{ 0x7C6585D1,0xE0D4,0x4F99,{ 0xAE,0xE2,0xBC,0x2D,0x5D,0xDA,0xDF,0x4C } }; // 7C6585D1-E0D4-4F99-AEE2-BC2D5DDADF4C + template <> inline constexpr guid guid_v{ 0x382DA5FE,0x20B5,0x431C,{ 0x8F,0x42,0xA5,0xD2,0x92,0xEC,0x93,0x0C } }; // 382DA5FE-20B5-431C-8F42-A5D292EC930C + template <> inline constexpr guid guid_v{ 0x49412E39,0x7C1D,0x4DF1,{ 0xBE,0xD3,0x31,0x4B,0x7C,0xBF,0x5E,0x4E } }; // 49412E39-7C1D-4DF1-BED3-314B7CBF5E4E + template <> inline constexpr guid guid_v{ 0x7AA267F2,0x6078,0x4183,{ 0x91,0x9E,0x4F,0x29,0xF1,0x9C,0xFA,0xE9 } }; // 7AA267F2-6078-4183-919E-4F29F19CFAE9 + template <> inline constexpr guid guid_v{ 0x8E591A95,0x1DCF,0x469F,{ 0x93,0xEC,0xBA,0x48,0xBB,0x55,0x3C,0x6B } }; // 8E591A95-1DCF-469F-93EC-BA48BB553C6B + template <> inline constexpr guid guid_v{ 0x8451C914,0xE60B,0x48A9,{ 0x92,0x11,0x7F,0xB8,0xA5,0x6C,0xB8,0x4C } }; // 8451C914-E60B-48A9-9211-7FB8A56CB84C + template <> inline constexpr guid guid_v{ 0xB35539F8,0xC502,0x47FC,{ 0xA8,0x1E,0x10,0x08,0x83,0x71,0x9D,0x55 } }; // B35539F8-C502-47FC-A81E-100883719D55 + template <> inline constexpr guid guid_v{ 0x959F27ED,0x909A,0x4D30,{ 0x8C,0x1B,0x33,0x1D,0x8F,0xE6,0x67,0xE2 } }; // 959F27ED-909A-4D30-8C1B-331D8FE667E2 + template <> inline constexpr guid guid_v{ 0x03E688B1,0x4CCF,0x4500,{ 0x88,0x3B,0xE7,0x62,0x90,0xCF,0xED,0x63 } }; // 03E688B1-4CCF-4500-883B-E76290CFED63 + template <> inline constexpr guid guid_v{ 0x73DF80B0,0x27C6,0x40CE,{ 0xB1,0x49,0x9C,0xD4,0x14,0x85,0xA6,0x9E } }; // 73DF80B0-27C6-40CE-B149-9CD41485A69E + template <> inline constexpr guid guid_v{ 0x92AB0007,0x090E,0x4704,{ 0xBB,0x5C,0x84,0xFC,0x0B,0x0D,0x9C,0x31 } }; // 92AB0007-090E-4704-BB5C-84FC0B0D9C31 + template <> inline constexpr guid guid_v{ 0xF06A9CB0,0xF1DB,0x45BA,{ 0x8A,0x62,0x08,0x60,0x04,0xC0,0x21,0x3D } }; // F06A9CB0-F1DB-45BA-8A62-086004C0213D + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_ListId(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteId(void*) noexcept = 0; + virtual int32_t __stdcall get_CompletedDate(void**) noexcept = 0; + virtual int32_t __stdcall put_CompletedDate(void*) noexcept = 0; + virtual int32_t __stdcall get_Details(void**) noexcept = 0; + virtual int32_t __stdcall put_Details(void*) noexcept = 0; + virtual int32_t __stdcall get_DetailsKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DetailsKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DueDate(void**) noexcept = 0; + virtual int32_t __stdcall put_DueDate(void*) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Priority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Priority(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RecurrenceProperties(void**) noexcept = 0; + virtual int32_t __stdcall put_RecurrenceProperties(void*) noexcept = 0; + virtual int32_t __stdcall get_RegenerationProperties(void**) noexcept = 0; + virtual int32_t __stdcall put_RegenerationProperties(void*) noexcept = 0; + virtual int32_t __stdcall get_Reminder(void**) noexcept = 0; + virtual int32_t __stdcall put_Reminder(void*) noexcept = 0; + virtual int32_t __stdcall get_Sensitivity(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Sensitivity(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Subject(void**) noexcept = 0; + virtual int32_t __stdcall put_Subject(void*) noexcept = 0; + virtual int32_t __stdcall get_StartDate(void**) noexcept = 0; + virtual int32_t __stdcall put_StartDate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Tasks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_UserDataAccountId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_SourceDisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_OtherAppReadAccess(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OtherAppReadAccess(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OtherAppWriteAccess(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OtherAppWriteAccess(int32_t) noexcept = 0; + virtual int32_t __stdcall get_LimitedWriteOperations(void**) noexcept = 0; + virtual int32_t __stdcall get_SyncManager(void**) noexcept = 0; + virtual int32_t __stdcall RegisterSyncManagerAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetTaskReader(void**) noexcept = 0; + virtual int32_t __stdcall GetTaskReaderWithOptions(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SaveTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCompleteTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateOrUpdateTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryDeleteTaskAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySkipOccurrenceAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LastAttemptedSyncTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_LastAttemptedSyncTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_LastSuccessfulSyncTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_LastSuccessfulSyncTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Status(int32_t) noexcept = 0; + virtual int32_t __stdcall SyncAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_SyncStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SyncStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SortProperty(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SortProperty(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Kind(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReadBatchAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unit(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Unit(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Occurrences(void**) noexcept = 0; + virtual int32_t __stdcall put_Occurrences(void*) noexcept = 0; + virtual int32_t __stdcall get_Until(void**) noexcept = 0; + virtual int32_t __stdcall put_Until(void*) noexcept = 0; + virtual int32_t __stdcall get_Interval(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Interval(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DaysOfWeek(void**) noexcept = 0; + virtual int32_t __stdcall put_DaysOfWeek(void*) noexcept = 0; + virtual int32_t __stdcall get_WeekOfMonth(void**) noexcept = 0; + virtual int32_t __stdcall put_WeekOfMonth(void*) noexcept = 0; + virtual int32_t __stdcall get_Month(void**) noexcept = 0; + virtual int32_t __stdcall put_Month(void*) noexcept = 0; + virtual int32_t __stdcall get_Day(void**) noexcept = 0; + virtual int32_t __stdcall put_Day(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unit(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Unit(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Occurrences(void**) noexcept = 0; + virtual int32_t __stdcall put_Occurrences(void*) noexcept = 0; + virtual int32_t __stdcall get_Until(void**) noexcept = 0; + virtual int32_t __stdcall put_Until(void*) noexcept = 0; + virtual int32_t __stdcall get_Interval(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Interval(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateListAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateListInAccountAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindListsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetListAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ListId() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto CompletedDate() const; + auto CompletedDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Details() const; + auto Details(param::hstring const& value) const; + [[nodiscard]] auto DetailsKind() const; + auto DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const; + [[nodiscard]] auto DueDate() const; + auto DueDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Priority() const; + auto Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const; + [[nodiscard]] auto RecurrenceProperties() const; + auto RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const; + [[nodiscard]] auto RegenerationProperties() const; + auto RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const; + [[nodiscard]] auto Reminder() const; + auto Reminder(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Sensitivity() const; + auto Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto StartDate() const; + auto StartDate(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch + { + [[nodiscard]] auto Tasks() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UserDataAccountId() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const; + [[nodiscard]] auto OtherAppWriteAccess() const; + auto OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const; + [[nodiscard]] auto LimitedWriteOperations() const; + [[nodiscard]] auto SyncManager() const; + auto RegisterSyncManagerAsync() const; + auto GetTaskReader() const; + auto GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const; + auto GetTaskAsync(param::hstring const& userDataTask) const; + auto SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; + auto DeleteTaskAsync(param::hstring const& userDataTaskId) const; + auto DeleteAsync() const; + auto SaveAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations + { + auto TryCompleteTaskAsync(param::hstring const& userDataTaskId) const; + auto TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; + auto TryDeleteTaskAsync(param::hstring const& userDataTaskId) const; + auto TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager + { + [[nodiscard]] auto LastAttemptedSyncTime() const; + auto LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const; + auto SyncAsync() const; + auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SyncStatusChanged_revoker = impl::event_revoker::remove_SyncStatusChanged>; + [[nodiscard]] auto SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager + { + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const; + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics + { + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions + { + [[nodiscard]] auto SortProperty() const; + auto SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader + { + auto ReadBatchAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties + { + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Until() const; + auto Until(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Interval() const; + auto Interval(int32_t value) const; + [[nodiscard]] auto DaysOfWeek() const; + auto DaysOfWeek(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WeekOfMonth() const; + auto WeekOfMonth(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Month() const; + auto Month(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Day() const; + auto Day(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties + { + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Until() const; + auto Until(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Interval() const; + auto Interval(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore + { + auto CreateListAsync(param::hstring const& name) const; + auto CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const; + auto FindListsAsync() const; + auto GetListAsync(param::hstring const& taskListId) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f710e4d48547fbdf3212b009af8a69ce08a113ce --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_1_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_1_H +#include "winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks +{ + struct WINRT_IMPL_EMPTY_BASES IUserDataTask : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTask(std::nullptr_t = nullptr) noexcept {} + IUserDataTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskBatch : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskBatch(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskBatch(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskList(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListLimitedWriteOperations : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListLimitedWriteOperations(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListLimitedWriteOperations(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListSyncManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListSyncManager(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListSyncManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskManager(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskManagerStatics(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskQueryOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskQueryOptions(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskQueryOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskReader(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskRecurrenceProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskRecurrenceProperties(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskRecurrenceProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskRegenerationProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskRegenerationProperties(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskRegenerationProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskStore(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a1c1712691ab1b6605a0c152e96f0f72f182413b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.2.h @@ -0,0 +1,75 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_2_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks +{ + struct WINRT_IMPL_EMPTY_BASES UserDataTask : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask + { + UserDataTask(std::nullptr_t) noexcept {} + UserDataTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask(ptr, take_ownership_from_abi) {} + UserDataTask(); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskBatch : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch + { + UserDataTaskBatch(std::nullptr_t) noexcept {} + UserDataTaskBatch(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskList : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList + { + UserDataTaskList(std::nullptr_t) noexcept {} + UserDataTaskList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListLimitedWriteOperations : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations + { + UserDataTaskListLimitedWriteOperations(std::nullptr_t) noexcept {} + UserDataTaskListLimitedWriteOperations(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListSyncManager : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager + { + UserDataTaskListSyncManager(std::nullptr_t) noexcept {} + UserDataTaskListSyncManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskManager : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager + { + UserDataTaskManager(std::nullptr_t) noexcept {} + UserDataTaskManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskQueryOptions : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions + { + UserDataTaskQueryOptions(std::nullptr_t) noexcept {} + UserDataTaskQueryOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions(ptr, take_ownership_from_abi) {} + UserDataTaskQueryOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskReader : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader + { + UserDataTaskReader(std::nullptr_t) noexcept {} + UserDataTaskReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskRecurrenceProperties : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties + { + UserDataTaskRecurrenceProperties(std::nullptr_t) noexcept {} + UserDataTaskRecurrenceProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties(ptr, take_ownership_from_abi) {} + UserDataTaskRecurrenceProperties(); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskRegenerationProperties : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties + { + UserDataTaskRegenerationProperties(std::nullptr_t) noexcept {} + UserDataTaskRegenerationProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties(ptr, take_ownership_from_abi) {} + UserDataTaskRegenerationProperties(); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskStore : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore + { + UserDataTaskStore(std::nullptr_t) noexcept {} + UserDataTaskStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..55d5427dda073c56512d3c4ce2285442ac9037c6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.0.h @@ -0,0 +1,382 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_0_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks +{ + struct UserDataTask; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks::DataProvider +{ + struct IUserDataTaskDataProviderConnection; + struct IUserDataTaskDataProviderTriggerDetails; + struct IUserDataTaskListCompleteTaskRequest; + struct IUserDataTaskListCompleteTaskRequestEventArgs; + struct IUserDataTaskListCreateOrUpdateTaskRequest; + struct IUserDataTaskListCreateOrUpdateTaskRequestEventArgs; + struct IUserDataTaskListDeleteTaskRequest; + struct IUserDataTaskListDeleteTaskRequestEventArgs; + struct IUserDataTaskListSkipOccurrenceRequest; + struct IUserDataTaskListSkipOccurrenceRequestEventArgs; + struct IUserDataTaskListSyncManagerSyncRequest; + struct IUserDataTaskListSyncManagerSyncRequestEventArgs; + struct UserDataTaskDataProviderConnection; + struct UserDataTaskDataProviderTriggerDetails; + struct UserDataTaskListCompleteTaskRequest; + struct UserDataTaskListCompleteTaskRequestEventArgs; + struct UserDataTaskListCreateOrUpdateTaskRequest; + struct UserDataTaskListCreateOrUpdateTaskRequestEventArgs; + struct UserDataTaskListDeleteTaskRequest; + struct UserDataTaskListDeleteTaskRequestEventArgs; + struct UserDataTaskListSkipOccurrenceRequest; + struct UserDataTaskListSkipOccurrenceRequestEventArgs; + struct UserDataTaskListSyncManagerSyncRequest; + struct UserDataTaskListSyncManagerSyncRequestEventArgs; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskDataProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskDataProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListCompleteTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListCompleteTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListCreateOrUpdateTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListCreateOrUpdateTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListDeleteTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListDeleteTaskRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListSkipOccurrenceRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListSkipOccurrenceRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListSyncManagerSyncRequest"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.UserDataTasks.DataProvider.IUserDataTaskListSyncManagerSyncRequestEventArgs"; + template <> inline constexpr guid guid_v{ 0x9FF39D1D,0xA447,0x428B,{ 0xAF,0xE9,0xE5,0x40,0x2B,0xDE,0xB0,0x41 } }; // 9FF39D1D-A447-428B-AFE9-E5402BDEB041 + template <> inline constexpr guid guid_v{ 0xAE273202,0xB1C9,0x453E,{ 0xAF,0xC5,0xB3,0x0A,0xF3,0xBD,0x21,0x7D } }; // AE273202-B1C9-453E-AFC5-B30AF3BD217D + template <> inline constexpr guid guid_v{ 0xF65E14A3,0x1A42,0x49DA,{ 0x85,0x52,0x28,0x73,0xE5,0x2C,0x55,0xEB } }; // F65E14A3-1A42-49DA-8552-2873E52C55EB + template <> inline constexpr guid guid_v{ 0xD77C393D,0x4CF2,0x48AD,{ 0x87,0xFD,0x96,0x3F,0x0E,0xAA,0x7A,0x95 } }; // D77C393D-4CF2-48AD-87FD-963F0EAA7A95 + template <> inline constexpr guid guid_v{ 0x2133772C,0x55C2,0x4300,{ 0x82,0x79,0x04,0x32,0x6E,0x07,0xCC,0xE4 } }; // 2133772C-55C2-4300-8279-04326E07CCE4 + template <> inline constexpr guid guid_v{ 0x12C55A52,0xE378,0x419B,{ 0xAE,0x38,0xA5,0xE9,0xE6,0x04,0x47,0x6E } }; // 12C55A52-E378-419B-AE38-A5E9E604476E + template <> inline constexpr guid guid_v{ 0x4B863C68,0x7657,0x4F3D,{ 0xB0,0x74,0xD4,0x7E,0xC8,0xDF,0x07,0xE7 } }; // 4B863C68-7657-4F3D-B074-D47EC8DF07E7 + template <> inline constexpr guid guid_v{ 0x6063DAD9,0xF562,0x4145,{ 0x8E,0xFE,0xD5,0x00,0x78,0xC9,0x2B,0x7F } }; // 6063DAD9-F562-4145-8EFE-D50078C92B7F + template <> inline constexpr guid guid_v{ 0xAB87E34D,0x1CD3,0x431C,{ 0x9F,0x58,0x08,0x9A,0xA4,0x33,0x8D,0x85 } }; // AB87E34D-1CD3-431C-9F58-089AA4338D85 + template <> inline constexpr guid guid_v{ 0x7A3B924A,0xCC2F,0x4E7B,{ 0xAA,0xCD,0xA5,0xB9,0xD2,0x9C,0xFA,0x4E } }; // 7A3B924A-CC2F-4E7B-AACD-A5B9D29CFA4E + template <> inline constexpr guid guid_v{ 0x40A73807,0x7590,0x4149,{ 0xAE,0x19,0xB2,0x11,0x43,0x1A,0x9F,0x48 } }; // 40A73807-7590-4149-AE19-B211431A9F48 + template <> inline constexpr guid guid_v{ 0x8EAD1C12,0x768E,0x43BD,{ 0x83,0x85,0x5C,0xDC,0x35,0x1F,0xFD,0xEA } }; // 8EAD1C12-768E-43BD-8385-5CDC351FFDEA + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CreateOrUpdateTaskRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CreateOrUpdateTaskRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SyncRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SyncRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SkipOccurrenceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SkipOccurrenceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CompleteTaskRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CompleteTaskRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DeleteTaskRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DeleteTaskRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskListId(void**) noexcept = 0; + virtual int32_t __stdcall get_TaskId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskListId(void**) noexcept = 0; + virtual int32_t __stdcall get_Task(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskListId(void**) noexcept = 0; + virtual int32_t __stdcall get_TaskId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskListId(void**) noexcept = 0; + virtual int32_t __stdcall get_TaskId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskListId(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection + { + auto CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CreateOrUpdateTaskRequested_revoker = impl::event_revoker::remove_CreateOrUpdateTaskRequested>; + [[nodiscard]] auto CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept; + auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SyncRequested_revoker = impl::event_revoker::remove_SyncRequested>; + [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::event_token const& token) const noexcept; + auto SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SkipOccurrenceRequested_revoker = impl::event_revoker::remove_SkipOccurrenceRequested>; + [[nodiscard]] auto SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SkipOccurrenceRequested(winrt::event_token const& token) const noexcept; + auto CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CompleteTaskRequested_revoker = impl::event_revoker::remove_CompleteTaskRequested>; + [[nodiscard]] auto CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CompleteTaskRequested(winrt::event_token const& token) const noexcept; + auto DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DeleteTaskRequested_revoker = impl::event_revoker::remove_DeleteTaskRequested>; + [[nodiscard]] auto DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeleteTaskRequested(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails + { + [[nodiscard]] auto Connection() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest + { + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync(param::hstring const& completedTaskId) const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest + { + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto Task() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest + { + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest + { + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest + { + [[nodiscard]] auto TaskListId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest; + }; + template + struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..444e94a45b0bdfd2cb8280350e0794c0a0cba3ab --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_1_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_1_H +#include "winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks::DataProvider +{ + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskDataProviderConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskDataProviderConnection(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskDataProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskDataProviderTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskDataProviderTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskDataProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListCompleteTaskRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListCompleteTaskRequest(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListCompleteTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListCompleteTaskRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListCompleteTaskRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListCompleteTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListCreateOrUpdateTaskRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListCreateOrUpdateTaskRequest(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListCreateOrUpdateTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListCreateOrUpdateTaskRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListCreateOrUpdateTaskRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListCreateOrUpdateTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListDeleteTaskRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListDeleteTaskRequest(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListDeleteTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListDeleteTaskRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListDeleteTaskRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListDeleteTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListSkipOccurrenceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListSkipOccurrenceRequest(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListSkipOccurrenceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListSkipOccurrenceRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListSkipOccurrenceRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListSkipOccurrenceRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListSyncManagerSyncRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListSyncManagerSyncRequest(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListSyncManagerSyncRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataTaskListSyncManagerSyncRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataTaskListSyncManagerSyncRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataTaskListSyncManagerSyncRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..921950bb9767e4fd8c521bfa2ae2b82e84933b0a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.userdatatasks.dataprovider.2.h @@ -0,0 +1,73 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_2_H +#define WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_2_H +#include "winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks::DataProvider +{ + struct WINRT_IMPL_EMPTY_BASES UserDataTaskDataProviderConnection : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection + { + UserDataTaskDataProviderConnection(std::nullptr_t) noexcept {} + UserDataTaskDataProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskDataProviderTriggerDetails : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderTriggerDetails + { + UserDataTaskDataProviderTriggerDetails(std::nullptr_t) noexcept {} + UserDataTaskDataProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListCompleteTaskRequest : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest + { + UserDataTaskListCompleteTaskRequest(std::nullptr_t) noexcept {} + UserDataTaskListCompleteTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListCompleteTaskRequestEventArgs : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs + { + UserDataTaskListCompleteTaskRequestEventArgs(std::nullptr_t) noexcept {} + UserDataTaskListCompleteTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListCreateOrUpdateTaskRequest : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest + { + UserDataTaskListCreateOrUpdateTaskRequest(std::nullptr_t) noexcept {} + UserDataTaskListCreateOrUpdateTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListCreateOrUpdateTaskRequestEventArgs : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs + { + UserDataTaskListCreateOrUpdateTaskRequestEventArgs(std::nullptr_t) noexcept {} + UserDataTaskListCreateOrUpdateTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListDeleteTaskRequest : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest + { + UserDataTaskListDeleteTaskRequest(std::nullptr_t) noexcept {} + UserDataTaskListDeleteTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListDeleteTaskRequestEventArgs : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs + { + UserDataTaskListDeleteTaskRequestEventArgs(std::nullptr_t) noexcept {} + UserDataTaskListDeleteTaskRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListSkipOccurrenceRequest : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest + { + UserDataTaskListSkipOccurrenceRequest(std::nullptr_t) noexcept {} + UserDataTaskListSkipOccurrenceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListSkipOccurrenceRequestEventArgs : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs + { + UserDataTaskListSkipOccurrenceRequestEventArgs(std::nullptr_t) noexcept {} + UserDataTaskListSkipOccurrenceRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListSyncManagerSyncRequest : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest + { + UserDataTaskListSyncManagerSyncRequest(std::nullptr_t) noexcept {} + UserDataTaskListSyncManagerSyncRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataTaskListSyncManagerSyncRequestEventArgs : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs + { + UserDataTaskListSyncManagerSyncRequestEventArgs(std::nullptr_t) noexcept {} + UserDataTaskListSyncManagerSyncRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.0.h new file mode 100644 index 0000000000000000000000000000000000000000..879da4ea7dedbb24ba21117dc89ac58f77cc004c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.0.h @@ -0,0 +1,432 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_VoiceCommands_0_H +#define WINRT_Windows_ApplicationModel_VoiceCommands_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::AppService +{ + struct AppServiceTriggerDetails; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + struct Language; +} +WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition +{ + struct SpeechRecognitionResult; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::VoiceCommands +{ + enum class VoiceCommandCompletionReason : int32_t + { + Unknown = 0, + CommunicationFailed = 1, + ResourceLimitsExceeded = 2, + Canceled = 3, + TimeoutExceeded = 4, + AppLaunched = 5, + Completed = 6, + }; + enum class VoiceCommandContentTileType : int32_t + { + TitleOnly = 0, + TitleWithText = 1, + TitleWith68x68Icon = 2, + TitleWith68x68IconAndText = 3, + TitleWith68x92Icon = 4, + TitleWith68x92IconAndText = 5, + TitleWith280x140Icon = 6, + TitleWith280x140IconAndText = 7, + }; + struct IVoiceCommand; + struct IVoiceCommandCompletedEventArgs; + struct IVoiceCommandConfirmationResult; + struct IVoiceCommandContentTile; + struct IVoiceCommandDefinition; + struct IVoiceCommandDefinitionManagerStatics; + struct IVoiceCommandDisambiguationResult; + struct IVoiceCommandResponse; + struct IVoiceCommandResponseStatics; + struct IVoiceCommandServiceConnection; + struct IVoiceCommandServiceConnectionStatics; + struct IVoiceCommandUserMessage; + struct VoiceCommand; + struct VoiceCommandCompletedEventArgs; + struct VoiceCommandConfirmationResult; + struct VoiceCommandContentTile; + struct VoiceCommandDefinition; + struct VoiceCommandDefinitionManager; + struct VoiceCommandDisambiguationResult; + struct VoiceCommandResponse; + struct VoiceCommandServiceConnection; + struct VoiceCommandUserMessage; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommand"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommand"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandConfirmationResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandContentTile"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandDefinition"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandDefinitionManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandDisambiguationResult"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandResponse"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandResponseStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandServiceConnection"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandServiceConnectionStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.VoiceCommands.IVoiceCommandUserMessage"; + template <> inline constexpr guid guid_v{ 0x936F5273,0xEC82,0x42A6,{ 0xA5,0x5C,0xD2,0xD7,0x9E,0xC6,0xF9,0x20 } }; // 936F5273-EC82-42A6-A55C-D2D79EC6F920 + template <> inline constexpr guid guid_v{ 0xC85E675D,0xFE42,0x432C,{ 0x99,0x07,0x09,0xDF,0x9F,0xCF,0x64,0xE8 } }; // C85E675D-FE42-432C-9907-09DF9FCF64E8 + template <> inline constexpr guid guid_v{ 0xA022593E,0x8221,0x4526,{ 0xB0,0x83,0x84,0x09,0x72,0x26,0x22,0x47 } }; // A022593E-8221-4526-B083-840972262247 + template <> inline constexpr guid guid_v{ 0x3EEFE9F0,0xB8C7,0x4C76,{ 0xA0,0xDE,0x16,0x07,0x89,0x5E,0xE3,0x27 } }; // 3EEFE9F0-B8C7-4C76-A0DE-1607895EE327 + template <> inline constexpr guid guid_v{ 0x7972AAD0,0x0974,0x4979,{ 0x98,0x4B,0xCB,0x89,0x59,0xCD,0x61,0xAE } }; // 7972AAD0-0974-4979-984B-CB8959CD61AE + template <> inline constexpr guid guid_v{ 0x8FE7A69E,0x067E,0x4F16,{ 0xA1,0x8C,0x5B,0x17,0xE9,0x49,0x99,0x40 } }; // 8FE7A69E-067E-4F16-A18C-5B17E9499940 + template <> inline constexpr guid guid_v{ 0xECC68CFE,0xC9AC,0x45DF,{ 0xA8,0xEA,0xFE,0xEA,0x08,0xEF,0x9C,0x5E } }; // ECC68CFE-C9AC-45DF-A8EA-FEEA08EF9C5E + template <> inline constexpr guid guid_v{ 0x0284B30E,0x8A3B,0x4CC4,{ 0xA6,0xA1,0xCA,0xD5,0xBE,0x27,0x16,0xB5 } }; // 0284B30E-8A3B-4CC4-A6A1-CAD5BE2716B5 + template <> inline constexpr guid guid_v{ 0x2932F813,0x0D3B,0x49F2,{ 0x96,0xDD,0x62,0x50,0x19,0xBD,0x3B,0x5D } }; // 2932F813-0D3B-49F2-96DD-625019BD3B5D + template <> inline constexpr guid guid_v{ 0xD894BB9F,0x21DA,0x44A4,{ 0x98,0xA2,0xFB,0x13,0x19,0x20,0xA9,0xCC } }; // D894BB9F-21DA-44A4-98A2-FB131920A9CC + template <> inline constexpr guid guid_v{ 0x370EBFFB,0x2D34,0x42DF,{ 0x87,0x70,0x07,0x4D,0x0F,0x33,0x46,0x97 } }; // 370EBFFB-2D34-42DF-8770-074D0F334697 + template <> inline constexpr guid guid_v{ 0x674EB3C0,0x44F6,0x4F07,{ 0xB9,0x79,0x4C,0x72,0x3F,0xC0,0x85,0x97 } }; // 674EB3C0-44F6-4F07-B979-4C723FC08597 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDisambiguationResult; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommandName(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_SpeechRecognitionResult(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Confirmed(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_TextLine1(void**) noexcept = 0; + virtual int32_t __stdcall put_TextLine1(void*) noexcept = 0; + virtual int32_t __stdcall get_TextLine2(void**) noexcept = 0; + virtual int32_t __stdcall put_TextLine2(void*) noexcept = 0; + virtual int32_t __stdcall get_TextLine3(void**) noexcept = 0; + virtual int32_t __stdcall put_TextLine3(void*) noexcept = 0; + virtual int32_t __stdcall get_Image(void**) noexcept = 0; + virtual int32_t __stdcall put_Image(void*) noexcept = 0; + virtual int32_t __stdcall get_AppContext(void**) noexcept = 0; + virtual int32_t __stdcall put_AppContext(void*) noexcept = 0; + virtual int32_t __stdcall get_AppLaunchArgument(void**) noexcept = 0; + virtual int32_t __stdcall put_AppLaunchArgument(void*) noexcept = 0; + virtual int32_t __stdcall get_ContentTileType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ContentTileType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall SetPhraseListAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall InstallCommandDefinitionsFromStorageFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_InstalledCommandDefinitions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedItem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall put_Message(void*) noexcept = 0; + virtual int32_t __stdcall get_RepeatMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_RepeatMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_AppLaunchArgument(void**) noexcept = 0; + virtual int32_t __stdcall put_AppLaunchArgument(void*) noexcept = 0; + virtual int32_t __stdcall get_VoiceCommandContentTiles(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxSupportedVoiceCommandContentTiles(uint32_t*) noexcept = 0; + virtual int32_t __stdcall CreateResponse(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateResponseWithTiles(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateResponseForPrompt(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateResponseForPromptWithTiles(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetVoiceCommandAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestConfirmationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestDisambiguationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportProgressAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportSuccessAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailureAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAppLaunchAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall add_VoiceCommandCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VoiceCommandCompleted(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromAppServiceTriggerDetails(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_SpokenMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_SpokenMessage(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand + { + [[nodiscard]] auto CommandName() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SpeechRecognitionResult() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs + { + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult + { + [[nodiscard]] auto Confirmed() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto TextLine1() const; + auto TextLine1(param::hstring const& value) const; + [[nodiscard]] auto TextLine2() const; + auto TextLine2(param::hstring const& value) const; + [[nodiscard]] auto TextLine3() const; + auto TextLine3(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::IStorageFile const& value) const; + [[nodiscard]] auto AppContext() const; + auto AppContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AppLaunchArgument() const; + auto AppLaunchArgument(param::hstring const& value) const; + [[nodiscard]] auto ContentTileType() const; + auto ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition + { + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Name() const; + auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics + { + auto InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto InstalledCommandDefinitions() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult + { + [[nodiscard]] auto SelectedItem() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse + { + [[nodiscard]] auto Message() const; + auto Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; + [[nodiscard]] auto RepeatMessage() const; + auto RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; + [[nodiscard]] auto AppLaunchArgument() const; + auto AppLaunchArgument(param::hstring const& value) const; + [[nodiscard]] auto VoiceCommandContentTiles() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics + { + [[nodiscard]] auto MaxSupportedVoiceCommandContentTiles() const; + auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const; + auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles) const; + auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const; + auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection + { + auto GetVoiceCommandAsync() const; + auto RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + [[nodiscard]] auto Language() const; + auto VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VoiceCommandCompleted_revoker = impl::event_revoker::remove_VoiceCommandCompleted>; + [[nodiscard]] auto VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VoiceCommandCompleted(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics + { + auto FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics; + }; + template + struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage + { + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto SpokenMessage() const; + auto SpokenMessage(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.1.h new file mode 100644 index 0000000000000000000000000000000000000000..48b7563a609ef2d9c3058d8c469f28f385518b1f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_VoiceCommands_1_H +#define WINRT_Windows_ApplicationModel_VoiceCommands_1_H +#include "winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::VoiceCommands +{ + struct WINRT_IMPL_EMPTY_BASES IVoiceCommand : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommand(std::nullptr_t = nullptr) noexcept {} + IVoiceCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandConfirmationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandConfirmationResult(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandConfirmationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandContentTile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandContentTile(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandContentTile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandDefinition(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandDefinitionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandDefinitionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandDefinitionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandDisambiguationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandDisambiguationResult(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandDisambiguationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandResponse : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandResponse(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandResponseStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandResponseStatics(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandResponseStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandServiceConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandServiceConnection(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandServiceConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandServiceConnectionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandServiceConnectionStatics(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandServiceConnectionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandUserMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandUserMessage(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandUserMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7de397cbf195b3db5d6d6bf3577a8de8e107bcd7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.voicecommands.2.h @@ -0,0 +1,75 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_VoiceCommands_2_H +#define WINRT_Windows_ApplicationModel_VoiceCommands_2_H +#include "winrt/impl/Windows.ApplicationModel.AppService.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::VoiceCommands +{ + struct WINRT_IMPL_EMPTY_BASES VoiceCommand : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand + { + VoiceCommand(std::nullptr_t) noexcept {} + VoiceCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandCompletedEventArgs : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs + { + VoiceCommandCompletedEventArgs(std::nullptr_t) noexcept {} + VoiceCommandCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandConfirmationResult : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult + { + VoiceCommandConfirmationResult(std::nullptr_t) noexcept {} + VoiceCommandConfirmationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandContentTile : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile + { + VoiceCommandContentTile(std::nullptr_t) noexcept {} + VoiceCommandContentTile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile(ptr, take_ownership_from_abi) {} + VoiceCommandContentTile(); + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandDefinition : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition + { + VoiceCommandDefinition(std::nullptr_t) noexcept {} + VoiceCommandDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition(ptr, take_ownership_from_abi) {} + }; + struct VoiceCommandDefinitionManager + { + VoiceCommandDefinitionManager() = delete; + static auto InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file); + [[nodiscard]] static auto InstalledCommandDefinitions(); + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandDisambiguationResult : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDisambiguationResult + { + VoiceCommandDisambiguationResult(std::nullptr_t) noexcept {} + VoiceCommandDisambiguationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDisambiguationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandResponse : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse + { + VoiceCommandResponse(std::nullptr_t) noexcept {} + VoiceCommandResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto MaxSupportedVoiceCommandContentTiles(); + static auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage); + static auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles); + static auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage); + static auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles); + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandServiceConnection : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection + { + VoiceCommandServiceConnection(std::nullptr_t) noexcept {} + VoiceCommandServiceConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection(ptr, take_ownership_from_abi) {} + static auto FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails); + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandUserMessage : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage + { + VoiceCommandUserMessage(std::nullptr_t) noexcept {} + VoiceCommandUserMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage(ptr, take_ownership_from_abi) {} + VoiceCommandUserMessage(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.0.h new file mode 100644 index 0000000000000000000000000000000000000000..5eeaebe6ce29310bc08b7cafd7ccaf9b50e9f5a4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.0.h @@ -0,0 +1,572 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_0_H +#define WINRT_Windows_ApplicationModel_Wallet_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + struct BasicGeoposition; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet +{ + enum class WalletActionKind : int32_t + { + OpenItem = 0, + Transaction = 1, + MoreTransactions = 2, + Message = 3, + Verb = 4, + }; + enum class WalletBarcodeSymbology : int32_t + { + Invalid = 0, + Upca = 1, + Upce = 2, + Ean13 = 3, + Ean8 = 4, + Itf = 5, + Code39 = 6, + Code128 = 7, + Qr = 8, + Pdf417 = 9, + Aztec = 10, + Custom = 100000, + }; + enum class WalletDetailViewPosition : int32_t + { + Hidden = 0, + HeaderField1 = 1, + HeaderField2 = 2, + PrimaryField1 = 3, + PrimaryField2 = 4, + SecondaryField1 = 5, + SecondaryField2 = 6, + SecondaryField3 = 7, + SecondaryField4 = 8, + SecondaryField5 = 9, + CenterField1 = 10, + FooterField1 = 11, + FooterField2 = 12, + FooterField3 = 13, + FooterField4 = 14, + }; + enum class WalletItemKind : int32_t + { + Invalid = 0, + Deal = 1, + General = 2, + PaymentInstrument = 3, + Ticket = 4, + BoardingPass = 5, + MembershipCard = 6, + }; + enum class WalletSummaryViewPosition : int32_t + { + Hidden = 0, + Field1 = 1, + Field2 = 2, + }; + struct IWalletBarcode; + struct IWalletBarcodeFactory; + struct IWalletItem; + struct IWalletItemCustomProperty; + struct IWalletItemCustomPropertyFactory; + struct IWalletItemFactory; + struct IWalletItemStore; + struct IWalletItemStore2; + struct IWalletManagerStatics; + struct IWalletRelevantLocation; + struct IWalletTransaction; + struct IWalletVerb; + struct IWalletVerbFactory; + struct WalletBarcode; + struct WalletItem; + struct WalletItemCustomProperty; + struct WalletItemStore; + struct WalletManager; + struct WalletRelevantLocation; + struct WalletTransaction; + struct WalletVerb; + struct WalletContract; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletBarcode"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletItemCustomProperty"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletItemStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletManager"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletRelevantLocation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletTransaction"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletVerb"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletActionKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletBarcodeSymbology"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletDetailViewPosition"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletItemKind"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletSummaryViewPosition"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletBarcode"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletBarcodeFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItemCustomProperty"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItemCustomPropertyFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItemFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItemStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletItemStore2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletRelevantLocation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletTransaction"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletVerb"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.IWalletVerbFactory"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.WalletContract"; + template <> inline constexpr guid guid_v{ 0x4F857B29,0xDE80,0x4EA4,{ 0xA1,0xCD,0x81,0xCD,0x08,0x4D,0xAC,0x27 } }; // 4F857B29-DE80-4EA4-A1CD-81CD084DAC27 + template <> inline constexpr guid guid_v{ 0x30117161,0xED9C,0x469E,{ 0xBB,0xFD,0x30,0x6C,0x95,0xEA,0x71,0x08 } }; // 30117161-ED9C-469E-BBFD-306C95EA7108 + template <> inline constexpr guid guid_v{ 0x20B54BE8,0x118D,0x4EC4,{ 0x99,0x6C,0xB9,0x63,0xE7,0xBD,0x3E,0x74 } }; // 20B54BE8-118D-4EC4-996C-B963E7BD3E74 + template <> inline constexpr guid guid_v{ 0xB94B40F3,0xFA00,0x40FD,{ 0x98,0xDC,0x9D,0xE4,0x66,0x97,0xF1,0xE7 } }; // B94B40F3-FA00-40FD-98DC-9DE46697F1E7 + template <> inline constexpr guid guid_v{ 0xD0046A44,0x61A1,0x41AA,{ 0xB2,0x59,0xA5,0x61,0x0A,0xB5,0xD5,0x75 } }; // D0046A44-61A1-41AA-B259-A5610AB5D575 + template <> inline constexpr guid guid_v{ 0x53E27470,0x4F0B,0x4A3E,{ 0x99,0xE5,0x0B,0xBB,0x1E,0xAB,0x38,0xD4 } }; // 53E27470-4F0B-4A3E-99E5-0BBB1EAB38D4 + template <> inline constexpr guid guid_v{ 0x7160484B,0x6D49,0x48F8,{ 0x91,0xA9,0x40,0xA1,0xD0,0xF1,0x3E,0xF4 } }; // 7160484B-6D49-48F8-91A9-40A1D0F13EF4 + template <> inline constexpr guid guid_v{ 0x65E682F0,0x7009,0x4A15,{ 0xBD,0x54,0x4F,0xFF,0x37,0x9B,0xFF,0xE2 } }; // 65E682F0-7009-4A15-BD54-4FFF379BFFE2 + template <> inline constexpr guid guid_v{ 0x5111D6B8,0xC9A4,0x4C64,{ 0xB4,0xDD,0xE1,0xE5,0x48,0x00,0x1C,0x0D } }; // 5111D6B8-C9A4-4C64-B4DD-E1E548001C0D + template <> inline constexpr guid guid_v{ 0x9FD8782A,0xE3F9,0x4DE1,{ 0xBA,0xB3,0xBB,0x19,0x2E,0x46,0xB3,0xF3 } }; // 9FD8782A-E3F9-4DE1-BAB3-BB192E46B3F3 + template <> inline constexpr guid guid_v{ 0x40E1E940,0x2606,0x4519,{ 0x81,0xCB,0xBF,0xF1,0xC6,0x0D,0x1F,0x79 } }; // 40E1E940-2606-4519-81CB-BFF1C60D1F79 + template <> inline constexpr guid guid_v{ 0x17B826D6,0xE3C1,0x4C74,{ 0x8A,0x94,0x21,0x7A,0xAD,0xBC,0x48,0x84 } }; // 17B826D6-E3C1-4C74-8A94-217AADBC4884 + template <> inline constexpr guid guid_v{ 0x76012771,0xBE58,0x4D5E,{ 0x83,0xED,0x58,0xB1,0x66,0x9C,0x7A,0xD9 } }; // 76012771-BE58-4D5E-83ED-58B1669C7AD9 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletBarcode; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletItem; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletItemStore; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletTransaction; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::IWalletVerb; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Symbology(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall GetImageAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWalletBarcode(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCustomWalletBarcode(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_IsAcknowledged(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAcknowledged(bool) noexcept = 0; + virtual int32_t __stdcall get_IssuerDisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_IssuerDisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_LastUpdated(void**) noexcept = 0; + virtual int32_t __stdcall put_LastUpdated(void*) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Barcode(void**) noexcept = 0; + virtual int32_t __stdcall put_Barcode(void*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(void**) noexcept = 0; + virtual int32_t __stdcall put_ExpirationDate(void*) noexcept = 0; + virtual int32_t __stdcall get_Logo159x159(void**) noexcept = 0; + virtual int32_t __stdcall put_Logo159x159(void*) noexcept = 0; + virtual int32_t __stdcall get_Logo336x336(void**) noexcept = 0; + virtual int32_t __stdcall put_Logo336x336(void*) noexcept = 0; + virtual int32_t __stdcall get_Logo99x99(void**) noexcept = 0; + virtual int32_t __stdcall put_Logo99x99(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_IsDisplayMessageLaunchable(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDisplayMessageLaunchable(bool) noexcept = 0; + virtual int32_t __stdcall get_LogoText(void**) noexcept = 0; + virtual int32_t __stdcall put_LogoText(void*) noexcept = 0; + virtual int32_t __stdcall get_HeaderColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_HeaderColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_BodyColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_BodyColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_HeaderFontColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_HeaderFontColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_BodyFontColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_BodyFontColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_HeaderBackgroundImage(void**) noexcept = 0; + virtual int32_t __stdcall put_HeaderBackgroundImage(void*) noexcept = 0; + virtual int32_t __stdcall get_BodyBackgroundImage(void**) noexcept = 0; + virtual int32_t __stdcall put_BodyBackgroundImage(void*) noexcept = 0; + virtual int32_t __stdcall get_LogoImage(void**) noexcept = 0; + virtual int32_t __stdcall put_LogoImage(void*) noexcept = 0; + virtual int32_t __stdcall get_PromotionalImage(void**) noexcept = 0; + virtual int32_t __stdcall put_PromotionalImage(void*) noexcept = 0; + virtual int32_t __stdcall get_RelevantDate(void**) noexcept = 0; + virtual int32_t __stdcall put_RelevantDate(void*) noexcept = 0; + virtual int32_t __stdcall get_RelevantDateDisplayMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_RelevantDateDisplayMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_TransactionHistory(void**) noexcept = 0; + virtual int32_t __stdcall get_RelevantLocations(void**) noexcept = 0; + virtual int32_t __stdcall get_IsMoreTransactionHistoryLaunchable(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsMoreTransactionHistoryLaunchable(bool) noexcept = 0; + virtual int32_t __stdcall get_DisplayProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_Verbs(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + virtual int32_t __stdcall get_AutoDetectLinks(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoDetectLinks(bool) noexcept = 0; + virtual int32_t __stdcall get_DetailViewPosition(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DetailViewPosition(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SummaryViewPosition(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SummaryViewPosition(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWalletItemCustomProperty(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWalletItem(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetWalletItemAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetItemsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetItemsWithKindAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportItemAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowAsync(void**) noexcept = 0; + virtual int32_t __stdcall ShowItemAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ItemsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemsChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + virtual int32_t __stdcall put_Position(struct struct_Windows_Devices_Geolocation_BasicGeoposition) noexcept = 0; + virtual int32_t __stdcall get_DisplayMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayMessage(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayAmount(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayAmount(void*) noexcept = 0; + virtual int32_t __stdcall get_IgnoreTimeOfDay(bool*) noexcept = 0; + virtual int32_t __stdcall put_IgnoreTimeOfDay(bool) noexcept = 0; + virtual int32_t __stdcall get_DisplayLocation(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayLocation(void*) noexcept = 0; + virtual int32_t __stdcall get_TransactionDate(void**) noexcept = 0; + virtual int32_t __stdcall put_TransactionDate(void*) noexcept = 0; + virtual int32_t __stdcall get_IsLaunchable(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsLaunchable(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWalletVerb(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletBarcode + { + [[nodiscard]] auto Symbology() const; + [[nodiscard]] auto Value() const; + auto GetImageAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletBarcode; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory + { + auto CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const; + auto CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItem + { + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsAcknowledged() const; + auto IsAcknowledged(bool value) const; + [[nodiscard]] auto IssuerDisplayName() const; + auto IssuerDisplayName(param::hstring const& value) const; + [[nodiscard]] auto LastUpdated() const; + auto LastUpdated(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Barcode() const; + auto Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const; + [[nodiscard]] auto ExpirationDate() const; + auto ExpirationDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Logo159x159() const; + auto Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Logo336x336() const; + auto Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Logo99x99() const; + auto Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto IsDisplayMessageLaunchable() const; + auto IsDisplayMessageLaunchable(bool value) const; + [[nodiscard]] auto LogoText() const; + auto LogoText(param::hstring const& value) const; + [[nodiscard]] auto HeaderColor() const; + auto HeaderColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BodyColor() const; + auto BodyColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto HeaderFontColor() const; + auto HeaderFontColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BodyFontColor() const; + auto BodyFontColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto HeaderBackgroundImage() const; + auto HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto BodyBackgroundImage() const; + auto BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto LogoImage() const; + auto LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto PromotionalImage() const; + auto PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto RelevantDate() const; + auto RelevantDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto RelevantDateDisplayMessage() const; + auto RelevantDateDisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto TransactionHistory() const; + [[nodiscard]] auto RelevantLocations() const; + [[nodiscard]] auto IsMoreTransactionHistoryLaunchable() const; + auto IsMoreTransactionHistoryLaunchable(bool value) const; + [[nodiscard]] auto DisplayProperties() const; + [[nodiscard]] auto Verbs() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItem; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + [[nodiscard]] auto AutoDetectLinks() const; + auto AutoDetectLinks(bool value) const; + [[nodiscard]] auto DetailViewPosition() const; + auto DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const; + [[nodiscard]] auto SummaryViewPosition() const; + auto SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory + { + auto CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItemFactory + { + auto CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItemFactory; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItemStore + { + auto AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto ClearAsync() const; + auto GetWalletItemAsync(param::hstring const& id) const; + auto GetItemsAsync() const; + auto GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const; + auto ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; + auto DeleteAsync(param::hstring const& id) const; + auto ShowAsync() const; + auto ShowAsync(param::hstring const& id) const; + auto UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItemStore; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletItemStore2 + { + auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemsChanged_revoker = impl::event_revoker::remove_ItemsChanged>; + [[nodiscard]] auto ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletItemStore2; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics + { + auto RequestStoreAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation + { + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const; + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletTransaction + { + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto DisplayAmount() const; + auto DisplayAmount(param::hstring const& value) const; + [[nodiscard]] auto IgnoreTimeOfDay() const; + auto IgnoreTimeOfDay(bool value) const; + [[nodiscard]] auto DisplayLocation() const; + auto DisplayLocation(param::hstring const& value) const; + [[nodiscard]] auto TransactionDate() const; + auto TransactionDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsLaunchable() const; + auto IsLaunchable(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletTransaction; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletVerb + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletVerb; + }; + template + struct consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory + { + auto CreateWalletVerb(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.1.h new file mode 100644 index 0000000000000000000000000000000000000000..b89b3308239e35637a90d447280999eb48aa8dc5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.1.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_1_H +#define WINRT_Windows_ApplicationModel_Wallet_1_H +#include "winrt/impl/Windows.ApplicationModel.Wallet.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet +{ + struct WINRT_IMPL_EMPTY_BASES IWalletBarcode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletBarcode(std::nullptr_t = nullptr) noexcept {} + IWalletBarcode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletBarcodeFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletBarcodeFactory(std::nullptr_t = nullptr) noexcept {} + IWalletBarcodeFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItem(std::nullptr_t = nullptr) noexcept {} + IWalletItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemCustomProperty : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemCustomProperty(std::nullptr_t = nullptr) noexcept {} + IWalletItemCustomProperty(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemCustomPropertyFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemCustomPropertyFactory(std::nullptr_t = nullptr) noexcept {} + IWalletItemCustomPropertyFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemFactory(std::nullptr_t = nullptr) noexcept {} + IWalletItemFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemStore(std::nullptr_t = nullptr) noexcept {} + IWalletItemStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemStore2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemStore2(std::nullptr_t = nullptr) noexcept {} + IWalletItemStore2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletManagerStatics(std::nullptr_t = nullptr) noexcept {} + IWalletManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletRelevantLocation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletRelevantLocation(std::nullptr_t = nullptr) noexcept {} + IWalletRelevantLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletTransaction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletTransaction(std::nullptr_t = nullptr) noexcept {} + IWalletTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletVerb : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletVerb(std::nullptr_t = nullptr) noexcept {} + IWalletVerb(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletVerbFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletVerbFactory(std::nullptr_t = nullptr) noexcept {} + IWalletVerbFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5d735684917e69580946c0865857420425399e53 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.2.h @@ -0,0 +1,61 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_2_H +#define WINRT_Windows_ApplicationModel_Wallet_2_H +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.ApplicationModel.Wallet.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet +{ + struct WINRT_IMPL_EMPTY_BASES WalletBarcode : winrt::Windows::ApplicationModel::Wallet::IWalletBarcode + { + WalletBarcode(std::nullptr_t) noexcept {} + WalletBarcode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletBarcode(ptr, take_ownership_from_abi) {} + WalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value); + explicit WalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage); + }; + struct WINRT_IMPL_EMPTY_BASES WalletItem : winrt::Windows::ApplicationModel::Wallet::IWalletItem + { + WalletItem(std::nullptr_t) noexcept {} + WalletItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletItem(ptr, take_ownership_from_abi) {} + WalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName); + }; + struct WINRT_IMPL_EMPTY_BASES WalletItemCustomProperty : winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty + { + WalletItemCustomProperty(std::nullptr_t) noexcept {} + WalletItemCustomProperty(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty(ptr, take_ownership_from_abi) {} + WalletItemCustomProperty(param::hstring const& name, param::hstring const& value); + }; + struct WINRT_IMPL_EMPTY_BASES WalletItemStore : winrt::Windows::ApplicationModel::Wallet::IWalletItemStore + { + WalletItemStore(std::nullptr_t) noexcept {} + WalletItemStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletItemStore(ptr, take_ownership_from_abi) {} + }; + struct WalletManager + { + WalletManager() = delete; + static auto RequestStoreAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES WalletRelevantLocation : winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation + { + WalletRelevantLocation(std::nullptr_t) noexcept {} + WalletRelevantLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation(ptr, take_ownership_from_abi) {} + WalletRelevantLocation(); + }; + struct WINRT_IMPL_EMPTY_BASES WalletTransaction : winrt::Windows::ApplicationModel::Wallet::IWalletTransaction + { + WalletTransaction(std::nullptr_t) noexcept {} + WalletTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletTransaction(ptr, take_ownership_from_abi) {} + WalletTransaction(); + }; + struct WINRT_IMPL_EMPTY_BASES WalletVerb : winrt::Windows::ApplicationModel::Wallet::IWalletVerb + { + WalletVerb(std::nullptr_t) noexcept {} + WalletVerb(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::IWalletVerb(ptr, take_ownership_from_abi) {} + explicit WalletVerb(param::hstring const& name); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.0.h new file mode 100644 index 0000000000000000000000000000000000000000..dc9bf4c5bfd0ddd6d7ecf8e0a32191b65aafcea8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.0.h @@ -0,0 +1,116 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_System_0_H +#define WINRT_Windows_ApplicationModel_Wallet_System_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet +{ + struct WalletItem; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet::System +{ + enum class WalletItemAppAssociation : int32_t + { + None = 0, + AppInstalled = 1, + AppNotInstalled = 2, + }; + struct IWalletItemSystemStore; + struct IWalletItemSystemStore2; + struct IWalletManagerSystemStatics; + struct WalletItemSystemStore; + struct WalletManagerSystem; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.WalletManagerSystem"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.WalletItemAppAssociation"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.IWalletItemSystemStore"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.IWalletItemSystemStore2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Wallet.System.IWalletManagerSystemStatics"; + template <> inline constexpr guid guid_v{ 0x522E2BFF,0x96A2,0x4A17,{ 0x8D,0x19,0xFE,0x1D,0x9F,0x83,0x75,0x61 } }; // 522E2BFF-96A2-4A17-8D19-FE1D9F837561 + template <> inline constexpr guid guid_v{ 0xF98D3A4E,0xBE00,0x4FDD,{ 0x97,0x34,0x6C,0x11,0x3C,0x1A,0xC1,0xCB } }; // F98D3A4E-BE00-4FDD-9734-6C113C1AC1CB + template <> inline constexpr guid guid_v{ 0xBEE8EB89,0x2634,0x4B9A,{ 0x8B,0x23,0xEE,0x89,0x03,0xC9,0x1F,0xE0 } }; // BEE8EB89-2634-4B9A-8B23-EE8903C91FE0 + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetItemsAsync(void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ImportItemAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAppStatusForItem(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall LaunchAppForItemAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ItemsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemsChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore + { + auto GetItemsAsync() const; + auto DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; + auto GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore; + }; + template + struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2 + { + auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemsChanged_revoker = impl::event_revoker::remove_ItemsChanged>; + [[nodiscard]] auto ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2; + }; + template + struct consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics + { + auto RequestStoreAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5feffd79115c986d0b9b01127f6348ae4afc3804 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_System_1_H +#define WINRT_Windows_ApplicationModel_Wallet_System_1_H +#include "winrt/impl/Windows.ApplicationModel.Wallet.System.0.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet::System +{ + struct WINRT_IMPL_EMPTY_BASES IWalletItemSystemStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemSystemStore(std::nullptr_t = nullptr) noexcept {} + IWalletItemSystemStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletItemSystemStore2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletItemSystemStore2(std::nullptr_t = nullptr) noexcept {} + IWalletItemSystemStore2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWalletManagerSystemStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWalletManagerSystemStatics(std::nullptr_t = nullptr) noexcept {} + IWalletManagerSystemStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3497e807d48f34afcb354f75224ae6f33ef8c887 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.applicationmodel.wallet.system.2.h @@ -0,0 +1,24 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_ApplicationModel_Wallet_System_2_H +#define WINRT_Windows_ApplicationModel_Wallet_System_2_H +#include "winrt/impl/Windows.ApplicationModel.Wallet.System.1.h" +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Wallet::System +{ + struct WINRT_IMPL_EMPTY_BASES WalletItemSystemStore : winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore, + impl::require + { + WalletItemSystemStore(std::nullptr_t) noexcept {} + WalletItemSystemStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore(ptr, take_ownership_from_abi) {} + }; + struct WalletManagerSystem + { + WalletManagerSystem() = delete; + static auto RequestStoreAsync(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.0.h new file mode 100644 index 0000000000000000000000000000000000000000..db1c335a42e527274c2a2ff46f3d73d417e1d2af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.0.h @@ -0,0 +1,38 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Html_0_H +#define WINRT_Windows_Data_Html_0_H +WINRT_EXPORT namespace winrt::Windows::Data::Html +{ + struct IHtmlUtilities; + struct HtmlUtilities; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Html.HtmlUtilities"; + template <> inline constexpr auto& name_v = L"Windows.Data.Html.IHtmlUtilities"; + template <> inline constexpr guid guid_v{ 0xFEC00ADD,0x2399,0x4FAC,{ 0xB5,0xA7,0x05,0xE9,0xAC,0xD7,0x18,0x1D } }; // FEC00ADD-2399-4FAC-B5A7-05E9ACD7181D + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertToText(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Html_IHtmlUtilities + { + auto ConvertToText(param::hstring const& html) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Html_IHtmlUtilities; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f5914a34e4c817f5b220927e303bba5874d9d0b6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Html_1_H +#define WINRT_Windows_Data_Html_1_H +#include "winrt/impl/Windows.Data.Html.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Html +{ + struct WINRT_IMPL_EMPTY_BASES IHtmlUtilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHtmlUtilities(std::nullptr_t = nullptr) noexcept {} + IHtmlUtilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0b9eb2fde36036ec4c75aa3870b20665c90ff29a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.html.2.h @@ -0,0 +1,18 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Html_2_H +#define WINRT_Windows_Data_Html_2_H +#include "winrt/impl/Windows.Data.Html.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Html +{ + struct HtmlUtilities + { + HtmlUtilities() = delete; + static auto ConvertToText(param::hstring const& html); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.0.h new file mode 100644 index 0000000000000000000000000000000000000000..85f0e4089f97aed8c1786489f7c4be558aa8a522 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.0.h @@ -0,0 +1,285 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Json_0_H +#define WINRT_Windows_Data_Json_0_H +WINRT_EXPORT namespace winrt::Windows::Data::Json +{ + enum class JsonErrorStatus : int32_t + { + Unknown = 0, + InvalidJsonString = 1, + InvalidJsonNumber = 2, + JsonValueNotFound = 3, + ImplementationLimit = 4, + }; + enum class JsonValueType : int32_t + { + Null = 0, + Boolean = 1, + Number = 2, + String = 3, + Array = 4, + Object = 5, + }; + struct IJsonArray; + struct IJsonArrayStatics; + struct IJsonErrorStatics2; + struct IJsonObject; + struct IJsonObjectStatics; + struct IJsonObjectWithDefaultValues; + struct IJsonValue; + struct IJsonValueStatics; + struct IJsonValueStatics2; + struct JsonArray; + struct JsonError; + struct JsonObject; + struct JsonValue; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonArray"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonError"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonObject"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonValue"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.JsonValueType"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonArray"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonArrayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonErrorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonObject"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonObjectStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonObjectWithDefaultValues"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonValue"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonValueStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Json.IJsonValueStatics2"; + template <> inline constexpr guid guid_v{ 0x08C1DDB6,0x0CBD,0x4A9A,{ 0xB5,0xD3,0x2F,0x85,0x2D,0xC3,0x7E,0x81 } }; // 08C1DDB6-0CBD-4A9A-B5D3-2F852DC37E81 + template <> inline constexpr guid guid_v{ 0xDB1434A9,0xE164,0x499F,{ 0x93,0xE2,0x8A,0x8F,0x49,0xBB,0x90,0xBA } }; // DB1434A9-E164-499F-93E2-8A8F49BB90BA + template <> inline constexpr guid guid_v{ 0x404030DA,0x87D0,0x436C,{ 0x83,0xAB,0xFC,0x7B,0x12,0xC0,0xCC,0x26 } }; // 404030DA-87D0-436C-83AB-FC7B12C0CC26 + template <> inline constexpr guid guid_v{ 0x064E24DD,0x29C2,0x4F83,{ 0x9A,0xC1,0x9E,0xE1,0x15,0x78,0xBE,0xB3 } }; // 064E24DD-29C2-4F83-9AC1-9EE11578BEB3 + template <> inline constexpr guid guid_v{ 0x2289F159,0x54DE,0x45D8,{ 0xAB,0xCC,0x22,0x60,0x3F,0xA0,0x66,0xA0 } }; // 2289F159-54DE-45D8-ABCC-22603FA066A0 + template <> inline constexpr guid guid_v{ 0xD960D2A2,0xB7F0,0x4F00,{ 0x8E,0x44,0xD8,0x2C,0xF4,0x15,0xEA,0x13 } }; // D960D2A2-B7F0-4F00-8E44-D82CF415EA13 + template <> inline constexpr guid guid_v{ 0xA3219ECB,0xF0B3,0x4DCD,{ 0xBE,0xEE,0x19,0xD4,0x8C,0xD3,0xED,0x1E } }; // A3219ECB-F0B3-4DCD-BEEE-19D48CD3ED1E + template <> inline constexpr guid guid_v{ 0x5F6B544A,0x2F53,0x48E1,{ 0x91,0xA3,0xF7,0x8B,0x50,0xA6,0x34,0x5C } }; // 5F6B544A-2F53-48E1-91A3-F78B50A6345C + template <> inline constexpr guid guid_v{ 0x1D9ECBE4,0x3FE8,0x4335,{ 0x83,0x92,0x93,0xD8,0xE3,0x68,0x65,0xF0 } }; // 1D9ECBE4-3FE8-4335-8392-93D8E36865F0 + template <> struct default_interface{ using type = winrt::Windows::Data::Json::IJsonArray; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Json::IJsonObject; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Json::IJsonValue; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetObjectAt(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetArrayAt(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetStringAt(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNumberAt(uint32_t, double*) noexcept = 0; + virtual int32_t __stdcall GetBooleanAt(uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetJsonStatus(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetNamedValue(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetNamedValue(void*, void*) noexcept = 0; + virtual int32_t __stdcall GetNamedObject(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedString(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedNumber(void*, double*) noexcept = 0; + virtual int32_t __stdcall GetNamedBoolean(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetNamedValueOrDefault(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedObjectOrDefault(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedStringOrDefault(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedArrayOrDefault(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedNumberOrDefault(void*, double, double*) noexcept = 0; + virtual int32_t __stdcall GetNamedBooleanOrDefault(void*, bool, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ValueType(int32_t*) noexcept = 0; + virtual int32_t __stdcall Stringify(void**) noexcept = 0; + virtual int32_t __stdcall GetString(void**) noexcept = 0; + virtual int32_t __stdcall GetNumber(double*) noexcept = 0; + virtual int32_t __stdcall GetBoolean(bool*) noexcept = 0; + virtual int32_t __stdcall GetArray(void**) noexcept = 0; + virtual int32_t __stdcall GetObject(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + virtual int32_t __stdcall CreateBooleanValue(bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateNumberValue(double, void**) noexcept = 0; + virtual int32_t __stdcall CreateStringValue(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateNullValue(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Json_IJsonArray + { + auto GetObjectAt(uint32_t index) const; + auto GetArrayAt(uint32_t index) const; + auto GetStringAt(uint32_t index) const; + auto GetNumberAt(uint32_t index) const; + auto GetBooleanAt(uint32_t index) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonArray; + }; + template + struct consume_Windows_Data_Json_IJsonArrayStatics + { + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonArrayStatics; + }; + template + struct consume_Windows_Data_Json_IJsonErrorStatics2 + { + auto GetJsonStatus(int32_t hresult) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonErrorStatics2; + }; + template + struct consume_Windows_Data_Json_IJsonObject + { + auto GetNamedValue(param::hstring const& name) const; + auto SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const; + auto GetNamedObject(param::hstring const& name) const; + auto GetNamedArray(param::hstring const& name) const; + auto GetNamedString(param::hstring const& name) const; + auto GetNamedNumber(param::hstring const& name) const; + auto GetNamedBoolean(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonObject; + }; + template + struct consume_Windows_Data_Json_IJsonObjectStatics + { + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonObjectStatics; + }; + template + struct consume_Windows_Data_Json_IJsonObjectWithDefaultValues + { + auto GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const; + auto GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const; + auto GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const; + auto GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const; + auto GetNamedNumber(param::hstring const& name, double defaultValue) const; + auto GetNamedBoolean(param::hstring const& name, bool defaultValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonObjectWithDefaultValues; + }; + template + struct consume_Windows_Data_Json_IJsonValue + { + [[nodiscard]] auto ValueType() const; + auto Stringify() const; + auto GetString() const; + auto GetNumber() const; + auto GetBoolean() const; + auto GetArray() const; + auto GetObject() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonValue; + }; + template + struct consume_Windows_Data_Json_IJsonValueStatics + { + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const; + auto CreateBooleanValue(bool input) const; + auto CreateNumberValue(double input) const; + auto CreateStringValue(param::hstring const& input) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonValueStatics; + }; + template + struct consume_Windows_Data_Json_IJsonValueStatics2 + { + auto CreateNullValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Json_IJsonValueStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2b705afae64df0d70429dd3c2cecdb6ec5c1b26e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.1.h @@ -0,0 +1,91 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Json_1_H +#define WINRT_Windows_Data_Json_1_H +#include "winrt/impl/Windows.Data.Json.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Json +{ + struct WINRT_IMPL_EMPTY_BASES IJsonArray : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IJsonArray(std::nullptr_t = nullptr) noexcept {} + IJsonArray(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonArrayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonArrayStatics(std::nullptr_t = nullptr) noexcept {} + IJsonArrayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonErrorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonErrorStatics2(std::nullptr_t = nullptr) noexcept {} + IJsonErrorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonObject : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IJsonObject(std::nullptr_t = nullptr) noexcept {} + IJsonObject(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonObjectStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonObjectStatics(std::nullptr_t = nullptr) noexcept {} + IJsonObjectStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonObjectWithDefaultValues : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IJsonObjectWithDefaultValues(std::nullptr_t = nullptr) noexcept {} + IJsonObjectWithDefaultValues(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::GetNamedArray; + using impl::consume_t::GetNamedArray; + using impl::consume_t::GetNamedBoolean; + using impl::consume_t::GetNamedBoolean; + using impl::consume_t::GetNamedNumber; + using impl::consume_t::GetNamedNumber; + using impl::consume_t::GetNamedObject; + using impl::consume_t::GetNamedObject; + using impl::consume_t::GetNamedString; + using impl::consume_t::GetNamedString; + using impl::consume_t::GetNamedValue; + using impl::consume_t::GetNamedValue; + }; + struct WINRT_IMPL_EMPTY_BASES IJsonValue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonValue(std::nullptr_t = nullptr) noexcept {} + IJsonValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonValueStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonValueStatics(std::nullptr_t = nullptr) noexcept {} + IJsonValueStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJsonValueStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJsonValueStatics2(std::nullptr_t = nullptr) noexcept {} + IJsonValueStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6fe8bb8120cd5de11b54912455ed5d6f599b97db --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.json.2.h @@ -0,0 +1,62 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Json_2_H +#define WINRT_Windows_Data_Json_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Data.Json.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Json +{ + struct WINRT_IMPL_EMPTY_BASES JsonArray : winrt::Windows::Data::Json::IJsonArray, + impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> + { + JsonArray(std::nullptr_t) noexcept {} + JsonArray(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Json::IJsonArray(ptr, take_ownership_from_abi) {} + JsonArray(); + static auto Parse(param::hstring const& input); + static auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result); + }; + struct JsonError + { + JsonError() = delete; + static auto GetJsonStatus(int32_t hresult); + }; + struct WINRT_IMPL_EMPTY_BASES JsonObject : winrt::Windows::Data::Json::IJsonObject, + impl::require>, winrt::Windows::Foundation::Collections::IMap, winrt::Windows::Data::Json::IJsonObjectWithDefaultValues, winrt::Windows::Foundation::IStringable> + { + JsonObject(std::nullptr_t) noexcept {} + JsonObject(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Json::IJsonObject(ptr, take_ownership_from_abi) {} + JsonObject(); + using winrt::Windows::Data::Json::IJsonObject::GetNamedArray; + using impl::consume_t::GetNamedArray; + using winrt::Windows::Data::Json::IJsonObject::GetNamedBoolean; + using impl::consume_t::GetNamedBoolean; + using winrt::Windows::Data::Json::IJsonObject::GetNamedNumber; + using impl::consume_t::GetNamedNumber; + using winrt::Windows::Data::Json::IJsonObject::GetNamedObject; + using impl::consume_t::GetNamedObject; + using winrt::Windows::Data::Json::IJsonObject::GetNamedString; + using impl::consume_t::GetNamedString; + using winrt::Windows::Data::Json::IJsonObject::GetNamedValue; + using impl::consume_t::GetNamedValue; + static auto Parse(param::hstring const& input); + static auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result); + }; + struct WINRT_IMPL_EMPTY_BASES JsonValue : winrt::Windows::Data::Json::IJsonValue, + impl::require + { + JsonValue(std::nullptr_t) noexcept {} + JsonValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Json::IJsonValue(ptr, take_ownership_from_abi) {} + static auto Parse(param::hstring const& input); + static auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result); + static auto CreateBooleanValue(bool input); + static auto CreateNumberValue(double input); + static auto CreateStringValue(param::hstring const& input); + static auto CreateNullValue(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cc19cddaed29487e64ca807c9bd6044de8742e46 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.0.h @@ -0,0 +1,212 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Pdf_0_H +#define WINRT_Windows_Data_Pdf_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Rect; + struct Size; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Data::Pdf +{ + enum class PdfPageRotation : int32_t + { + Normal = 0, + Rotate90 = 1, + Rotate180 = 2, + Rotate270 = 3, + }; + struct IPdfDocument; + struct IPdfDocumentStatics; + struct IPdfPage; + struct IPdfPageDimensions; + struct IPdfPageRenderOptions; + struct PdfDocument; + struct PdfPage; + struct PdfPageDimensions; + struct PdfPageRenderOptions; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.PdfDocument"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.PdfPage"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.PdfPageDimensions"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.PdfPageRenderOptions"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.PdfPageRotation"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.IPdfDocument"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.IPdfDocumentStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.IPdfPage"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.IPdfPageDimensions"; + template <> inline constexpr auto& name_v = L"Windows.Data.Pdf.IPdfPageRenderOptions"; + template <> inline constexpr guid guid_v{ 0xAC7EBEDD,0x80FA,0x4089,{ 0x84,0x6E,0x81,0xB7,0x7F,0xF5,0xA8,0x6C } }; // AC7EBEDD-80FA-4089-846E-81B77FF5A86C + template <> inline constexpr guid guid_v{ 0x433A0B5F,0xC007,0x4788,{ 0x90,0xF2,0x08,0x14,0x3D,0x92,0x25,0x99 } }; // 433A0B5F-C007-4788-90F2-08143D922599 + template <> inline constexpr guid guid_v{ 0x9DB4B0C8,0x5320,0x4CFC,{ 0xAD,0x76,0x49,0x3F,0xDA,0xD0,0xE5,0x94 } }; // 9DB4B0C8-5320-4CFC-AD76-493FDAD0E594 + template <> inline constexpr guid guid_v{ 0x22170471,0x313E,0x44E8,{ 0x83,0x5D,0x63,0xA3,0xE7,0x62,0x4A,0x10 } }; // 22170471-313E-44E8-835D-63A3E7624A10 + template <> inline constexpr guid guid_v{ 0x3C98056F,0xB7CF,0x4C29,{ 0x9A,0x04,0x52,0xD9,0x02,0x67,0xF4,0x25 } }; // 3C98056F-B7CF-4C29-9A04-52D90267F425 + template <> struct default_interface{ using type = winrt::Windows::Data::Pdf::IPdfDocument; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Pdf::IPdfPage; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Pdf::IPdfPageDimensions; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Pdf::IPdfPageRenderOptions; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPage(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_PageCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsPasswordProtected(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadFromFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromFileWithPasswordAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromStreamAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromStreamWithPasswordAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RenderToStreamAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RenderWithOptionsToStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PreparePageAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Index(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Size(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_Dimensions(void**) noexcept = 0; + virtual int32_t __stdcall get_Rotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PreferredZoom(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaBox(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_CropBox(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_BleedBox(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_TrimBox(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_ArtBox(winrt::Windows::Foundation::Rect*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_SourceRect(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall get_DestinationWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DestinationWidth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DestinationHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DestinationHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_BackgroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_IsIgnoringHighContrast(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsIgnoringHighContrast(bool) noexcept = 0; + virtual int32_t __stdcall get_BitmapEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_BitmapEncoderId(winrt::guid) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Pdf_IPdfDocument + { + auto GetPage(uint32_t pageIndex) const; + [[nodiscard]] auto PageCount() const; + [[nodiscard]] auto IsPasswordProtected() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Pdf_IPdfDocument; + }; + template + struct consume_Windows_Data_Pdf_IPdfDocumentStatics + { + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Pdf_IPdfDocumentStatics; + }; + template + struct consume_Windows_Data_Pdf_IPdfPage + { + auto RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const; + auto RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const; + auto PreparePageAsync() const; + [[nodiscard]] auto Index() const; + [[nodiscard]] auto Size() const; + [[nodiscard]] auto Dimensions() const; + [[nodiscard]] auto Rotation() const; + [[nodiscard]] auto PreferredZoom() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Pdf_IPdfPage; + }; + template + struct consume_Windows_Data_Pdf_IPdfPageDimensions + { + [[nodiscard]] auto MediaBox() const; + [[nodiscard]] auto CropBox() const; + [[nodiscard]] auto BleedBox() const; + [[nodiscard]] auto TrimBox() const; + [[nodiscard]] auto ArtBox() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Pdf_IPdfPageDimensions; + }; + template + struct consume_Windows_Data_Pdf_IPdfPageRenderOptions + { + [[nodiscard]] auto SourceRect() const; + auto SourceRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto DestinationWidth() const; + auto DestinationWidth(uint32_t value) const; + [[nodiscard]] auto DestinationHeight() const; + auto DestinationHeight(uint32_t value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto IsIgnoringHighContrast() const; + auto IsIgnoringHighContrast(bool value) const; + [[nodiscard]] auto BitmapEncoderId() const; + auto BitmapEncoderId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Pdf_IPdfPageRenderOptions; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5bbc8b1db98a1fc11a1ea4635248e83d7e7e342d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Pdf_1_H +#define WINRT_Windows_Data_Pdf_1_H +#include "winrt/impl/Windows.Data.Pdf.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Pdf +{ + struct WINRT_IMPL_EMPTY_BASES IPdfDocument : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdfDocument(std::nullptr_t = nullptr) noexcept {} + IPdfDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdfDocumentStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdfDocumentStatics(std::nullptr_t = nullptr) noexcept {} + IPdfDocumentStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdfPage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdfPage(std::nullptr_t = nullptr) noexcept {} + IPdfPage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdfPageDimensions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdfPageDimensions(std::nullptr_t = nullptr) noexcept {} + IPdfPageDimensions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdfPageRenderOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdfPageRenderOptions(std::nullptr_t = nullptr) noexcept {} + IPdfPageRenderOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.2.h new file mode 100644 index 0000000000000000000000000000000000000000..77d0b1d48f978590c6a08bf3b151851a31b51121 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.pdf.2.h @@ -0,0 +1,42 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Pdf_2_H +#define WINRT_Windows_Data_Pdf_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Data.Pdf.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Pdf +{ + struct WINRT_IMPL_EMPTY_BASES PdfDocument : winrt::Windows::Data::Pdf::IPdfDocument + { + PdfDocument(std::nullptr_t) noexcept {} + PdfDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfDocument(ptr, take_ownership_from_abi) {} + static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file); + static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password); + static auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream); + static auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password); + }; + struct WINRT_IMPL_EMPTY_BASES PdfPage : winrt::Windows::Data::Pdf::IPdfPage, + impl::require + { + PdfPage(std::nullptr_t) noexcept {} + PdfPage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PdfPageDimensions : winrt::Windows::Data::Pdf::IPdfPageDimensions + { + PdfPageDimensions(std::nullptr_t) noexcept {} + PdfPageDimensions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPageDimensions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PdfPageRenderOptions : winrt::Windows::Data::Pdf::IPdfPageRenderOptions + { + PdfPageRenderOptions(std::nullptr_t) noexcept {} + PdfPageRenderOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPageRenderOptions(ptr, take_ownership_from_abi) {} + PdfPageRenderOptions(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c653cc5a71543b79eed6af1831420b7a295430fd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.0.h @@ -0,0 +1,624 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Text_0_H +#define WINRT_Windows_Data_Text_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::UI::Text::Core +{ + enum class CoreTextInputScope : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Data::Text +{ + enum class AlternateNormalizationFormat : int32_t + { + NotNormalized = 0, + Number = 1, + Currency = 3, + Date = 4, + Time = 5, + }; + enum class TextPredictionOptions : uint32_t + { + None = 0, + Predictions = 0x1, + Corrections = 0x2, + }; + enum class UnicodeGeneralCategory : int32_t + { + UppercaseLetter = 0, + LowercaseLetter = 1, + TitlecaseLetter = 2, + ModifierLetter = 3, + OtherLetter = 4, + NonspacingMark = 5, + SpacingCombiningMark = 6, + EnclosingMark = 7, + DecimalDigitNumber = 8, + LetterNumber = 9, + OtherNumber = 10, + SpaceSeparator = 11, + LineSeparator = 12, + ParagraphSeparator = 13, + Control = 14, + Format = 15, + Surrogate = 16, + PrivateUse = 17, + ConnectorPunctuation = 18, + DashPunctuation = 19, + OpenPunctuation = 20, + ClosePunctuation = 21, + InitialQuotePunctuation = 22, + FinalQuotePunctuation = 23, + OtherPunctuation = 24, + MathSymbol = 25, + CurrencySymbol = 26, + ModifierSymbol = 27, + OtherSymbol = 28, + NotAssigned = 29, + }; + enum class UnicodeNumericType : int32_t + { + None = 0, + Decimal = 1, + Digit = 2, + Numeric = 3, + }; + struct IAlternateWordForm; + struct ISelectableWordSegment; + struct ISelectableWordsSegmenter; + struct ISelectableWordsSegmenterFactory; + struct ISemanticTextQuery; + struct ISemanticTextQueryFactory; + struct ITextConversionGenerator; + struct ITextConversionGeneratorFactory; + struct ITextPhoneme; + struct ITextPredictionGenerator; + struct ITextPredictionGenerator2; + struct ITextPredictionGeneratorFactory; + struct ITextReverseConversionGenerator; + struct ITextReverseConversionGenerator2; + struct ITextReverseConversionGeneratorFactory; + struct IUnicodeCharactersStatics; + struct IWordSegment; + struct IWordsSegmenter; + struct IWordsSegmenterFactory; + struct AlternateWordForm; + struct SelectableWordSegment; + struct SelectableWordsSegmenter; + struct SemanticTextQuery; + struct TextConversionGenerator; + struct TextPhoneme; + struct TextPredictionGenerator; + struct TextReverseConversionGenerator; + struct UnicodeCharacters; + struct WordSegment; + struct WordsSegmenter; + struct TextSegment; + struct SelectableWordSegmentsTokenizingHandler; + struct WordSegmentsTokenizingHandler; +} +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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.AlternateWordForm"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.SelectableWordSegment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.SelectableWordsSegmenter"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.SemanticTextQuery"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextConversionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextPhoneme"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextPredictionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextReverseConversionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.UnicodeCharacters"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.WordSegment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.WordsSegmenter"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.AlternateNormalizationFormat"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextPredictionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.UnicodeGeneralCategory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.UnicodeNumericType"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.TextSegment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.IAlternateWordForm"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ISelectableWordSegment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ISelectableWordsSegmenter"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ISelectableWordsSegmenterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ISemanticTextQuery"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ISemanticTextQueryFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextConversionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextConversionGeneratorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextPhoneme"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextPredictionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextPredictionGenerator2"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextPredictionGeneratorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextReverseConversionGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextReverseConversionGenerator2"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.ITextReverseConversionGeneratorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.IUnicodeCharactersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.IWordSegment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.IWordsSegmenter"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.IWordsSegmenterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.SelectableWordSegmentsTokenizingHandler"; + template <> inline constexpr auto& name_v = L"Windows.Data.Text.WordSegmentsTokenizingHandler"; + template <> inline constexpr guid guid_v{ 0x47396C1E,0x51B9,0x4207,{ 0x91,0x46,0x24,0x8E,0x63,0x6A,0x1D,0x1D } }; // 47396C1E-51B9-4207-9146-248E636A1D1D + template <> inline constexpr guid guid_v{ 0x916A4CB7,0x8AA7,0x4C78,{ 0xB3,0x74,0x5D,0xED,0xB7,0x52,0xE6,0x0B } }; // 916A4CB7-8AA7-4C78-B374-5DEDB752E60B + template <> inline constexpr guid guid_v{ 0xF6DC31E7,0x4B13,0x45C5,{ 0x88,0x97,0x7D,0x71,0x26,0x9E,0x08,0x5D } }; // F6DC31E7-4B13-45C5-8897-7D71269E085D + template <> inline constexpr guid guid_v{ 0x8C7A7648,0x6057,0x4339,{ 0xBC,0x70,0xF2,0x10,0x01,0x0A,0x41,0x50 } }; // 8C7A7648-6057-4339-BC70-F210010A4150 + template <> inline constexpr guid guid_v{ 0x6A1CAB51,0x1FB2,0x4909,{ 0x80,0xB8,0x35,0x73,0x1A,0x2B,0x3E,0x7F } }; // 6A1CAB51-1FB2-4909-80B8-35731A2B3E7F + template <> inline constexpr guid guid_v{ 0x238C0503,0xF995,0x4587,{ 0x87,0x77,0xA2,0xB7,0xD8,0x0A,0xCF,0xEF } }; // 238C0503-F995-4587-8777-A2B7D80ACFEF + template <> inline constexpr guid guid_v{ 0x03606A5E,0x2AA9,0x4AB6,{ 0xAF,0x8B,0xA5,0x62,0xB6,0x3A,0x89,0x92 } }; // 03606A5E-2AA9-4AB6-AF8B-A562B63A8992 + template <> inline constexpr guid guid_v{ 0xFCAA3781,0x3083,0x49AB,{ 0xBE,0x15,0x56,0xDF,0xBB,0xB7,0x4D,0x6F } }; // FCAA3781-3083-49AB-BE15-56DFBBB74D6F + template <> inline constexpr guid guid_v{ 0x9362A40A,0x9B7A,0x4569,{ 0x94,0xCF,0xD8,0x4F,0x2F,0x38,0xCF,0x9B } }; // 9362A40A-9B7A-4569-94CF-D84F2F38CF9B + template <> inline constexpr guid guid_v{ 0x5EACAB07,0xABF1,0x4CB6,{ 0x9D,0x9E,0x32,0x6F,0x2B,0x46,0x87,0x56 } }; // 5EACAB07-ABF1-4CB6-9D9E-326F2B468756 + template <> inline constexpr guid guid_v{ 0xB84723B8,0x2C77,0x486A,{ 0x90,0x0A,0xA3,0x45,0x3E,0xED,0xC1,0x5D } }; // B84723B8-2C77-486A-900A-A3453EEDC15D + template <> inline constexpr guid guid_v{ 0x7257B416,0x8BA2,0x4751,{ 0x9D,0x30,0x9D,0x85,0x43,0x56,0x53,0xA2 } }; // 7257B416-8BA2-4751-9D30-9D85435653A2 + template <> inline constexpr guid guid_v{ 0x51E7F514,0x9C51,0x4D86,{ 0xAE,0x1B,0xB4,0x98,0xFB,0xAD,0x83,0x13 } }; // 51E7F514-9C51-4D86-AE1B-B498FBAD8313 + template <> inline constexpr guid guid_v{ 0x1AAFD2EC,0x85D6,0x46FD,{ 0x82,0x8A,0x3A,0x48,0x30,0xFA,0x6E,0x18 } }; // 1AAFD2EC-85D6-46FD-828A-3A4830FA6E18 + template <> inline constexpr guid guid_v{ 0x63BED326,0x1FDA,0x41F6,{ 0x89,0xD5,0x23,0xDD,0xEA,0x3C,0x72,0x9A } }; // 63BED326-1FDA-41F6-89D5-23DDEA3C729A + template <> inline constexpr guid guid_v{ 0x97909E87,0x9291,0x4F91,{ 0xB6,0xC8,0xB6,0xE3,0x59,0xD7,0xA7,0xFB } }; // 97909E87-9291-4F91-B6C8-B6E359D7A7FB + template <> inline constexpr guid guid_v{ 0xD2D4BA6D,0x987C,0x4CC0,{ 0xB6,0xBD,0xD4,0x9A,0x11,0xB3,0x8F,0x9A } }; // D2D4BA6D-987C-4CC0-B6BD-D49A11B38F9A + template <> inline constexpr guid guid_v{ 0x86B4D4D1,0xB2FE,0x4E34,{ 0xA8,0x1D,0x66,0x64,0x03,0x00,0x45,0x4F } }; // 86B4D4D1-B2FE-4E34-A81D-66640300454F + template <> inline constexpr guid guid_v{ 0xE6977274,0xFC35,0x455C,{ 0x8B,0xFB,0x6D,0x7F,0x46,0x53,0xCA,0x97 } }; // E6977274-FC35-455C-8BFB-6D7F4653CA97 + template <> inline constexpr guid guid_v{ 0x3A3DFC9C,0xAEDE,0x4DC7,{ 0x9E,0x6C,0x41,0xC0,0x44,0xBD,0x35,0x92 } }; // 3A3DFC9C-AEDE-4DC7-9E6C-41C044BD3592 + template <> inline constexpr guid guid_v{ 0xA5DD6357,0xBF2A,0x4C4F,{ 0xA3,0x1F,0x29,0xE7,0x1C,0x6F,0x8B,0x35 } }; // A5DD6357-BF2A-4C4F-A31F-29E71C6F8B35 + template <> struct default_interface{ using type = winrt::Windows::Data::Text::IAlternateWordForm; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ISelectableWordSegment; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ISelectableWordsSegmenter; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ISemanticTextQuery; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ITextConversionGenerator; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ITextPhoneme; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ITextPredictionGenerator; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::ITextReverseConversionGenerator; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::IWordSegment; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Text::IWordsSegmenter; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceTextSegment(struct struct_Windows_Data_Text_TextSegment*) noexcept = 0; + virtual int32_t __stdcall get_AlternateText(void**) noexcept = 0; + virtual int32_t __stdcall get_NormalizationFormat(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceTextSegment(struct struct_Windows_Data_Text_TextSegment*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall GetTokenAt(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetTokens(void*, void**) noexcept = 0; + virtual int32_t __stdcall Tokenize(void*, uint32_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithLanguage(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Find(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindInProperty(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithLanguage(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_LanguageAvailableButNotInstalled(bool*) noexcept = 0; + virtual int32_t __stdcall GetCandidatesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCandidatesWithMaxCountAsync(void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayText(void**) noexcept = 0; + virtual int32_t __stdcall get_ReadingText(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_LanguageAvailableButNotInstalled(bool*) noexcept = 0; + virtual int32_t __stdcall GetCandidatesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCandidatesWithMaxCountAsync(void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCandidatesWithParametersAsync(void*, uint32_t, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNextWordCandidatesAsync(uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_InputScope(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_InputScope(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_LanguageAvailableButNotInstalled(bool*) noexcept = 0; + virtual int32_t __stdcall ConvertBackAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPhonemesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCodepointFromSurrogatePair(uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetSurrogatePairFromCodepoint(uint32_t, char16_t*, char16_t*) noexcept = 0; + virtual int32_t __stdcall IsHighSurrogate(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsLowSurrogate(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsSupplementary(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsNoncharacter(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsWhitespace(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsAlphabetic(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsCased(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsUppercase(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsLowercase(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsIdStart(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsIdContinue(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsGraphemeBase(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsGraphemeExtend(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall GetNumericType(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetGeneralCategory(uint32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceTextSegment(struct struct_Windows_Data_Text_TextSegment*) noexcept = 0; + virtual int32_t __stdcall get_AlternateForms(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall GetTokenAt(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetTokens(void*, void**) noexcept = 0; + virtual int32_t __stdcall Tokenize(void*, uint32_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithLanguage(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Text_IAlternateWordForm + { + [[nodiscard]] auto SourceTextSegment() const; + [[nodiscard]] auto AlternateText() const; + [[nodiscard]] auto NormalizationFormat() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_IAlternateWordForm; + }; + template + struct consume_Windows_Data_Text_ISelectableWordSegment + { + [[nodiscard]] auto Text() const; + [[nodiscard]] auto SourceTextSegment() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ISelectableWordSegment; + }; + template + struct consume_Windows_Data_Text_ISelectableWordsSegmenter + { + [[nodiscard]] auto ResolvedLanguage() const; + auto GetTokenAt(param::hstring const& text, uint32_t startIndex) const; + auto GetTokens(param::hstring const& text) const; + auto Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ISelectableWordsSegmenter; + }; + template + struct consume_Windows_Data_Text_ISelectableWordsSegmenterFactory + { + auto CreateWithLanguage(param::hstring const& language) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ISelectableWordsSegmenterFactory; + }; + template + struct consume_Windows_Data_Text_ISemanticTextQuery + { + auto Find(param::hstring const& content) const; + auto FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ISemanticTextQuery; + }; + template + struct consume_Windows_Data_Text_ISemanticTextQueryFactory + { + auto Create(param::hstring const& aqsFilter) const; + auto CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ISemanticTextQueryFactory; + }; + template + struct consume_Windows_Data_Text_ITextConversionGenerator + { + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto GetCandidatesAsync(param::hstring const& input) const; + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextConversionGenerator; + }; + template + struct consume_Windows_Data_Text_ITextConversionGeneratorFactory + { + auto Create(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextConversionGeneratorFactory; + }; + template + struct consume_Windows_Data_Text_ITextPhoneme + { + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto ReadingText() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextPhoneme; + }; + template + struct consume_Windows_Data_Text_ITextPredictionGenerator + { + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto GetCandidatesAsync(param::hstring const& input) const; + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextPredictionGenerator; + }; + template + struct consume_Windows_Data_Text_ITextPredictionGenerator2 + { + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable const& previousStrings) const; + auto GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable const& previousStrings) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextPredictionGenerator2; + }; + template + struct consume_Windows_Data_Text_ITextPredictionGeneratorFactory + { + auto Create(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextPredictionGeneratorFactory; + }; + template + struct consume_Windows_Data_Text_ITextReverseConversionGenerator + { + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto ConvertBackAsync(param::hstring const& input) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextReverseConversionGenerator; + }; + template + struct consume_Windows_Data_Text_ITextReverseConversionGenerator2 + { + auto GetPhonemesAsync(param::hstring const& input) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextReverseConversionGenerator2; + }; + template + struct consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory + { + auto Create(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory; + }; + template + struct consume_Windows_Data_Text_IUnicodeCharactersStatics + { + auto GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const; + auto GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const; + auto IsHighSurrogate(uint32_t codepoint) const; + auto IsLowSurrogate(uint32_t codepoint) const; + auto IsSupplementary(uint32_t codepoint) const; + auto IsNoncharacter(uint32_t codepoint) const; + auto IsWhitespace(uint32_t codepoint) const; + auto IsAlphabetic(uint32_t codepoint) const; + auto IsCased(uint32_t codepoint) const; + auto IsUppercase(uint32_t codepoint) const; + auto IsLowercase(uint32_t codepoint) const; + auto IsIdStart(uint32_t codepoint) const; + auto IsIdContinue(uint32_t codepoint) const; + auto IsGraphemeBase(uint32_t codepoint) const; + auto IsGraphemeExtend(uint32_t codepoint) const; + auto GetNumericType(uint32_t codepoint) const; + auto GetGeneralCategory(uint32_t codepoint) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_IUnicodeCharactersStatics; + }; + template + struct consume_Windows_Data_Text_IWordSegment + { + [[nodiscard]] auto Text() const; + [[nodiscard]] auto SourceTextSegment() const; + [[nodiscard]] auto AlternateForms() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_IWordSegment; + }; + template + struct consume_Windows_Data_Text_IWordsSegmenter + { + [[nodiscard]] auto ResolvedLanguage() const; + auto GetTokenAt(param::hstring const& text, uint32_t startIndex) const; + auto GetTokens(param::hstring const& text) const; + auto Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_IWordsSegmenter; + }; + template + struct consume_Windows_Data_Text_IWordsSegmenterFactory + { + auto CreateWithLanguage(param::hstring const& language) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Text_IWordsSegmenterFactory; + }; + struct struct_Windows_Data_Text_TextSegment + { + uint32_t StartPosition; + uint32_t Length; + }; + template <> struct abi + { + using type = struct_Windows_Data_Text_TextSegment; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5d3d590de4636c0019a25af7724b7fd64da98d18 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.1.h @@ -0,0 +1,146 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Text_1_H +#define WINRT_Windows_Data_Text_1_H +#include "winrt/impl/Windows.Data.Text.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Text +{ + struct WINRT_IMPL_EMPTY_BASES IAlternateWordForm : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAlternateWordForm(std::nullptr_t = nullptr) noexcept {} + IAlternateWordForm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISelectableWordSegment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISelectableWordSegment(std::nullptr_t = nullptr) noexcept {} + ISelectableWordSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISelectableWordsSegmenter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISelectableWordsSegmenter(std::nullptr_t = nullptr) noexcept {} + ISelectableWordsSegmenter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISelectableWordsSegmenterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISelectableWordsSegmenterFactory(std::nullptr_t = nullptr) noexcept {} + ISelectableWordsSegmenterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISemanticTextQuery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISemanticTextQuery(std::nullptr_t = nullptr) noexcept {} + ISemanticTextQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISemanticTextQueryFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISemanticTextQueryFactory(std::nullptr_t = nullptr) noexcept {} + ISemanticTextQueryFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextConversionGenerator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextConversionGenerator(std::nullptr_t = nullptr) noexcept {} + ITextConversionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextConversionGeneratorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextConversionGeneratorFactory(std::nullptr_t = nullptr) noexcept {} + ITextConversionGeneratorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextPhoneme : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextPhoneme(std::nullptr_t = nullptr) noexcept {} + ITextPhoneme(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextPredictionGenerator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextPredictionGenerator(std::nullptr_t = nullptr) noexcept {} + ITextPredictionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextPredictionGenerator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextPredictionGenerator2(std::nullptr_t = nullptr) noexcept {} + ITextPredictionGenerator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextPredictionGeneratorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextPredictionGeneratorFactory(std::nullptr_t = nullptr) noexcept {} + ITextPredictionGeneratorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextReverseConversionGenerator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextReverseConversionGenerator(std::nullptr_t = nullptr) noexcept {} + ITextReverseConversionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextReverseConversionGenerator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextReverseConversionGenerator2(std::nullptr_t = nullptr) noexcept {} + ITextReverseConversionGenerator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITextReverseConversionGeneratorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITextReverseConversionGeneratorFactory(std::nullptr_t = nullptr) noexcept {} + ITextReverseConversionGeneratorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUnicodeCharactersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUnicodeCharactersStatics(std::nullptr_t = nullptr) noexcept {} + IUnicodeCharactersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWordSegment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWordSegment(std::nullptr_t = nullptr) noexcept {} + IWordSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWordsSegmenter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWordsSegmenter(std::nullptr_t = nullptr) noexcept {} + IWordsSegmenter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWordsSegmenterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWordsSegmenterFactory(std::nullptr_t = nullptr) noexcept {} + IWordsSegmenterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.2.h new file mode 100644 index 0000000000000000000000000000000000000000..d2ea6056cbf87bbc4e061017cf7552197d939314 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.text.2.h @@ -0,0 +1,135 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Text_2_H +#define WINRT_Windows_Data_Text_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Data.Text.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Text +{ + struct SelectableWordSegmentsTokenizingHandler : winrt::Windows::Foundation::IUnknown + { + SelectableWordSegmentsTokenizingHandler(std::nullptr_t = nullptr) noexcept {} + SelectableWordSegmentsTokenizingHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template SelectableWordSegmentsTokenizingHandler(L lambda); + template SelectableWordSegmentsTokenizingHandler(F* function); + template SelectableWordSegmentsTokenizingHandler(O* object, M method); + template SelectableWordSegmentsTokenizingHandler(com_ptr&& object, M method); + template SelectableWordSegmentsTokenizingHandler(weak_ref&& object, LM&& lambda_or_method); + template SelectableWordSegmentsTokenizingHandler(std::shared_ptr&& object, M method); + template SelectableWordSegmentsTokenizingHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(param::iterable const& precedingWords, param::iterable const& words) const; + }; + struct WordSegmentsTokenizingHandler : winrt::Windows::Foundation::IUnknown + { + WordSegmentsTokenizingHandler(std::nullptr_t = nullptr) noexcept {} + WordSegmentsTokenizingHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template WordSegmentsTokenizingHandler(L lambda); + template WordSegmentsTokenizingHandler(F* function); + template WordSegmentsTokenizingHandler(O* object, M method); + template WordSegmentsTokenizingHandler(com_ptr&& object, M method); + template WordSegmentsTokenizingHandler(weak_ref&& object, LM&& lambda_or_method); + template WordSegmentsTokenizingHandler(std::shared_ptr&& object, M method); + template WordSegmentsTokenizingHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(param::iterable const& precedingWords, param::iterable const& words) const; + }; + struct TextSegment + { + uint32_t StartPosition {}; + uint32_t Length {}; + }; + inline bool operator==(TextSegment const& left, TextSegment const& right) noexcept + { + return left.StartPosition == right.StartPosition && left.Length == right.Length; + } + inline bool operator!=(TextSegment const& left, TextSegment const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AlternateWordForm : winrt::Windows::Data::Text::IAlternateWordForm + { + AlternateWordForm(std::nullptr_t) noexcept {} + AlternateWordForm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::IAlternateWordForm(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SelectableWordSegment : winrt::Windows::Data::Text::ISelectableWordSegment + { + SelectableWordSegment(std::nullptr_t) noexcept {} + SelectableWordSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ISelectableWordSegment(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SelectableWordsSegmenter : winrt::Windows::Data::Text::ISelectableWordsSegmenter + { + SelectableWordsSegmenter(std::nullptr_t) noexcept {} + SelectableWordsSegmenter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ISelectableWordsSegmenter(ptr, take_ownership_from_abi) {} + explicit SelectableWordsSegmenter(param::hstring const& language); + }; + struct WINRT_IMPL_EMPTY_BASES SemanticTextQuery : winrt::Windows::Data::Text::ISemanticTextQuery + { + SemanticTextQuery(std::nullptr_t) noexcept {} + SemanticTextQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ISemanticTextQuery(ptr, take_ownership_from_abi) {} + explicit SemanticTextQuery(param::hstring const& aqsFilter); + SemanticTextQuery(param::hstring const& aqsFilter, param::hstring const& filterLanguage); + }; + struct WINRT_IMPL_EMPTY_BASES TextConversionGenerator : winrt::Windows::Data::Text::ITextConversionGenerator + { + TextConversionGenerator(std::nullptr_t) noexcept {} + TextConversionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ITextConversionGenerator(ptr, take_ownership_from_abi) {} + explicit TextConversionGenerator(param::hstring const& languageTag); + }; + struct WINRT_IMPL_EMPTY_BASES TextPhoneme : winrt::Windows::Data::Text::ITextPhoneme + { + TextPhoneme(std::nullptr_t) noexcept {} + TextPhoneme(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ITextPhoneme(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TextPredictionGenerator : winrt::Windows::Data::Text::ITextPredictionGenerator, + impl::require + { + TextPredictionGenerator(std::nullptr_t) noexcept {} + TextPredictionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ITextPredictionGenerator(ptr, take_ownership_from_abi) {} + explicit TextPredictionGenerator(param::hstring const& languageTag); + using winrt::Windows::Data::Text::ITextPredictionGenerator::GetCandidatesAsync; + using impl::consume_t::GetCandidatesAsync; + }; + struct WINRT_IMPL_EMPTY_BASES TextReverseConversionGenerator : winrt::Windows::Data::Text::ITextReverseConversionGenerator, + impl::require + { + TextReverseConversionGenerator(std::nullptr_t) noexcept {} + TextReverseConversionGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::ITextReverseConversionGenerator(ptr, take_ownership_from_abi) {} + explicit TextReverseConversionGenerator(param::hstring const& languageTag); + }; + struct UnicodeCharacters + { + UnicodeCharacters() = delete; + static auto GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate); + static auto GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate); + static auto IsHighSurrogate(uint32_t codepoint); + static auto IsLowSurrogate(uint32_t codepoint); + static auto IsSupplementary(uint32_t codepoint); + static auto IsNoncharacter(uint32_t codepoint); + static auto IsWhitespace(uint32_t codepoint); + static auto IsAlphabetic(uint32_t codepoint); + static auto IsCased(uint32_t codepoint); + static auto IsUppercase(uint32_t codepoint); + static auto IsLowercase(uint32_t codepoint); + static auto IsIdStart(uint32_t codepoint); + static auto IsIdContinue(uint32_t codepoint); + static auto IsGraphemeBase(uint32_t codepoint); + static auto IsGraphemeExtend(uint32_t codepoint); + static auto GetNumericType(uint32_t codepoint); + static auto GetGeneralCategory(uint32_t codepoint); + }; + struct WINRT_IMPL_EMPTY_BASES WordSegment : winrt::Windows::Data::Text::IWordSegment + { + WordSegment(std::nullptr_t) noexcept {} + WordSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::IWordSegment(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WordsSegmenter : winrt::Windows::Data::Text::IWordsSegmenter + { + WordsSegmenter(std::nullptr_t) noexcept {} + WordsSegmenter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Text::IWordsSegmenter(ptr, take_ownership_from_abi) {} + explicit WordsSegmenter(param::hstring const& language); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.0.h new file mode 100644 index 0000000000000000000000000000000000000000..08686a29e8ba054b1827b0501d668f7f470d68eb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.0.h @@ -0,0 +1,752 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Dom_0_H +#define WINRT_Windows_Data_Xml_Dom_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + enum class NodeType : int32_t + { + Invalid = 0, + ElementNode = 1, + AttributeNode = 2, + TextNode = 3, + DataSectionNode = 4, + EntityReferenceNode = 5, + EntityNode = 6, + ProcessingInstructionNode = 7, + CommentNode = 8, + DocumentNode = 9, + DocumentTypeNode = 10, + DocumentFragmentNode = 11, + NotationNode = 12, + }; + struct IDtdEntity; + struct IDtdNotation; + struct IXmlAttribute; + struct IXmlCDataSection; + struct IXmlCharacterData; + struct IXmlComment; + struct IXmlDocument; + struct IXmlDocumentFragment; + struct IXmlDocumentIO; + struct IXmlDocumentIO2; + struct IXmlDocumentStatics; + struct IXmlDocumentType; + struct IXmlDomImplementation; + struct IXmlElement; + struct IXmlEntityReference; + struct IXmlLoadSettings; + struct IXmlNamedNodeMap; + struct IXmlNode; + struct IXmlNodeList; + struct IXmlNodeSelector; + struct IXmlNodeSerializer; + struct IXmlProcessingInstruction; + struct IXmlText; + struct DtdEntity; + struct DtdNotation; + struct XmlAttribute; + struct XmlCDataSection; + struct XmlComment; + struct XmlDocument; + struct XmlDocumentFragment; + struct XmlDocumentType; + struct XmlDomImplementation; + struct XmlElement; + struct XmlEntityReference; + struct XmlLoadSettings; + struct XmlNamedNodeMap; + struct XmlNodeList; + struct XmlProcessingInstruction; + struct XmlText; +} +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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.DtdEntity"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.DtdNotation"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlAttribute"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlCDataSection"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlComment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlDocument"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlDocumentFragment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlDocumentType"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlDomImplementation"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlElement"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlEntityReference"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlLoadSettings"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlNamedNodeMap"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlNodeList"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlProcessingInstruction"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.XmlText"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.NodeType"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IDtdEntity"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IDtdNotation"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlAttribute"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlCDataSection"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlCharacterData"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlComment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocument"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocumentFragment"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocumentIO"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocumentIO2"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocumentStatics"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDocumentType"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlDomImplementation"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlElement"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlEntityReference"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlLoadSettings"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlNamedNodeMap"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlNode"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlNodeList"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlNodeSelector"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlNodeSerializer"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlProcessingInstruction"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Dom.IXmlText"; + template <> inline constexpr guid guid_v{ 0x6A0B5FFC,0x63B4,0x480F,{ 0x9E,0x6A,0x8A,0x92,0x81,0x6A,0xAD,0xE4 } }; // 6A0B5FFC-63B4-480F-9E6A-8A92816AADE4 + template <> inline constexpr guid guid_v{ 0x8CB4E04D,0x6D46,0x4EDB,{ 0xAB,0x73,0xDF,0x83,0xC5,0x1A,0xD3,0x97 } }; // 8CB4E04D-6D46-4EDB-AB73-DF83C51AD397 + template <> inline constexpr guid guid_v{ 0xAC144AA4,0xB4F1,0x4DB6,{ 0xB2,0x06,0x8A,0x22,0xC3,0x08,0xDB,0x0A } }; // AC144AA4-B4F1-4DB6-B206-8A22C308DB0A + template <> inline constexpr guid guid_v{ 0x4D04B46F,0xC8BD,0x45B4,{ 0x88,0x99,0x04,0x00,0xD7,0xC2,0xC6,0x0F } }; // 4D04B46F-C8BD-45B4-8899-0400D7C2C60F + template <> inline constexpr guid guid_v{ 0x132E42AB,0x4E36,0x4DF6,{ 0xB1,0xC8,0x0C,0xE6,0x2F,0xD8,0x8B,0x26 } }; // 132E42AB-4E36-4DF6-B1C8-0CE62FD88B26 + template <> inline constexpr guid guid_v{ 0xBCA474D5,0xB61F,0x4611,{ 0x9C,0xAC,0x2E,0x92,0xE3,0x47,0x6D,0x47 } }; // BCA474D5-B61F-4611-9CAC-2E92E3476D47 + template <> inline constexpr guid guid_v{ 0xF7F3A506,0x1E87,0x42D6,{ 0xBC,0xFB,0xB8,0xC8,0x09,0xFA,0x54,0x94 } }; // F7F3A506-1E87-42D6-BCFB-B8C809FA5494 + template <> inline constexpr guid guid_v{ 0xE2EA6A96,0x0C21,0x44A5,{ 0x8B,0xC9,0x9E,0x4A,0x26,0x27,0x08,0xEC } }; // E2EA6A96-0C21-44A5-8BC9-9E4A262708EC + template <> inline constexpr guid guid_v{ 0x6CD0E74E,0xEE65,0x4489,{ 0x9E,0xBF,0xCA,0x43,0xE8,0x7B,0xA6,0x37 } }; // 6CD0E74E-EE65-4489-9EBF-CA43E87BA637 + template <> inline constexpr guid guid_v{ 0x5D034661,0x7BD8,0x4AD5,{ 0x9E,0xBF,0x81,0xE6,0x34,0x72,0x63,0xB1 } }; // 5D034661-7BD8-4AD5-9EBF-81E6347263B1 + template <> inline constexpr guid guid_v{ 0x5543D254,0xD757,0x4B79,{ 0x95,0x39,0x23,0x2B,0x18,0xF5,0x0B,0xF1 } }; // 5543D254-D757-4B79-9539-232B18F50BF1 + template <> inline constexpr guid guid_v{ 0xF7342425,0x9781,0x4964,{ 0x8E,0x94,0x9B,0x1C,0x6D,0xFC,0x9B,0xC7 } }; // F7342425-9781-4964-8E94-9B1C6DFC9BC7 + template <> inline constexpr guid guid_v{ 0x6DE58132,0xF11D,0x4FBB,{ 0x8C,0xC6,0x58,0x3C,0xBA,0x93,0x11,0x2F } }; // 6DE58132-F11D-4FBB-8CC6-583CBA93112F + template <> inline constexpr guid guid_v{ 0x2DFB8A1F,0x6B10,0x4EF8,{ 0x9F,0x83,0xEF,0xCC,0xE8,0xFA,0xEC,0x37 } }; // 2DFB8A1F-6B10-4EF8-9F83-EFCCE8FAEC37 + template <> inline constexpr guid guid_v{ 0x2E2F47BC,0xC3D0,0x4CCF,{ 0xBB,0x86,0x0A,0xB8,0xC3,0x6A,0x61,0xCF } }; // 2E2F47BC-C3D0-4CCF-BB86-0AB8C36A61CF + template <> inline constexpr guid guid_v{ 0x58AA07A8,0xFED6,0x46F7,{ 0xB4,0xC5,0xFB,0x1B,0xA7,0x21,0x08,0xD6 } }; // 58AA07A8-FED6-46F7-B4C5-FB1BA72108D6 + template <> inline constexpr guid guid_v{ 0xB3A69EB0,0xAAB0,0x4B82,{ 0xA6,0xFA,0xB1,0x45,0x3F,0x7C,0x02,0x1B } }; // B3A69EB0-AAB0-4B82-A6FA-B1453F7C021B + template <> inline constexpr guid guid_v{ 0x1C741D59,0x2122,0x47D5,{ 0xA8,0x56,0x83,0xF3,0xD4,0x21,0x48,0x75 } }; // 1C741D59-2122-47D5-A856-83F3D4214875 + template <> inline constexpr guid guid_v{ 0x8C60AD77,0x83A4,0x4EC1,{ 0x9C,0x54,0x7B,0xA4,0x29,0xE1,0x3D,0xA6 } }; // 8C60AD77-83A4-4EC1-9C54-7BA429E13DA6 + template <> inline constexpr guid guid_v{ 0x63DBBA8B,0xD0DB,0x4FE1,{ 0xB7,0x45,0xF9,0x43,0x3A,0xFD,0xC2,0x5B } }; // 63DBBA8B-D0DB-4FE1-B745-F9433AFDC25B + template <> inline constexpr guid guid_v{ 0x5CC5B382,0xE6DD,0x4991,{ 0xAB,0xEF,0x06,0xD8,0xD2,0xE7,0xBD,0x0C } }; // 5CC5B382-E6DD-4991-ABEF-06D8D2E7BD0C + template <> inline constexpr guid guid_v{ 0x2707FD1E,0x1E92,0x4ECE,{ 0xB6,0xF4,0x26,0xF0,0x69,0x07,0x8D,0xDC } }; // 2707FD1E-1E92-4ECE-B6F4-26F069078DDC + template <> inline constexpr guid guid_v{ 0xF931A4CB,0x308D,0x4760,{ 0xA1,0xD5,0x43,0xB6,0x74,0x50,0xAC,0x7E } }; // F931A4CB-308D-4760-A1D5-43B67450AC7E + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IDtdEntity; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IDtdNotation; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlAttribute; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlCDataSection; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlComment; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlDocument; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlDocumentFragment; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlDocumentType; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlDomImplementation; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlElement; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlEntityReference; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlLoadSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlNodeList; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction; }; + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Dom::IXmlText; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PublicId(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemId(void**) noexcept = 0; + virtual int32_t __stdcall get_NotationName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PublicId(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Specified(bool*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SubstringData(uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall AppendData(void*) noexcept = 0; + virtual int32_t __stdcall InsertData(uint32_t, void*) noexcept = 0; + virtual int32_t __stdcall DeleteData(uint32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall ReplaceData(uint32_t, uint32_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Doctype(void**) noexcept = 0; + virtual int32_t __stdcall get_Implementation(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentElement(void**) noexcept = 0; + virtual int32_t __stdcall CreateElement(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDocumentFragment(void**) noexcept = 0; + virtual int32_t __stdcall CreateTextNode(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateComment(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateProcessingInstruction(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateAttribute(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEntityReference(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetElementsByTagName(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCDataSection(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentUri(void**) noexcept = 0; + virtual int32_t __stdcall CreateAttributeNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateElementNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetElementById(void*, void**) noexcept = 0; + virtual int32_t __stdcall ImportNode(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadXml(void*) noexcept = 0; + virtual int32_t __stdcall LoadXmlWithSettings(void*, void*) noexcept = 0; + virtual int32_t __stdcall SaveToFileAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadXmlFromBuffer(void*) noexcept = 0; + virtual int32_t __stdcall LoadXmlFromBufferWithSettings(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadFromUriAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromUriWithSettingsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFromFileWithSettingsAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Entities(void**) noexcept = 0; + virtual int32_t __stdcall get_Notations(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall HasFeature(void*, void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TagName(void**) noexcept = 0; + virtual int32_t __stdcall GetAttribute(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetAttribute(void*, void*) noexcept = 0; + virtual int32_t __stdcall RemoveAttribute(void*) noexcept = 0; + virtual int32_t __stdcall GetAttributeNode(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetAttributeNode(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveAttributeNode(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetElementsByTagName(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetAttributeNS(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall GetAttributeNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveAttributeNS(void*, void*) noexcept = 0; + virtual int32_t __stdcall SetAttributeNodeNS(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAttributeNodeNS(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxElementDepth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxElementDepth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ProhibitDtd(bool*) noexcept = 0; + virtual int32_t __stdcall put_ProhibitDtd(bool) noexcept = 0; + virtual int32_t __stdcall get_ResolveExternals(bool*) noexcept = 0; + virtual int32_t __stdcall put_ResolveExternals(bool) noexcept = 0; + virtual int32_t __stdcall get_ValidateOnParse(bool*) noexcept = 0; + virtual int32_t __stdcall put_ValidateOnParse(bool) noexcept = 0; + virtual int32_t __stdcall get_ElementContentWhiteSpace(bool*) noexcept = 0; + virtual int32_t __stdcall put_ElementContentWhiteSpace(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall Item(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedItem(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetNamedItem(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveNamedItem(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNamedItemNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveNamedItemNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetNamedItemNS(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NodeValue(void**) noexcept = 0; + virtual int32_t __stdcall put_NodeValue(void*) noexcept = 0; + virtual int32_t __stdcall get_NodeType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NodeName(void**) noexcept = 0; + virtual int32_t __stdcall get_ParentNode(void**) noexcept = 0; + virtual int32_t __stdcall get_ChildNodes(void**) noexcept = 0; + virtual int32_t __stdcall get_FirstChild(void**) noexcept = 0; + virtual int32_t __stdcall get_LastChild(void**) noexcept = 0; + virtual int32_t __stdcall get_PreviousSibling(void**) noexcept = 0; + virtual int32_t __stdcall get_NextSibling(void**) noexcept = 0; + virtual int32_t __stdcall get_Attributes(void**) noexcept = 0; + virtual int32_t __stdcall HasChildNodes(bool*) noexcept = 0; + virtual int32_t __stdcall get_OwnerDocument(void**) noexcept = 0; + virtual int32_t __stdcall InsertBefore(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ReplaceChild(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveChild(void*, void**) noexcept = 0; + virtual int32_t __stdcall AppendChild(void*, void**) noexcept = 0; + virtual int32_t __stdcall CloneNode(bool, void**) noexcept = 0; + virtual int32_t __stdcall get_NamespaceUri(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalName(void**) noexcept = 0; + virtual int32_t __stdcall get_Prefix(void**) noexcept = 0; + virtual int32_t __stdcall Normalize() noexcept = 0; + virtual int32_t __stdcall put_Prefix(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall Item(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SelectSingleNode(void*, void**) noexcept = 0; + virtual int32_t __stdcall SelectNodes(void*, void**) noexcept = 0; + virtual int32_t __stdcall SelectSingleNodeNS(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SelectNodesNS(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetXml(void**) noexcept = 0; + virtual int32_t __stdcall get_InnerText(void**) noexcept = 0; + virtual int32_t __stdcall put_InnerText(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Target(void**) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SplitText(uint32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Xml_Dom_IDtdEntity + { + [[nodiscard]] auto PublicId() const; + [[nodiscard]] auto SystemId() const; + [[nodiscard]] auto NotationName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IDtdEntity; + }; + template + struct consume_Windows_Data_Xml_Dom_IDtdNotation + { + [[nodiscard]] auto PublicId() const; + [[nodiscard]] auto SystemId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IDtdNotation; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlAttribute + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Specified() const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlAttribute; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlCDataSection + { + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlCDataSection; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlCharacterData + { + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; + [[nodiscard]] auto Length() const; + auto SubstringData(uint32_t offset, uint32_t count) const; + auto AppendData(param::hstring const& data) const; + auto InsertData(uint32_t offset, param::hstring const& data) const; + auto DeleteData(uint32_t offset, uint32_t count) const; + auto ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlCharacterData; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlComment + { + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlComment; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocument + { + [[nodiscard]] auto Doctype() const; + [[nodiscard]] auto Implementation() const; + [[nodiscard]] auto DocumentElement() const; + auto CreateElement(param::hstring const& tagName) const; + auto CreateDocumentFragment() const; + auto CreateTextNode(param::hstring const& data) const; + auto CreateComment(param::hstring const& data) const; + auto CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const; + auto CreateAttribute(param::hstring const& name) const; + auto CreateEntityReference(param::hstring const& name) const; + auto GetElementsByTagName(param::hstring const& tagName) const; + auto CreateCDataSection(param::hstring const& data) const; + [[nodiscard]] auto DocumentUri() const; + auto CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; + auto CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; + auto GetElementById(param::hstring const& elementId) const; + auto ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocument; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocumentFragment + { + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocumentFragment; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO + { + auto LoadXml(param::hstring const& xml) const; + auto LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocumentIO; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO2 + { + auto LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocumentIO2; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocumentStatics + { + auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocumentStatics; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDocumentType + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Entities() const; + [[nodiscard]] auto Notations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDocumentType; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlDomImplementation + { + auto HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlDomImplementation; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlElement + { + [[nodiscard]] auto TagName() const; + auto GetAttribute(param::hstring const& attributeName) const; + auto SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const; + auto RemoveAttribute(param::hstring const& attributeName) const; + auto GetAttributeNode(param::hstring const& attributeName) const; + auto SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; + auto RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const; + auto GetElementsByTagName(param::hstring const& tagName) const; + auto SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const; + auto GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + auto RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + auto SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; + auto GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlElement; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlEntityReference + { + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlEntityReference; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlLoadSettings + { + [[nodiscard]] auto MaxElementDepth() const; + auto MaxElementDepth(uint32_t value) const; + [[nodiscard]] auto ProhibitDtd() const; + auto ProhibitDtd(bool value) const; + [[nodiscard]] auto ResolveExternals() const; + auto ResolveExternals(bool value) const; + [[nodiscard]] auto ValidateOnParse() const; + auto ValidateOnParse(bool value) const; + [[nodiscard]] auto ElementContentWhiteSpace() const; + auto ElementContentWhiteSpace(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlLoadSettings; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap + { + [[nodiscard]] auto Length() const; + auto Item(uint32_t index) const; + auto GetNamedItem(param::hstring const& name) const; + auto SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; + auto RemoveNamedItem(param::hstring const& name) const; + auto GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; + auto RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; + auto SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlNode + { + [[nodiscard]] auto NodeValue() const; + auto NodeValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto NodeType() const; + [[nodiscard]] auto NodeName() const; + [[nodiscard]] auto ParentNode() const; + [[nodiscard]] auto ChildNodes() const; + [[nodiscard]] auto FirstChild() const; + [[nodiscard]] auto LastChild() const; + [[nodiscard]] auto PreviousSibling() const; + [[nodiscard]] auto NextSibling() const; + [[nodiscard]] auto Attributes() const; + auto HasChildNodes() const; + [[nodiscard]] auto OwnerDocument() const; + auto InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; + auto ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; + auto RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const; + auto AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const; + auto CloneNode(bool deep) const; + [[nodiscard]] auto NamespaceUri() const; + [[nodiscard]] auto LocalName() const; + [[nodiscard]] auto Prefix() const; + auto Normalize() const; + auto Prefix(winrt::Windows::Foundation::IInspectable const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlNode; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlNodeList + { + [[nodiscard]] auto Length() const; + auto Item(uint32_t index) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlNodeList; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlNodeSelector + { + auto SelectSingleNode(param::hstring const& xpath) const; + auto SelectNodes(param::hstring const& xpath) const; + auto SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; + auto SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlNodeSelector; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlNodeSerializer + { + auto GetXml() const; + [[nodiscard]] auto InnerText() const; + auto InnerText(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlNodeSerializer; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction + { + [[nodiscard]] auto Target() const; + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction; + }; + template + struct consume_Windows_Data_Xml_Dom_IXmlText + { + auto SplitText(uint32_t offset) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Dom_IXmlText; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.1.h new file mode 100644 index 0000000000000000000000000000000000000000..37c8488b266a33d31a87049112d99b8939d58902 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.1.h @@ -0,0 +1,191 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Dom_1_H +#define WINRT_Windows_Data_Xml_Dom_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.Data.Xml.Dom.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct WINRT_IMPL_EMPTY_BASES IDtdEntity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDtdEntity(std::nullptr_t = nullptr) noexcept {} + IDtdEntity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDtdNotation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDtdNotation(std::nullptr_t = nullptr) noexcept {} + IDtdNotation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlAttribute : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlAttribute(std::nullptr_t = nullptr) noexcept {} + IXmlAttribute(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlCDataSection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlCDataSection(std::nullptr_t = nullptr) noexcept {} + IXmlCDataSection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlCharacterData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlCharacterData(std::nullptr_t = nullptr) noexcept {} + IXmlCharacterData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlComment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlComment(std::nullptr_t = nullptr) noexcept {} + IXmlComment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocument : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlDocument(std::nullptr_t = nullptr) noexcept {} + IXmlDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocumentFragment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlDocumentFragment(std::nullptr_t = nullptr) noexcept {} + IXmlDocumentFragment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocumentIO : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlDocumentIO(std::nullptr_t = nullptr) noexcept {} + IXmlDocumentIO(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocumentIO2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlDocumentIO2(std::nullptr_t = nullptr) noexcept {} + IXmlDocumentIO2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocumentStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlDocumentStatics(std::nullptr_t = nullptr) noexcept {} + IXmlDocumentStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDocumentType : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlDocumentType(std::nullptr_t = nullptr) noexcept {} + IXmlDocumentType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlDomImplementation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlDomImplementation(std::nullptr_t = nullptr) noexcept {} + IXmlDomImplementation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlElement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlElement(std::nullptr_t = nullptr) noexcept {} + IXmlElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlEntityReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlEntityReference(std::nullptr_t = nullptr) noexcept {} + IXmlEntityReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlLoadSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlLoadSettings(std::nullptr_t = nullptr) noexcept {} + IXmlLoadSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlNamedNodeMap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require, winrt::Windows::Foundation::Collections::IVectorView> + { + IXmlNamedNodeMap(std::nullptr_t = nullptr) noexcept {} + IXmlNamedNodeMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlNode(std::nullptr_t = nullptr) noexcept {} + IXmlNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlNodeList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require, winrt::Windows::Foundation::Collections::IVectorView> + { + IXmlNodeList(std::nullptr_t = nullptr) noexcept {} + IXmlNodeList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlNodeSelector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlNodeSelector(std::nullptr_t = nullptr) noexcept {} + IXmlNodeSelector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlNodeSerializer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXmlNodeSerializer(std::nullptr_t = nullptr) noexcept {} + IXmlNodeSerializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlProcessingInstruction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlProcessingInstruction(std::nullptr_t = nullptr) noexcept {} + IXmlProcessingInstruction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXmlText : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXmlText(std::nullptr_t = nullptr) noexcept {} + IXmlText(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.2.h new file mode 100644 index 0000000000000000000000000000000000000000..cc50918541999b5cd16647d0ebc0379a3fff5d38 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.dom.2.h @@ -0,0 +1,103 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Dom_2_H +#define WINRT_Windows_Data_Xml_Dom_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Data.Xml.Dom.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct WINRT_IMPL_EMPTY_BASES DtdEntity : winrt::Windows::Data::Xml::Dom::IDtdEntity + { + DtdEntity(std::nullptr_t) noexcept {} + DtdEntity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IDtdEntity(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DtdNotation : winrt::Windows::Data::Xml::Dom::IDtdNotation + { + DtdNotation(std::nullptr_t) noexcept {} + DtdNotation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IDtdNotation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlAttribute : winrt::Windows::Data::Xml::Dom::IXmlAttribute + { + XmlAttribute(std::nullptr_t) noexcept {} + XmlAttribute(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlAttribute(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlCDataSection : winrt::Windows::Data::Xml::Dom::IXmlCDataSection + { + XmlCDataSection(std::nullptr_t) noexcept {} + XmlCDataSection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlCDataSection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlComment : winrt::Windows::Data::Xml::Dom::IXmlComment + { + XmlComment(std::nullptr_t) noexcept {} + XmlComment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlComment(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlDocument : winrt::Windows::Data::Xml::Dom::IXmlDocument, + impl::require + { + XmlDocument(std::nullptr_t) noexcept {} + XmlDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlDocument(ptr, take_ownership_from_abi) {} + XmlDocument(); + static auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri); + static auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings); + static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file); + static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings); + }; + struct WINRT_IMPL_EMPTY_BASES XmlDocumentFragment : winrt::Windows::Data::Xml::Dom::IXmlDocumentFragment + { + XmlDocumentFragment(std::nullptr_t) noexcept {} + XmlDocumentFragment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlDocumentFragment(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlDocumentType : winrt::Windows::Data::Xml::Dom::IXmlDocumentType + { + XmlDocumentType(std::nullptr_t) noexcept {} + XmlDocumentType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlDocumentType(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlDomImplementation : winrt::Windows::Data::Xml::Dom::IXmlDomImplementation + { + XmlDomImplementation(std::nullptr_t) noexcept {} + XmlDomImplementation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlDomImplementation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlElement : winrt::Windows::Data::Xml::Dom::IXmlElement + { + XmlElement(std::nullptr_t) noexcept {} + XmlElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlElement(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlEntityReference : winrt::Windows::Data::Xml::Dom::IXmlEntityReference + { + XmlEntityReference(std::nullptr_t) noexcept {} + XmlEntityReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlEntityReference(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlLoadSettings : winrt::Windows::Data::Xml::Dom::IXmlLoadSettings + { + XmlLoadSettings(std::nullptr_t) noexcept {} + XmlLoadSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlLoadSettings(ptr, take_ownership_from_abi) {} + XmlLoadSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES XmlNamedNodeMap : winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap + { + XmlNamedNodeMap(std::nullptr_t) noexcept {} + XmlNamedNodeMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlNodeList : winrt::Windows::Data::Xml::Dom::IXmlNodeList + { + XmlNodeList(std::nullptr_t) noexcept {} + XmlNodeList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlNodeList(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlProcessingInstruction : winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction + { + XmlProcessingInstruction(std::nullptr_t) noexcept {} + XmlProcessingInstruction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XmlText : winrt::Windows::Data::Xml::Dom::IXmlText + { + XmlText(std::nullptr_t) noexcept {} + XmlText(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Dom::IXmlText(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f8a26a18734a88c291ecc9c484c32a9b30640a27 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.0.h @@ -0,0 +1,84 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Xsl_0_H +#define WINRT_Windows_Data_Xml_Xsl_0_H +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct IXmlNode; + struct XmlDocument; +} +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Xsl +{ + struct IXsltProcessor; + struct IXsltProcessor2; + struct IXsltProcessorFactory; + struct XsltProcessor; +} +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 = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Xsl.XsltProcessor"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Xsl.IXsltProcessor"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Xsl.IXsltProcessor2"; + template <> inline constexpr auto& name_v = L"Windows.Data.Xml.Xsl.IXsltProcessorFactory"; + template <> inline constexpr guid guid_v{ 0x7B64703F,0x550C,0x48C6,{ 0xA9,0x0F,0x93,0xA5,0xB9,0x64,0x51,0x8F } }; // 7B64703F-550C-48C6-A90F-93A5B964518F + template <> inline constexpr guid guid_v{ 0x8DA45C56,0x97A5,0x44CB,{ 0xA8,0xBE,0x27,0xD8,0x62,0x80,0xC7,0x0A } }; // 8DA45C56-97A5-44CB-A8BE-27D86280C70A + template <> inline constexpr guid guid_v{ 0x274146C0,0x9A51,0x4663,{ 0xBF,0x30,0x0E,0xF7,0x42,0x14,0x6F,0x20 } }; // 274146C0-9A51-4663-BF30-0EF742146F20 + template <> struct default_interface{ using type = winrt::Windows::Data::Xml::Xsl::IXsltProcessor; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TransformToString(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TransformToDocument(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Data_Xml_Xsl_IXsltProcessor + { + auto TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Xsl_IXsltProcessor; + }; + template + struct consume_Windows_Data_Xml_Xsl_IXsltProcessor2 + { + auto TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Xsl_IXsltProcessor2; + }; + template + struct consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory + { + auto CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const; + }; + template <> struct consume + { + template using type = consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.1.h new file mode 100644 index 0000000000000000000000000000000000000000..114916a36f16264cf05988895d8c3e669a103973 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Xsl_1_H +#define WINRT_Windows_Data_Xml_Xsl_1_H +#include "winrt/impl/Windows.Data.Xml.Xsl.0.h" +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Xsl +{ + struct WINRT_IMPL_EMPTY_BASES IXsltProcessor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXsltProcessor(std::nullptr_t = nullptr) noexcept {} + IXsltProcessor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXsltProcessor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXsltProcessor2(std::nullptr_t = nullptr) noexcept {} + IXsltProcessor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXsltProcessorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXsltProcessorFactory(std::nullptr_t = nullptr) noexcept {} + IXsltProcessorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0bf99f738275e340f0aaed3e215c085c5117f9c8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.data.xml.xsl.2.h @@ -0,0 +1,21 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Data_Xml_Xsl_2_H +#define WINRT_Windows_Data_Xml_Xsl_2_H +#include "winrt/impl/Windows.Data.Xml.Dom.1.h" +#include "winrt/impl/Windows.Data.Xml.Xsl.1.h" +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Xsl +{ + struct WINRT_IMPL_EMPTY_BASES XsltProcessor : winrt::Windows::Data::Xml::Xsl::IXsltProcessor, + impl::require + { + XsltProcessor(std::nullptr_t) noexcept {} + XsltProcessor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Xml::Xsl::IXsltProcessor(ptr, take_ownership_from_abi) {} + explicit XsltProcessor(winrt::Windows::Data::Xml::Dom::XmlDocument const& document); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.0.h new file mode 100644 index 0000000000000000000000000000000000000000..995e05f71850012deb9a48a01673f2afbda46017 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.0.h @@ -0,0 +1,133 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_0_H +#define WINRT_Windows_Devices_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider +{ + struct IAdcControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider +{ + struct IGpioControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider +{ + struct II2cControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider +{ + struct IPwmControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider +{ + struct ISpiControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices +{ + struct ILowLevelDevicesAggregateProvider; + struct ILowLevelDevicesAggregateProviderFactory; + struct ILowLevelDevicesController; + struct ILowLevelDevicesControllerStatics; + struct LowLevelDevicesAggregateProvider; + struct LowLevelDevicesController; + struct DevicesLowLevelContract; +} +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.Devices.LowLevelDevicesAggregateProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.LowLevelDevicesController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.ILowLevelDevicesAggregateProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.ILowLevelDevicesAggregateProviderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.ILowLevelDevicesController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.ILowLevelDevicesControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.DevicesLowLevelContract"; + template <> inline constexpr guid guid_v{ 0xA73E561C,0xAAC1,0x4EC7,{ 0xA8,0x52,0x47,0x9F,0x70,0x60,0xD0,0x1F } }; // A73E561C-AAC1-4EC7-A852-479F7060D01F + template <> inline constexpr guid guid_v{ 0x9AC4AAF6,0x3473,0x465E,{ 0x96,0xD5,0x36,0x28,0x1A,0x2C,0x57,0xAF } }; // 9AC4AAF6-3473-465E-96D5-36281A2C57AF + template <> inline constexpr guid guid_v{ 0x2EC23DD4,0x179B,0x45DE,{ 0x9B,0x39,0x3A,0xE0,0x25,0x27,0xDE,0x52 } }; // 2EC23DD4-179B-45DE-9B39-3AE02527DE52 + template <> inline constexpr guid guid_v{ 0x093E926A,0xFCCB,0x4394,{ 0xA6,0x97,0x19,0xDE,0x63,0x7C,0x2D,0xB3 } }; // 093E926A-FCCB-4394-A697-19DE637C2DB3 + template <> struct default_interface{ using type = winrt::Windows::Devices::ILowLevelDevicesAggregateProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::ILowLevelDevicesController; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AdcControllerProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_PwmControllerProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_GpioControllerProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_I2cControllerProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_SpiControllerProvider(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DefaultProvider(void**) noexcept = 0; + virtual int32_t __stdcall put_DefaultProvider(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_ILowLevelDevicesAggregateProvider + { + [[nodiscard]] auto AdcControllerProvider() const; + [[nodiscard]] auto PwmControllerProvider() const; + [[nodiscard]] auto GpioControllerProvider() const; + [[nodiscard]] auto I2cControllerProvider() const; + [[nodiscard]] auto SpiControllerProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_ILowLevelDevicesAggregateProvider; + }; + template + struct consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory + { + auto Create(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory; + }; + template + struct consume_Windows_Devices_ILowLevelDevicesController + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_ILowLevelDevicesController; + }; + template + struct consume_Windows_Devices_ILowLevelDevicesControllerStatics + { + [[nodiscard]] auto DefaultProvider() const; + auto DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_ILowLevelDevicesControllerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.1.h new file mode 100644 index 0000000000000000000000000000000000000000..df8b7e955126d537bcee18f5e935ec4ee45ce6ee --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_1_H +#define WINRT_Windows_Devices_1_H +#include "winrt/impl/Windows.Devices.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices +{ + struct WINRT_IMPL_EMPTY_BASES ILowLevelDevicesAggregateProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLevelDevicesAggregateProvider(std::nullptr_t = nullptr) noexcept {} + ILowLevelDevicesAggregateProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLevelDevicesAggregateProviderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLevelDevicesAggregateProviderFactory(std::nullptr_t = nullptr) noexcept {} + ILowLevelDevicesAggregateProviderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLevelDevicesController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLevelDevicesController(std::nullptr_t = nullptr) noexcept {} + ILowLevelDevicesController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLevelDevicesControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLevelDevicesControllerStatics(std::nullptr_t = nullptr) noexcept {} + ILowLevelDevicesControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.2.h new file mode 100644 index 0000000000000000000000000000000000000000..c17495395c5f5785ff869c8cb14bc336441e77a8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_2_H +#define WINRT_Windows_Devices_2_H +#include "winrt/impl/Windows.Devices.Adc.Provider.1.h" +#include "winrt/impl/Windows.Devices.Gpio.Provider.1.h" +#include "winrt/impl/Windows.Devices.I2c.Provider.1.h" +#include "winrt/impl/Windows.Devices.Pwm.Provider.1.h" +#include "winrt/impl/Windows.Devices.Spi.Provider.1.h" +#include "winrt/impl/Windows.Devices.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices +{ + struct WINRT_IMPL_EMPTY_BASES LowLevelDevicesAggregateProvider : winrt::Windows::Devices::ILowLevelDevicesAggregateProvider + { + LowLevelDevicesAggregateProvider(std::nullptr_t) noexcept {} + LowLevelDevicesAggregateProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::ILowLevelDevicesAggregateProvider(ptr, take_ownership_from_abi) {} + LowLevelDevicesAggregateProvider(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi); + }; + struct WINRT_IMPL_EMPTY_BASES LowLevelDevicesController : winrt::Windows::Devices::ILowLevelDevicesController + { + LowLevelDevicesController(std::nullptr_t) noexcept {} + LowLevelDevicesController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::ILowLevelDevicesController(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto DefaultProvider(); + static auto DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.0.h new file mode 100644 index 0000000000000000000000000000000000000000..865bf584d2cbe28d8f879725aa2d38db8f2a32fb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.0.h @@ -0,0 +1,132 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_0_H +#define WINRT_Windows_Devices_Adc_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider +{ + struct IAdcProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Adc +{ + enum class AdcChannelMode : int32_t + { + SingleEnded = 0, + Differential = 1, + }; + struct IAdcChannel; + struct IAdcController; + struct IAdcControllerStatics; + struct IAdcControllerStatics2; + struct AdcChannel; + struct AdcController; +} +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 <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.AdcChannel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.AdcController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.AdcChannelMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.IAdcChannel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.IAdcController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.IAdcControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.IAdcControllerStatics2"; + template <> inline constexpr guid guid_v{ 0x040BF414,0x2588,0x4A56,{ 0xAB,0xEF,0x73,0xA2,0x60,0xAC,0xC6,0x0A } }; // 040BF414-2588-4A56-ABEF-73A260ACC60A + template <> inline constexpr guid guid_v{ 0x2A76E4B0,0xA896,0x4219,{ 0x86,0xB6,0xEA,0x8C,0xDC,0xE9,0x8F,0x56 } }; // 2A76E4B0-A896-4219-86B6-EA8CDCE98F56 + template <> inline constexpr guid guid_v{ 0xCCE98E0C,0x01F8,0x4891,{ 0xBC,0x3B,0xBE,0x53,0xEF,0x27,0x9C,0xA4 } }; // CCE98E0C-01F8-4891-BC3B-BE53EF279CA4 + template <> inline constexpr guid guid_v{ 0xA2B93B1D,0x977B,0x4F5A,{ 0xA5,0xFE,0xA6,0xAB,0xAF,0xFE,0x64,0x84 } }; // A2B93B1D-977B-4F5A-A5FE-A6ABAFFE6484 + template <> struct default_interface{ using type = winrt::Windows::Devices::Adc::IAdcChannel; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Adc::IAdcController; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Controller(void**) noexcept = 0; + virtual int32_t __stdcall ReadValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall ReadRatio(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChannelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResolutionInBits(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ChannelMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ChannelMode(int32_t) noexcept = 0; + virtual int32_t __stdcall IsChannelModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall OpenChannel(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Adc_IAdcChannel + { + [[nodiscard]] auto Controller() const; + auto ReadValue() const; + auto ReadRatio() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_IAdcChannel; + }; + template + struct consume_Windows_Devices_Adc_IAdcController + { + [[nodiscard]] auto ChannelCount() const; + [[nodiscard]] auto ResolutionInBits() const; + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; + [[nodiscard]] auto ChannelMode() const; + auto ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const; + auto IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const; + auto OpenChannel(int32_t channelNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_IAdcController; + }; + template + struct consume_Windows_Devices_Adc_IAdcControllerStatics + { + auto GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_IAdcControllerStatics; + }; + template + struct consume_Windows_Devices_Adc_IAdcControllerStatics2 + { + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_IAdcControllerStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e0c8ee4cb615ccc711fbcca8846a3d3ef9a88f2d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.1.h @@ -0,0 +1,43 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_1_H +#define WINRT_Windows_Devices_Adc_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Adc.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Adc +{ + struct WINRT_IMPL_EMPTY_BASES IAdcChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAdcChannel(std::nullptr_t = nullptr) noexcept {} + IAdcChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdcController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdcController(std::nullptr_t = nullptr) noexcept {} + IAdcController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdcControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdcControllerStatics(std::nullptr_t = nullptr) noexcept {} + IAdcControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdcControllerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdcControllerStatics2(std::nullptr_t = nullptr) noexcept {} + IAdcControllerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b0076ce513c81b749ba331cafda7c1e543164b6d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.2.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_2_H +#define WINRT_Windows_Devices_Adc_2_H +#include "winrt/impl/Windows.Devices.Adc.Provider.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Adc.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Adc +{ + struct WINRT_IMPL_EMPTY_BASES AdcChannel : winrt::Windows::Devices::Adc::IAdcChannel + { + AdcChannel(std::nullptr_t) noexcept {} + AdcChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Adc::IAdcChannel(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdcController : winrt::Windows::Devices::Adc::IAdcController + { + AdcController(std::nullptr_t) noexcept {} + AdcController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Adc::IAdcController(ptr, take_ownership_from_abi) {} + static auto GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider); + static auto GetDefaultAsync(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..95a9db5653706808bda4a5c13eaaab72c3b2894d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.0.h @@ -0,0 +1,80 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_Provider_0_H +#define WINRT_Windows_Devices_Adc_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider +{ + enum class ProviderAdcChannelMode : int32_t + { + SingleEnded = 0, + Differential = 1, + }; + struct IAdcControllerProvider; + struct IAdcProvider; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.ProviderAdcChannelMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.IAdcControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.IAdcProvider"; + template <> inline constexpr guid guid_v{ 0xBE545828,0x816D,0x4DE5,{ 0xA0,0x48,0xAB,0xA0,0x69,0x58,0xAA,0xA8 } }; // BE545828-816D-4DE5-A048-ABA06958AAA8 + template <> inline constexpr guid guid_v{ 0x28953668,0x9359,0x4C57,{ 0xBC,0x88,0xE2,0x75,0xE8,0x16,0x38,0xC9 } }; // 28953668-9359-4C57-BC88-E275E81638C9 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChannelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResolutionInBits(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxValue(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ChannelMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ChannelMode(int32_t) noexcept = 0; + virtual int32_t __stdcall IsChannelModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall AcquireChannel(int32_t) noexcept = 0; + virtual int32_t __stdcall ReleaseChannel(int32_t) noexcept = 0; + virtual int32_t __stdcall ReadValue(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllers(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Adc_Provider_IAdcControllerProvider + { + [[nodiscard]] auto ChannelCount() const; + [[nodiscard]] auto ResolutionInBits() const; + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; + [[nodiscard]] auto ChannelMode() const; + auto ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const; + auto IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const; + auto AcquireChannel(int32_t channel) const; + auto ReleaseChannel(int32_t channel) const; + auto ReadValue(int32_t channelNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_Provider_IAdcControllerProvider; + }; + template + struct consume_Windows_Devices_Adc_Provider_IAdcProvider + { + auto GetControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Adc_Provider_IAdcProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ce8777442338cf4ac3d045226716bb549c76b46b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_Provider_1_H +#define WINRT_Windows_Devices_Adc_Provider_1_H +#include "winrt/impl/Windows.Devices.Adc.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IAdcControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdcControllerProvider(std::nullptr_t = nullptr) noexcept {} + IAdcControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdcProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdcProvider(std::nullptr_t = nullptr) noexcept {} + IAdcProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..39234932c6331156d81d50bca0704d3fc5f20f55 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.adc.provider.2.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Adc_Provider_2_H +#define WINRT_Windows_Devices_Adc_Provider_2_H +#include "winrt/impl/Windows.Devices.Adc.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4ea0a60aed70630c6bcb970d26cf714f68f4e8d2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.0.h @@ -0,0 +1,72 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Background_0_H +#define WINRT_Windows_Devices_Background_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Devices::Background +{ + struct IDeviceServicingDetails; + struct IDeviceUseDetails; + struct DeviceServicingDetails; + struct DeviceUseDetails; +} +namespace winrt::impl +{ + 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.Devices.Background.DeviceServicingDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Background.DeviceUseDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Background.IDeviceServicingDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Background.IDeviceUseDetails"; + template <> inline constexpr guid guid_v{ 0x4AABEE29,0x2344,0x4AC4,{ 0x85,0x27,0x4A,0x8E,0xF6,0x90,0x56,0x45 } }; // 4AABEE29-2344-4AC4-8527-4A8EF6905645 + template <> inline constexpr guid guid_v{ 0x7D565141,0x557E,0x4154,{ 0xB9,0x94,0xE4,0xF7,0xA1,0x1F,0xB3,0x23 } }; // 7D565141-557E-4154-B994-E4F7A11FB323 + template <> struct default_interface{ using type = winrt::Windows::Devices::Background::IDeviceServicingDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Background::IDeviceUseDetails; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Arguments(void**) noexcept = 0; + virtual int32_t __stdcall get_ExpectedDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Arguments(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Background_IDeviceServicingDetails + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Arguments() const; + [[nodiscard]] auto ExpectedDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Background_IDeviceServicingDetails; + }; + template + struct consume_Windows_Devices_Background_IDeviceUseDetails + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Arguments() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Background_IDeviceUseDetails; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7422253eda6a92d6b7c4b6811973ebb31b3d1190 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Background_1_H +#define WINRT_Windows_Devices_Background_1_H +#include "winrt/impl/Windows.Devices.Background.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Background +{ + struct WINRT_IMPL_EMPTY_BASES IDeviceServicingDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceServicingDetails(std::nullptr_t = nullptr) noexcept {} + IDeviceServicingDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceUseDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceUseDetails(std::nullptr_t = nullptr) noexcept {} + IDeviceUseDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.2.h new file mode 100644 index 0000000000000000000000000000000000000000..fa72d3d729d46224522c7e9fd493f6fb6a15354f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.background.2.h @@ -0,0 +1,23 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Background_2_H +#define WINRT_Windows_Devices_Background_2_H +#include "winrt/impl/Windows.Devices.Background.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Background +{ + struct WINRT_IMPL_EMPTY_BASES DeviceServicingDetails : winrt::Windows::Devices::Background::IDeviceServicingDetails + { + DeviceServicingDetails(std::nullptr_t) noexcept {} + DeviceServicingDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Background::IDeviceServicingDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceUseDetails : winrt::Windows::Devices::Background::IDeviceUseDetails + { + DeviceUseDetails(std::nullptr_t) noexcept {} + DeviceUseDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Background::IDeviceUseDetails(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.0.h new file mode 100644 index 0000000000000000000000000000000000000000..69dab4bc6cc96520fe91195e8587bb083ad8098a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.0.h @@ -0,0 +1,1271 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_0_H +#define WINRT_Windows_Devices_Bluetooth_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile +{ + struct GattDeviceService; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm +{ + struct RfcommServiceId; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceAccessInformation; + struct DeviceInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + enum class BluetoothAddressType : int32_t + { + Public = 0, + Random = 1, + Unspecified = 2, + }; + enum class BluetoothCacheMode : int32_t + { + Cached = 0, + Uncached = 1, + }; + enum class BluetoothConnectionStatus : int32_t + { + Disconnected = 0, + Connected = 1, + }; + enum class BluetoothError : int32_t + { + Success = 0, + RadioNotAvailable = 1, + ResourceInUse = 2, + DeviceNotConnected = 3, + OtherError = 4, + DisabledByPolicy = 5, + NotSupported = 6, + DisabledByUser = 7, + ConsentRequired = 8, + TransportNotSupported = 9, + }; + enum class BluetoothLEPreferredConnectionParametersRequestStatus : int32_t + { + Unspecified = 0, + Success = 1, + DeviceNotAvailable = 2, + AccessDenied = 3, + }; + enum class BluetoothMajorClass : int32_t + { + Miscellaneous = 0, + Computer = 1, + Phone = 2, + NetworkAccessPoint = 3, + AudioVideo = 4, + Peripheral = 5, + Imaging = 6, + Wearable = 7, + Toy = 8, + Health = 9, + }; + enum class BluetoothMinorClass : int32_t + { + Uncategorized = 0, + ComputerDesktop = 1, + ComputerServer = 2, + ComputerLaptop = 3, + ComputerHandheld = 4, + ComputerPalmSize = 5, + ComputerWearable = 6, + ComputerTablet = 7, + PhoneCellular = 1, + PhoneCordless = 2, + PhoneSmartPhone = 3, + PhoneWired = 4, + PhoneIsdn = 5, + NetworkFullyAvailable = 0, + NetworkUsed01To17Percent = 8, + NetworkUsed17To33Percent = 16, + NetworkUsed33To50Percent = 24, + NetworkUsed50To67Percent = 32, + NetworkUsed67To83Percent = 40, + NetworkUsed83To99Percent = 48, + NetworkNoServiceAvailable = 56, + AudioVideoWearableHeadset = 1, + AudioVideoHandsFree = 2, + AudioVideoMicrophone = 4, + AudioVideoLoudspeaker = 5, + AudioVideoHeadphones = 6, + AudioVideoPortableAudio = 7, + AudioVideoCarAudio = 8, + AudioVideoSetTopBox = 9, + AudioVideoHifiAudioDevice = 10, + AudioVideoVcr = 11, + AudioVideoVideoCamera = 12, + AudioVideoCamcorder = 13, + AudioVideoVideoMonitor = 14, + AudioVideoVideoDisplayAndLoudspeaker = 15, + AudioVideoVideoConferencing = 16, + AudioVideoGamingOrToy = 18, + PeripheralJoystick = 1, + PeripheralGamepad = 2, + PeripheralRemoteControl = 3, + PeripheralSensing = 4, + PeripheralDigitizerTablet = 5, + PeripheralCardReader = 6, + PeripheralDigitalPen = 7, + PeripheralHandheldScanner = 8, + PeripheralHandheldGesture = 9, + WearableWristwatch = 1, + WearablePager = 2, + WearableJacket = 3, + WearableHelmet = 4, + WearableGlasses = 5, + ToyRobot = 1, + ToyVehicle = 2, + ToyDoll = 3, + ToyController = 4, + ToyGame = 5, + HealthBloodPressureMonitor = 1, + HealthThermometer = 2, + HealthWeighingScale = 3, + HealthGlucoseMeter = 4, + HealthPulseOximeter = 5, + HealthHeartRateMonitor = 6, + HealthHealthDataDisplay = 7, + HealthStepCounter = 8, + HealthBodyCompositionAnalyzer = 9, + HealthPeakFlowMonitor = 10, + HealthMedicationMonitor = 11, + HealthKneeProsthesis = 12, + HealthAnkleProsthesis = 13, + HealthGenericHealthManager = 14, + HealthPersonalMobilityDevice = 15, + }; + enum class BluetoothServiceCapabilities : uint32_t + { + None = 0, + LimitedDiscoverableMode = 0x1, + PositioningService = 0x8, + NetworkingService = 0x10, + RenderingService = 0x20, + CapturingService = 0x40, + ObjectTransferService = 0x80, + AudioService = 0x100, + TelephoneService = 0x200, + InformationService = 0x400, + }; + struct IBluetoothAdapter; + struct IBluetoothAdapter2; + struct IBluetoothAdapter3; + struct IBluetoothAdapter4; + struct IBluetoothAdapterStatics; + struct IBluetoothClassOfDevice; + struct IBluetoothClassOfDeviceStatics; + struct IBluetoothDevice; + struct IBluetoothDevice2; + struct IBluetoothDevice3; + struct IBluetoothDevice4; + struct IBluetoothDevice5; + struct IBluetoothDeviceId; + struct IBluetoothDeviceIdStatics; + struct IBluetoothDeviceStatics; + struct IBluetoothDeviceStatics2; + struct IBluetoothLEAppearance; + struct IBluetoothLEAppearanceCategoriesStatics; + struct IBluetoothLEAppearanceStatics; + struct IBluetoothLEAppearanceSubcategoriesStatics; + struct IBluetoothLEConnectionParameters; + struct IBluetoothLEConnectionPhy; + struct IBluetoothLEConnectionPhyInfo; + struct IBluetoothLEDevice; + struct IBluetoothLEDevice2; + struct IBluetoothLEDevice3; + struct IBluetoothLEDevice4; + struct IBluetoothLEDevice5; + struct IBluetoothLEDevice6; + struct IBluetoothLEDeviceStatics; + struct IBluetoothLEDeviceStatics2; + struct IBluetoothLEPreferredConnectionParameters; + struct IBluetoothLEPreferredConnectionParametersRequest; + struct IBluetoothLEPreferredConnectionParametersStatics; + struct IBluetoothSignalStrengthFilter; + struct IBluetoothUuidHelperStatics; + struct BluetoothAdapter; + struct BluetoothClassOfDevice; + struct BluetoothDevice; + struct BluetoothDeviceId; + struct BluetoothLEAppearance; + struct BluetoothLEAppearanceCategories; + struct BluetoothLEAppearanceSubcategories; + struct BluetoothLEConnectionParameters; + struct BluetoothLEConnectionPhy; + struct BluetoothLEConnectionPhyInfo; + struct BluetoothLEDevice; + struct BluetoothLEPreferredConnectionParameters; + struct BluetoothLEPreferredConnectionParametersRequest; + struct BluetoothSignalStrengthFilter; + struct BluetoothUuidHelper; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothClassOfDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEAppearance"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEAppearanceCategories"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEAppearanceSubcategories"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEConnectionPhy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEConnectionPhyInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothUuidHelper"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothAddressType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothCacheMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothConnectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequestStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothMajorClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothMinorClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.BluetoothServiceCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothAdapter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothAdapter3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothAdapter4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothAdapterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothClassOfDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothClassOfDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDevice3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDevice4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDevice5"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDeviceIdStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothDeviceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEAppearance"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEAppearanceCategoriesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEAppearanceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEAppearanceSubcategoriesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEConnectionPhy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEConnectionPhyInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice5"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDevice6"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEDeviceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEPreferredConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEPreferredConnectionParametersRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothLEPreferredConnectionParametersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothSignalStrengthFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.IBluetoothUuidHelperStatics"; + template <> inline constexpr guid guid_v{ 0x7974F04C,0x5F7A,0x4A34,{ 0x92,0x25,0xA8,0x55,0xF8,0x4B,0x1A,0x8B } }; // 7974F04C-5F7A-4A34-9225-A855F84B1A8B + template <> inline constexpr guid guid_v{ 0xAC94CECC,0x24D5,0x41B3,{ 0x91,0x6D,0x10,0x97,0xC5,0x0B,0x10,0x2B } }; // AC94CECC-24D5-41B3-916D-1097C50B102B + template <> inline constexpr guid guid_v{ 0x8F8624E0,0xCBA9,0x5211,{ 0x9F,0x89,0x3A,0xAC,0x62,0xB4,0xC6,0xB8 } }; // 8F8624E0-CBA9-5211-9F89-3AAC62B4C6B8 + template <> inline constexpr guid guid_v{ 0xF875F3E1,0x6D9A,0x5D5E,{ 0xAE,0xE5,0xA1,0x72,0x48,0xE5,0xF6,0xDD } }; // F875F3E1-6D9A-5D5E-AEE5-A17248E5F6DD + template <> inline constexpr guid guid_v{ 0x8B02FB6A,0xAC4C,0x4741,{ 0x86,0x61,0x8E,0xAB,0x7D,0x17,0xEA,0x9F } }; // 8B02FB6A-AC4C-4741-8661-8EAB7D17EA9F + template <> inline constexpr guid guid_v{ 0xD640227E,0xD7D7,0x4661,{ 0x94,0x54,0x65,0x03,0x9C,0xA1,0x7A,0x2B } }; // D640227E-D7D7-4661-9454-65039CA17A2B + template <> inline constexpr guid guid_v{ 0xE46135BD,0x0FA2,0x416C,{ 0x91,0xB4,0xC1,0xE4,0x8C,0xA0,0x61,0xC1 } }; // E46135BD-0FA2-416C-91B4-C1E48CA061C1 + template <> inline constexpr guid guid_v{ 0x2335B156,0x90D2,0x4A04,{ 0xAE,0xF5,0x0E,0x20,0xB9,0xE6,0xB7,0x07 } }; // 2335B156-90D2-4A04-AEF5-0E20B9E6B707 + template <> inline constexpr guid guid_v{ 0x0133F954,0xB156,0x4DD0,{ 0xB1,0xF5,0xC1,0x1B,0xC3,0x1A,0x51,0x63 } }; // 0133F954-B156-4DD0-B1F5-C11BC31A5163 + template <> inline constexpr guid guid_v{ 0x57FFF78B,0x651A,0x4454,{ 0xB9,0x0F,0xEB,0x21,0xEF,0x0B,0x0D,0x71 } }; // 57FFF78B-651A-4454-B90F-EB21EF0B0D71 + template <> inline constexpr guid guid_v{ 0x817C34AD,0x0E9C,0x42B2,{ 0xA8,0xDC,0x3E,0x80,0x94,0x94,0x0D,0x12 } }; // 817C34AD-0E9C-42B2-A8DC-3E8094940D12 + template <> inline constexpr guid guid_v{ 0xB5E0B385,0x5E85,0x4559,{ 0xA1,0x0D,0x1C,0x72,0x81,0x37,0x9F,0x96 } }; // B5E0B385-5E85-4559-A10D-1C7281379F96 + template <> inline constexpr guid guid_v{ 0xC17949AF,0x57C1,0x4642,{ 0xBC,0xCE,0xE6,0xC0,0x6B,0x20,0xAE,0x76 } }; // C17949AF-57C1-4642-BCCE-E6C06B20AE76 + template <> inline constexpr guid guid_v{ 0xA7884E67,0x3EFB,0x4F31,{ 0xBB,0xC2,0x81,0x0E,0x09,0x97,0x74,0x04 } }; // A7884E67-3EFB-4F31-BBC2-810E09977404 + template <> inline constexpr guid guid_v{ 0x0991DF51,0x57DB,0x4725,{ 0xBB,0xD7,0x84,0xF6,0x43,0x27,0xEC,0x2C } }; // 0991DF51-57DB-4725-BBD7-84F64327EC2C + template <> inline constexpr guid guid_v{ 0xC29E8E2F,0x4E14,0x4477,{ 0xAA,0x1B,0xB8,0xB4,0x7E,0x5B,0x7E,0xCE } }; // C29E8E2F-4E14-4477-AA1B-B8B47E5B7ECE + template <> inline constexpr guid guid_v{ 0x5D2079F2,0x66A8,0x4258,{ 0x98,0x5E,0x02,0xB4,0xD9,0x50,0x9F,0x18 } }; // 5D2079F2-66A8-4258-985E-02B4D9509F18 + template <> inline constexpr guid guid_v{ 0x6D4D54FE,0x046A,0x4185,{ 0xAA,0xB6,0x82,0x4C,0xF0,0x61,0x08,0x61 } }; // 6D4D54FE-046A-4185-AAB6-824CF0610861 + template <> inline constexpr guid guid_v{ 0xA193C0C7,0x4504,0x4F4A,{ 0x9B,0xA5,0xCD,0x10,0x54,0xE5,0xE0,0x65 } }; // A193C0C7-4504-4F4A-9BA5-CD1054E5E065 + template <> inline constexpr guid guid_v{ 0xE57BA606,0x2144,0x415A,{ 0x83,0x12,0x71,0xCC,0xF2,0x91,0xF8,0xD1 } }; // E57BA606-2144-415A-8312-71CCF291F8D1 + template <> inline constexpr guid guid_v{ 0x33CB0771,0x8DA9,0x508F,{ 0xA3,0x66,0x1C,0xA3,0x88,0xC9,0x29,0xAB } }; // 33CB0771-8DA9-508F-A366-1CA388C929AB + template <> inline constexpr guid guid_v{ 0x781E5E48,0x621E,0x5A7E,{ 0x8B,0xE6,0x1B,0x95,0x61,0xFF,0x63,0xC9 } }; // 781E5E48-621E-5A7E-8BE6-1B9561FF63C9 + template <> inline constexpr guid guid_v{ 0x9A100BDD,0x602E,0x5C27,{ 0xA1,0xAE,0xB2,0x30,0x01,0x5A,0x63,0x94 } }; // 9A100BDD-602E-5C27-A1AE-B230015A6394 + template <> inline constexpr guid guid_v{ 0xB5EE2F7B,0x4AD8,0x4642,{ 0xAC,0x48,0x80,0xA0,0xB5,0x00,0xE8,0x87 } }; // B5EE2F7B-4AD8-4642-AC48-80A0B500E887 + template <> inline constexpr guid guid_v{ 0x26F062B3,0x7AEE,0x4D31,{ 0xBA,0xBA,0xB1,0xB9,0x77,0x5F,0x59,0x16 } }; // 26F062B3-7AEE-4D31-BABA-B1B9775F5916 + template <> inline constexpr guid guid_v{ 0xAEE9E493,0x44AC,0x40DC,{ 0xAF,0x33,0xB2,0xC1,0x3C,0x01,0xCA,0x46 } }; // AEE9E493-44AC-40DC-AF33-B2C13C01CA46 + template <> inline constexpr guid guid_v{ 0x2B605031,0x2248,0x4B2F,{ 0xAC,0xF0,0x7C,0xEE,0x36,0xFC,0x58,0x70 } }; // 2B605031-2248-4B2F-ACF0-7CEE36FC5870 + template <> inline constexpr guid guid_v{ 0x9D6A1260,0x5287,0x458E,{ 0x95,0xBA,0x17,0xC8,0xB7,0xBB,0x32,0x6E } }; // 9D6A1260-5287-458E-95BA-17C8B7BB326E + template <> inline constexpr guid guid_v{ 0xCA7190EF,0x0CAE,0x573C,{ 0xA1,0xCA,0xE1,0xFC,0x5B,0xFC,0x39,0xE2 } }; // CA7190EF-0CAE-573C-A1CA-E1FC5BFC39E2 + template <> inline constexpr guid guid_v{ 0xC8CF1A19,0xF0B6,0x4BF0,{ 0x86,0x89,0x41,0x30,0x3D,0xE2,0xD9,0xF4 } }; // C8CF1A19-F0B6-4BF0-8689-41303DE2D9F4 + template <> inline constexpr guid guid_v{ 0x5F12C06B,0x3BAC,0x43E8,{ 0xAD,0x16,0x56,0x32,0x71,0xBD,0x41,0xC2 } }; // 5F12C06B-3BAC-43E8-AD16-563271BD41C2 + template <> inline constexpr guid guid_v{ 0xF2F44344,0x7372,0x5F7B,{ 0x9B,0x34,0x29,0xC9,0x44,0xF5,0xA7,0x15 } }; // F2F44344-7372-5F7B-9B34-29C944F5A715 + template <> inline constexpr guid guid_v{ 0x8A375276,0xA528,0x5266,{ 0xB6,0x61,0xCC,0xE6,0xA5,0xFF,0x97,0x39 } }; // 8A375276-A528-5266-B661-CCE6A5FF9739 + template <> inline constexpr guid guid_v{ 0x0E3E8EDC,0x2751,0x55AA,{ 0xA8,0x38,0x8F,0xAE,0xEE,0x81,0x8D,0x72 } }; // 0E3E8EDC-2751-55AA-A838-8FAEEE818D72 + template <> inline constexpr guid guid_v{ 0xDF7B7391,0x6BB5,0x4CFE,{ 0x90,0xB1,0x5D,0x73,0x24,0xED,0xCF,0x7F } }; // DF7B7391-6BB5-4CFE-90B1-5D7324EDCF7F + template <> inline constexpr guid guid_v{ 0x17DF0CD8,0xCF74,0x4B21,{ 0xAF,0xE6,0xF5,0x7A,0x11,0xBC,0xDE,0xA0 } }; // 17DF0CD8-CF74-4B21-AFE6-F57A11BCDEA0 + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothAdapter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhy; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhyInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParametersRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_BluetoothAddress(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsClassicSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLowEnergySupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPeripheralRoleSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCentralRoleSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAdvertisementOffloadSupported(bool*) noexcept = 0; + virtual int32_t __stdcall GetRadioAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AreClassicSecureConnectionsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_AreLowEnergySecureConnectionsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsExtendedAdvertisingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxAdvertisementDataLength(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsLowEnergyUncoded2MPhySupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLowEnergyCodedPhySupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RawValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MajorClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinorClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceCapabilities(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromRawValue(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FromParts(int32_t, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_HostName(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_ClassOfDevice(void**) noexcept = 0; + virtual int32_t __stdcall get_SdpRecords(void**) noexcept = 0; + virtual int32_t __stdcall get_RfcommServices(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BluetoothAddress(uint64_t*) noexcept = 0; + virtual int32_t __stdcall add_NameChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NameChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SdpRecordsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SdpRecordsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ConnectionStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceAccessInformation(void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetRfcommServicesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetRfcommServicesWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetRfcommServicesForIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetRfcommServicesForIdWithCacheModeAsync(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BluetoothDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WasSecureConnectionUsedForPairing(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_IsClassicDevice(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLowEnergyDevice(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromHostNameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromBluetoothAddressAsync(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorFromPairingState(bool, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromConnectionStatus(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromDeviceName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromBluetoothAddress(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromClassOfDevice(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RawValue(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Category(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_SubCategory(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uncategorized(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Phone(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Computer(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Watch(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Clock(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Display(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RemoteControl(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_EyeGlasses(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Tag(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Keyring(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaPlayer(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BarcodeScanner(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Thermometer(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HeartRate(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressure(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HumanInterfaceDevice(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_GlucoseMeter(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RunningWalking(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Cycling(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_PulseOximeter(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_WeightScale(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_OutdoorSportActivity(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromRawValue(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall FromParts(uint16_t, uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Generic(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_SportsWatch(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ThermometerEar(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HeartRateBelt(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressureArm(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressureWrist(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Keyboard(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Mouse(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Joystick(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Gamepad(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_DigitizerTablet(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CardReader(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_DigitalPen(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BarcodeScanner(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RunningWalkingInShoe(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RunningWalkingOnShoe(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RunningWalkingOnHip(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CyclingComputer(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CyclingSpeedSensor(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CyclingCadenceSensor(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPowerSensor(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CyclingSpeedCadenceSensor(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_OximeterFingertip(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_OximeterWristWorn(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LocationDisplay(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LocationNavigationDisplay(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LocationPod(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LocationNavigationPod(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LinkTimeout(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ConnectionLatency(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ConnectionInterval(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransmitInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ReceiveInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsUncoded1MPhy(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUncoded2MPhy(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCodedPhy(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_GattServices(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BluetoothAddress(uint64_t*) noexcept = 0; + virtual int32_t __stdcall GetGattService(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall add_NameChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NameChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GattServicesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GattServicesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ConnectionStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_Appearance(void**) noexcept = 0; + virtual int32_t __stdcall get_BluetoothAddressType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceAccessInformation(void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetGattServicesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetGattServicesWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetGattServicesForUuidAsync(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetGattServicesForUuidWithCacheModeAsync(winrt::guid, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BluetoothDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WasSecureConnectionUsedForPairing(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetConnectionParameters(void**) noexcept = 0; + virtual int32_t __stdcall GetConnectionPhy(void**) noexcept = 0; + virtual int32_t __stdcall RequestPreferredConnectionParameters(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ConnectionParametersChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionParametersChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ConnectionPhyChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionPhyChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromBluetoothAddressAsync(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorFromPairingState(bool, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromConnectionStatus(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromDeviceName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromBluetoothAddress(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType(uint64_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromAppearance(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromBluetoothAddressWithBluetoothAddressTypeAsync(uint64_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LinkTimeout(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ConnectionLatency(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MinConnectionInterval(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxConnectionInterval(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Balanced(void**) noexcept = 0; + virtual int32_t __stdcall get_ThroughputOptimized(void**) noexcept = 0; + virtual int32_t __stdcall get_PowerOptimized(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InRangeThresholdInDBm(void**) noexcept = 0; + virtual int32_t __stdcall put_InRangeThresholdInDBm(void*) noexcept = 0; + virtual int32_t __stdcall get_OutOfRangeThresholdInDBm(void**) noexcept = 0; + virtual int32_t __stdcall put_OutOfRangeThresholdInDBm(void*) noexcept = 0; + virtual int32_t __stdcall get_OutOfRangeTimeout(void**) noexcept = 0; + virtual int32_t __stdcall put_OutOfRangeTimeout(void*) noexcept = 0; + virtual int32_t __stdcall get_SamplingInterval(void**) noexcept = 0; + virtual int32_t __stdcall put_SamplingInterval(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromShortId(uint32_t, winrt::guid*) noexcept = 0; + virtual int32_t __stdcall TryGetShortId(winrt::guid, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto BluetoothAddress() const; + [[nodiscard]] auto IsClassicSupported() const; + [[nodiscard]] auto IsLowEnergySupported() const; + [[nodiscard]] auto IsPeripheralRoleSupported() const; + [[nodiscard]] auto IsCentralRoleSupported() const; + [[nodiscard]] auto IsAdvertisementOffloadSupported() const; + auto GetRadioAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothAdapter; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter2 + { + [[nodiscard]] auto AreClassicSecureConnectionsSupported() const; + [[nodiscard]] auto AreLowEnergySecureConnectionsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothAdapter2; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter3 + { + [[nodiscard]] auto IsExtendedAdvertisingSupported() const; + [[nodiscard]] auto MaxAdvertisementDataLength() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothAdapter3; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter4 + { + [[nodiscard]] auto IsLowEnergyUncoded2MPhySupported() const; + [[nodiscard]] auto IsLowEnergyCodedPhySupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothAdapter4; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice + { + [[nodiscard]] auto RawValue() const; + [[nodiscard]] auto MajorClass() const; + [[nodiscard]] auto MinorClass() const; + [[nodiscard]] auto ServiceCapabilities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics + { + auto FromRawValue(uint32_t rawValue) const; + auto FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDevice + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ClassOfDevice() const; + [[nodiscard]] auto SdpRecords() const; + [[nodiscard]] auto RfcommServices() const; + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto BluetoothAddress() const; + auto NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using NameChanged_revoker = impl::event_revoker::remove_NameChanged>; + [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NameChanged(winrt::event_token const& token) const noexcept; + auto SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SdpRecordsChanged_revoker = impl::event_revoker::remove_SdpRecordsChanged>; + [[nodiscard]] auto SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SdpRecordsChanged(winrt::event_token const& token) const noexcept; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDevice; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDevice2 + { + [[nodiscard]] auto DeviceInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDevice2; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDevice3 + { + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; + auto GetRfcommServicesAsync() const; + auto GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDevice3; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDevice4 + { + [[nodiscard]] auto BluetoothDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDevice4; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDevice5 + { + [[nodiscard]] auto WasSecureConnectionUsedForPairing() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDevice5; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceId + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsClassicDevice() const; + [[nodiscard]] auto IsLowEnergyDevice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDeviceId; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics + { + auto FromId(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const; + auto FromBluetoothAddressAsync(uint64_t address) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2 + { + auto GetDeviceSelectorFromPairingState(bool pairingState) const; + auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; + auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; + auto GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance + { + [[nodiscard]] auto RawValue() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto SubCategory() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics + { + [[nodiscard]] auto Uncategorized() const; + [[nodiscard]] auto Phone() const; + [[nodiscard]] auto Computer() const; + [[nodiscard]] auto Watch() const; + [[nodiscard]] auto Clock() const; + [[nodiscard]] auto Display() const; + [[nodiscard]] auto RemoteControl() const; + [[nodiscard]] auto EyeGlasses() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto Keyring() const; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto BarcodeScanner() const; + [[nodiscard]] auto Thermometer() const; + [[nodiscard]] auto HeartRate() const; + [[nodiscard]] auto BloodPressure() const; + [[nodiscard]] auto HumanInterfaceDevice() const; + [[nodiscard]] auto GlucoseMeter() const; + [[nodiscard]] auto RunningWalking() const; + [[nodiscard]] auto Cycling() const; + [[nodiscard]] auto PulseOximeter() const; + [[nodiscard]] auto WeightScale() const; + [[nodiscard]] auto OutdoorSportActivity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics + { + auto FromRawValue(uint16_t rawValue) const; + auto FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics + { + [[nodiscard]] auto Generic() const; + [[nodiscard]] auto SportsWatch() const; + [[nodiscard]] auto ThermometerEar() const; + [[nodiscard]] auto HeartRateBelt() const; + [[nodiscard]] auto BloodPressureArm() const; + [[nodiscard]] auto BloodPressureWrist() const; + [[nodiscard]] auto Keyboard() const; + [[nodiscard]] auto Mouse() const; + [[nodiscard]] auto Joystick() const; + [[nodiscard]] auto Gamepad() const; + [[nodiscard]] auto DigitizerTablet() const; + [[nodiscard]] auto CardReader() const; + [[nodiscard]] auto DigitalPen() const; + [[nodiscard]] auto BarcodeScanner() const; + [[nodiscard]] auto RunningWalkingInShoe() const; + [[nodiscard]] auto RunningWalkingOnShoe() const; + [[nodiscard]] auto RunningWalkingOnHip() const; + [[nodiscard]] auto CyclingComputer() const; + [[nodiscard]] auto CyclingSpeedSensor() const; + [[nodiscard]] auto CyclingCadenceSensor() const; + [[nodiscard]] auto CyclingPowerSensor() const; + [[nodiscard]] auto CyclingSpeedCadenceSensor() const; + [[nodiscard]] auto OximeterFingertip() const; + [[nodiscard]] auto OximeterWristWorn() const; + [[nodiscard]] auto LocationDisplay() const; + [[nodiscard]] auto LocationNavigationDisplay() const; + [[nodiscard]] auto LocationPod() const; + [[nodiscard]] auto LocationNavigationPod() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionParameters + { + [[nodiscard]] auto LinkTimeout() const; + [[nodiscard]] auto ConnectionLatency() const; + [[nodiscard]] auto ConnectionInterval() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionPhy + { + [[nodiscard]] auto TransmitInfo() const; + [[nodiscard]] auto ReceiveInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionPhy; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionPhyInfo + { + [[nodiscard]] auto IsUncoded1MPhy() const; + [[nodiscard]] auto IsUncoded2MPhy() const; + [[nodiscard]] auto IsCodedPhy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEConnectionPhyInfo; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto GattServices() const; + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto BluetoothAddress() const; + auto GetGattService(winrt::guid const& serviceUuid) const; + auto NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using NameChanged_revoker = impl::event_revoker::remove_NameChanged>; + [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NameChanged(winrt::event_token const& token) const noexcept; + auto GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using GattServicesChanged_revoker = impl::event_revoker::remove_GattServicesChanged>; + [[nodiscard]] auto GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GattServicesChanged(winrt::event_token const& token) const noexcept; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2 + { + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto BluetoothAddressType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3 + { + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; + auto GetGattServicesAsync() const; + auto GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const; + auto GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4 + { + [[nodiscard]] auto BluetoothDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5 + { + [[nodiscard]] auto WasSecureConnectionUsedForPairing() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice6 + { + auto GetConnectionParameters() const; + auto GetConnectionPhy() const; + auto RequestPreferredConnectionParameters(winrt::Windows::Devices::Bluetooth::BluetoothLEPreferredConnectionParameters const& preferredConnectionParameters) const; + auto ConnectionParametersChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionParametersChanged_revoker = impl::event_revoker::remove_ConnectionParametersChanged>; + [[nodiscard]] auto ConnectionParametersChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionParametersChanged(winrt::event_token const& token) const noexcept; + auto ConnectionPhyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionPhyChanged_revoker = impl::event_revoker::remove_ConnectionPhyChanged>; + [[nodiscard]] auto ConnectionPhyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionPhyChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDevice6; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromBluetoothAddressAsync(uint64_t bluetoothAddress) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2 + { + auto GetDeviceSelectorFromPairingState(bool pairingState) const; + auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; + auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; + auto GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const; + auto FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParameters + { + [[nodiscard]] auto LinkTimeout() const; + [[nodiscard]] auto ConnectionLatency() const; + [[nodiscard]] auto MinConnectionInterval() const; + [[nodiscard]] auto MaxConnectionInterval() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParametersRequest + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParametersRequest; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParametersStatics + { + [[nodiscard]] auto Balanced() const; + [[nodiscard]] auto ThroughputOptimized() const; + [[nodiscard]] auto PowerOptimized() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothLEPreferredConnectionParametersStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter + { + [[nodiscard]] auto InRangeThresholdInDBm() const; + auto InRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutOfRangeThresholdInDBm() const; + auto OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutOfRangeTimeout() const; + auto OutOfRangeTimeout(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SamplingInterval() const; + auto SamplingInterval(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter; + }; + template + struct consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics + { + auto FromShortId(uint32_t shortId) const; + auto TryGetShortId(winrt::guid const& uuid) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7c0073af4cb067971bbfdad5977156f0efc1e4c2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.1.h @@ -0,0 +1,265 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_1_H +#define WINRT_Windows_Devices_Bluetooth_1_H +#include "winrt/impl/Windows.Devices.Bluetooth.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + struct WINRT_IMPL_EMPTY_BASES IBluetoothAdapter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothAdapter(std::nullptr_t = nullptr) noexcept {} + IBluetoothAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothAdapter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothAdapter2(std::nullptr_t = nullptr) noexcept {} + IBluetoothAdapter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothAdapter3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothAdapter3(std::nullptr_t = nullptr) noexcept {} + IBluetoothAdapter3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothAdapter4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothAdapter4(std::nullptr_t = nullptr) noexcept {} + IBluetoothAdapter4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothAdapterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothAdapterStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothAdapterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothClassOfDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothClassOfDevice(std::nullptr_t = nullptr) noexcept {} + IBluetoothClassOfDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothClassOfDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothClassOfDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothClassOfDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDevice(std::nullptr_t = nullptr) noexcept {} + IBluetoothDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDevice2(std::nullptr_t = nullptr) noexcept {} + IBluetoothDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDevice3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDevice3(std::nullptr_t = nullptr) noexcept {} + IBluetoothDevice3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDevice4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDevice4(std::nullptr_t = nullptr) noexcept {} + IBluetoothDevice4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDevice5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDevice5(std::nullptr_t = nullptr) noexcept {} + IBluetoothDevice5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDeviceId(std::nullptr_t = nullptr) noexcept {} + IBluetoothDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDeviceIdStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDeviceIdStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothDeviceIdStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothDeviceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothDeviceStatics2(std::nullptr_t = nullptr) noexcept {} + IBluetoothDeviceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAppearance : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAppearance(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAppearance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAppearanceCategoriesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAppearanceCategoriesStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAppearanceCategoriesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAppearanceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAppearanceStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAppearanceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAppearanceSubcategoriesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAppearanceSubcategoriesStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAppearanceSubcategoriesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEConnectionParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEConnectionParameters(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEConnectionPhy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEConnectionPhy(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEConnectionPhy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEConnectionPhyInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEConnectionPhyInfo(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEConnectionPhyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice3(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice4(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice5(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDevice6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDevice6(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDevice6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEDeviceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEDeviceStatics2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEDeviceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEPreferredConnectionParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEPreferredConnectionParameters(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEPreferredConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEPreferredConnectionParametersRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEPreferredConnectionParametersRequest(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEPreferredConnectionParametersRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEPreferredConnectionParametersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEPreferredConnectionParametersStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEPreferredConnectionParametersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothSignalStrengthFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothSignalStrengthFilter(std::nullptr_t = nullptr) noexcept {} + IBluetoothSignalStrengthFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothUuidHelperStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothUuidHelperStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothUuidHelperStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6c9bb9d9f1b8140d4e70f8fa6fe0154fdf26965a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.2.h @@ -0,0 +1,174 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_2_H +#define WINRT_Windows_Devices_Bluetooth_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Devices.Bluetooth.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + struct WINRT_IMPL_EMPTY_BASES BluetoothAdapter : winrt::Windows::Devices::Bluetooth::IBluetoothAdapter, + impl::require + { + BluetoothAdapter(std::nullptr_t) noexcept {} + BluetoothAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothAdapter(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothClassOfDevice : winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice + { + BluetoothClassOfDevice(std::nullptr_t) noexcept {} + BluetoothClassOfDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice(ptr, take_ownership_from_abi) {} + static auto FromRawValue(uint32_t rawValue); + static auto FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothDevice : winrt::Windows::Devices::Bluetooth::IBluetoothDevice, + impl::require + { + BluetoothDevice(std::nullptr_t) noexcept {} + BluetoothDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothDevice(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName); + static auto FromBluetoothAddressAsync(uint64_t address); + static auto GetDeviceSelector(); + static auto GetDeviceSelectorFromPairingState(bool pairingState); + static auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus); + static auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName); + static auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress); + static auto GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothDeviceId : winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId + { + BluetoothDeviceId(std::nullptr_t) noexcept {} + BluetoothDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId(ptr, take_ownership_from_abi) {} + static auto FromId(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAppearance : winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance + { + BluetoothLEAppearance(std::nullptr_t) noexcept {} + BluetoothLEAppearance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance(ptr, take_ownership_from_abi) {} + static auto FromRawValue(uint16_t rawValue); + static auto FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory); + }; + struct BluetoothLEAppearanceCategories + { + BluetoothLEAppearanceCategories() = delete; + [[nodiscard]] static auto Uncategorized(); + [[nodiscard]] static auto Phone(); + [[nodiscard]] static auto Computer(); + [[nodiscard]] static auto Watch(); + [[nodiscard]] static auto Clock(); + [[nodiscard]] static auto Display(); + [[nodiscard]] static auto RemoteControl(); + [[nodiscard]] static auto EyeGlasses(); + [[nodiscard]] static auto Tag(); + [[nodiscard]] static auto Keyring(); + [[nodiscard]] static auto MediaPlayer(); + [[nodiscard]] static auto BarcodeScanner(); + [[nodiscard]] static auto Thermometer(); + [[nodiscard]] static auto HeartRate(); + [[nodiscard]] static auto BloodPressure(); + [[nodiscard]] static auto HumanInterfaceDevice(); + [[nodiscard]] static auto GlucoseMeter(); + [[nodiscard]] static auto RunningWalking(); + [[nodiscard]] static auto Cycling(); + [[nodiscard]] static auto PulseOximeter(); + [[nodiscard]] static auto WeightScale(); + [[nodiscard]] static auto OutdoorSportActivity(); + }; + struct BluetoothLEAppearanceSubcategories + { + BluetoothLEAppearanceSubcategories() = delete; + [[nodiscard]] static auto Generic(); + [[nodiscard]] static auto SportsWatch(); + [[nodiscard]] static auto ThermometerEar(); + [[nodiscard]] static auto HeartRateBelt(); + [[nodiscard]] static auto BloodPressureArm(); + [[nodiscard]] static auto BloodPressureWrist(); + [[nodiscard]] static auto Keyboard(); + [[nodiscard]] static auto Mouse(); + [[nodiscard]] static auto Joystick(); + [[nodiscard]] static auto Gamepad(); + [[nodiscard]] static auto DigitizerTablet(); + [[nodiscard]] static auto CardReader(); + [[nodiscard]] static auto DigitalPen(); + [[nodiscard]] static auto BarcodeScanner(); + [[nodiscard]] static auto RunningWalkingInShoe(); + [[nodiscard]] static auto RunningWalkingOnShoe(); + [[nodiscard]] static auto RunningWalkingOnHip(); + [[nodiscard]] static auto CyclingComputer(); + [[nodiscard]] static auto CyclingSpeedSensor(); + [[nodiscard]] static auto CyclingCadenceSensor(); + [[nodiscard]] static auto CyclingPowerSensor(); + [[nodiscard]] static auto CyclingSpeedCadenceSensor(); + [[nodiscard]] static auto OximeterFingertip(); + [[nodiscard]] static auto OximeterWristWorn(); + [[nodiscard]] static auto LocationDisplay(); + [[nodiscard]] static auto LocationNavigationDisplay(); + [[nodiscard]] static auto LocationPod(); + [[nodiscard]] static auto LocationNavigationPod(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEConnectionParameters : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionParameters + { + BluetoothLEConnectionParameters(std::nullptr_t) noexcept {} + BluetoothLEConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionParameters(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEConnectionPhy : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhy + { + BluetoothLEConnectionPhy(std::nullptr_t) noexcept {} + BluetoothLEConnectionPhy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhy(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEConnectionPhyInfo : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhyInfo + { + BluetoothLEConnectionPhyInfo(std::nullptr_t) noexcept {} + BluetoothLEConnectionPhyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEConnectionPhyInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEDevice : winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice, + impl::require + { + BluetoothLEDevice(std::nullptr_t) noexcept {} + BluetoothLEDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto FromBluetoothAddressAsync(uint64_t bluetoothAddress); + static auto GetDeviceSelector(); + static auto GetDeviceSelectorFromPairingState(bool pairingState); + static auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus); + static auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName); + static auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress); + static auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType); + static auto GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance); + static auto FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEPreferredConnectionParameters : winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParameters + { + BluetoothLEPreferredConnectionParameters(std::nullptr_t) noexcept {} + BluetoothLEPreferredConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParameters(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Balanced(); + [[nodiscard]] static auto ThroughputOptimized(); + [[nodiscard]] static auto PowerOptimized(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEPreferredConnectionParametersRequest : winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParametersRequest, + impl::require + { + BluetoothLEPreferredConnectionParametersRequest(std::nullptr_t) noexcept {} + BluetoothLEPreferredConnectionParametersRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParametersRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothSignalStrengthFilter : winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter + { + BluetoothSignalStrengthFilter(std::nullptr_t) noexcept {} + BluetoothSignalStrengthFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter(ptr, take_ownership_from_abi) {} + BluetoothSignalStrengthFilter(); + }; + struct BluetoothUuidHelper + { + BluetoothUuidHelper() = delete; + static auto FromShortId(uint32_t shortId); + static auto TryGetShortId(winrt::guid const& uuid); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d72fb3734fe320329f0f0223e66abc8e6660b27b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.0.h @@ -0,0 +1,834 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_0_H +#define WINRT_Windows_Devices_Bluetooth_Advertisement_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + enum class BluetoothAddressType : int32_t; + enum class BluetoothError : int32_t; + struct BluetoothSignalStrengthFilter; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Advertisement +{ + enum class BluetoothLEAdvertisementFlags : uint32_t + { + None = 0, + LimitedDiscoverableMode = 0x1, + GeneralDiscoverableMode = 0x2, + ClassicNotSupported = 0x4, + DualModeControllerCapable = 0x8, + DualModeHostCapable = 0x10, + }; + enum class BluetoothLEAdvertisementPhyType : int32_t + { + Unspecified = 0, + Uncoded1MPhy = 1, + Uncoded2MPhy = 2, + CodedPhy = 3, + }; + enum class BluetoothLEAdvertisementPublisherStatus : int32_t + { + Created = 0, + Waiting = 1, + Started = 2, + Stopping = 3, + Stopped = 4, + Aborted = 5, + }; + enum class BluetoothLEAdvertisementType : int32_t + { + ConnectableUndirected = 0, + ConnectableDirected = 1, + ScannableUndirected = 2, + NonConnectableUndirected = 3, + ScanResponse = 4, + Extended = 5, + }; + enum class BluetoothLEAdvertisementWatcherStatus : int32_t + { + Created = 0, + Started = 1, + Stopping = 2, + Stopped = 3, + Aborted = 4, + }; + enum class BluetoothLEScanningMode : int32_t + { + Passive = 0, + Active = 1, + None = 2, + }; + struct IBluetoothLEAdvertisement; + struct IBluetoothLEAdvertisementBytePattern; + struct IBluetoothLEAdvertisementBytePatternFactory; + struct IBluetoothLEAdvertisementDataSection; + struct IBluetoothLEAdvertisementDataSectionFactory; + struct IBluetoothLEAdvertisementDataTypesStatics; + struct IBluetoothLEAdvertisementFilter; + struct IBluetoothLEAdvertisementPublisher; + struct IBluetoothLEAdvertisementPublisher2; + struct IBluetoothLEAdvertisementPublisher3; + struct IBluetoothLEAdvertisementPublisherFactory; + struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs; + struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2; + struct IBluetoothLEAdvertisementReceivedEventArgs; + struct IBluetoothLEAdvertisementReceivedEventArgs2; + struct IBluetoothLEAdvertisementReceivedEventArgs3; + struct IBluetoothLEAdvertisementScanParameters; + struct IBluetoothLEAdvertisementScanParametersStatics; + struct IBluetoothLEAdvertisementWatcher; + struct IBluetoothLEAdvertisementWatcher2; + struct IBluetoothLEAdvertisementWatcher3; + struct IBluetoothLEAdvertisementWatcherFactory; + struct IBluetoothLEAdvertisementWatcherStoppedEventArgs; + struct IBluetoothLEManufacturerData; + struct IBluetoothLEManufacturerDataFactory; + struct BluetoothLEAdvertisement; + struct BluetoothLEAdvertisementBytePattern; + struct BluetoothLEAdvertisementDataSection; + struct BluetoothLEAdvertisementDataTypes; + struct BluetoothLEAdvertisementFilter; + struct BluetoothLEAdvertisementPublisher; + struct BluetoothLEAdvertisementPublisherStatusChangedEventArgs; + struct BluetoothLEAdvertisementReceivedEventArgs; + struct BluetoothLEAdvertisementScanParameters; + struct BluetoothLEAdvertisementWatcher; + struct BluetoothLEAdvertisementWatcherStoppedEventArgs; + struct BluetoothLEManufacturerData; +} +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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementBytePattern"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataTypes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementScanParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFlags"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPhyType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.BluetoothLEScanningMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementBytePattern"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementBytePatternFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSectionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataTypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisher2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisher3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisherFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisherStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementReceivedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementReceivedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementScanParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementScanParametersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcherFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcherStoppedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerDataFactory"; + template <> inline constexpr guid guid_v{ 0x066FB2B7,0x33D1,0x4E7D,{ 0x83,0x67,0xCF,0x81,0xD0,0xF7,0x96,0x53 } }; // 066FB2B7-33D1-4E7D-8367-CF81D0F79653 + template <> inline constexpr guid guid_v{ 0xFBFAD7F2,0xB9C5,0x4A08,{ 0xBC,0x51,0x50,0x2F,0x8E,0xF6,0x8A,0x79 } }; // FBFAD7F2-B9C5-4A08-BC51-502F8EF68A79 + template <> inline constexpr guid guid_v{ 0xC2E24D73,0xFD5C,0x4EC3,{ 0xBE,0x2A,0x9C,0xA6,0xFA,0x11,0xB7,0xBD } }; // C2E24D73-FD5C-4EC3-BE2A-9CA6FA11B7BD + template <> inline constexpr guid guid_v{ 0xD7213314,0x3A43,0x40F9,{ 0xB6,0xF0,0x92,0xBF,0xEF,0xC3,0x4A,0xE3 } }; // D7213314-3A43-40F9-B6F0-92BFEFC34AE3 + template <> inline constexpr guid guid_v{ 0xE7A40942,0xA845,0x4045,{ 0xBF,0x7E,0x3E,0x99,0x71,0xDB,0x8A,0x6B } }; // E7A40942-A845-4045-BF7E-3E9971DB8A6B + template <> inline constexpr guid guid_v{ 0x3BB6472F,0x0606,0x434B,{ 0xA7,0x6E,0x74,0x15,0x9F,0x06,0x84,0xD3 } }; // 3BB6472F-0606-434B-A76E-74159F0684D3 + template <> inline constexpr guid guid_v{ 0x131EB0D3,0xD04E,0x47B1,{ 0x83,0x7E,0x49,0x40,0x5B,0xF6,0xF8,0x0F } }; // 131EB0D3-D04E-47B1-837E-49405BF6F80F + template <> inline constexpr guid guid_v{ 0xCDE820F9,0xD9FA,0x43D6,{ 0xA2,0x64,0xDD,0xD8,0xB7,0xDA,0x8B,0x78 } }; // CDE820F9-D9FA-43D6-A264-DDD8B7DA8B78 + template <> inline constexpr guid guid_v{ 0xFBDB545E,0x56F1,0x510F,{ 0xA4,0x34,0x21,0x7F,0xBD,0x9E,0x7B,0xD2 } }; // FBDB545E-56F1-510F-A434-217FBD9E7BD2 + template <> inline constexpr guid guid_v{ 0x1CFF3902,0x61EC,0x5776,{ 0xAB,0x86,0x9B,0x41,0xF9,0x4B,0x1E,0x66 } }; // 1CFF3902-61EC-5776-AB86-9B41F94B1E66 + template <> inline constexpr guid guid_v{ 0x5C5F065E,0xB863,0x4981,{ 0xA1,0xAF,0x1C,0x54,0x4D,0x8B,0x0C,0x0D } }; // 5C5F065E-B863-4981-A1AF-1C544D8B0C0D + template <> inline constexpr guid guid_v{ 0x09C2BD9F,0x2DFF,0x4B23,{ 0x86,0xEE,0x0D,0x14,0xFB,0x94,0xAE,0xAE } }; // 09C2BD9F-2DFF-4B23-86EE-0D14FB94AEAE + template <> inline constexpr guid guid_v{ 0x8F62790E,0xDC88,0x5C8B,{ 0xB3,0x4E,0x10,0xB3,0x21,0x85,0x0F,0x88 } }; // 8F62790E-DC88-5C8B-B34E-10B321850F88 + template <> inline constexpr guid guid_v{ 0x27987DDF,0xE596,0x41BE,{ 0x8D,0x43,0x9E,0x67,0x31,0xD4,0xA9,0x13 } }; // 27987DDF-E596-41BE-8D43-9E6731D4A913 + template <> inline constexpr guid guid_v{ 0x12D9C87B,0x0399,0x5F0E,{ 0xA3,0x48,0x53,0xB0,0x2B,0x6B,0x16,0x2E } }; // 12D9C87B-0399-5F0E-A348-53B02B6B162E + template <> inline constexpr guid guid_v{ 0x8D204B54,0xFF86,0x5D84,{ 0xA2,0x5A,0x13,0x7D,0xCC,0xD9,0x6F,0x7A } }; // 8D204B54-FF86-5D84-A25A-137DCCD96F7A + template <> inline constexpr guid guid_v{ 0x94F91413,0x63D9,0x53BD,{ 0xAF,0x4C,0xE6,0xB1,0xA6,0x51,0x45,0x95 } }; // 94F91413-63D9-53BD-AF4C-E6B1A6514595 + template <> inline constexpr guid guid_v{ 0x548E39CD,0x3C9E,0x5F8D,{ 0xB5,0xE1,0xAD,0xEB,0xED,0x5C,0x35,0x7C } }; // 548E39CD-3C9E-5F8D-B5E1-ADEBED5C357C + template <> inline constexpr guid guid_v{ 0xA6AC336F,0xF3D3,0x4297,{ 0x8D,0x6C,0xC8,0x1E,0xA6,0x62,0x3F,0x40 } }; // A6AC336F-F3D3-4297-8D6C-C81EA6623F40 + template <> inline constexpr guid guid_v{ 0x01BF26BC,0xB164,0x5805,{ 0x90,0xA3,0xE8,0xA7,0x99,0x7F,0xF2,0x25 } }; // 01BF26BC-B164-5805-90A3-E8A7997FF225 + template <> inline constexpr guid guid_v{ 0x14D980BE,0x4002,0x5DBE,{ 0x85,0x19,0xFF,0xCA,0x6C,0xA3,0x89,0xF0 } }; // 14D980BE-4002-5DBE-8519-FFCA6CA389F0 + template <> inline constexpr guid guid_v{ 0x9AAF2D56,0x39AC,0x453E,{ 0xB3,0x2A,0x85,0xC6,0x57,0xE0,0x17,0xF1 } }; // 9AAF2D56-39AC-453E-B32A-85C657E017F1 + template <> inline constexpr guid guid_v{ 0xDD40F84D,0xE7B9,0x43E3,{ 0x9C,0x04,0x06,0x85,0xD0,0x85,0xFD,0x8C } }; // DD40F84D-E7B9-43E3-9C04-0685D085FD8C + template <> inline constexpr guid guid_v{ 0x912DBA18,0x6963,0x4533,{ 0xB0,0x61,0x46,0x94,0xDA,0xFB,0x34,0xE5 } }; // 912DBA18-6963-4533-B061-4694DAFB34E5 + template <> inline constexpr guid guid_v{ 0xC09B39F8,0x319A,0x441E,{ 0x8D,0xE5,0x66,0xA8,0x1E,0x87,0x7A,0x6C } }; // C09B39F8-319A-441E-8DE5-66A81E877A6C + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementScanParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Flags(void**) noexcept = 0; + virtual int32_t __stdcall put_Flags(void*) noexcept = 0; + virtual int32_t __stdcall get_LocalName(void**) noexcept = 0; + virtual int32_t __stdcall put_LocalName(void*) noexcept = 0; + virtual int32_t __stdcall get_ServiceUuids(void**) noexcept = 0; + virtual int32_t __stdcall get_ManufacturerData(void**) noexcept = 0; + virtual int32_t __stdcall get_DataSections(void**) noexcept = 0; + virtual int32_t __stdcall GetManufacturerDataByCompanyId(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSectionsByType(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DataType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_DataType(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Offset(int16_t*) noexcept = 0; + virtual int32_t __stdcall put_Offset(int16_t) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint8_t, int16_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DataType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_DataType(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint8_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Flags(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_IncompleteService16BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_CompleteService16BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_IncompleteService32BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_CompleteService32BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_IncompleteService128BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_CompleteService128BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ShortenedLocalName(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_CompleteLocalName(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_TxPowerLevel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_PeripheralConnectionIntervalRange(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceSolicitation16BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceSolicitation32BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceSolicitation128BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceData16BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceData32BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceData128BitUuids(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_PublicTargetAddress(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_RandomTargetAddress(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Appearance(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_AdvertisingInterval(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ManufacturerSpecificData(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Advertisement(void**) noexcept = 0; + virtual int32_t __stdcall put_Advertisement(void*) noexcept = 0; + virtual int32_t __stdcall get_BytePatterns(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Advertisement(void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreferredTransmitPowerLevelInDBm(void**) noexcept = 0; + virtual int32_t __stdcall put_PreferredTransmitPowerLevelInDBm(void*) noexcept = 0; + virtual int32_t __stdcall get_UseExtendedAdvertisement(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseExtendedAdvertisement(bool) noexcept = 0; + virtual int32_t __stdcall get_IsAnonymous(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAnonymous(bool) noexcept = 0; + virtual int32_t __stdcall get_IncludeTransmitPowerLevel(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeTransmitPowerLevel(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrimaryPhy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PrimaryPhy(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SecondaryPhy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SecondaryPhy(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedTransmitPowerLevelInDBm(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RawSignalStrengthInDBm(int16_t*) noexcept = 0; + virtual int32_t __stdcall get_BluetoothAddress(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_AdvertisementType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Advertisement(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BluetoothAddressType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TransmitPowerLevelInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_IsAnonymous(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsConnectable(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsScannable(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDirected(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsScanResponse(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrimaryPhy(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SecondaryPhy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ScanWindow(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ScanInterval(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CoexistenceOptimized(void**) noexcept = 0; + virtual int32_t __stdcall LowLatency(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinSamplingInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxSamplingInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MinOutOfRangeTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxOutOfRangeTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ScanningMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ScanningMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SignalStrengthFilter(void**) noexcept = 0; + virtual int32_t __stdcall put_SignalStrengthFilter(void*) noexcept = 0; + virtual int32_t __stdcall get_AdvertisementFilter(void**) noexcept = 0; + virtual int32_t __stdcall put_AdvertisementFilter(void*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall add_Received(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Received(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowExtendedAdvertisements(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowExtendedAdvertisements(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UseUncoded1MPhy(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseUncoded1MPhy(bool) noexcept = 0; + virtual int32_t __stdcall get_UseCodedPhy(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseCodedPhy(bool) noexcept = 0; + virtual int32_t __stdcall get_ScanParameters(void**) noexcept = 0; + virtual int32_t __stdcall put_ScanParameters(void*) noexcept = 0; + virtual int32_t __stdcall get_UseHardwareFilter(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseHardwareFilter(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CompanyId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall put_CompanyId(uint16_t) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint16_t, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement + { + [[nodiscard]] auto Flags() const; + auto Flags(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LocalName() const; + auto LocalName(param::hstring const& value) const; + [[nodiscard]] auto ServiceUuids() const; + [[nodiscard]] auto ManufacturerData() const; + [[nodiscard]] auto DataSections() const; + auto GetManufacturerDataByCompanyId(uint16_t companyId) const; + auto GetSectionsByType(uint8_t type) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern + { + [[nodiscard]] auto DataType() const; + auto DataType(uint8_t value) const; + [[nodiscard]] auto Offset() const; + auto Offset(int16_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory + { + auto Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection + { + [[nodiscard]] auto DataType() const; + auto DataType(uint8_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory + { + auto Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics + { + [[nodiscard]] auto Flags() const; + [[nodiscard]] auto IncompleteService16BitUuids() const; + [[nodiscard]] auto CompleteService16BitUuids() const; + [[nodiscard]] auto IncompleteService32BitUuids() const; + [[nodiscard]] auto CompleteService32BitUuids() const; + [[nodiscard]] auto IncompleteService128BitUuids() const; + [[nodiscard]] auto CompleteService128BitUuids() const; + [[nodiscard]] auto ShortenedLocalName() const; + [[nodiscard]] auto CompleteLocalName() const; + [[nodiscard]] auto TxPowerLevel() const; + [[nodiscard]] auto PeripheralConnectionIntervalRange() const; + [[nodiscard]] auto ServiceSolicitation16BitUuids() const; + [[nodiscard]] auto ServiceSolicitation32BitUuids() const; + [[nodiscard]] auto ServiceSolicitation128BitUuids() const; + [[nodiscard]] auto ServiceData16BitUuids() const; + [[nodiscard]] auto ServiceData32BitUuids() const; + [[nodiscard]] auto ServiceData128BitUuids() const; + [[nodiscard]] auto PublicTargetAddress() const; + [[nodiscard]] auto RandomTargetAddress() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto AdvertisingInterval() const; + [[nodiscard]] auto ManufacturerSpecificData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter + { + [[nodiscard]] auto Advertisement() const; + auto Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const; + [[nodiscard]] auto BytePatterns() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Advertisement() const; + auto Start() const; + auto Stop() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2 + { + [[nodiscard]] auto PreferredTransmitPowerLevelInDBm() const; + auto PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto UseExtendedAdvertisement() const; + auto UseExtendedAdvertisement(bool value) const; + [[nodiscard]] auto IsAnonymous() const; + auto IsAnonymous(bool value) const; + [[nodiscard]] auto IncludeTransmitPowerLevel() const; + auto IncludeTransmitPowerLevel(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher3 + { + [[nodiscard]] auto PrimaryPhy() const; + auto PrimaryPhy(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPhyType const& value) const; + [[nodiscard]] auto SecondaryPhy() const; + auto SecondaryPhy(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPhyType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher3; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory + { + auto Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 + { + [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs + { + [[nodiscard]] auto RawSignalStrengthInDBm() const; + [[nodiscard]] auto BluetoothAddress() const; + [[nodiscard]] auto AdvertisementType() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Advertisement() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2 + { + [[nodiscard]] auto BluetoothAddressType() const; + [[nodiscard]] auto TransmitPowerLevelInDBm() const; + [[nodiscard]] auto IsAnonymous() const; + [[nodiscard]] auto IsConnectable() const; + [[nodiscard]] auto IsScannable() const; + [[nodiscard]] auto IsDirected() const; + [[nodiscard]] auto IsScanResponse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs3 + { + [[nodiscard]] auto PrimaryPhy() const; + [[nodiscard]] auto SecondaryPhy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs3; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementScanParameters + { + [[nodiscard]] auto ScanWindow() const; + [[nodiscard]] auto ScanInterval() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementScanParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementScanParametersStatics + { + auto CoexistenceOptimized() const; + auto LowLatency() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementScanParametersStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher + { + [[nodiscard]] auto MinSamplingInterval() const; + [[nodiscard]] auto MaxSamplingInterval() const; + [[nodiscard]] auto MinOutOfRangeTimeout() const; + [[nodiscard]] auto MaxOutOfRangeTimeout() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ScanningMode() const; + auto ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const; + [[nodiscard]] auto SignalStrengthFilter() const; + auto SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const; + [[nodiscard]] auto AdvertisementFilter() const; + auto AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const; + auto Start() const; + auto Stop() const; + auto Received(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Received_revoker = impl::event_revoker::remove_Received>; + [[nodiscard]] auto Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Received(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2 + { + [[nodiscard]] auto AllowExtendedAdvertisements() const; + auto AllowExtendedAdvertisements(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher3 + { + [[nodiscard]] auto UseUncoded1MPhy() const; + auto UseUncoded1MPhy(bool value) const; + [[nodiscard]] auto UseCodedPhy() const; + auto UseCodedPhy(bool value) const; + [[nodiscard]] auto ScanParameters() const; + auto ScanParameters(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementScanParameters const& value) const; + [[nodiscard]] auto UseHardwareFilter() const; + auto UseHardwareFilter(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher3; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory + { + auto Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs + { + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData + { + [[nodiscard]] auto CompanyId() const; + auto CompanyId(uint16_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData; + }; + template + struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory + { + auto Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8c82f848cfb3fad15cc70f59892cf7e2f070ab12 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.1.h @@ -0,0 +1,188 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_1_H +#define WINRT_Windows_Devices_Bluetooth_Advertisement_1_H +#include "winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Advertisement +{ + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisement(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementBytePattern : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementBytePattern(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementBytePattern(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementBytePatternFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementBytePatternFactory(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementBytePatternFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementDataSection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementDataSection(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementDataSection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementDataSectionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementDataSectionFactory(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementDataSectionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementDataTypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementDataTypesStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementDataTypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementFilter(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisher(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisher2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisher2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisher2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisher3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisher3(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisher3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisherFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisherFactory(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisherFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisherStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisherStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisherStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementReceivedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementReceivedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementReceivedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementReceivedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementReceivedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementReceivedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementScanParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementScanParameters(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementScanParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementScanParametersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementScanParametersStatics(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementScanParametersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcher(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcher2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcher2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcher2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcher3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcher3(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcher3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcherFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcherFactory(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcherFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcherStoppedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcherStoppedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcherStoppedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEManufacturerData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEManufacturerData(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEManufacturerData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEManufacturerDataFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEManufacturerDataFactory(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEManufacturerDataFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.2.h new file mode 100644 index 0000000000000000000000000000000000000000..269d025050212ae9b635eb0aa03d79f52eb225a7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.advertisement.2.h @@ -0,0 +1,113 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_2_H +#define WINRT_Windows_Devices_Bluetooth_Advertisement_2_H +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Advertisement +{ + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisement : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement + { + BluetoothLEAdvertisement(std::nullptr_t) noexcept {} + BluetoothLEAdvertisement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisement(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementBytePattern : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern + { + BluetoothLEAdvertisementBytePattern(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementBytePattern(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisementBytePattern(); + BluetoothLEAdvertisementBytePattern(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementDataSection : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection + { + BluetoothLEAdvertisementDataSection(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementDataSection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisementDataSection(); + BluetoothLEAdvertisementDataSection(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data); + }; + struct BluetoothLEAdvertisementDataTypes + { + BluetoothLEAdvertisementDataTypes() = delete; + [[nodiscard]] static auto Flags(); + [[nodiscard]] static auto IncompleteService16BitUuids(); + [[nodiscard]] static auto CompleteService16BitUuids(); + [[nodiscard]] static auto IncompleteService32BitUuids(); + [[nodiscard]] static auto CompleteService32BitUuids(); + [[nodiscard]] static auto IncompleteService128BitUuids(); + [[nodiscard]] static auto CompleteService128BitUuids(); + [[nodiscard]] static auto ShortenedLocalName(); + [[nodiscard]] static auto CompleteLocalName(); + [[nodiscard]] static auto TxPowerLevel(); + [[nodiscard]] static auto PeripheralConnectionIntervalRange(); + [[nodiscard]] static auto ServiceSolicitation16BitUuids(); + [[nodiscard]] static auto ServiceSolicitation32BitUuids(); + [[nodiscard]] static auto ServiceSolicitation128BitUuids(); + [[nodiscard]] static auto ServiceData16BitUuids(); + [[nodiscard]] static auto ServiceData32BitUuids(); + [[nodiscard]] static auto ServiceData128BitUuids(); + [[nodiscard]] static auto PublicTargetAddress(); + [[nodiscard]] static auto RandomTargetAddress(); + [[nodiscard]] static auto Appearance(); + [[nodiscard]] static auto AdvertisingInterval(); + [[nodiscard]] static auto ManufacturerSpecificData(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementFilter : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter + { + BluetoothLEAdvertisementFilter(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisementFilter(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementPublisher : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher, + impl::require + { + BluetoothLEAdvertisementPublisher(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementPublisher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisementPublisher(); + explicit BluetoothLEAdvertisementPublisher(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementPublisherStatusChangedEventArgs : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs, + impl::require + { + BluetoothLEAdvertisementPublisherStatusChangedEventArgs(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementPublisherStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementReceivedEventArgs : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs, + impl::require + { + BluetoothLEAdvertisementReceivedEventArgs(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementScanParameters : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementScanParameters + { + BluetoothLEAdvertisementScanParameters(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementScanParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementScanParameters(ptr, take_ownership_from_abi) {} + static auto CoexistenceOptimized(); + static auto LowLatency(); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementWatcher : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher, + impl::require + { + BluetoothLEAdvertisementWatcher(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher(ptr, take_ownership_from_abi) {} + BluetoothLEAdvertisementWatcher(); + explicit BluetoothLEAdvertisementWatcher(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter); + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementWatcherStoppedEventArgs : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs + { + BluetoothLEAdvertisementWatcherStoppedEventArgs(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementWatcherStoppedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEManufacturerData : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData + { + BluetoothLEManufacturerData(std::nullptr_t) noexcept {} + BluetoothLEManufacturerData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData(ptr, take_ownership_from_abi) {} + BluetoothLEManufacturerData(); + BluetoothLEManufacturerData(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.0.h new file mode 100644 index 0000000000000000000000000000000000000000..36117dfeb07efcb5653f8d828d714e0c7c58ab65 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.0.h @@ -0,0 +1,356 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Background_0_H +#define WINRT_Windows_Devices_Bluetooth_Background_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + struct BluetoothDevice; + enum class BluetoothError : int32_t; + enum class BluetoothServiceCapabilities : uint32_t; + struct BluetoothSignalStrengthFilter; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Advertisement +{ + enum class BluetoothLEAdvertisementPublisherStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile +{ + struct GattCharacteristic; + struct GattLocalService; + struct GattServiceProviderAdvertisingParameters; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm +{ + struct RfcommServiceId; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct StreamSocket; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Background +{ + enum class BluetoothEventTriggeringMode : int32_t + { + Serial = 0, + Batch = 1, + KeepLatest = 2, + }; + struct IBluetoothLEAdvertisementPublisherTriggerDetails; + struct IBluetoothLEAdvertisementPublisherTriggerDetails2; + struct IBluetoothLEAdvertisementWatcherTriggerDetails; + struct IGattCharacteristicNotificationTriggerDetails; + struct IGattCharacteristicNotificationTriggerDetails2; + struct IGattServiceProviderConnection; + struct IGattServiceProviderConnection2; + struct IGattServiceProviderConnectionStatics; + struct IGattServiceProviderTriggerDetails; + struct IRfcommConnectionTriggerDetails; + struct IRfcommInboundConnectionInformation; + struct IRfcommOutboundConnectionInformation; + struct BluetoothLEAdvertisementPublisherTriggerDetails; + struct BluetoothLEAdvertisementWatcherTriggerDetails; + struct GattCharacteristicNotificationTriggerDetails; + struct GattServiceProviderConnection; + struct GattServiceProviderTriggerDetails; + struct RfcommConnectionTriggerDetails; + struct RfcommInboundConnectionInformation; + struct RfcommOutboundConnectionInformation; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementPublisherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementWatcherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.GattCharacteristicNotificationTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.GattServiceProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.GattServiceProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.RfcommConnectionTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.BluetoothEventTriggeringMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IBluetoothLEAdvertisementPublisherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IBluetoothLEAdvertisementPublisherTriggerDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IBluetoothLEAdvertisementWatcherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattCharacteristicNotificationTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattCharacteristicNotificationTriggerDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattServiceProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattServiceProviderConnection2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattServiceProviderConnectionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IGattServiceProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IRfcommConnectionTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IRfcommInboundConnectionInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Background.IRfcommOutboundConnectionInformation"; + template <> inline constexpr guid guid_v{ 0x610ECA86,0x3480,0x41C9,{ 0xA9,0x18,0x7D,0xDA,0xDF,0x20,0x7E,0x00 } }; // 610ECA86-3480-41C9-A918-7DDADF207E00 + template <> inline constexpr guid guid_v{ 0xD4A3D025,0xC601,0x42D6,{ 0x98,0x29,0x4C,0xCB,0x3F,0x5C,0xD7,0x7F } }; // D4A3D025-C601-42D6-9829-4CCB3F5CD77F + template <> inline constexpr guid guid_v{ 0xA7DB5AD7,0x2257,0x4E69,{ 0x97,0x84,0xFE,0xE6,0x45,0xC1,0xDC,0xE0 } }; // A7DB5AD7-2257-4E69-9784-FEE645C1DCE0 + template <> inline constexpr guid guid_v{ 0x9BA03B18,0x0FEC,0x436A,{ 0x93,0xB1,0xF4,0x6C,0x69,0x75,0x32,0xA2 } }; // 9BA03B18-0FEC-436A-93B1-F46C697532A2 + template <> inline constexpr guid guid_v{ 0x727A50DC,0x949D,0x454A,{ 0xB1,0x92,0x98,0x34,0x67,0xE3,0xD5,0x0F } }; // 727A50DC-949D-454A-B192-983467E3D50F + template <> inline constexpr guid guid_v{ 0x7FA1B9B9,0x2F13,0x40B5,{ 0x95,0x82,0x8E,0xB7,0x8E,0x98,0xEF,0x13 } }; // 7FA1B9B9-2F13-40B5-9582-8EB78E98EF13 + template <> inline constexpr guid guid_v{ 0x90D12BE0,0xEBC0,0x484F,{ 0xAE,0x0A,0x7E,0xB8,0xB6,0x26,0x6B,0xAC } }; // 90D12BE0-EBC0-484F-AE0A-7EB8B6266BAC + template <> inline constexpr guid guid_v{ 0x3D509F4B,0x0B0E,0x4466,{ 0xB8,0xCD,0x6E,0xBD,0xDA,0x1F,0xA1,0x7D } }; // 3D509F4B-0B0E-4466-B8CD-6EBDDA1FA17D + template <> inline constexpr guid guid_v{ 0xAE8C0625,0x05FF,0x4AFB,{ 0xB1,0x6A,0xDE,0x95,0xF3,0xCF,0x01,0x58 } }; // AE8C0625-05FF-4AFB-B16A-DE95F3CF0158 + template <> inline constexpr guid guid_v{ 0xF922734D,0x2E3C,0x4EFC,{ 0xAB,0x59,0xFC,0x5C,0xF9,0x6F,0x97,0xE3 } }; // F922734D-2E3C-4EFC-AB59-FC5CF96F97E3 + template <> inline constexpr guid guid_v{ 0x6D3E75A8,0x5429,0x4059,{ 0x92,0xE3,0x1E,0x8B,0x65,0x52,0x87,0x07 } }; // 6D3E75A8-5429-4059-92E3-1E8B65528707 + template <> inline constexpr guid guid_v{ 0xB091227B,0xF434,0x4CB0,{ 0x99,0xB1,0x4A,0xB8,0xCE,0xDA,0xED,0xD7 } }; // B091227B-F434-4CB0-99B1-4AB8CEDAEDD7 + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedTransmitPowerLevelInDBm(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Advertisements(void**) noexcept = 0; + virtual int32_t __stdcall get_SignalStrengthFilter(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Characteristic(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_EventTriggeringMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ValueChangedEvents(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TriggerId(void**) noexcept = 0; + virtual int32_t __stdcall get_Service(void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateAdvertisingParameters(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllServices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Socket(void**) noexcept = 0; + virtual int32_t __stdcall get_Incoming(bool*) noexcept = 0; + virtual int32_t __stdcall get_RemoteDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SdpRecord(void**) noexcept = 0; + virtual int32_t __stdcall put_SdpRecord(void*) noexcept = 0; + virtual int32_t __stdcall get_LocalServiceId(void**) noexcept = 0; + virtual int32_t __stdcall put_LocalServiceId(void*) noexcept = 0; + virtual int32_t __stdcall get_ServiceCapabilities(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ServiceCapabilities(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RemoteServiceId(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteServiceId(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2 + { + [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Advertisements() const; + [[nodiscard]] auto SignalStrengthFilter() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails + { + [[nodiscard]] auto Characteristic() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2 + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto EventTriggeringMode() const; + [[nodiscard]] auto ValueChangedEvents() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection + { + [[nodiscard]] auto TriggerId() const; + [[nodiscard]] auto Service() const; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection2 + { + auto UpdateAdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection2; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics + { + [[nodiscard]] auto AllServices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails + { + [[nodiscard]] auto Connection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails + { + [[nodiscard]] auto Socket() const; + [[nodiscard]] auto Incoming() const; + [[nodiscard]] auto RemoteDevice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation + { + [[nodiscard]] auto SdpRecord() const; + auto SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto LocalServiceId() const; + auto LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; + [[nodiscard]] auto ServiceCapabilities() const; + auto ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation; + }; + template + struct consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation + { + [[nodiscard]] auto RemoteServiceId() const; + auto RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f9798b74bfa41469230ca30a1414a9c8a4e60b8b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Background_1_H +#define WINRT_Windows_Devices_Bluetooth_Background_1_H +#include "winrt/impl/Windows.Devices.Bluetooth.Background.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Background +{ + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisherTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisherTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementPublisherTriggerDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementPublisherTriggerDetails2(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementPublisherTriggerDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBluetoothLEAdvertisementWatcherTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBluetoothLEAdvertisementWatcherTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IBluetoothLEAdvertisementWatcherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicNotificationTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicNotificationTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicNotificationTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicNotificationTriggerDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicNotificationTriggerDetails2(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicNotificationTriggerDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderConnection(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderConnection2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderConnection2(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderConnection2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderConnectionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderConnectionStatics(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderConnectionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommConnectionTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommConnectionTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IRfcommConnectionTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommInboundConnectionInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommInboundConnectionInformation(std::nullptr_t = nullptr) noexcept {} + IRfcommInboundConnectionInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommOutboundConnectionInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommOutboundConnectionInformation(std::nullptr_t = nullptr) noexcept {} + IRfcommOutboundConnectionInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7ca132b28da04f2443eedb1d556b304b051165e5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.background.2.h @@ -0,0 +1,57 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Background_2_H +#define WINRT_Windows_Devices_Bluetooth_Background_2_H +#include "winrt/impl/Windows.Devices.Bluetooth.Background.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Background +{ + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementPublisherTriggerDetails : winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails, + impl::require + { + BluetoothLEAdvertisementPublisherTriggerDetails(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementPublisherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BluetoothLEAdvertisementWatcherTriggerDetails : winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails + { + BluetoothLEAdvertisementWatcherTriggerDetails(std::nullptr_t) noexcept {} + BluetoothLEAdvertisementWatcherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattCharacteristicNotificationTriggerDetails : winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails, + impl::require + { + GattCharacteristicNotificationTriggerDetails(std::nullptr_t) noexcept {} + GattCharacteristicNotificationTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProviderConnection : winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection, + impl::require + { + GattServiceProviderConnection(std::nullptr_t) noexcept {} + GattServiceProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto AllServices(); + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProviderTriggerDetails : winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderTriggerDetails + { + GattServiceProviderTriggerDetails(std::nullptr_t) noexcept {} + GattServiceProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RfcommConnectionTriggerDetails : winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails + { + RfcommConnectionTriggerDetails(std::nullptr_t) noexcept {} + RfcommConnectionTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RfcommInboundConnectionInformation : winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation + { + RfcommInboundConnectionInformation(std::nullptr_t) noexcept {} + RfcommInboundConnectionInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RfcommOutboundConnectionInformation : winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation + { + RfcommOutboundConnectionInformation(std::nullptr_t) noexcept {} + RfcommOutboundConnectionInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.0.h new file mode 100644 index 0000000000000000000000000000000000000000..261ac50a5021a1367d2f05bf8380788af339a9eb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.0.h @@ -0,0 +1,2089 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_0_H +#define WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + enum class BluetoothCacheMode : int32_t; + struct BluetoothDeviceId; + enum class BluetoothError : int32_t; + struct BluetoothLEDevice; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceAccessInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile +{ + enum class GattCharacteristicProperties : uint32_t + { + None = 0, + Broadcast = 0x1, + Read = 0x2, + WriteWithoutResponse = 0x4, + Write = 0x8, + Notify = 0x10, + Indicate = 0x20, + AuthenticatedSignedWrites = 0x40, + ExtendedProperties = 0x80, + ReliableWrites = 0x100, + WritableAuxiliaries = 0x200, + }; + enum class GattClientCharacteristicConfigurationDescriptorValue : int32_t + { + None = 0, + Notify = 1, + Indicate = 2, + }; + enum class GattCommunicationStatus : int32_t + { + Success = 0, + Unreachable = 1, + ProtocolError = 2, + AccessDenied = 3, + }; + enum class GattOpenStatus : int32_t + { + Unspecified = 0, + Success = 1, + AlreadyOpened = 2, + NotFound = 3, + SharingViolation = 4, + AccessDenied = 5, + }; + enum class GattProtectionLevel : int32_t + { + Plain = 0, + AuthenticationRequired = 1, + EncryptionRequired = 2, + EncryptionAndAuthenticationRequired = 3, + }; + enum class GattRequestState : int32_t + { + Pending = 0, + Completed = 1, + Canceled = 2, + }; + enum class GattServiceProviderAdvertisementStatus : int32_t + { + Created = 0, + Stopped = 1, + Started = 2, + Aborted = 3, + StartedWithoutAllAdvertisementData = 4, + }; + enum class GattSessionStatus : int32_t + { + Closed = 0, + Active = 1, + }; + enum class GattSharingMode : int32_t + { + Unspecified = 0, + Exclusive = 1, + SharedReadOnly = 2, + SharedReadAndWrite = 3, + }; + enum class GattWriteOption : int32_t + { + WriteWithResponse = 0, + WriteWithoutResponse = 1, + }; + struct IGattCharacteristic; + struct IGattCharacteristic2; + struct IGattCharacteristic3; + struct IGattCharacteristicStatics; + struct IGattCharacteristicUuidsStatics; + struct IGattCharacteristicUuidsStatics2; + struct IGattCharacteristicsResult; + struct IGattClientNotificationResult; + struct IGattClientNotificationResult2; + struct IGattDescriptor; + struct IGattDescriptor2; + struct IGattDescriptorStatics; + struct IGattDescriptorUuidsStatics; + struct IGattDescriptorsResult; + struct IGattDeviceService; + struct IGattDeviceService2; + struct IGattDeviceService3; + struct IGattDeviceServiceStatics; + struct IGattDeviceServiceStatics2; + struct IGattDeviceServicesResult; + struct IGattLocalCharacteristic; + struct IGattLocalCharacteristicParameters; + struct IGattLocalCharacteristicResult; + struct IGattLocalDescriptor; + struct IGattLocalDescriptorParameters; + struct IGattLocalDescriptorResult; + struct IGattLocalService; + struct IGattPresentationFormat; + struct IGattPresentationFormatStatics; + struct IGattPresentationFormatStatics2; + struct IGattPresentationFormatTypesStatics; + struct IGattProtocolErrorStatics; + struct IGattReadClientCharacteristicConfigurationDescriptorResult; + struct IGattReadClientCharacteristicConfigurationDescriptorResult2; + struct IGattReadRequest; + struct IGattReadRequestedEventArgs; + struct IGattReadResult; + struct IGattReadResult2; + struct IGattReliableWriteTransaction; + struct IGattReliableWriteTransaction2; + struct IGattRequestStateChangedEventArgs; + struct IGattServiceProvider; + struct IGattServiceProvider2; + struct IGattServiceProviderAdvertisementStatusChangedEventArgs; + struct IGattServiceProviderAdvertisingParameters; + struct IGattServiceProviderAdvertisingParameters2; + struct IGattServiceProviderAdvertisingParameters3; + struct IGattServiceProviderResult; + struct IGattServiceProviderStatics; + struct IGattServiceUuidsStatics; + struct IGattServiceUuidsStatics2; + struct IGattSession; + struct IGattSessionStatics; + struct IGattSessionStatusChangedEventArgs; + struct IGattSubscribedClient; + struct IGattValueChangedEventArgs; + struct IGattWriteRequest; + struct IGattWriteRequestedEventArgs; + struct IGattWriteResult; + struct GattCharacteristic; + struct GattCharacteristicUuids; + struct GattCharacteristicsResult; + struct GattClientNotificationResult; + struct GattDescriptor; + struct GattDescriptorUuids; + struct GattDescriptorsResult; + struct GattDeviceService; + struct GattDeviceServicesResult; + struct GattLocalCharacteristic; + struct GattLocalCharacteristicParameters; + struct GattLocalCharacteristicResult; + struct GattLocalDescriptor; + struct GattLocalDescriptorParameters; + struct GattLocalDescriptorResult; + struct GattLocalService; + struct GattPresentationFormat; + struct GattPresentationFormatTypes; + struct GattProtocolError; + struct GattReadClientCharacteristicConfigurationDescriptorResult; + struct GattReadRequest; + struct GattReadRequestedEventArgs; + struct GattReadResult; + struct GattReliableWriteTransaction; + struct GattRequestStateChangedEventArgs; + struct GattServiceProvider; + struct GattServiceProviderAdvertisementStatusChangedEventArgs; + struct GattServiceProviderAdvertisingParameters; + struct GattServiceProviderResult; + struct GattServiceUuids; + struct GattSession; + struct GattSessionStatusChangedEventArgs; + struct GattSubscribedClient; + struct GattValueChangedEventArgs; + struct GattWriteRequest; + struct GattWriteRequestedEventArgs; + struct GattWriteResult; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicUuids"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorUuids"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormatTypes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtocolError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadClientCharacteristicConfigurationDescriptorResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceUuids"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattOpenStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristic"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristic2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristic3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristicStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristicUuidsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristicUuidsStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattClientNotificationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattClientNotificationResult2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDescriptor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDescriptorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDescriptorUuidsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDescriptorsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceService2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceService3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceServiceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceServiceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattDeviceServicesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalCharacteristic"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalCharacteristicParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalCharacteristicResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalDescriptorParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalDescriptorResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattLocalService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattPresentationFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattPresentationFormatStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattPresentationFormatStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattPresentationFormatTypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattProtocolErrorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadClientCharacteristicConfigurationDescriptorResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadClientCharacteristicConfigurationDescriptorResult2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReadResult2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReliableWriteTransaction"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattReliableWriteTransaction2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattRequestStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProvider2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderAdvertisementStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderAdvertisingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderAdvertisingParameters2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderAdvertisingParameters3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceUuidsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattServiceUuidsStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattSessionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattSessionStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattSubscribedClient"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattValueChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattWriteRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattWriteRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.GenericAttributeProfile.IGattWriteResult"; + template <> inline constexpr guid guid_v{ 0x59CB50C1,0x5934,0x4F68,{ 0xA1,0x98,0xEB,0x86,0x4F,0xA4,0x4E,0x6B } }; // 59CB50C1-5934-4F68-A198-EB864FA44E6B + template <> inline constexpr guid guid_v{ 0xAE1AB578,0xEC06,0x4764,{ 0xB7,0x80,0x98,0x35,0xA1,0xD3,0x5D,0x6E } }; // AE1AB578-EC06-4764-B780-9835A1D35D6E + template <> inline constexpr guid guid_v{ 0x3F3C663E,0x93D4,0x406B,{ 0xB8,0x17,0xDB,0x81,0xF8,0xED,0x53,0xB3 } }; // 3F3C663E-93D4-406B-B817-DB81F8ED53B3 + template <> inline constexpr guid guid_v{ 0x59CB50C3,0x5934,0x4F68,{ 0xA1,0x98,0xEB,0x86,0x4F,0xA4,0x4E,0x6B } }; // 59CB50C3-5934-4F68-A198-EB864FA44E6B + template <> inline constexpr guid guid_v{ 0x58FA4586,0xB1DE,0x470C,{ 0xB7,0xDE,0x0D,0x11,0xFF,0x44,0xF4,0xB7 } }; // 58FA4586-B1DE-470C-B7DE-0D11FF44F4B7 + template <> inline constexpr guid guid_v{ 0x1855B425,0xD46E,0x4A2C,{ 0x9C,0x3F,0xED,0x6D,0xEA,0x29,0xE7,0xBE } }; // 1855B425-D46E-4A2C-9C3F-ED6DEA29E7BE + template <> inline constexpr guid guid_v{ 0x1194945C,0xB257,0x4F3E,{ 0x9D,0xB7,0xF6,0x8B,0xC9,0xA9,0xAE,0xF2 } }; // 1194945C-B257-4F3E-9DB7-F68BC9A9AEF2 + template <> inline constexpr guid guid_v{ 0x506D5599,0x0112,0x419A,{ 0x8E,0x3B,0xAE,0x21,0xAF,0xAB,0xD2,0xC2 } }; // 506D5599-0112-419A-8E3B-AE21AFABD2C2 + template <> inline constexpr guid guid_v{ 0x8FAEC497,0x45E0,0x497E,{ 0x95,0x82,0x29,0xA1,0xFE,0x28,0x1A,0xD5 } }; // 8FAEC497-45E0-497E-9582-29A1FE281AD5 + template <> inline constexpr guid guid_v{ 0x92055F2B,0x8084,0x4344,{ 0xB4,0xC2,0x28,0x4D,0xE1,0x9A,0x85,0x06 } }; // 92055F2B-8084-4344-B4C2-284DE19A8506 + template <> inline constexpr guid guid_v{ 0x8F563D39,0xD630,0x406C,{ 0xBA,0x11,0x10,0xCD,0xD1,0x6B,0x0E,0x5E } }; // 8F563D39-D630-406C-BA11-10CDD16B0E5E + template <> inline constexpr guid guid_v{ 0x92055F2D,0x8084,0x4344,{ 0xB4,0xC2,0x28,0x4D,0xE1,0x9A,0x85,0x06 } }; // 92055F2D-8084-4344-B4C2-284DE19A8506 + template <> inline constexpr guid guid_v{ 0xA6F862CE,0x9CFC,0x42F1,{ 0x91,0x85,0xFF,0x37,0xB7,0x51,0x81,0xD3 } }; // A6F862CE-9CFC-42F1-9185-FF37B75181D3 + template <> inline constexpr guid guid_v{ 0x9BC091F3,0x95E7,0x4489,{ 0x8D,0x25,0xFF,0x81,0x95,0x5A,0x57,0xB9 } }; // 9BC091F3-95E7-4489-8D25-FF81955A57B9 + template <> inline constexpr guid guid_v{ 0xAC7B7C05,0xB33C,0x47CF,{ 0x99,0x0F,0x6B,0x8F,0x55,0x77,0xDF,0x71 } }; // AC7B7C05-B33C-47CF-990F-6B8F5577DF71 + template <> inline constexpr guid guid_v{ 0xFC54520B,0x0B0D,0x4708,{ 0xBA,0xE0,0x9F,0xFD,0x94,0x89,0xBC,0x59 } }; // FC54520B-0B0D-4708-BAE0-9FFD9489BC59 + template <> inline constexpr guid guid_v{ 0xB293A950,0x0C53,0x437C,{ 0xA9,0xB3,0x5C,0x32,0x10,0xC6,0xE5,0x69 } }; // B293A950-0C53-437C-A9B3-5C3210C6E569 + template <> inline constexpr guid guid_v{ 0x196D0022,0xFAAD,0x45DC,{ 0xAE,0x5B,0x2A,0xC3,0x18,0x4E,0x84,0xDB } }; // 196D0022-FAAD-45DC-AE5B-2AC3184E84DB + template <> inline constexpr guid guid_v{ 0x0604186E,0x24A6,0x4B0D,{ 0xA2,0xF2,0x30,0xCC,0x01,0x54,0x5D,0x25 } }; // 0604186E-24A6-4B0D-A2F2-30CC01545D25 + template <> inline constexpr guid guid_v{ 0x171DD3EE,0x016D,0x419D,{ 0x83,0x8A,0x57,0x6C,0xF4,0x75,0xA3,0xD8 } }; // 171DD3EE-016D-419D-838A-576CF475A3D8 + template <> inline constexpr guid guid_v{ 0xAEDE376D,0x5412,0x4D74,{ 0x92,0xA8,0x8D,0xEB,0x85,0x26,0x82,0x9C } }; // AEDE376D-5412-4D74-92A8-8DEB8526829C + template <> inline constexpr guid guid_v{ 0xFAF73DB4,0x4CFF,0x44C7,{ 0x84,0x45,0x04,0x0E,0x6E,0xAD,0x00,0x63 } }; // FAF73DB4-4CFF-44C7-8445-040E6EAD0063 + template <> inline constexpr guid guid_v{ 0x7975DE9B,0x0170,0x4397,{ 0x96,0x66,0x92,0xF8,0x63,0xF1,0x2E,0xE6 } }; // 7975DE9B-0170-4397-9666-92F863F12EE6 + template <> inline constexpr guid guid_v{ 0xF48EBE06,0x789D,0x4A4B,{ 0x86,0x52,0xBD,0x01,0x7B,0x5D,0x2F,0xC6 } }; // F48EBE06-789D-4A4B-8652-BD017B5D2FC6 + template <> inline constexpr guid guid_v{ 0x5FDEDE6A,0xF3C1,0x4B66,{ 0x8C,0x4B,0xE3,0xD2,0x29,0x3B,0x40,0xE9 } }; // 5FDEDE6A-F3C1-4B66-8C4B-E3D2293B40E9 + template <> inline constexpr guid guid_v{ 0x375791BE,0x321F,0x4366,{ 0xBF,0xC1,0x3B,0xC6,0xB8,0x2C,0x79,0xF8 } }; // 375791BE-321F-4366-BFC1-3BC6B82C79F8 + template <> inline constexpr guid guid_v{ 0xF513E258,0xF7F7,0x4902,{ 0xB8,0x03,0x57,0xFC,0xC7,0xD6,0xFE,0x83 } }; // F513E258-F7F7-4902-B803-57FCC7D6FE83 + template <> inline constexpr guid guid_v{ 0x196D0021,0xFAAD,0x45DC,{ 0xAE,0x5B,0x2A,0xC3,0x18,0x4E,0x84,0xDB } }; // 196D0021-FAAD-45DC-AE5B-2AC3184E84DB + template <> inline constexpr guid guid_v{ 0x196D0020,0xFAAD,0x45DC,{ 0xAE,0x5B,0x2A,0xC3,0x18,0x4E,0x84,0xDB } }; // 196D0020-FAAD-45DC-AE5B-2AC3184E84DB + template <> inline constexpr guid guid_v{ 0xA9C21713,0xB82F,0x435E,{ 0xB6,0x34,0x21,0xFD,0x85,0xA4,0x3C,0x07 } }; // A9C21713-B82F-435E-B634-21FD85A43C07 + template <> inline constexpr guid guid_v{ 0xFAF1BA0A,0x30BA,0x409C,{ 0xBE,0xF7,0xCF,0xFB,0x6D,0x03,0xB8,0xFB } }; // FAF1BA0A-30BA-409C-BEF7-CFFB6D03B8FB + template <> inline constexpr guid guid_v{ 0xCA46C5C5,0x0ECC,0x4809,{ 0xBE,0xA3,0xCF,0x79,0xBC,0x99,0x1E,0x37 } }; // CA46C5C5-0ECC-4809-BEA3-CF79BC991E37 + template <> inline constexpr guid guid_v{ 0x63A66F09,0x1AEA,0x4C4C,{ 0xA5,0x0F,0x97,0xBA,0xE4,0x74,0xB3,0x48 } }; // 63A66F09-1AEA-4C4C-A50F-97BAE474B348 + template <> inline constexpr guid guid_v{ 0x1BF1A59D,0xBA4D,0x4622,{ 0x86,0x51,0xF4,0xEE,0x15,0x0D,0x0A,0x5D } }; // 1BF1A59D-BA4D-4622-8651-F4EE150D0A5D + template <> inline constexpr guid guid_v{ 0xF1DD6535,0x6ACD,0x42A6,{ 0xA4,0xBB,0xD7,0x89,0xDA,0xE0,0x04,0x3E } }; // F1DD6535-6ACD-42A6-A4BB-D789DAE0043E + template <> inline constexpr guid guid_v{ 0x93497243,0xF39C,0x484B,{ 0x8A,0xB6,0x99,0x6B,0xA4,0x86,0xCF,0xA3 } }; // 93497243-F39C-484B-8AB6-996BA486CFA3 + template <> inline constexpr guid guid_v{ 0x63A66F08,0x1AEA,0x4C4C,{ 0xA5,0x0F,0x97,0xBA,0xE4,0x74,0xB3,0x48 } }; // 63A66F08-1AEA-4C4C-A50F-97BAE474B348 + template <> inline constexpr guid guid_v{ 0xA10F50A0,0xFB43,0x48AF,{ 0xBA,0xAA,0x63,0x8A,0x5C,0x63,0x29,0xFE } }; // A10F50A0-FB43-48AF-BAAA-638A5C6329FE + template <> inline constexpr guid guid_v{ 0x63A66F07,0x1AEA,0x4C4C,{ 0xA5,0x0F,0x97,0xBA,0xE4,0x74,0xB3,0x48 } }; // 63A66F07-1AEA-4C4C-A50F-97BAE474B348 + template <> inline constexpr guid guid_v{ 0x51113987,0xEF12,0x462F,{ 0x9F,0xB2,0xA1,0xA4,0x3A,0x67,0x94,0x16 } }; // 51113987-EF12-462F-9FB2-A1A43A679416 + template <> inline constexpr guid guid_v{ 0xE834D92C,0x27BE,0x44B3,{ 0x9D,0x0D,0x4F,0xC6,0xE8,0x08,0xDD,0x3F } }; // E834D92C-27BE-44B3-9D0D-4FC6E808DD3F + template <> inline constexpr guid guid_v{ 0x7822B3CD,0x2889,0x4F86,{ 0xA0,0x51,0x3F,0x0A,0xED,0x1C,0x27,0x60 } }; // 7822B3CD-2889-4F86-A051-3F0AED1C2760 + template <> inline constexpr guid guid_v{ 0x9EF531A9,0xCF12,0x59A3,{ 0xA8,0x1C,0x36,0x2F,0x4A,0xAB,0xAA,0xCF } }; // 9EF531A9-CF12-59A3-A81C-362F4AABAACF + template <> inline constexpr guid guid_v{ 0x59A5AA65,0xFA21,0x4FFC,{ 0xB1,0x55,0x04,0xD9,0x28,0x01,0x26,0x86 } }; // 59A5AA65-FA21-4FFC-B155-04D928012686 + template <> inline constexpr guid guid_v{ 0xE2CE31AB,0x6315,0x4C22,{ 0x9B,0xD7,0x78,0x1D,0xBC,0x3D,0x8D,0x82 } }; // E2CE31AB-6315-4C22-9BD7-781DBC3D8D82 + template <> inline constexpr guid guid_v{ 0xFF68468D,0xCA92,0x4434,{ 0x97,0x43,0x0E,0x90,0x98,0x8A,0xD8,0x79 } }; // FF68468D-CA92-4434-9743-0E90988AD879 + template <> inline constexpr guid guid_v{ 0xA23546B2,0xB216,0x5929,{ 0x90,0x55,0xF1,0x31,0x3D,0xD5,0x3E,0x2A } }; // A23546B2-B216-5929-9055-F1313DD53E2A + template <> inline constexpr guid guid_v{ 0x764696D8,0xC53E,0x428C,{ 0x8A,0x48,0x67,0xAF,0xE0,0x2C,0x3A,0xE6 } }; // 764696D8-C53E-428C-8A48-67AFE02C3AE6 + template <> inline constexpr guid guid_v{ 0x31794063,0x5256,0x4054,{ 0xA4,0xF4,0x7B,0xBE,0x77,0x55,0xA5,0x7E } }; // 31794063-5256-4054-A4F4-7BBE7755A57E + template <> inline constexpr guid guid_v{ 0x6DC57058,0x9ABA,0x4417,{ 0xB8,0xF2,0xDC,0xE0,0x16,0xD3,0x4E,0xE2 } }; // 6DC57058-9ABA-4417-B8F2-DCE016D34EE2 + template <> inline constexpr guid guid_v{ 0xD2AE94F5,0x3D15,0x4F79,{ 0x9C,0x0C,0xEA,0xAF,0xA6,0x75,0x15,0x5C } }; // D2AE94F5-3D15-4F79-9C0C-EAAFA675155C + template <> inline constexpr guid guid_v{ 0xD23B5143,0xE04E,0x4C24,{ 0x99,0x9C,0x9C,0x25,0x6F,0x98,0x56,0xB1 } }; // D23B5143-E04E-4C24-999C-9C256F9856B1 + template <> inline constexpr guid guid_v{ 0x2E65B95C,0x539F,0x4DB7,{ 0x82,0xA8,0x73,0xBD,0xBB,0xF7,0x3E,0xBF } }; // 2E65B95C-539F-4DB7-82A8-73BDBBF73EBF + template <> inline constexpr guid guid_v{ 0x7605B72E,0x837F,0x404C,{ 0xAB,0x34,0x31,0x63,0xF3,0x9D,0xDF,0x32 } }; // 7605B72E-837F-404C-AB34-3163F39DDF32 + template <> inline constexpr guid guid_v{ 0x736E9001,0x15A4,0x4EC2,{ 0x92,0x48,0xE3,0xF2,0x0D,0x46,0x3B,0xE9 } }; // 736E9001-15A4-4EC2-9248-E3F20D463BE9 + template <> inline constexpr guid guid_v{ 0xD21BDB54,0x06E3,0x4ED8,{ 0xA2,0x63,0xAC,0xFA,0xC8,0xBA,0x73,0x13 } }; // D21BDB54-06E3-4ED8-A263-ACFAC8BA7313 + template <> inline constexpr guid guid_v{ 0xAEB6A9ED,0xDE2F,0x4FC2,{ 0xA9,0xA8,0x94,0xEA,0x78,0x44,0xF1,0x3D } }; // AEB6A9ED-DE2F-4FC2-A9A8-94EA7844F13D + template <> inline constexpr guid guid_v{ 0x2DEC8BBE,0xA73A,0x471A,{ 0x94,0xD5,0x03,0x7D,0xEA,0xDD,0x08,0x06 } }; // 2DEC8BBE-A73A-471A-94D5-037DEADD0806 + template <> inline constexpr guid guid_v{ 0x4991DDB1,0xCB2B,0x44F7,{ 0x99,0xFC,0xD2,0x9A,0x28,0x71,0xDC,0x9B } }; // 4991DDB1-CB2B-44F7-99FC-D29A2871DC9B + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDescriptors(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicProperties(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_UserDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AttributeHandle(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_PresentationFormats(void**) noexcept = 0; + virtual int32_t __stdcall ReadValueAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReadValueWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall WriteValueAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall WriteValueWithOptionAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReadClientCharacteristicConfigurationDescriptorAsync(void**) noexcept = 0; + virtual int32_t __stdcall WriteClientCharacteristicConfigurationDescriptorAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_ValueChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ValueChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Service(void**) noexcept = 0; + virtual int32_t __stdcall GetAllDescriptors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDescriptorsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDescriptorsWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDescriptorsForUuidAsync(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetDescriptorsForUuidWithCacheModeAsync(winrt::guid, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall WriteValueWithResultAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall WriteValueWithResultAndOptionAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall WriteClientCharacteristicConfigurationDescriptorWithResultAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertShortIdToUuid(uint16_t, winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BatteryLevel(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressureFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressureMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BodySensorLocation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CscFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CscMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GlucoseFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GlucoseMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GlucoseMeasurementContext(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HeartRateControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HeartRateMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IntermediateCuffPressure(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IntermediateTemperature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_MeasurementInterval(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RecordAccessControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RscFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RscMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SCControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SensorLocation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TemperatureMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TemperatureType(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlertCategoryId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AlertCategoryIdBitMask(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AlertLevel(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AlertNotificationControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AlertStatus(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GapAppearance(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BootKeyboardInputReport(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BootKeyboardOutputReport(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BootMouseInputReport(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CurrentTime(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPowerControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPowerFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPowerMeasurement(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPowerVector(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DateTime(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DayDateTime(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DayOfWeek(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GapDeviceName(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DstOffset(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ExactTime256(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_FirmwareRevisionString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HardwareRevisionString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HidControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HidInformation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Ieee1107320601RegulatoryCertificationDataList(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LnControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LnFeature(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LocalTimeInformation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LocationAndSpeed(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ManufacturerNameString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ModelNumberString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Navigation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_NewAlert(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GapPeripheralPreferredConnectionParameters(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GapPeripheralPrivacyFlag(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PnpId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PositionQuality(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolMode(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GapReconnectionAddress(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ReferenceTimeInformation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Report(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ReportMap(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RingerControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RingerSetting(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ScanIntervalWindow(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ScanRefresh(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SerialNumberString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GattServiceChanged(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SoftwareRevisionString(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SupportedNewAlertCategory(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SupportUnreadAlertCategory(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SystemId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeAccuracy(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeSource(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeUpdateControlPoint(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeUpdateState(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeWithDst(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TimeZone(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TxPowerLevel(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_UnreadAlertStatus(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + virtual int32_t __stdcall get_Characteristics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SubscribedClient(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BytesSent(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AttributeHandle(uint16_t*) noexcept = 0; + virtual int32_t __stdcall ReadValueAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReadValueWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall WriteValueAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall WriteValueWithResultAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertShortIdToUuid(uint16_t, winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CharacteristicAggregateFormat(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicExtendedProperties(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicPresentationFormat(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicUserDescription(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ClientCharacteristicConfiguration(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ServerCharacteristicConfiguration(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + virtual int32_t __stdcall get_Descriptors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCharacteristics(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetIncludedServices(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_AttributeHandle(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + virtual int32_t __stdcall get_ParentServices(void**) noexcept = 0; + virtual int32_t __stdcall GetAllCharacteristics(void**) noexcept = 0; + virtual int32_t __stdcall GetAllIncludedServices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceAccessInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall OpenAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetCharacteristicsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCharacteristicsWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetCharacteristicsForUuidAsync(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetCharacteristicsForUuidWithCacheModeAsync(winrt::guid, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetIncludedServicesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetIncludedServicesWithCacheModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetIncludedServicesForUuidAsync(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetIncludedServicesForUuidWithCacheModeAsync(winrt::guid, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromUuid(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromShortId(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertShortIdToUuid(uint16_t, winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdWithSharingModeAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceIdWithCacheMode(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceIdAndUuid(void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode(void*, winrt::guid, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + virtual int32_t __stdcall get_Services(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_StaticValue(void**) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicProperties(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReadProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_WriteProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall CreateDescriptorAsync(winrt::guid, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Descriptors(void**) noexcept = 0; + virtual int32_t __stdcall get_UserDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_PresentationFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_SubscribedClients(void**) noexcept = 0; + virtual int32_t __stdcall add_SubscribedClientsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SubscribedClientsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ReadRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_WriteRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_WriteRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall NotifyValueAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall NotifyValueForSubscribedClientAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_StaticValue(void*) noexcept = 0; + virtual int32_t __stdcall get_StaticValue(void**) noexcept = 0; + virtual int32_t __stdcall put_CharacteristicProperties(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CharacteristicProperties(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReadProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_WriteProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_WriteProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_UserDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_UserDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_PresentationFormats(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Characteristic(void**) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_StaticValue(void**) noexcept = 0; + virtual int32_t __stdcall get_ReadProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_WriteProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_WriteRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_WriteRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_StaticValue(void*) noexcept = 0; + virtual int32_t __stdcall get_StaticValue(void**) noexcept = 0; + virtual int32_t __stdcall put_ReadProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_WriteProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_WriteProtectionLevel(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Descriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall CreateCharacteristicAsync(winrt::guid, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Characteristics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FormatType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Exponent(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Unit(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Namespace(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Description(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BluetoothSigAssignedNumbers(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromParts(uint8_t, int32_t, uint16_t, uint8_t, uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Boolean(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Bit2(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Nibble(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt8(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt12(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt16(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt24(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt32(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt48(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt64(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UInt128(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt8(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt12(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt16(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt24(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt32(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt48(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt64(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SInt128(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Float32(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Float64(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SFloat(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Float(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_DUInt16(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Utf8(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Utf16(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Struct(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InvalidHandle(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ReadNotPermitted(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_WriteNotPermitted(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InvalidPdu(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InsufficientAuthentication(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_RequestNotSupported(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InvalidOffset(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InsufficientAuthorization(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_PrepareQueueFull(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_AttributeNotFound(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_AttributeNotLong(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InsufficientEncryptionKeySize(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InvalidAttributeValueLength(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UnlikelyError(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InsufficientEncryption(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_UnsupportedGroupType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InsufficientResources(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ClientCharacteristicConfigurationDescriptor(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Offset(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall RespondWithValue(void*) noexcept = 0; + virtual int32_t __stdcall RespondWithProtocolError(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall GetRequestAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall WriteValue(void*, void*) noexcept = 0; + virtual int32_t __stdcall CommitAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CommitWithResultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Service(void**) noexcept = 0; + virtual int32_t __stdcall get_AdvertisementStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_AdvertisementStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AdvertisementStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall StartAdvertising() noexcept = 0; + virtual int32_t __stdcall StartAdvertisingWithParameters(void*) noexcept = 0; + virtual int32_t __stdcall StopAdvertising() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateAdvertisingParameters(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsConnectable(bool) noexcept = 0; + virtual int32_t __stdcall get_IsConnectable(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDiscoverable(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDiscoverable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ServiceData(void*) noexcept = 0; + virtual int32_t __stdcall get_ServiceData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UseLowEnergyUncoded1MPhyAsSecondaryPhy(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseLowEnergyUncoded1MPhyAsSecondaryPhy(bool) noexcept = 0; + virtual int32_t __stdcall get_UseLowEnergyUncoded2MPhyAsSecondaryPhy(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseLowEnergyUncoded2MPhyAsSecondaryPhy(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceProvider(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Battery(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_BloodPressure(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingSpeedAndCadence(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GenericAccess(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GenericAttribute(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Glucose(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HealthThermometer(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HeartRate(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RunningSpeedAndCadence(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlertNotification(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CurrentTime(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CyclingPower(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HumanInterfaceDevice(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ImmediateAlert(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LinkLoss(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LocationAndNavigation(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_NextDstChange(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PhoneAlertStatus(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ReferenceTimeUpdate(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ScanParameters(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TxPower(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_CanMaintainConnection(bool*) noexcept = 0; + virtual int32_t __stdcall put_MaintainConnection(bool) noexcept = 0; + virtual int32_t __stdcall get_MaintainConnection(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxPduSize(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_SessionStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_MaxPduSizeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MaxPduSizeChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SessionStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromDeviceIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxNotificationSize(uint16_t*) noexcept = 0; + virtual int32_t __stdcall add_MaxNotificationSizeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MaxNotificationSizeChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CharacteristicValue(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall get_Offset(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Option(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Respond() noexcept = 0; + virtual int32_t __stdcall RespondWithProtocolError(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall GetRequestAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolError(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic + { + auto GetDescriptors(winrt::guid const& descriptorUuid) const; + [[nodiscard]] auto CharacteristicProperties() const; + [[nodiscard]] auto ProtectionLevel() const; + auto ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; + [[nodiscard]] auto PresentationFormats() const; + auto ReadValueAsync() const; + auto ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; + auto ReadClientCharacteristicConfigurationDescriptorAsync() const; + auto WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; + using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; + auto ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2 + { + [[nodiscard]] auto Service() const; + auto GetAllDescriptors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3 + { + auto GetDescriptorsAsync() const; + auto GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const; + auto GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; + auto WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics + { + auto ConvertShortIdToUuid(uint16_t shortId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics + { + [[nodiscard]] auto BatteryLevel() const; + [[nodiscard]] auto BloodPressureFeature() const; + [[nodiscard]] auto BloodPressureMeasurement() const; + [[nodiscard]] auto BodySensorLocation() const; + [[nodiscard]] auto CscFeature() const; + [[nodiscard]] auto CscMeasurement() const; + [[nodiscard]] auto GlucoseFeature() const; + [[nodiscard]] auto GlucoseMeasurement() const; + [[nodiscard]] auto GlucoseMeasurementContext() const; + [[nodiscard]] auto HeartRateControlPoint() const; + [[nodiscard]] auto HeartRateMeasurement() const; + [[nodiscard]] auto IntermediateCuffPressure() const; + [[nodiscard]] auto IntermediateTemperature() const; + [[nodiscard]] auto MeasurementInterval() const; + [[nodiscard]] auto RecordAccessControlPoint() const; + [[nodiscard]] auto RscFeature() const; + [[nodiscard]] auto RscMeasurement() const; + [[nodiscard]] auto SCControlPoint() const; + [[nodiscard]] auto SensorLocation() const; + [[nodiscard]] auto TemperatureMeasurement() const; + [[nodiscard]] auto TemperatureType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2 + { + [[nodiscard]] auto AlertCategoryId() const; + [[nodiscard]] auto AlertCategoryIdBitMask() const; + [[nodiscard]] auto AlertLevel() const; + [[nodiscard]] auto AlertNotificationControlPoint() const; + [[nodiscard]] auto AlertStatus() const; + [[nodiscard]] auto GapAppearance() const; + [[nodiscard]] auto BootKeyboardInputReport() const; + [[nodiscard]] auto BootKeyboardOutputReport() const; + [[nodiscard]] auto BootMouseInputReport() const; + [[nodiscard]] auto CurrentTime() const; + [[nodiscard]] auto CyclingPowerControlPoint() const; + [[nodiscard]] auto CyclingPowerFeature() const; + [[nodiscard]] auto CyclingPowerMeasurement() const; + [[nodiscard]] auto CyclingPowerVector() const; + [[nodiscard]] auto DateTime() const; + [[nodiscard]] auto DayDateTime() const; + [[nodiscard]] auto DayOfWeek() const; + [[nodiscard]] auto GapDeviceName() const; + [[nodiscard]] auto DstOffset() const; + [[nodiscard]] auto ExactTime256() const; + [[nodiscard]] auto FirmwareRevisionString() const; + [[nodiscard]] auto HardwareRevisionString() const; + [[nodiscard]] auto HidControlPoint() const; + [[nodiscard]] auto HidInformation() const; + [[nodiscard]] auto Ieee1107320601RegulatoryCertificationDataList() const; + [[nodiscard]] auto LnControlPoint() const; + [[nodiscard]] auto LnFeature() const; + [[nodiscard]] auto LocalTimeInformation() const; + [[nodiscard]] auto LocationAndSpeed() const; + [[nodiscard]] auto ManufacturerNameString() const; + [[nodiscard]] auto ModelNumberString() const; + [[nodiscard]] auto Navigation() const; + [[nodiscard]] auto NewAlert() const; + [[nodiscard]] auto GapPeripheralPreferredConnectionParameters() const; + [[nodiscard]] auto GapPeripheralPrivacyFlag() const; + [[nodiscard]] auto PnpId() const; + [[nodiscard]] auto PositionQuality() const; + [[nodiscard]] auto ProtocolMode() const; + [[nodiscard]] auto GapReconnectionAddress() const; + [[nodiscard]] auto ReferenceTimeInformation() const; + [[nodiscard]] auto Report() const; + [[nodiscard]] auto ReportMap() const; + [[nodiscard]] auto RingerControlPoint() const; + [[nodiscard]] auto RingerSetting() const; + [[nodiscard]] auto ScanIntervalWindow() const; + [[nodiscard]] auto ScanRefresh() const; + [[nodiscard]] auto SerialNumberString() const; + [[nodiscard]] auto GattServiceChanged() const; + [[nodiscard]] auto SoftwareRevisionString() const; + [[nodiscard]] auto SupportedNewAlertCategory() const; + [[nodiscard]] auto SupportUnreadAlertCategory() const; + [[nodiscard]] auto SystemId() const; + [[nodiscard]] auto TimeAccuracy() const; + [[nodiscard]] auto TimeSource() const; + [[nodiscard]] auto TimeUpdateControlPoint() const; + [[nodiscard]] auto TimeUpdateState() const; + [[nodiscard]] auto TimeWithDst() const; + [[nodiscard]] auto TimeZone() const; + [[nodiscard]] auto TxPowerLevel() const; + [[nodiscard]] auto UnreadAlertStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Characteristics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult + { + [[nodiscard]] auto SubscribedClient() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2 + { + [[nodiscard]] auto BytesSent() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor + { + [[nodiscard]] auto ProtectionLevel() const; + auto ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; + auto ReadValueAsync() const; + auto ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2 + { + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics + { + auto ConvertShortIdToUuid(uint16_t shortId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics + { + [[nodiscard]] auto CharacteristicAggregateFormat() const; + [[nodiscard]] auto CharacteristicExtendedProperties() const; + [[nodiscard]] auto CharacteristicPresentationFormat() const; + [[nodiscard]] auto CharacteristicUserDescription() const; + [[nodiscard]] auto ClientCharacteristicConfiguration() const; + [[nodiscard]] auto ServerCharacteristicConfiguration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Descriptors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService + { + auto GetCharacteristics(winrt::guid const& characteristicUuid) const; + auto GetIncludedServices(winrt::guid const& serviceUuid) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2 + { + [[nodiscard]] auto Device() const; + [[nodiscard]] auto ParentServices() const; + auto GetAllCharacteristics() const; + auto GetAllIncludedServices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3 + { + [[nodiscard]] auto DeviceAccessInformation() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto SharingMode() const; + auto RequestAccessAsync() const; + auto OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; + auto GetCharacteristicsAsync() const; + auto GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const; + auto GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetIncludedServicesAsync() const; + auto GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const; + auto GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const; + auto GetDeviceSelectorFromShortId(uint16_t serviceShortId) const; + auto ConvertShortIdToUuid(uint16_t shortId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2 + { + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; + auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const; + auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const; + auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Services() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic + { + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto StaticValue() const; + [[nodiscard]] auto CharacteristicProperties() const; + [[nodiscard]] auto ReadProtectionLevel() const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const; + [[nodiscard]] auto Descriptors() const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto PresentationFormats() const; + [[nodiscard]] auto SubscribedClients() const; + auto SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SubscribedClientsChanged_revoker = impl::event_revoker::remove_SubscribedClientsChanged>; + [[nodiscard]] auto SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SubscribedClientsChanged(winrt::event_token const& token) const noexcept; + auto ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadRequested_revoker = impl::event_revoker::remove_ReadRequested>; + [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadRequested(winrt::event_token const& token) const noexcept; + auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using WriteRequested_revoker = impl::event_revoker::remove_WriteRequested>; + [[nodiscard]] auto WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WriteRequested(winrt::event_token const& token) const noexcept; + auto NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters + { + auto StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto StaticValue() const; + auto CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const; + [[nodiscard]] auto CharacteristicProperties() const; + auto ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto ReadProtectionLevel() const; + auto WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto UserDescription(param::hstring const& value) const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto PresentationFormats() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult + { + [[nodiscard]] auto Characteristic() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor + { + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto StaticValue() const; + [[nodiscard]] auto ReadProtectionLevel() const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadRequested_revoker = impl::event_revoker::remove_ReadRequested>; + [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadRequested(winrt::event_token const& token) const noexcept; + auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using WriteRequested_revoker = impl::event_revoker::remove_WriteRequested>; + [[nodiscard]] auto WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WriteRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters + { + auto StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto StaticValue() const; + auto ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto ReadProtectionLevel() const; + auto WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto WriteProtectionLevel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult + { + [[nodiscard]] auto Descriptor() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService + { + [[nodiscard]] auto Uuid() const; + auto CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const; + [[nodiscard]] auto Characteristics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat + { + [[nodiscard]] auto FormatType() const; + [[nodiscard]] auto Exponent() const; + [[nodiscard]] auto Unit() const; + [[nodiscard]] auto Namespace() const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics + { + [[nodiscard]] auto BluetoothSigAssignedNumbers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2 + { + auto FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics + { + [[nodiscard]] auto Boolean() const; + [[nodiscard]] auto Bit2() const; + [[nodiscard]] auto Nibble() const; + [[nodiscard]] auto UInt8() const; + [[nodiscard]] auto UInt12() const; + [[nodiscard]] auto UInt16() const; + [[nodiscard]] auto UInt24() const; + [[nodiscard]] auto UInt32() const; + [[nodiscard]] auto UInt48() const; + [[nodiscard]] auto UInt64() const; + [[nodiscard]] auto UInt128() const; + [[nodiscard]] auto SInt8() const; + [[nodiscard]] auto SInt12() const; + [[nodiscard]] auto SInt16() const; + [[nodiscard]] auto SInt24() const; + [[nodiscard]] auto SInt32() const; + [[nodiscard]] auto SInt48() const; + [[nodiscard]] auto SInt64() const; + [[nodiscard]] auto SInt128() const; + [[nodiscard]] auto Float32() const; + [[nodiscard]] auto Float64() const; + [[nodiscard]] auto SFloat() const; + [[nodiscard]] auto Float() const; + [[nodiscard]] auto DUInt16() const; + [[nodiscard]] auto Utf8() const; + [[nodiscard]] auto Utf16() const; + [[nodiscard]] auto Struct() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics + { + [[nodiscard]] auto InvalidHandle() const; + [[nodiscard]] auto ReadNotPermitted() const; + [[nodiscard]] auto WriteNotPermitted() const; + [[nodiscard]] auto InvalidPdu() const; + [[nodiscard]] auto InsufficientAuthentication() const; + [[nodiscard]] auto RequestNotSupported() const; + [[nodiscard]] auto InvalidOffset() const; + [[nodiscard]] auto InsufficientAuthorization() const; + [[nodiscard]] auto PrepareQueueFull() const; + [[nodiscard]] auto AttributeNotFound() const; + [[nodiscard]] auto AttributeNotLong() const; + [[nodiscard]] auto InsufficientEncryptionKeySize() const; + [[nodiscard]] auto InvalidAttributeValueLength() const; + [[nodiscard]] auto UnlikelyError() const; + [[nodiscard]] auto InsufficientEncryption() const; + [[nodiscard]] auto UnsupportedGroupType() const; + [[nodiscard]] auto InsufficientResources() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ClientCharacteristicConfigurationDescriptor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2 + { + [[nodiscard]] auto ProtocolError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest + { + [[nodiscard]] auto Offset() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto RespondWithProtocolError(uint8_t protocolError) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs + { + [[nodiscard]] auto Session() const; + auto GetDeferral() const; + auto GetRequestAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2 + { + [[nodiscard]] auto ProtocolError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction + { + auto WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CommitAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2 + { + auto CommitWithResultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider + { + [[nodiscard]] auto Service() const; + [[nodiscard]] auto AdvertisementStatus() const; + auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AdvertisementStatusChanged_revoker = impl::event_revoker::remove_AdvertisementStatusChanged>; + [[nodiscard]] auto AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; + auto StartAdvertising() const; + auto StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const; + auto StopAdvertising() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider2 + { + auto UpdateAdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters + { + auto IsConnectable(bool value) const; + [[nodiscard]] auto IsConnectable() const; + auto IsDiscoverable(bool value) const; + [[nodiscard]] auto IsDiscoverable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2 + { + auto ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ServiceData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters3 + { + [[nodiscard]] auto UseLowEnergyUncoded1MPhyAsSecondaryPhy() const; + auto UseLowEnergyUncoded1MPhyAsSecondaryPhy(bool value) const; + [[nodiscard]] auto UseLowEnergyUncoded2MPhyAsSecondaryPhy() const; + auto UseLowEnergyUncoded2MPhyAsSecondaryPhy(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters3; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto ServiceProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics + { + auto CreateAsync(winrt::guid const& serviceUuid) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics + { + [[nodiscard]] auto Battery() const; + [[nodiscard]] auto BloodPressure() const; + [[nodiscard]] auto CyclingSpeedAndCadence() const; + [[nodiscard]] auto GenericAccess() const; + [[nodiscard]] auto GenericAttribute() const; + [[nodiscard]] auto Glucose() const; + [[nodiscard]] auto HealthThermometer() const; + [[nodiscard]] auto HeartRate() const; + [[nodiscard]] auto RunningSpeedAndCadence() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2 + { + [[nodiscard]] auto AlertNotification() const; + [[nodiscard]] auto CurrentTime() const; + [[nodiscard]] auto CyclingPower() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto HumanInterfaceDevice() const; + [[nodiscard]] auto ImmediateAlert() const; + [[nodiscard]] auto LinkLoss() const; + [[nodiscard]] auto LocationAndNavigation() const; + [[nodiscard]] auto NextDstChange() const; + [[nodiscard]] auto PhoneAlertStatus() const; + [[nodiscard]] auto ReferenceTimeUpdate() const; + [[nodiscard]] auto ScanParameters() const; + [[nodiscard]] auto TxPower() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CanMaintainConnection() const; + auto MaintainConnection(bool value) const; + [[nodiscard]] auto MaintainConnection() const; + [[nodiscard]] auto MaxPduSize() const; + [[nodiscard]] auto SessionStatus() const; + auto MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MaxPduSizeChanged_revoker = impl::event_revoker::remove_MaxPduSizeChanged>; + [[nodiscard]] auto MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MaxPduSizeChanged(winrt::event_token const& token) const noexcept; + auto SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionStatusChanged_revoker = impl::event_revoker::remove_SessionStatusChanged>; + [[nodiscard]] auto SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics + { + auto FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient + { + [[nodiscard]] auto Session() const; + [[nodiscard]] auto MaxNotificationSize() const; + auto MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MaxNotificationSizeChanged_revoker = impl::event_revoker::remove_MaxNotificationSizeChanged>; + [[nodiscard]] auto MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs + { + [[nodiscard]] auto CharacteristicValue() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest + { + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Offset() const; + [[nodiscard]] auto Option() const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto Respond() const; + auto RespondWithProtocolError(uint8_t protocolError) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs + { + [[nodiscard]] auto Session() const; + auto GetDeferral() const; + auto GetRequestAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5578b9bbc01cdced8085ce931dc08f753e92363a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.1.h @@ -0,0 +1,431 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_1_H +#define WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile +{ + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristic(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristic2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGattCharacteristic2(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristic2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristic3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristic3(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristic3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicStatics(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicUuidsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicUuidsStatics(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicUuidsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicUuidsStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicUuidsStatics2(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicUuidsStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattCharacteristicsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattCharacteristicsResult(std::nullptr_t = nullptr) noexcept {} + IGattCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattClientNotificationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattClientNotificationResult(std::nullptr_t = nullptr) noexcept {} + IGattClientNotificationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattClientNotificationResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattClientNotificationResult2(std::nullptr_t = nullptr) noexcept {} + IGattClientNotificationResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDescriptor(std::nullptr_t = nullptr) noexcept {} + IGattDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDescriptor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDescriptor2(std::nullptr_t = nullptr) noexcept {} + IGattDescriptor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDescriptorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDescriptorStatics(std::nullptr_t = nullptr) noexcept {} + IGattDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDescriptorUuidsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDescriptorUuidsStatics(std::nullptr_t = nullptr) noexcept {} + IGattDescriptorUuidsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDescriptorsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDescriptorsResult(std::nullptr_t = nullptr) noexcept {} + IGattDescriptorsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGattDeviceService(std::nullptr_t = nullptr) noexcept {} + IGattDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceService2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGattDeviceService2(std::nullptr_t = nullptr) noexcept {} + IGattDeviceService2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceService3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDeviceService3(std::nullptr_t = nullptr) noexcept {} + IGattDeviceService3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceServiceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDeviceServiceStatics(std::nullptr_t = nullptr) noexcept {} + IGattDeviceServiceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceServiceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDeviceServiceStatics2(std::nullptr_t = nullptr) noexcept {} + IGattDeviceServiceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattDeviceServicesResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattDeviceServicesResult(std::nullptr_t = nullptr) noexcept {} + IGattDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalCharacteristic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalCharacteristic(std::nullptr_t = nullptr) noexcept {} + IGattLocalCharacteristic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalCharacteristicParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalCharacteristicParameters(std::nullptr_t = nullptr) noexcept {} + IGattLocalCharacteristicParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalCharacteristicResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalCharacteristicResult(std::nullptr_t = nullptr) noexcept {} + IGattLocalCharacteristicResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalDescriptor(std::nullptr_t = nullptr) noexcept {} + IGattLocalDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalDescriptorParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalDescriptorParameters(std::nullptr_t = nullptr) noexcept {} + IGattLocalDescriptorParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalDescriptorResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalDescriptorResult(std::nullptr_t = nullptr) noexcept {} + IGattLocalDescriptorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattLocalService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattLocalService(std::nullptr_t = nullptr) noexcept {} + IGattLocalService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattPresentationFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattPresentationFormat(std::nullptr_t = nullptr) noexcept {} + IGattPresentationFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattPresentationFormatStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattPresentationFormatStatics(std::nullptr_t = nullptr) noexcept {} + IGattPresentationFormatStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattPresentationFormatStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGattPresentationFormatStatics2(std::nullptr_t = nullptr) noexcept {} + IGattPresentationFormatStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattPresentationFormatTypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattPresentationFormatTypesStatics(std::nullptr_t = nullptr) noexcept {} + IGattPresentationFormatTypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattProtocolErrorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattProtocolErrorStatics(std::nullptr_t = nullptr) noexcept {} + IGattProtocolErrorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadClientCharacteristicConfigurationDescriptorResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadClientCharacteristicConfigurationDescriptorResult(std::nullptr_t = nullptr) noexcept {} + IGattReadClientCharacteristicConfigurationDescriptorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadClientCharacteristicConfigurationDescriptorResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadClientCharacteristicConfigurationDescriptorResult2(std::nullptr_t = nullptr) noexcept {} + IGattReadClientCharacteristicConfigurationDescriptorResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadRequest(std::nullptr_t = nullptr) noexcept {} + IGattReadRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattReadRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadResult(std::nullptr_t = nullptr) noexcept {} + IGattReadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReadResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReadResult2(std::nullptr_t = nullptr) noexcept {} + IGattReadResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReliableWriteTransaction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReliableWriteTransaction(std::nullptr_t = nullptr) noexcept {} + IGattReliableWriteTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattReliableWriteTransaction2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattReliableWriteTransaction2(std::nullptr_t = nullptr) noexcept {} + IGattReliableWriteTransaction2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattRequestStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattRequestStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattRequestStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProvider(std::nullptr_t = nullptr) noexcept {} + IGattServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProvider2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProvider2(std::nullptr_t = nullptr) noexcept {} + IGattServiceProvider2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderAdvertisementStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderAdvertisementStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderAdvertisementStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderAdvertisingParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderAdvertisingParameters(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderAdvertisingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderAdvertisingParameters2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderAdvertisingParameters2(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderAdvertisingParameters2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderAdvertisingParameters3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderAdvertisingParameters3(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderAdvertisingParameters3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderResult(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceProviderStatics(std::nullptr_t = nullptr) noexcept {} + IGattServiceProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceUuidsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceUuidsStatics(std::nullptr_t = nullptr) noexcept {} + IGattServiceUuidsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattServiceUuidsStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattServiceUuidsStatics2(std::nullptr_t = nullptr) noexcept {} + IGattServiceUuidsStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattSession(std::nullptr_t = nullptr) noexcept {} + IGattSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattSessionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattSessionStatics(std::nullptr_t = nullptr) noexcept {} + IGattSessionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattSessionStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattSessionStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattSessionStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattSubscribedClient : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattSubscribedClient(std::nullptr_t = nullptr) noexcept {} + IGattSubscribedClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattValueChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattValueChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattWriteRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattWriteRequest(std::nullptr_t = nullptr) noexcept {} + IGattWriteRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattWriteRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattWriteRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGattWriteRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGattWriteResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGattWriteResult(std::nullptr_t = nullptr) noexcept {} + IGattWriteResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8883a0732a2fd65963b923d6d6f0b83248a08775 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.genericattributeprofile.2.h @@ -0,0 +1,377 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_2_H +#define WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_2_H +#include "winrt/impl/Windows.Devices.Bluetooth.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile +{ + struct WINRT_IMPL_EMPTY_BASES GattCharacteristic : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic, + impl::require + { + GattCharacteristic(std::nullptr_t) noexcept {} + GattCharacteristic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic(ptr, take_ownership_from_abi) {} + static auto ConvertShortIdToUuid(uint16_t shortId); + }; + struct GattCharacteristicUuids + { + GattCharacteristicUuids() = delete; + [[nodiscard]] static auto BatteryLevel(); + [[nodiscard]] static auto BloodPressureFeature(); + [[nodiscard]] static auto BloodPressureMeasurement(); + [[nodiscard]] static auto BodySensorLocation(); + [[nodiscard]] static auto CscFeature(); + [[nodiscard]] static auto CscMeasurement(); + [[nodiscard]] static auto GlucoseFeature(); + [[nodiscard]] static auto GlucoseMeasurement(); + [[nodiscard]] static auto GlucoseMeasurementContext(); + [[nodiscard]] static auto HeartRateControlPoint(); + [[nodiscard]] static auto HeartRateMeasurement(); + [[nodiscard]] static auto IntermediateCuffPressure(); + [[nodiscard]] static auto IntermediateTemperature(); + [[nodiscard]] static auto MeasurementInterval(); + [[nodiscard]] static auto RecordAccessControlPoint(); + [[nodiscard]] static auto RscFeature(); + [[nodiscard]] static auto RscMeasurement(); + [[nodiscard]] static auto SCControlPoint(); + [[nodiscard]] static auto SensorLocation(); + [[nodiscard]] static auto TemperatureMeasurement(); + [[nodiscard]] static auto TemperatureType(); + [[nodiscard]] static auto AlertCategoryId(); + [[nodiscard]] static auto AlertCategoryIdBitMask(); + [[nodiscard]] static auto AlertLevel(); + [[nodiscard]] static auto AlertNotificationControlPoint(); + [[nodiscard]] static auto AlertStatus(); + [[nodiscard]] static auto GapAppearance(); + [[nodiscard]] static auto BootKeyboardInputReport(); + [[nodiscard]] static auto BootKeyboardOutputReport(); + [[nodiscard]] static auto BootMouseInputReport(); + [[nodiscard]] static auto CurrentTime(); + [[nodiscard]] static auto CyclingPowerControlPoint(); + [[nodiscard]] static auto CyclingPowerFeature(); + [[nodiscard]] static auto CyclingPowerMeasurement(); + [[nodiscard]] static auto CyclingPowerVector(); + [[nodiscard]] static auto DateTime(); + [[nodiscard]] static auto DayDateTime(); + [[nodiscard]] static auto DayOfWeek(); + [[nodiscard]] static auto GapDeviceName(); + [[nodiscard]] static auto DstOffset(); + [[nodiscard]] static auto ExactTime256(); + [[nodiscard]] static auto FirmwareRevisionString(); + [[nodiscard]] static auto HardwareRevisionString(); + [[nodiscard]] static auto HidControlPoint(); + [[nodiscard]] static auto HidInformation(); + [[nodiscard]] static auto Ieee1107320601RegulatoryCertificationDataList(); + [[nodiscard]] static auto LnControlPoint(); + [[nodiscard]] static auto LnFeature(); + [[nodiscard]] static auto LocalTimeInformation(); + [[nodiscard]] static auto LocationAndSpeed(); + [[nodiscard]] static auto ManufacturerNameString(); + [[nodiscard]] static auto ModelNumberString(); + [[nodiscard]] static auto Navigation(); + [[nodiscard]] static auto NewAlert(); + [[nodiscard]] static auto GapPeripheralPreferredConnectionParameters(); + [[nodiscard]] static auto GapPeripheralPrivacyFlag(); + [[nodiscard]] static auto PnpId(); + [[nodiscard]] static auto PositionQuality(); + [[nodiscard]] static auto ProtocolMode(); + [[nodiscard]] static auto GapReconnectionAddress(); + [[nodiscard]] static auto ReferenceTimeInformation(); + [[nodiscard]] static auto Report(); + [[nodiscard]] static auto ReportMap(); + [[nodiscard]] static auto RingerControlPoint(); + [[nodiscard]] static auto RingerSetting(); + [[nodiscard]] static auto ScanIntervalWindow(); + [[nodiscard]] static auto ScanRefresh(); + [[nodiscard]] static auto SerialNumberString(); + [[nodiscard]] static auto GattServiceChanged(); + [[nodiscard]] static auto SoftwareRevisionString(); + [[nodiscard]] static auto SupportedNewAlertCategory(); + [[nodiscard]] static auto SupportUnreadAlertCategory(); + [[nodiscard]] static auto SystemId(); + [[nodiscard]] static auto TimeAccuracy(); + [[nodiscard]] static auto TimeSource(); + [[nodiscard]] static auto TimeUpdateControlPoint(); + [[nodiscard]] static auto TimeUpdateState(); + [[nodiscard]] static auto TimeWithDst(); + [[nodiscard]] static auto TimeZone(); + [[nodiscard]] static auto TxPowerLevel(); + [[nodiscard]] static auto UnreadAlertStatus(); + }; + struct WINRT_IMPL_EMPTY_BASES GattCharacteristicsResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult + { + GattCharacteristicsResult(std::nullptr_t) noexcept {} + GattCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattClientNotificationResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult, + impl::require + { + GattClientNotificationResult(std::nullptr_t) noexcept {} + GattClientNotificationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattDescriptor : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor, + impl::require + { + GattDescriptor(std::nullptr_t) noexcept {} + GattDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor(ptr, take_ownership_from_abi) {} + static auto ConvertShortIdToUuid(uint16_t shortId); + }; + struct GattDescriptorUuids + { + GattDescriptorUuids() = delete; + [[nodiscard]] static auto CharacteristicAggregateFormat(); + [[nodiscard]] static auto CharacteristicExtendedProperties(); + [[nodiscard]] static auto CharacteristicPresentationFormat(); + [[nodiscard]] static auto CharacteristicUserDescription(); + [[nodiscard]] static auto ClientCharacteristicConfiguration(); + [[nodiscard]] static auto ServerCharacteristicConfiguration(); + }; + struct WINRT_IMPL_EMPTY_BASES GattDescriptorsResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult + { + GattDescriptorsResult(std::nullptr_t) noexcept {} + GattDescriptorsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattDeviceService : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService, + impl::require + { + GattDeviceService(std::nullptr_t) noexcept {} + GattDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid); + static auto GetDeviceSelectorFromShortId(uint16_t serviceShortId); + static auto ConvertShortIdToUuid(uint16_t shortId); + static auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode); + static auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId); + static auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode); + static auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid); + static auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode); + }; + struct WINRT_IMPL_EMPTY_BASES GattDeviceServicesResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult + { + GattDeviceServicesResult(std::nullptr_t) noexcept {} + GattDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalCharacteristic : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic + { + GattLocalCharacteristic(std::nullptr_t) noexcept {} + GattLocalCharacteristic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalCharacteristicParameters : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters + { + GattLocalCharacteristicParameters(std::nullptr_t) noexcept {} + GattLocalCharacteristicParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters(ptr, take_ownership_from_abi) {} + GattLocalCharacteristicParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalCharacteristicResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult + { + GattLocalCharacteristicResult(std::nullptr_t) noexcept {} + GattLocalCharacteristicResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalDescriptor : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor + { + GattLocalDescriptor(std::nullptr_t) noexcept {} + GattLocalDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalDescriptorParameters : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters + { + GattLocalDescriptorParameters(std::nullptr_t) noexcept {} + GattLocalDescriptorParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters(ptr, take_ownership_from_abi) {} + GattLocalDescriptorParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalDescriptorResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult + { + GattLocalDescriptorResult(std::nullptr_t) noexcept {} + GattLocalDescriptorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattLocalService : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService + { + GattLocalService(std::nullptr_t) noexcept {} + GattLocalService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattPresentationFormat : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat + { + GattPresentationFormat(std::nullptr_t) noexcept {} + GattPresentationFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto BluetoothSigAssignedNumbers(); + static auto FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description); + }; + struct GattPresentationFormatTypes + { + GattPresentationFormatTypes() = delete; + [[nodiscard]] static auto Boolean(); + [[nodiscard]] static auto Bit2(); + [[nodiscard]] static auto Nibble(); + [[nodiscard]] static auto UInt8(); + [[nodiscard]] static auto UInt12(); + [[nodiscard]] static auto UInt16(); + [[nodiscard]] static auto UInt24(); + [[nodiscard]] static auto UInt32(); + [[nodiscard]] static auto UInt48(); + [[nodiscard]] static auto UInt64(); + [[nodiscard]] static auto UInt128(); + [[nodiscard]] static auto SInt8(); + [[nodiscard]] static auto SInt12(); + [[nodiscard]] static auto SInt16(); + [[nodiscard]] static auto SInt24(); + [[nodiscard]] static auto SInt32(); + [[nodiscard]] static auto SInt48(); + [[nodiscard]] static auto SInt64(); + [[nodiscard]] static auto SInt128(); + [[nodiscard]] static auto Float32(); + [[nodiscard]] static auto Float64(); + [[nodiscard]] static auto SFloat(); + [[nodiscard]] static auto Float(); + [[nodiscard]] static auto DUInt16(); + [[nodiscard]] static auto Utf8(); + [[nodiscard]] static auto Utf16(); + [[nodiscard]] static auto Struct(); + }; + struct GattProtocolError + { + GattProtocolError() = delete; + [[nodiscard]] static auto InvalidHandle(); + [[nodiscard]] static auto ReadNotPermitted(); + [[nodiscard]] static auto WriteNotPermitted(); + [[nodiscard]] static auto InvalidPdu(); + [[nodiscard]] static auto InsufficientAuthentication(); + [[nodiscard]] static auto RequestNotSupported(); + [[nodiscard]] static auto InvalidOffset(); + [[nodiscard]] static auto InsufficientAuthorization(); + [[nodiscard]] static auto PrepareQueueFull(); + [[nodiscard]] static auto AttributeNotFound(); + [[nodiscard]] static auto AttributeNotLong(); + [[nodiscard]] static auto InsufficientEncryptionKeySize(); + [[nodiscard]] static auto InvalidAttributeValueLength(); + [[nodiscard]] static auto UnlikelyError(); + [[nodiscard]] static auto InsufficientEncryption(); + [[nodiscard]] static auto UnsupportedGroupType(); + [[nodiscard]] static auto InsufficientResources(); + }; + struct WINRT_IMPL_EMPTY_BASES GattReadClientCharacteristicConfigurationDescriptorResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult, + impl::require + { + GattReadClientCharacteristicConfigurationDescriptorResult(std::nullptr_t) noexcept {} + GattReadClientCharacteristicConfigurationDescriptorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattReadRequest : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest + { + GattReadRequest(std::nullptr_t) noexcept {} + GattReadRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattReadRequestedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs + { + GattReadRequestedEventArgs(std::nullptr_t) noexcept {} + GattReadRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattReadResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult, + impl::require + { + GattReadResult(std::nullptr_t) noexcept {} + GattReadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattReliableWriteTransaction : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction, + impl::require + { + GattReliableWriteTransaction(std::nullptr_t) noexcept {} + GattReliableWriteTransaction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction(ptr, take_ownership_from_abi) {} + GattReliableWriteTransaction(); + }; + struct WINRT_IMPL_EMPTY_BASES GattRequestStateChangedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs + { + GattRequestStateChangedEventArgs(std::nullptr_t) noexcept {} + GattRequestStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProvider : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider, + impl::require + { + GattServiceProvider(std::nullptr_t) noexcept {} + GattServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider(ptr, take_ownership_from_abi) {} + static auto CreateAsync(winrt::guid const& serviceUuid); + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProviderAdvertisementStatusChangedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs + { + GattServiceProviderAdvertisementStatusChangedEventArgs(std::nullptr_t) noexcept {} + GattServiceProviderAdvertisementStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProviderAdvertisingParameters : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters, + impl::require + { + GattServiceProviderAdvertisingParameters(std::nullptr_t) noexcept {} + GattServiceProviderAdvertisingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters(ptr, take_ownership_from_abi) {} + GattServiceProviderAdvertisingParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES GattServiceProviderResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult + { + GattServiceProviderResult(std::nullptr_t) noexcept {} + GattServiceProviderResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult(ptr, take_ownership_from_abi) {} + }; + struct GattServiceUuids + { + GattServiceUuids() = delete; + [[nodiscard]] static auto Battery(); + [[nodiscard]] static auto BloodPressure(); + [[nodiscard]] static auto CyclingSpeedAndCadence(); + [[nodiscard]] static auto GenericAccess(); + [[nodiscard]] static auto GenericAttribute(); + [[nodiscard]] static auto Glucose(); + [[nodiscard]] static auto HealthThermometer(); + [[nodiscard]] static auto HeartRate(); + [[nodiscard]] static auto RunningSpeedAndCadence(); + [[nodiscard]] static auto AlertNotification(); + [[nodiscard]] static auto CurrentTime(); + [[nodiscard]] static auto CyclingPower(); + [[nodiscard]] static auto DeviceInformation(); + [[nodiscard]] static auto HumanInterfaceDevice(); + [[nodiscard]] static auto ImmediateAlert(); + [[nodiscard]] static auto LinkLoss(); + [[nodiscard]] static auto LocationAndNavigation(); + [[nodiscard]] static auto NextDstChange(); + [[nodiscard]] static auto PhoneAlertStatus(); + [[nodiscard]] static auto ReferenceTimeUpdate(); + [[nodiscard]] static auto ScanParameters(); + [[nodiscard]] static auto TxPower(); + }; + struct WINRT_IMPL_EMPTY_BASES GattSession : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession, + impl::require + { + GattSession(std::nullptr_t) noexcept {} + GattSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession(ptr, take_ownership_from_abi) {} + static auto FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES GattSessionStatusChangedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs + { + GattSessionStatusChangedEventArgs(std::nullptr_t) noexcept {} + GattSessionStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattSubscribedClient : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient + { + GattSubscribedClient(std::nullptr_t) noexcept {} + GattSubscribedClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattValueChangedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs + { + GattValueChangedEventArgs(std::nullptr_t) noexcept {} + GattValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattWriteRequest : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest + { + GattWriteRequest(std::nullptr_t) noexcept {} + GattWriteRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattWriteRequestedEventArgs : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs + { + GattWriteRequestedEventArgs(std::nullptr_t) noexcept {} + GattWriteRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GattWriteResult : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult + { + GattWriteResult(std::nullptr_t) noexcept {} + GattWriteResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.0.h new file mode 100644 index 0000000000000000000000000000000000000000..18466bf6211600263ada01a6e22e7019198a1c72 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.0.h @@ -0,0 +1,318 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_0_H +#define WINRT_Windows_Devices_Bluetooth_Rfcomm_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth +{ + enum class BluetoothCacheMode : int32_t; + struct BluetoothDevice; + enum class BluetoothError : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceAccessInformation; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + enum class SocketProtectionLevel : int32_t; + struct StreamSocketListener; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm +{ + struct IRfcommDeviceService; + struct IRfcommDeviceService2; + struct IRfcommDeviceService3; + struct IRfcommDeviceServiceStatics; + struct IRfcommDeviceServiceStatics2; + struct IRfcommDeviceServicesResult; + struct IRfcommServiceId; + struct IRfcommServiceIdStatics; + struct IRfcommServiceProvider; + struct IRfcommServiceProvider2; + struct IRfcommServiceProviderStatics; + struct RfcommDeviceService; + struct RfcommDeviceServicesResult; + struct RfcommServiceId; + struct RfcommServiceProvider; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceServicesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.RfcommServiceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceService2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceService3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceServiceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceServiceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommDeviceServicesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommServiceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommServiceIdStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommServiceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommServiceProvider2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Bluetooth.Rfcomm.IRfcommServiceProviderStatics"; + template <> inline constexpr guid guid_v{ 0xAE81FF1F,0xC5A1,0x4C40,{ 0x8C,0x28,0xF3,0xEF,0xD6,0x90,0x62,0xF3 } }; // AE81FF1F-C5A1-4C40-8C28-F3EFD69062F3 + template <> inline constexpr guid guid_v{ 0x536CED14,0xEBCD,0x49FE,{ 0xBF,0x9F,0x40,0xEF,0xC6,0x89,0xB2,0x0D } }; // 536CED14-EBCD-49FE-BF9F-40EFC689B20D + template <> inline constexpr guid guid_v{ 0x1C22ACE6,0xDD44,0x4D23,{ 0x86,0x6D,0x8F,0x34,0x86,0xEE,0x64,0x90 } }; // 1C22ACE6-DD44-4D23-866D-8F3486EE6490 + template <> inline constexpr guid guid_v{ 0xA4A149EF,0x626D,0x41AC,{ 0xB2,0x53,0x87,0xAC,0x5C,0x27,0xE2,0x8A } }; // A4A149EF-626D-41AC-B253-87AC5C27E28A + template <> inline constexpr guid guid_v{ 0xAA8CB1C9,0xE78D,0x4BE4,{ 0x80,0x76,0x0A,0x3D,0x87,0xA0,0xA0,0x5F } }; // AA8CB1C9-E78D-4BE4-8076-0A3D87A0A05F + template <> inline constexpr guid guid_v{ 0x3B48388C,0x7CCF,0x488E,{ 0x96,0x25,0xD2,0x59,0xA5,0x73,0x2D,0x55 } }; // 3B48388C-7CCF-488E-9625-D259A5732D55 + template <> inline constexpr guid guid_v{ 0x22629204,0x7E02,0x4017,{ 0x81,0x36,0xDA,0x1B,0x6A,0x1B,0x9B,0xBF } }; // 22629204-7E02-4017-8136-DA1B6A1B9BBF + template <> inline constexpr guid guid_v{ 0x2A179EBA,0xA975,0x46E3,{ 0xB5,0x6B,0x08,0xFF,0xD7,0x83,0xA5,0xFE } }; // 2A179EBA-A975-46E3-B56B-08FFD783A5FE + template <> inline constexpr guid guid_v{ 0xEADBFDC4,0xB1F6,0x44FF,{ 0x9F,0x7C,0xE7,0xA8,0x2A,0xB8,0x68,0x21 } }; // EADBFDC4-B1F6-44FF-9F7C-E7A82AB86821 + template <> inline constexpr guid guid_v{ 0x736BDFC6,0x3C81,0x4D1E,{ 0xBA,0xF2,0xDD,0xBB,0x81,0x28,0x45,0x12 } }; // 736BDFC6-3C81-4D1E-BAF2-DDBB81284512 + template <> inline constexpr guid guid_v{ 0x98888303,0x69CA,0x413A,{ 0x84,0xF7,0x43,0x44,0xC7,0x29,0x29,0x97 } }; // 98888303-69CA-413A-84F7-4344C7292997 + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionHostName(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionServiceName(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetSdpRawAttributesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetSdpRawAttributesWithCacheModeAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceAccessInformation(void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDevice(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceWithCacheMode(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceAndServiceId(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Services(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall AsShortId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall AsString(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromUuid(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall FromShortId(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_SerialPort(void**) noexcept = 0; + virtual int32_t __stdcall get_ObexObjectPush(void**) noexcept = 0; + virtual int32_t __stdcall get_ObexFileTransfer(void**) noexcept = 0; + virtual int32_t __stdcall get_PhoneBookAccessPce(void**) noexcept = 0; + virtual int32_t __stdcall get_PhoneBookAccessPse(void**) noexcept = 0; + virtual int32_t __stdcall get_GenericFileTransfer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServiceId(void**) noexcept = 0; + virtual int32_t __stdcall get_SdpRawAttributes(void**) noexcept = 0; + virtual int32_t __stdcall StartAdvertising(void*) noexcept = 0; + virtual int32_t __stdcall StopAdvertising() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAdvertisingWithRadioDiscoverability(void*, bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService + { + [[nodiscard]] auto ConnectionHostName() const; + [[nodiscard]] auto ConnectionServiceName() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto MaxProtectionLevel() const; + auto GetSdpRawAttributesAsync() const; + auto GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2 + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3 + { + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2 + { + auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const; + auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Services() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId + { + [[nodiscard]] auto Uuid() const; + auto AsShortId() const; + auto AsString() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics + { + auto FromUuid(winrt::guid const& uuid) const; + auto FromShortId(uint32_t shortId) const; + [[nodiscard]] auto SerialPort() const; + [[nodiscard]] auto ObexObjectPush() const; + [[nodiscard]] auto ObexFileTransfer() const; + [[nodiscard]] auto PhoneBookAccessPce() const; + [[nodiscard]] auto PhoneBookAccessPse() const; + [[nodiscard]] auto GenericFileTransfer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider + { + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto SdpRawAttributes() const; + auto StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const; + auto StopAdvertising() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2 + { + auto StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2; + }; + template + struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics + { + auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.1.h new file mode 100644 index 0000000000000000000000000000000000000000..fdb542289256974764849633114e7268b955c575 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.1.h @@ -0,0 +1,96 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_1_H +#define WINRT_Windows_Devices_Bluetooth_Rfcomm_1_H +#include "winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm +{ + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommDeviceService(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceService2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRfcommDeviceService2(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceService2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceService3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRfcommDeviceService3(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceService3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceServiceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommDeviceServiceStatics(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceServiceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceServiceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRfcommDeviceServiceStatics2(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceServiceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommDeviceServicesResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommDeviceServicesResult(std::nullptr_t = nullptr) noexcept {} + IRfcommDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommServiceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommServiceId(std::nullptr_t = nullptr) noexcept {} + IRfcommServiceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommServiceIdStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommServiceIdStatics(std::nullptr_t = nullptr) noexcept {} + IRfcommServiceIdStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommServiceProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommServiceProvider(std::nullptr_t = nullptr) noexcept {} + IRfcommServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommServiceProvider2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRfcommServiceProvider2(std::nullptr_t = nullptr) noexcept {} + IRfcommServiceProvider2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::StartAdvertising; + using impl::consume_t::StartAdvertising; + }; + struct WINRT_IMPL_EMPTY_BASES IRfcommServiceProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRfcommServiceProviderStatics(std::nullptr_t = nullptr) noexcept {} + IRfcommServiceProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ed840659f145ae7ecc040d7f3698def61b5828eb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.bluetooth.rfcomm.2.h @@ -0,0 +1,54 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H +#define WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H +#include "winrt/impl/Windows.Devices.Bluetooth.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm +{ + struct WINRT_IMPL_EMPTY_BASES RfcommDeviceService : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService, + impl::require + { + RfcommDeviceService(std::nullptr_t) noexcept {} + RfcommDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId); + static auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice); + static auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode); + static auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId); + static auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode); + }; + struct WINRT_IMPL_EMPTY_BASES RfcommDeviceServicesResult : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult + { + RfcommDeviceServicesResult(std::nullptr_t) noexcept {} + RfcommDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RfcommServiceId : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId + { + RfcommServiceId(std::nullptr_t) noexcept {} + RfcommServiceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId(ptr, take_ownership_from_abi) {} + static auto FromUuid(winrt::guid const& uuid); + static auto FromShortId(uint32_t shortId); + [[nodiscard]] static auto SerialPort(); + [[nodiscard]] static auto ObexObjectPush(); + [[nodiscard]] static auto ObexFileTransfer(); + [[nodiscard]] static auto PhoneBookAccessPce(); + [[nodiscard]] static auto PhoneBookAccessPse(); + [[nodiscard]] static auto GenericFileTransfer(); + }; + struct WINRT_IMPL_EMPTY_BASES RfcommServiceProvider : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider, + impl::require + { + RfcommServiceProvider(std::nullptr_t) noexcept {} + RfcommServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider::StartAdvertising; + using impl::consume_t::StartAdvertising; + static auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4f2b3f15d3846354a69a8a38a023b48b5d734973 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.0.h @@ -0,0 +1,183 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Custom_0_H +#define WINRT_Windows_Devices_Custom_0_H +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Custom +{ + enum class DeviceAccessMode : int32_t + { + Read = 0, + Write = 1, + ReadWrite = 2, + }; + enum class DeviceSharingMode : int32_t + { + Shared = 0, + Exclusive = 1, + }; + enum class IOControlAccessMode : int32_t + { + Any = 0, + Read = 1, + Write = 2, + ReadWrite = 3, + }; + enum class IOControlBufferingMethod : int32_t + { + Buffered = 0, + DirectInput = 1, + DirectOutput = 2, + Neither = 3, + }; + struct ICustomDevice; + struct ICustomDeviceStatics; + struct IIOControlCode; + struct IIOControlCodeFactory; + struct IKnownDeviceTypesStatics; + struct CustomDevice; + struct IOControlCode; + struct KnownDeviceTypes; + struct CustomDeviceContract; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.CustomDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IOControlCode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.KnownDeviceTypes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.DeviceAccessMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.DeviceSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IOControlAccessMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IOControlBufferingMethod"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.ICustomDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.ICustomDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IIOControlCode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IIOControlCodeFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.IKnownDeviceTypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Custom.CustomDeviceContract"; + template <> inline constexpr guid guid_v{ 0xDD30251F,0xC48B,0x43BD,{ 0xBC,0xB1,0xDE,0xC8,0x8F,0x15,0x14,0x3E } }; // DD30251F-C48B-43BD-BCB1-DEC88F15143E + template <> inline constexpr guid guid_v{ 0xC8220312,0xEF4C,0x46B1,{ 0xA5,0x8E,0xEE,0xB3,0x08,0xDC,0x89,0x17 } }; // C8220312-EF4C-46B1-A58E-EEB308DC8917 + template <> inline constexpr guid guid_v{ 0x0E9559E7,0x60C8,0x4375,{ 0xA7,0x61,0x7F,0x88,0x08,0x06,0x6C,0x60 } }; // 0E9559E7-60C8-4375-A761-7F8808066C60 + template <> inline constexpr guid guid_v{ 0x856A7CF0,0x4C11,0x44AE,{ 0xAF,0xC6,0xB8,0xD4,0xA2,0x12,0x78,0x8F } }; // 856A7CF0-4C11-44AE-AFC6-B8D4A212788F + template <> inline constexpr guid guid_v{ 0xEE5479C2,0x5448,0x45DA,{ 0xAD,0x1B,0x24,0x94,0x8C,0x23,0x90,0x94 } }; // EE5479C2-5448-45DA-AD1B-24948C239094 + template <> struct default_interface{ using type = winrt::Windows::Devices::Custom::ICustomDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Custom::IIOControlCode; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall SendIOControlAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySendIOControlAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AccessMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BufferingMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Function(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceType(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ControlCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateIOControlCode(uint16_t, uint16_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unknown(uint16_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Custom_ICustomDevice + { + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; + auto TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Custom_ICustomDevice; + }; + template + struct consume_Windows_Devices_Custom_ICustomDeviceStatics + { + auto GetDeviceSelector(winrt::guid const& classGuid) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Custom_ICustomDeviceStatics; + }; + template + struct consume_Windows_Devices_Custom_IIOControlCode + { + [[nodiscard]] auto AccessMode() const; + [[nodiscard]] auto BufferingMethod() const; + [[nodiscard]] auto Function() const; + [[nodiscard]] auto DeviceType() const; + [[nodiscard]] auto ControlCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Custom_IIOControlCode; + }; + template + struct consume_Windows_Devices_Custom_IIOControlCodeFactory + { + auto CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Custom_IIOControlCodeFactory; + }; + template + struct consume_Windows_Devices_Custom_IKnownDeviceTypesStatics + { + [[nodiscard]] auto Unknown() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Custom_IKnownDeviceTypesStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.1.h new file mode 100644 index 0000000000000000000000000000000000000000..831935bffbca07fe5a3a6a0cb3bde457d0ac1ea5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Custom_1_H +#define WINRT_Windows_Devices_Custom_1_H +#include "winrt/impl/Windows.Devices.Custom.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Custom +{ + struct WINRT_IMPL_EMPTY_BASES ICustomDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomDevice(std::nullptr_t = nullptr) noexcept {} + ICustomDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomDeviceStatics(std::nullptr_t = nullptr) noexcept {} + ICustomDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIOControlCode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIOControlCode(std::nullptr_t = nullptr) noexcept {} + IIOControlCode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIOControlCodeFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIOControlCodeFactory(std::nullptr_t = nullptr) noexcept {} + IIOControlCodeFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownDeviceTypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownDeviceTypesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownDeviceTypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a868dc5a11ec0dd0977d4e12b710c04b2b8e68e7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.custom.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Custom_2_H +#define WINRT_Windows_Devices_Custom_2_H +#include "winrt/impl/Windows.Devices.Custom.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Custom +{ + struct WINRT_IMPL_EMPTY_BASES CustomDevice : winrt::Windows::Devices::Custom::ICustomDevice + { + CustomDevice(std::nullptr_t) noexcept {} + CustomDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Custom::ICustomDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(winrt::guid const& classGuid); + static auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode); + }; + struct WINRT_IMPL_EMPTY_BASES IOControlCode : winrt::Windows::Devices::Custom::IIOControlCode + { + IOControlCode(std::nullptr_t) noexcept {} + IOControlCode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Custom::IIOControlCode(ptr, take_ownership_from_abi) {} + IOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod); + }; + struct KnownDeviceTypes + { + KnownDeviceTypes() = delete; + [[nodiscard]] static auto Unknown(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b04bfa60d8258b05ccfaf8c7ccc6c77e2a32c335 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.0.h @@ -0,0 +1,167 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_0_H +#define WINRT_Windows_Devices_Display_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Point; +} +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayAdapterId; + struct SizeInt32; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Display +{ + enum class DisplayMonitorConnectionKind : int32_t + { + Internal = 0, + Wired = 1, + Wireless = 2, + Virtual = 3, + }; + enum class DisplayMonitorDescriptorKind : int32_t + { + Edid = 0, + DisplayId = 1, + }; + enum class DisplayMonitorPhysicalConnectorKind : int32_t + { + Unknown = 0, + HD15 = 1, + AnalogTV = 2, + Dvi = 3, + Hdmi = 4, + Lvds = 5, + Sdi = 6, + DisplayPort = 7, + }; + enum class DisplayMonitorUsageKind : int32_t + { + Standard = 0, + HeadMounted = 1, + SpecialPurpose = 2, + }; + struct IDisplayMonitor; + struct IDisplayMonitor2; + struct IDisplayMonitorStatics; + struct DisplayMonitor; +} +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 = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.DisplayMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.DisplayMonitorConnectionKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.DisplayMonitorDescriptorKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.DisplayMonitorPhysicalConnectorKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.DisplayMonitorUsageKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.IDisplayMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.IDisplayMonitor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.IDisplayMonitorStatics"; + template <> inline constexpr guid guid_v{ 0x1F6B15D4,0x1D01,0x4C51,{ 0x87,0xE2,0x6F,0x95,0x4A,0x77,0x2B,0x59 } }; // 1F6B15D4-1D01-4C51-87E2-6F954A772B59 + template <> inline constexpr guid guid_v{ 0x023018E6,0xCB23,0x5830,{ 0x96,0xDF,0xA7,0xBF,0x6E,0x60,0x25,0x77 } }; // 023018E6-CB23-5830-96DF-A7BF6E602577 + template <> inline constexpr guid guid_v{ 0x6EAE698F,0xA228,0x4C05,{ 0x82,0x1D,0xB6,0x95,0xD6,0x67,0xDE,0x8E } }; // 6EAE698F-A228-4C05-821D-B695D667DE8E + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::IDisplayMonitor; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhysicalConnector(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DisplayAdapterDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayAdapterId(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; + virtual int32_t __stdcall get_DisplayAdapterTargetId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NativeResolutionInRawPixels(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall get_PhysicalSizeInInches(void**) noexcept = 0; + virtual int32_t __stdcall get_RawDpiX(float*) noexcept = 0; + virtual int32_t __stdcall get_RawDpiY(float*) noexcept = 0; + virtual int32_t __stdcall get_RedPrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_GreenPrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_BluePrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_WhitePoint(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_MaxLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall get_MinLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall get_MaxAverageFullFrameLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall GetDescriptor(int32_t, uint32_t* __resultSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsDolbyVisionSupportedInHdrMode(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromInterfaceIdAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Display_IDisplayMonitor + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto ConnectionKind() const; + [[nodiscard]] auto PhysicalConnector() const; + [[nodiscard]] auto DisplayAdapterDeviceId() const; + [[nodiscard]] auto DisplayAdapterId() const; + [[nodiscard]] auto DisplayAdapterTargetId() const; + [[nodiscard]] auto UsageKind() const; + [[nodiscard]] auto NativeResolutionInRawPixels() const; + [[nodiscard]] auto PhysicalSizeInInches() const; + [[nodiscard]] auto RawDpiX() const; + [[nodiscard]] auto RawDpiY() const; + [[nodiscard]] auto RedPrimary() const; + [[nodiscard]] auto GreenPrimary() const; + [[nodiscard]] auto BluePrimary() const; + [[nodiscard]] auto WhitePoint() const; + [[nodiscard]] auto MaxLuminanceInNits() const; + [[nodiscard]] auto MinLuminanceInNits() const; + [[nodiscard]] auto MaxAverageFullFrameLuminanceInNits() const; + auto GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_IDisplayMonitor; + }; + template + struct consume_Windows_Devices_Display_IDisplayMonitor2 + { + [[nodiscard]] auto IsDolbyVisionSupportedInHdrMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_IDisplayMonitor2; + }; + template + struct consume_Windows_Devices_Display_IDisplayMonitorStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_IDisplayMonitorStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.1.h new file mode 100644 index 0000000000000000000000000000000000000000..968fbc5498a8b00d1731d4ae07509d1540a7d83a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_1_H +#define WINRT_Windows_Devices_Display_1_H +#include "winrt/impl/Windows.Devices.Display.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Display +{ + struct WINRT_IMPL_EMPTY_BASES IDisplayMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayMonitor(std::nullptr_t = nullptr) noexcept {} + IDisplayMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayMonitor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayMonitor2(std::nullptr_t = nullptr) noexcept {} + IDisplayMonitor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayMonitorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayMonitorStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayMonitorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.2.h new file mode 100644 index 0000000000000000000000000000000000000000..24faa841c988a70de3ab9ac05d1aca8b32b0b37b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.2.h @@ -0,0 +1,22 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_2_H +#define WINRT_Windows_Devices_Display_2_H +#include "winrt/impl/Windows.Devices.Display.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Display +{ + struct WINRT_IMPL_EMPTY_BASES DisplayMonitor : winrt::Windows::Devices::Display::IDisplayMonitor, + impl::require + { + DisplayMonitor(std::nullptr_t) noexcept {} + DisplayMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::IDisplayMonitor(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto FromInterfaceIdAsync(param::hstring const& deviceInterfaceId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..97678f31dcebaa8e47a033f1a66ed54d4fce9811 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.0.h @@ -0,0 +1,1441 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_Core_0_H +#define WINRT_Windows_Devices_Display_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Display +{ + struct DisplayMonitor; + enum class DisplayMonitorUsageKind : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ + struct Rational; +} +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayAdapterId; + struct RectInt32; + struct SizeInt32; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXColorSpace : int32_t; + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct Direct3DMultisampleDescription; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Display::Core +{ + enum class DisplayBitsPerChannel : uint32_t + { + None = 0, + Bpc6 = 0x1, + Bpc8 = 0x2, + Bpc10 = 0x4, + Bpc12 = 0x8, + Bpc14 = 0x10, + Bpc16 = 0x20, + }; + enum class DisplayDeviceCapability : int32_t + { + FlipOverride = 0, + }; + enum class DisplayManagerOptions : uint32_t + { + None = 0, + EnforceSourceOwnership = 0x1, + VirtualRefreshRateAware = 0x2, + }; + enum class DisplayManagerResult : int32_t + { + Success = 0, + UnknownFailure = 1, + TargetAccessDenied = 2, + TargetStale = 3, + RemoteSessionNotSupported = 4, + }; + enum class DisplayModeQueryOptions : uint32_t + { + None = 0, + OnlyPreferredResolution = 0x1, + }; + enum class DisplayPathScaling : int32_t + { + Identity = 0, + Centered = 1, + Stretched = 2, + AspectRatioStretched = 3, + Custom = 4, + DriverPreferred = 5, + }; + enum class DisplayPathStatus : int32_t + { + Unknown = 0, + Succeeded = 1, + Pending = 2, + Failed = 3, + FailedAsync = 4, + InvalidatedAsync = 5, + }; + enum class DisplayPresentStatus : int32_t + { + Success = 0, + SourceStatusPreventedPresent = 1, + ScanoutInvalid = 2, + SourceInvalid = 3, + DeviceInvalid = 4, + UnknownFailure = 5, + }; + enum class DisplayRotation : int32_t + { + None = 0, + Clockwise90Degrees = 1, + Clockwise180Degrees = 2, + Clockwise270Degrees = 3, + }; + enum class DisplayScanoutOptions : uint32_t + { + None = 0, + AllowTearing = 0x2, + }; + enum class DisplaySourceStatus : int32_t + { + Active = 0, + PoweredOff = 1, + Invalid = 2, + OwnedByAnotherDevice = 3, + Unowned = 4, + }; + enum class DisplayStateApplyOptions : uint32_t + { + None = 0, + FailIfStateChanged = 0x1, + ForceReapply = 0x2, + ForceModeEnumeration = 0x4, + }; + enum class DisplayStateFunctionalizeOptions : uint32_t + { + None = 0, + FailIfStateChanged = 0x1, + ValidateTopologyOnly = 0x2, + }; + enum class DisplayStateOperationStatus : int32_t + { + Success = 0, + PartialFailure = 1, + UnknownFailure = 2, + TargetOwnershipLost = 3, + SystemStateChanged = 4, + TooManyPathsForAdapter = 5, + ModesNotSupported = 6, + RemoteSessionNotSupported = 7, + }; + enum class DisplayTargetPersistence : int32_t + { + None = 0, + BootPersisted = 1, + TemporaryPersisted = 2, + PathPersisted = 3, + }; + enum class DisplayTaskSignalKind : int32_t + { + OnPresentFlipAway = 0, + OnPresentFlipTo = 1, + }; + enum class DisplayWireFormatColorSpace : int32_t + { + BT709 = 0, + BT2020 = 1, + ProfileDefinedWideColorGamut = 2, + }; + enum class DisplayWireFormatEotf : int32_t + { + Sdr = 0, + HdrSmpte2084 = 1, + }; + enum class DisplayWireFormatHdrMetadata : int32_t + { + None = 0, + Hdr10 = 1, + Hdr10Plus = 2, + DolbyVisionLowLatency = 3, + }; + enum class DisplayWireFormatPixelEncoding : int32_t + { + Rgb444 = 0, + Ycc444 = 1, + Ycc422 = 2, + Ycc420 = 3, + Intensity = 4, + }; + struct IDisplayAdapter; + struct IDisplayAdapter2; + struct IDisplayAdapterStatics; + struct IDisplayDevice; + struct IDisplayDevice2; + struct IDisplayDeviceRenderAdapter; + struct IDisplayFence; + struct IDisplayManager; + struct IDisplayManager2; + struct IDisplayManager3; + struct IDisplayManagerChangedEventArgs; + struct IDisplayManagerDisabledEventArgs; + struct IDisplayManagerEnabledEventArgs; + struct IDisplayManagerPathsFailedOrInvalidatedEventArgs; + struct IDisplayManagerResultWithState; + struct IDisplayManagerStatics; + struct IDisplayModeInfo; + struct IDisplayModeInfo2; + struct IDisplayMuxDevice; + struct IDisplayMuxDeviceStatics; + struct IDisplayPath; + struct IDisplayPath2; + struct IDisplayPrimaryDescription; + struct IDisplayPrimaryDescriptionFactory; + struct IDisplayPrimaryDescriptionStatics; + struct IDisplayScanout; + struct IDisplaySource; + struct IDisplaySource2; + struct IDisplayState; + struct IDisplayStateOperationResult; + struct IDisplaySurface; + struct IDisplayTarget; + struct IDisplayTask; + struct IDisplayTask2; + struct IDisplayTaskPool; + struct IDisplayTaskPool2; + struct IDisplayTaskResult; + struct IDisplayView; + struct IDisplayWireFormat; + struct IDisplayWireFormatFactory; + struct IDisplayWireFormatStatics; + struct DisplayAdapter; + struct DisplayDevice; + struct DisplayFence; + struct DisplayManager; + struct DisplayManagerChangedEventArgs; + struct DisplayManagerDisabledEventArgs; + struct DisplayManagerEnabledEventArgs; + struct DisplayManagerPathsFailedOrInvalidatedEventArgs; + struct DisplayManagerResultWithState; + struct DisplayModeInfo; + struct DisplayMuxDevice; + struct DisplayPath; + struct DisplayPrimaryDescription; + struct DisplayScanout; + struct DisplaySource; + struct DisplayState; + struct DisplayStateOperationResult; + struct DisplaySurface; + struct DisplayTarget; + struct DisplayTask; + struct DisplayTaskPool; + struct DisplayTaskResult; + struct DisplayView; + struct DisplayWireFormat; + struct DisplayPresentationRate; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayFence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerResultWithState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayModeInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayMuxDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPath"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPrimaryDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayScanout"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySurface"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTarget"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTask"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskPool"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayView"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayBitsPerChannel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayDeviceCapability"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayModeQueryOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPathScaling"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPathStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPresentStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayRotation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayScanoutOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySourceStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateApplyOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTargetPersistence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskSignalKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatColorSpace"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatEotf"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPresentationRate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayAdapter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayAdapterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayDeviceRenderAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayFence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManager2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManager3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerDisabledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerEnabledEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerPathsFailedOrInvalidatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerResultWithState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayModeInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayModeInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayMuxDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayMuxDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPath"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPath2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescriptionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescriptionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayScanout"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySource2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayStateOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySurface"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTarget"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTask"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTask2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskPool"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskPool2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayView"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormatFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormatStatics"; + template <> inline constexpr guid guid_v{ 0xA56F5287,0xF000,0x5F2E,{ 0xB5,0xAC,0x37,0x83,0xA2,0xB6,0x9A,0xF5 } }; // A56F5287-F000-5F2E-B5AC-3783A2B69AF5 + template <> inline constexpr guid guid_v{ 0x9AB49B18,0xB3C7,0x5546,{ 0x83,0x74,0xA9,0x12,0x71,0x11,0xED,0xD8 } }; // 9AB49B18-B3C7-5546-8374-A9127111EDD8 + template <> inline constexpr guid guid_v{ 0x1DAC3CDA,0x481F,0x5469,{ 0x84,0x70,0x82,0xC4,0xBA,0x68,0x0A,0x28 } }; // 1DAC3CDA-481F-5469-8470-82C4BA680A28 + template <> inline constexpr guid guid_v{ 0xA4C9B62C,0x335F,0x5731,{ 0x8C,0xB4,0xC1,0xCC,0xD4,0x73,0x10,0x70 } }; // A4C9B62C-335F-5731-8CB4-C1CCD4731070 + template <> inline constexpr guid guid_v{ 0x3FEFE50C,0x0940,0x54BD,{ 0xA0,0x2F,0xF9,0xC7,0xA5,0x36,0xAD,0x60 } }; // 3FEFE50C-0940-54BD-A02F-F9C7A536AD60 + template <> inline constexpr guid guid_v{ 0x41C86CE5,0xB18F,0x573F,{ 0x9D,0x59,0x70,0x46,0x31,0x15,0xE4,0xCC } }; // 41C86CE5-B18F-573F-9D59-70463115E4CC + template <> inline constexpr guid guid_v{ 0x04DCF9EF,0x3406,0x5700,{ 0x8F,0xEC,0x77,0xEB,0xA4,0xC5,0xA7,0x4B } }; // 04DCF9EF-3406-5700-8FEC-77EBA4C5A74B + template <> inline constexpr guid guid_v{ 0x4ED9245B,0x15EC,0x56E2,{ 0x90,0x72,0x7F,0xE5,0x08,0x4A,0x31,0xA7 } }; // 4ED9245B-15EC-56E2-9072-7FE5084A31A7 + template <> inline constexpr guid guid_v{ 0xE001EC1E,0x7EB1,0x597F,{ 0x9A,0x30,0x14,0xD3,0xFE,0x37,0x14,0xCD } }; // E001EC1E-7EB1-597F-9A30-14D3FE3714CD + template <> inline constexpr guid guid_v{ 0x6F14CB89,0x7F49,0x587D,{ 0x93,0xCE,0x77,0x48,0x7C,0xBC,0xB5,0x30 } }; // 6F14CB89-7F49-587D-93CE-77487CBCB530 + template <> inline constexpr guid guid_v{ 0x6ABFA285,0x6CCA,0x5731,{ 0xBC,0xDC,0x42,0xE5,0xD2,0xF5,0xC5,0x0F } }; // 6ABFA285-6CCA-5731-BCDC-42E5D2F5C50F + template <> inline constexpr guid guid_v{ 0x8726DDE4,0x6793,0x5973,{ 0xA1,0x1F,0x5F,0xFB,0xC9,0x3F,0xDB,0x90 } }; // 8726DDE4-6793-5973-A11F-5FFBC93FDB90 + template <> inline constexpr guid guid_v{ 0xF0CF3F6F,0x42FA,0x59A2,{ 0xB2,0x97,0x26,0xE1,0x71,0x3D,0xE8,0x48 } }; // F0CF3F6F-42FA-59A2-B297-26E1713DE848 + template <> inline constexpr guid guid_v{ 0x03A65659,0x1DEC,0x5C15,{ 0xB2,0xA2,0x8F,0xE9,0x12,0x98,0x69,0xFE } }; // 03A65659-1DEC-5C15-B2A2-8FE9129869FE + template <> inline constexpr guid guid_v{ 0x8E656AA6,0x6614,0x54BE,{ 0xBF,0xEF,0x49,0x94,0x54,0x7F,0x7B,0xE1 } }; // 8E656AA6-6614-54BE-BFEF-4994547F7BE1 + template <> inline constexpr guid guid_v{ 0x2B6B9446,0xB999,0x5535,{ 0x9D,0x69,0x53,0xF0,0x92,0xC7,0x80,0xA1 } }; // 2B6B9446-B999-5535-9D69-53F092C780A1 + template <> inline constexpr guid guid_v{ 0x48D513A0,0xF79B,0x5A74,{ 0xA0,0x5E,0xDA,0x82,0x1F,0x47,0x08,0x68 } }; // 48D513A0-F79B-5A74-A05E-DA821F470868 + template <> inline constexpr guid guid_v{ 0xC86FA386,0x0DDB,0x5473,{ 0xBF,0xB0,0x4B,0x78,0x07,0xB5,0xF9,0x09 } }; // C86FA386-0DDB-5473-BFB0-4B7807B5F909 + template <> inline constexpr guid guid_v{ 0xD81C4925,0x83DD,0x52C9,{ 0xAB,0x4E,0xE0,0x83,0x3F,0xC7,0x50,0x68 } }; // D81C4925-83DD-52C9-AB4E-E0833FC75068 + template <> inline constexpr guid guid_v{ 0x7B37A64A,0x0465,0x53DA,{ 0xBA,0xEE,0x70,0x02,0x84,0x80,0xCE,0xD0 } }; // 7B37A64A-0465-53DA-BAEE-70028480CED0 + template <> inline constexpr guid guid_v{ 0xB3DFD64A,0x7460,0x5CDE,{ 0x81,0x1B,0xD5,0xAE,0x9F,0x3D,0x9F,0x84 } }; // B3DFD64A-7460-5CDE-811B-D5AE9F3D9F84 + template <> inline constexpr guid guid_v{ 0xF32459C5,0xE994,0x570B,{ 0x9E,0xC8,0xEF,0x42,0xC3,0x5A,0x85,0x47 } }; // F32459C5-E994-570B-9EC8-EF42C35A8547 + template <> inline constexpr guid guid_v{ 0x872591D2,0xD533,0x50FF,{ 0xA8,0x5E,0x06,0x69,0x61,0x94,0xB7,0x7C } }; // 872591D2-D533-50FF-A85E-06696194B77C + template <> inline constexpr guid guid_v{ 0x1A6AFF7B,0x3637,0x5C46,{ 0xB4,0x79,0x76,0xD5,0x76,0x21,0x6E,0x65 } }; // 1A6AFF7B-3637-5C46-B479-76D576216E65 + template <> inline constexpr guid guid_v{ 0xE60E4CFB,0x36C9,0x56DD,{ 0x8F,0xA1,0x6F,0xF8,0xC4,0xE0,0xFF,0x07 } }; // E60E4CFB-36C9-56DD-8FA1-6FF8C4E0FF07 + template <> inline constexpr guid guid_v{ 0xE3051828,0x1BA5,0x50E7,{ 0x8A,0x39,0xBB,0x1F,0xD2,0xF4,0xF8,0xB9 } }; // E3051828-1BA5-50E7-8A39-BB1FD2F4F8B9 + template <> inline constexpr guid guid_v{ 0xECD15FC1,0xEADC,0x51BC,{ 0x97,0x1D,0x3B,0xC6,0x28,0xDB,0x2D,0xD4 } }; // ECD15FC1-EADC-51BC-971D-3BC628DB2DD4 + template <> inline constexpr guid guid_v{ 0x71E18952,0xB321,0x5AF4,{ 0xBF,0xE8,0x03,0xFB,0xEA,0x31,0xE4,0x0D } }; // 71E18952-B321-5AF4-BFE8-03FBEA31E40D + template <> inline constexpr guid guid_v{ 0x08129321,0x11B5,0x5CB2,{ 0x99,0xF8,0xE9,0x0B,0x47,0x9A,0x8A,0x1D } }; // 08129321-11B5-5CB2-99F8-E90B479A8A1D + template <> inline constexpr guid guid_v{ 0xFCADBFDF,0xDC27,0x5638,{ 0xB7,0xF2,0xEB,0xDF,0xA4,0xF7,0xEA,0x93 } }; // FCADBFDF-DC27-5638-B7F2-EBDFA4F7EA93 + template <> inline constexpr guid guid_v{ 0x594F6CC6,0x139A,0x56D6,{ 0xA4,0xB1,0x15,0xFE,0x2C,0xB7,0x6A,0xDB } }; // 594F6CC6-139A-56D6-A4B1-15FE2CB76ADB + template <> inline constexpr guid guid_v{ 0xAEC57C6F,0x47B4,0x546B,{ 0x98,0x7C,0xE7,0x3F,0xA7,0x91,0xFE,0x3A } }; // AEC57C6F-47B4-546B-987C-E73FA791FE3A + template <> inline constexpr guid guid_v{ 0x5E087448,0x135B,0x5BB0,{ 0xBF,0x63,0x63,0x7F,0x84,0x22,0x7C,0x7A } }; // 5E087448-135B-5BB0-BF63-637F84227C7A + template <> inline constexpr guid guid_v{ 0x0957EA19,0xBD55,0x55DE,{ 0x92,0x67,0xC9,0x7B,0x61,0xE7,0x1C,0x37 } }; // 0957EA19-BD55-55DE-9267-C97B61E71C37 + template <> inline constexpr guid guid_v{ 0xC676253D,0x237D,0x5548,{ 0xAA,0xFA,0x3E,0x51,0x7F,0xEF,0xEF,0x1C } }; // C676253D-237D-5548-AAFA-3E517FEFEF1C + template <> inline constexpr guid guid_v{ 0x46B879B6,0x5D17,0x5955,{ 0xA8,0x72,0xEB,0x38,0x00,0x3D,0xB5,0x86 } }; // 46B879B6-5D17-5955-A872-EB38003DB586 + template <> inline constexpr guid guid_v{ 0x6FBC7D67,0xF9B1,0x55E0,{ 0x9D,0x88,0xD3,0xA5,0x19,0x7A,0x3F,0x59 } }; // 6FBC7D67-F9B1-55E0-9D88-D3A5197A3F59 + template <> inline constexpr guid guid_v{ 0xB0C98CA1,0xB759,0x5B59,{ 0xB1,0xAD,0xF0,0x78,0x6A,0xA9,0xE5,0x3D } }; // B0C98CA1-B759-5B59-B1AD-F0786AA9E53D + template <> inline constexpr guid guid_v{ 0x1ACC967D,0x872C,0x5A38,{ 0xBB,0xB9,0x1D,0x48,0x72,0xB7,0x62,0x55 } }; // 1ACC967D-872C-5A38-BBB9-1D4872B76255 + template <> inline constexpr guid guid_v{ 0xB2EFC8D5,0x09D6,0x55E6,{ 0xAD,0x22,0x90,0x14,0xB3,0xD2,0x52,0x29 } }; // B2EFC8D5-09D6-55E6-AD22-9014B3D25229 + template <> inline constexpr guid guid_v{ 0xC575A22D,0xC3E6,0x5F7A,{ 0xBD,0xFB,0x87,0xC6,0xAB,0x86,0x61,0xD5 } }; // C575A22D-C3E6-5F7A-BDFB-87C6AB8661D5 + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayAdapter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayFence; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManager; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayModeInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayMuxDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayPath; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayScanout; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplaySource; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayState; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplaySurface; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTarget; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTask; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTaskPool; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTaskResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayView; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayWireFormat; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInterfacePath(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PciVendorId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PciDeviceId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PciSubSystemId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PciRevision(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsIndirectDisplayDevice(bool*) noexcept = 0; + virtual int32_t __stdcall get_PreferredRenderAdapter(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromId(struct struct_Windows_Graphics_DisplayAdapterId, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateScanoutSource(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreatePrimary(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTaskPool(void**) noexcept = 0; + virtual int32_t __stdcall CreatePeriodicFence(void*, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall WaitForVBlank(void*) noexcept = 0; + virtual int32_t __stdcall CreateSimpleScanout(void*, void*, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall IsCapabilitySupported(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateSimpleScanoutWithDirtyRectsAndOptions(void*, void*, uint32_t, uint32_t, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RenderAdapterId(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentTargets(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentAdapters(void**) noexcept = 0; + virtual int32_t __stdcall TryAcquireTarget(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall ReleaseTarget(void*) noexcept = 0; + virtual int32_t __stdcall TryReadCurrentStateForAllTargets(void**) noexcept = 0; + virtual int32_t __stdcall TryAcquireTargetsAndReadCurrentState(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryAcquireTargetsAndCreateEmptyState(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryAcquireTargetsAndCreateSubstate(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDisplayDevice(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_Enabled(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Enabled(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Disabled(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Disabled(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PathsFailedOrInvalidated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PathsFailedOrInvalidated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryReadCurrentStateForModeQuery(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateDisplayDeviceForIndirectAdapter(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_State(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceResolution(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall get_SourcePixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TargetResolution(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall get_PresentationRate(struct struct_Windows_Devices_Display_Core_DisplayPresentationRate*) noexcept = 0; + virtual int32_t __stdcall get_IsInterlaced(bool*) noexcept = 0; + virtual int32_t __stdcall GetWireFormatSupportedBitsPerChannel(int32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall IsWireFormatSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PhysicalPresentationRate(struct struct_Windows_Devices_Display_Core_DisplayPresentationRate*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall GetAvailableMuxTargets(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentTarget(void**) noexcept = 0; + virtual int32_t __stdcall get_PreferredTarget(void**) noexcept = 0; + virtual int32_t __stdcall get_IsAutomaticTargetSwitchingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall SetPreferredTarget(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetAutomaticTargetSwitching(void**) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_View(void**) noexcept = 0; + virtual int32_t __stdcall get_Target(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceResolution(void**) noexcept = 0; + virtual int32_t __stdcall put_SourceResolution(void*) noexcept = 0; + virtual int32_t __stdcall get_SourcePixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SourcePixelFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsStereo(bool) noexcept = 0; + virtual int32_t __stdcall get_TargetResolution(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetResolution(void*) noexcept = 0; + virtual int32_t __stdcall get_PresentationRate(void**) noexcept = 0; + virtual int32_t __stdcall put_PresentationRate(void*) noexcept = 0; + virtual int32_t __stdcall get_IsInterlaced(void**) noexcept = 0; + virtual int32_t __stdcall put_IsInterlaced(void*) noexcept = 0; + virtual int32_t __stdcall get_WireFormat(void**) noexcept = 0; + virtual int32_t __stdcall put_WireFormat(void*) noexcept = 0; + virtual int32_t __stdcall get_Rotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Rotation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Scaling(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Scaling(int32_t) noexcept = 0; + virtual int32_t __stdcall FindModes(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall ApplyPropertiesFromMode(void*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PhysicalPresentationRate(void**) noexcept = 0; + virtual int32_t __stdcall put_PhysicalPresentationRate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ColorSpace(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall get_MultisampleDescription(struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, uint32_t, int32_t, int32_t, bool, struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithProperties(void*, uint32_t, uint32_t, int32_t, int32_t, bool, struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AdapterId(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; + virtual int32_t __stdcall get_SourceId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetMetadata(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStale(bool*) noexcept = 0; + virtual int32_t __stdcall get_Targets(void**) noexcept = 0; + virtual int32_t __stdcall get_Views(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall ConnectTarget(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectTargetToView(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CanConnectTargetToView(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall GetViewForTarget(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPathForTarget(void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectTarget(void*) noexcept = 0; + virtual int32_t __stdcall TryFunctionalize(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryApply(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Adapter(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInterfacePath(void**) noexcept = 0; + virtual int32_t __stdcall get_AdapterRelativeId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsConnected(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsVirtualModeEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsVirtualTopologyEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_UsageKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MonitorPersistence(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_StableMonitorId(void**) noexcept = 0; + virtual int32_t __stdcall TryGetMonitor(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_IsStale(bool*) noexcept = 0; + virtual int32_t __stdcall IsSame(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsEqual(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetScanout(void*) noexcept = 0; + virtual int32_t __stdcall SetWait(void*, uint64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSignal(int32_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateTask(void**) noexcept = 0; + virtual int32_t __stdcall ExecuteTask(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryExecuteTask(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PresentStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PresentId(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Paths(void**) noexcept = 0; + virtual int32_t __stdcall get_ContentResolution(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentResolution(void*) noexcept = 0; + virtual int32_t __stdcall SetPrimaryPath(void*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PixelEncoding(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BitsPerChannel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ColorSpace(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Eotf(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_HdrMetadata(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithProperties(void*, int32_t, int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayAdapter + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DeviceInterfacePath() const; + [[nodiscard]] auto SourceCount() const; + [[nodiscard]] auto PciVendorId() const; + [[nodiscard]] auto PciDeviceId() const; + [[nodiscard]] auto PciSubSystemId() const; + [[nodiscard]] auto PciRevision() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayAdapter; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayAdapter2 + { + [[nodiscard]] auto IsIndirectDisplayDevice() const; + [[nodiscard]] auto PreferredRenderAdapter() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayAdapter2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayAdapterStatics + { + auto FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayAdapterStatics; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayDevice + { + auto CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const; + auto CreateTaskPool() const; + auto CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const; + auto WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const; + auto CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const; + auto IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayDevice; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayDevice2 + { + auto CreateSimpleScanoutWithDirtyRectsAndOptions(winrt::Windows::Devices::Display::Core::DisplaySource const& source, winrt::Windows::Devices::Display::Core::DisplaySurface const& surface, uint32_t subresourceIndex, uint32_t syncInterval, param::iterable const& dirtyRects, winrt::Windows::Devices::Display::Core::DisplayScanoutOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayDevice2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayDeviceRenderAdapter + { + [[nodiscard]] auto RenderAdapterId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayDeviceRenderAdapter; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayFence + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayFence; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManager + { + auto GetCurrentTargets() const; + auto GetCurrentAdapters() const; + auto TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto TryReadCurrentStateForAllTargets() const; + auto TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const; + auto TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const; + auto TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const; + auto CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const; + auto Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Enabled_revoker = impl::event_revoker::remove_Enabled>; + [[nodiscard]] auto Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Enabled(winrt::event_token const& token) const noexcept; + auto Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Disabled_revoker = impl::event_revoker::remove_Disabled>; + [[nodiscard]] auto Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Disabled(winrt::event_token const& token) const noexcept; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + auto PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PathsFailedOrInvalidated_revoker = impl::event_revoker::remove_PathsFailedOrInvalidated>; + [[nodiscard]] auto PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManager; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManager2 + { + auto TryReadCurrentStateForModeQuery() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManager2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManager3 + { + auto CreateDisplayDeviceForIndirectAdapter(winrt::Windows::Devices::Display::Core::DisplayAdapter const& indirectAdapter, winrt::Windows::Devices::Display::Core::DisplayAdapter const& renderAdapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManager3; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState + { + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayManagerStatics + { + auto Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayManagerStatics; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayModeInfo + { + [[nodiscard]] auto SourceResolution() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto SourcePixelFormat() const; + [[nodiscard]] auto TargetResolution() const; + [[nodiscard]] auto PresentationRate() const; + [[nodiscard]] auto IsInterlaced() const; + auto GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const; + auto IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayModeInfo; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayModeInfo2 + { + [[nodiscard]] auto PhysicalPresentationRate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayModeInfo2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayMuxDevice + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsActive() const; + auto GetAvailableMuxTargets() const; + [[nodiscard]] auto CurrentTarget() const; + [[nodiscard]] auto PreferredTarget() const; + [[nodiscard]] auto IsAutomaticTargetSwitchingEnabled() const; + auto SetPreferredTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto SetAutomaticTargetSwitching() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayMuxDevice; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayMuxDeviceStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceInterfaceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayMuxDeviceStatics; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayPath + { + [[nodiscard]] auto View() const; + [[nodiscard]] auto Target() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto SourceResolution() const; + auto SourceResolution(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SourcePixelFormat() const; + auto SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IsStereo() const; + auto IsStereo(bool value) const; + [[nodiscard]] auto TargetResolution() const; + auto TargetResolution(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PresentationRate() const; + auto PresentationRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsInterlaced() const; + auto IsInterlaced(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WireFormat() const; + auto WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const; + [[nodiscard]] auto Scaling() const; + auto Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const; + auto FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const; + auto ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayPath; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayPath2 + { + [[nodiscard]] auto PhysicalPresentationRate() const; + auto PhysicalPresentationRate(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayPath2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription + { + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto MultisampleDescription() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory + { + auto CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics + { + auto CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayScanout + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayScanout; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplaySource + { + [[nodiscard]] auto AdapterId() const; + [[nodiscard]] auto SourceId() const; + auto GetMetadata(winrt::guid const& Key) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplaySource; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplaySource2 + { + [[nodiscard]] auto Status() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplaySource2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayState + { + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto IsStale() const; + [[nodiscard]] auto Targets() const; + [[nodiscard]] auto Views() const; + [[nodiscard]] auto Properties() const; + auto ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; + auto CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; + auto GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const; + auto TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const; + auto Clone() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayState; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayStateOperationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayStateOperationResult; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplaySurface + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplaySurface; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTarget + { + [[nodiscard]] auto Adapter() const; + [[nodiscard]] auto DeviceInterfacePath() const; + [[nodiscard]] auto AdapterRelativeId() const; + [[nodiscard]] auto IsConnected() const; + [[nodiscard]] auto IsVirtualModeEnabled() const; + [[nodiscard]] auto IsVirtualTopologyEnabled() const; + [[nodiscard]] auto UsageKind() const; + [[nodiscard]] auto MonitorPersistence() const; + [[nodiscard]] auto StableMonitorId() const; + auto TryGetMonitor() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto IsStale() const; + auto IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; + auto IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTarget; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTask + { + auto SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const; + auto SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTask; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTask2 + { + auto SetSignal(winrt::Windows::Devices::Display::Core::DisplayTaskSignalKind const& signalKind, winrt::Windows::Devices::Display::Core::DisplayFence const& fence) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTask2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTaskPool + { + auto CreateTask() const; + auto ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTaskPool; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTaskPool2 + { + auto TryExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTaskPool2; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayTaskResult + { + [[nodiscard]] auto PresentStatus() const; + [[nodiscard]] auto PresentId() const; + [[nodiscard]] auto SourceStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayTaskResult; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayView + { + [[nodiscard]] auto Paths() const; + [[nodiscard]] auto ContentResolution() const; + auto ContentResolution(winrt::Windows::Foundation::IReference const& value) const; + auto SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayView; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayWireFormat + { + [[nodiscard]] auto PixelEncoding() const; + [[nodiscard]] auto BitsPerChannel() const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto Eotf() const; + [[nodiscard]] auto HdrMetadata() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormat; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory + { + auto CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory; + }; + template + struct consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics + { + auto CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics; + }; + struct struct_Windows_Devices_Display_Core_DisplayPresentationRate + { + struct{ uint32_t Numerator; uint32_t Denominator; } VerticalSyncRate; + int32_t VerticalSyncsPerPresentation; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Display_Core_DisplayPresentationRate; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..463eda63b15f4d523ed9e812b6f2612db742aa80 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.1.h @@ -0,0 +1,300 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_Core_1_H +#define WINRT_Windows_Devices_Display_Core_1_H +#include "winrt/impl/Windows.Devices.Display.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Display::Core +{ + struct WINRT_IMPL_EMPTY_BASES IDisplayAdapter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayAdapter(std::nullptr_t = nullptr) noexcept {} + IDisplayAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayAdapter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayAdapter2(std::nullptr_t = nullptr) noexcept {} + IDisplayAdapter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayAdapterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayAdapterStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayAdapterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayDevice(std::nullptr_t = nullptr) noexcept {} + IDisplayDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayDevice2(std::nullptr_t = nullptr) noexcept {} + IDisplayDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayDeviceRenderAdapter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayDeviceRenderAdapter(std::nullptr_t = nullptr) noexcept {} + IDisplayDeviceRenderAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayFence : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayFence(std::nullptr_t = nullptr) noexcept {} + IDisplayFence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManager(std::nullptr_t = nullptr) noexcept {} + IDisplayManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManager2(std::nullptr_t = nullptr) noexcept {} + IDisplayManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManager3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManager3(std::nullptr_t = nullptr) noexcept {} + IDisplayManager3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerDisabledEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerDisabledEventArgs(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerDisabledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerEnabledEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerEnabledEventArgs(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerEnabledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerPathsFailedOrInvalidatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerPathsFailedOrInvalidatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerPathsFailedOrInvalidatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerResultWithState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerResultWithState(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerResultWithState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayManagerStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayModeInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayModeInfo(std::nullptr_t = nullptr) noexcept {} + IDisplayModeInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayModeInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayModeInfo2(std::nullptr_t = nullptr) noexcept {} + IDisplayModeInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayMuxDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayMuxDevice(std::nullptr_t = nullptr) noexcept {} + IDisplayMuxDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayMuxDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayMuxDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayMuxDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPath : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPath(std::nullptr_t = nullptr) noexcept {} + IDisplayPath(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPath2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPath2(std::nullptr_t = nullptr) noexcept {} + IDisplayPath2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPrimaryDescription : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPrimaryDescription(std::nullptr_t = nullptr) noexcept {} + IDisplayPrimaryDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPrimaryDescriptionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPrimaryDescriptionFactory(std::nullptr_t = nullptr) noexcept {} + IDisplayPrimaryDescriptionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPrimaryDescriptionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPrimaryDescriptionStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayPrimaryDescriptionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayScanout : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayScanout(std::nullptr_t = nullptr) noexcept {} + IDisplayScanout(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplaySource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplaySource(std::nullptr_t = nullptr) noexcept {} + IDisplaySource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplaySource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplaySource2(std::nullptr_t = nullptr) noexcept {} + IDisplaySource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayState(std::nullptr_t = nullptr) noexcept {} + IDisplayState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayStateOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayStateOperationResult(std::nullptr_t = nullptr) noexcept {} + IDisplayStateOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplaySurface : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplaySurface(std::nullptr_t = nullptr) noexcept {} + IDisplaySurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTarget : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTarget(std::nullptr_t = nullptr) noexcept {} + IDisplayTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTask : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTask(std::nullptr_t = nullptr) noexcept {} + IDisplayTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTask2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTask2(std::nullptr_t = nullptr) noexcept {} + IDisplayTask2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTaskPool : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTaskPool(std::nullptr_t = nullptr) noexcept {} + IDisplayTaskPool(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTaskPool2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTaskPool2(std::nullptr_t = nullptr) noexcept {} + IDisplayTaskPool2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayTaskResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayTaskResult(std::nullptr_t = nullptr) noexcept {} + IDisplayTaskResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayView : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayView(std::nullptr_t = nullptr) noexcept {} + IDisplayView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayWireFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayWireFormat(std::nullptr_t = nullptr) noexcept {} + IDisplayWireFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayWireFormatFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayWireFormatFactory(std::nullptr_t = nullptr) noexcept {} + IDisplayWireFormatFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayWireFormatStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayWireFormatStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayWireFormatStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b68c59e60c4585aa534d519a2f106e4bad6f983c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.display.core.2.h @@ -0,0 +1,169 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Display_Core_2_H +#define WINRT_Windows_Devices_Display_Core_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Foundation.Numerics.2.h" +#include "winrt/impl/Windows.Graphics.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h" +#include "winrt/impl/Windows.Devices.Display.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Display::Core +{ + struct DisplayPresentationRate + { + winrt::Windows::Foundation::Numerics::Rational VerticalSyncRate {}; + int32_t VerticalSyncsPerPresentation {}; + }; + inline bool operator==(DisplayPresentationRate const& left, DisplayPresentationRate const& right) noexcept + { + return left.VerticalSyncRate == right.VerticalSyncRate && left.VerticalSyncsPerPresentation == right.VerticalSyncsPerPresentation; + } + inline bool operator!=(DisplayPresentationRate const& left, DisplayPresentationRate const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES DisplayAdapter : winrt::Windows::Devices::Display::Core::IDisplayAdapter, + impl::require + { + DisplayAdapter(std::nullptr_t) noexcept {} + DisplayAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayAdapter(ptr, take_ownership_from_abi) {} + static auto FromId(winrt::Windows::Graphics::DisplayAdapterId const& id); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayDevice : winrt::Windows::Devices::Display::Core::IDisplayDevice, + impl::require + { + DisplayDevice(std::nullptr_t) noexcept {} + DisplayDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayDevice(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayFence : winrt::Windows::Devices::Display::Core::IDisplayFence + { + DisplayFence(std::nullptr_t) noexcept {} + DisplayFence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayFence(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManager : winrt::Windows::Devices::Display::Core::IDisplayManager, + impl::require + { + DisplayManager(std::nullptr_t) noexcept {} + DisplayManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManager(ptr, take_ownership_from_abi) {} + static auto Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManagerChangedEventArgs : winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs + { + DisplayManagerChangedEventArgs(std::nullptr_t) noexcept {} + DisplayManagerChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManagerDisabledEventArgs : winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs + { + DisplayManagerDisabledEventArgs(std::nullptr_t) noexcept {} + DisplayManagerDisabledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManagerEnabledEventArgs : winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs + { + DisplayManagerEnabledEventArgs(std::nullptr_t) noexcept {} + DisplayManagerEnabledEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManagerPathsFailedOrInvalidatedEventArgs : winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs + { + DisplayManagerPathsFailedOrInvalidatedEventArgs(std::nullptr_t) noexcept {} + DisplayManagerPathsFailedOrInvalidatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayManagerResultWithState : winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState + { + DisplayManagerResultWithState(std::nullptr_t) noexcept {} + DisplayManagerResultWithState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayModeInfo : winrt::Windows::Devices::Display::Core::IDisplayModeInfo, + impl::require + { + DisplayModeInfo(std::nullptr_t) noexcept {} + DisplayModeInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayModeInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayMuxDevice : winrt::Windows::Devices::Display::Core::IDisplayMuxDevice, + impl::require + { + DisplayMuxDevice(std::nullptr_t) noexcept {} + DisplayMuxDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayMuxDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceInterfaceId); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayPath : winrt::Windows::Devices::Display::Core::IDisplayPath, + impl::require + { + DisplayPath(std::nullptr_t) noexcept {} + DisplayPath(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayPath(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayPrimaryDescription : winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription + { + DisplayPrimaryDescription(std::nullptr_t) noexcept {} + DisplayPrimaryDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription(ptr, take_ownership_from_abi) {} + DisplayPrimaryDescription(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription); + static auto CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayScanout : winrt::Windows::Devices::Display::Core::IDisplayScanout + { + DisplayScanout(std::nullptr_t) noexcept {} + DisplayScanout(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayScanout(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplaySource : winrt::Windows::Devices::Display::Core::IDisplaySource, + impl::require + { + DisplaySource(std::nullptr_t) noexcept {} + DisplaySource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplaySource(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayState : winrt::Windows::Devices::Display::Core::IDisplayState + { + DisplayState(std::nullptr_t) noexcept {} + DisplayState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayStateOperationResult : winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult + { + DisplayStateOperationResult(std::nullptr_t) noexcept {} + DisplayStateOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplaySurface : winrt::Windows::Devices::Display::Core::IDisplaySurface + { + DisplaySurface(std::nullptr_t) noexcept {} + DisplaySurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplaySurface(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayTarget : winrt::Windows::Devices::Display::Core::IDisplayTarget + { + DisplayTarget(std::nullptr_t) noexcept {} + DisplayTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayTarget(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayTask : winrt::Windows::Devices::Display::Core::IDisplayTask, + impl::require + { + DisplayTask(std::nullptr_t) noexcept {} + DisplayTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayTask(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayTaskPool : winrt::Windows::Devices::Display::Core::IDisplayTaskPool, + impl::require + { + DisplayTaskPool(std::nullptr_t) noexcept {} + DisplayTaskPool(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayTaskPool(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayTaskResult : winrt::Windows::Devices::Display::Core::IDisplayTaskResult + { + DisplayTaskResult(std::nullptr_t) noexcept {} + DisplayTaskResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayTaskResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayView : winrt::Windows::Devices::Display::Core::IDisplayView + { + DisplayView(std::nullptr_t) noexcept {} + DisplayView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayWireFormat : winrt::Windows::Devices::Display::Core::IDisplayWireFormat + { + DisplayWireFormat(std::nullptr_t) noexcept {} + DisplayWireFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::Core::IDisplayWireFormat(ptr, take_ownership_from_abi) {} + DisplayWireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata); + static auto CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f2ff0a583cb433c95692fbd9a293b6bb69469183 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.0.h @@ -0,0 +1,1260 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_0_H +#define WINRT_Windows_Devices_Enumeration_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Background +{ + struct DeviceWatcherTrigger; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::UI::Popups +{ + enum class Placement : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + enum class DeviceAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + DeniedByUser = 2, + DeniedBySystem = 3, + }; + enum class DeviceClass : int32_t + { + All = 0, + AudioCapture = 1, + AudioRender = 2, + PortableStorageDevice = 3, + VideoCapture = 4, + ImageScanner = 5, + Location = 6, + }; + enum class DeviceInformationKind : int32_t + { + Unknown = 0, + DeviceInterface = 1, + DeviceContainer = 2, + Device = 3, + DeviceInterfaceClass = 4, + AssociationEndpoint = 5, + AssociationEndpointContainer = 6, + AssociationEndpointService = 7, + DevicePanel = 8, + AssociationEndpointProtocol = 9, + }; + enum class DevicePairingAddPairingSetMemberStatus : int32_t + { + AddedToSet = 0, + CouldNotBeAddedToSet = 1, + SetDiscoveryNotAttemptedByProtocol = 2, + SetDiscoveryCompletedByProtocol = 3, + SetDiscoveryPartiallyCompletedByProtocol = 4, + Failed = 5, + }; + enum class DevicePairingKinds : uint32_t + { + None = 0, + ConfirmOnly = 0x1, + DisplayPin = 0x2, + ProvidePin = 0x4, + ConfirmPinMatch = 0x8, + ProvidePasswordCredential = 0x10, + ProvideAddress = 0x20, + }; + enum class DevicePairingProtectionLevel : int32_t + { + Default = 0, + None = 1, + Encryption = 2, + EncryptionAndAuthentication = 3, + }; + enum class DevicePairingResultStatus : int32_t + { + Paired = 0, + NotReadyToPair = 1, + NotPaired = 2, + AlreadyPaired = 3, + ConnectionRejected = 4, + TooManyConnections = 5, + HardwareFailure = 6, + AuthenticationTimeout = 7, + AuthenticationNotAllowed = 8, + AuthenticationFailure = 9, + NoSupportedProfiles = 10, + ProtectionLevelCouldNotBeMet = 11, + AccessDenied = 12, + InvalidCeremonyData = 13, + PairingCanceled = 14, + OperationAlreadyInProgress = 15, + RequiredHandlerNotRegistered = 16, + RejectedByHandler = 17, + RemoteDeviceHasAssociation = 18, + Failed = 19, + }; + enum class DevicePickerDisplayStatusOptions : uint32_t + { + None = 0, + ShowProgress = 0x1, + ShowDisconnectButton = 0x2, + ShowRetryButton = 0x4, + }; + enum class DeviceUnpairingResultStatus : int32_t + { + Unpaired = 0, + AlreadyUnpaired = 1, + OperationAlreadyInProgress = 2, + AccessDenied = 3, + Failed = 4, + }; + enum class DeviceWatcherEventKind : int32_t + { + Add = 0, + Update = 1, + Remove = 2, + }; + enum class DeviceWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopping = 3, + Stopped = 4, + Aborted = 5, + }; + enum class Panel : int32_t + { + Unknown = 0, + Front = 1, + Back = 2, + Top = 3, + Bottom = 4, + Left = 5, + Right = 6, + }; + struct IDeviceAccessChangedEventArgs; + struct IDeviceAccessChangedEventArgs2; + struct IDeviceAccessChangedEventArgs3; + struct IDeviceAccessInformation; + struct IDeviceAccessInformation2; + struct IDeviceAccessInformationStatics; + struct IDeviceConnectionChangeTriggerDetails; + struct IDeviceDisconnectButtonClickedEventArgs; + struct IDeviceEnumerationSettings; + struct IDeviceInformation; + struct IDeviceInformation2; + struct IDeviceInformationCustomPairing; + struct IDeviceInformationCustomPairing2; + struct IDeviceInformationPairing; + struct IDeviceInformationPairing2; + struct IDeviceInformationPairingStatics; + struct IDeviceInformationPairingStatics2; + struct IDeviceInformationStatics; + struct IDeviceInformationStatics2; + struct IDeviceInformationStatics3; + struct IDeviceInformationUpdate; + struct IDeviceInformationUpdate2; + struct IDevicePairingRequestedEventArgs; + struct IDevicePairingRequestedEventArgs2; + struct IDevicePairingRequestedEventArgs3; + struct IDevicePairingResult; + struct IDevicePairingSetMembersRequestedEventArgs; + struct IDevicePairingSettings; + struct IDevicePicker; + struct IDevicePickerAppearance; + struct IDevicePickerFilter; + struct IDeviceSelectedEventArgs; + struct IDeviceUnpairingResult; + struct IDeviceWatcher; + struct IDeviceWatcher2; + struct IDeviceWatcherEvent; + struct IDeviceWatcherTriggerDetails; + struct IEnclosureLocation; + struct IEnclosureLocation2; + struct DeviceAccessChangedEventArgs; + struct DeviceAccessInformation; + struct DeviceConnectionChangeTriggerDetails; + struct DeviceDisconnectButtonClickedEventArgs; + struct DeviceInformation; + struct DeviceInformationCollection; + struct DeviceInformationCustomPairing; + struct DeviceInformationPairing; + struct DeviceInformationUpdate; + struct DevicePairingRequestedEventArgs; + struct DevicePairingResult; + struct DevicePairingSetMembersRequestedEventArgs; + struct DevicePicker; + struct DevicePickerAppearance; + struct DevicePickerFilter; + struct DeviceSelectedEventArgs; + struct DeviceThumbnail; + struct DeviceUnpairingResult; + struct DeviceWatcher; + struct DeviceWatcherEvent; + struct DeviceWatcherTriggerDetails; + struct EnclosureLocation; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceAccessChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceAccessInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceConnectionChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceDisconnectButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformationCollection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformationCustomPairing"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformationPairing"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformationUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingSetMembersRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePickerAppearance"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceThumbnail"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceUnpairingResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceWatcherEvent"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceWatcherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.EnclosureLocation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceInformationKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingAddPairingSetMemberStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingKinds"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingProtectionLevel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePairingResultStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DevicePickerDisplayStatusOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceUnpairingResultStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceWatcherEventKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.DeviceWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Panel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessChangedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessChangedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceAccessInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceConnectionChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceDisconnectButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceEnumerationSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationCustomPairing"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationCustomPairing2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationPairing"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationPairing2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationPairingStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationPairingStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceInformationUpdate2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingRequestedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingRequestedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingSetMembersRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePairingSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePickerAppearance"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceUnpairingResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceWatcher2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceWatcherEvent"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IDeviceWatcherTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IEnclosureLocation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.IEnclosureLocation2"; + template <> inline constexpr guid guid_v{ 0xDEDA0BCC,0x4F9D,0x4F58,{ 0x9D,0xBA,0xA9,0xBC,0x80,0x04,0x08,0xD5 } }; // DEDA0BCC-4F9D-4F58-9DBA-A9BC800408D5 + template <> inline constexpr guid guid_v{ 0x82523262,0x934B,0x4B30,{ 0xA1,0x78,0xAD,0xC3,0x9F,0x2F,0x2B,0xE3 } }; // 82523262-934B-4B30-A178-ADC39F2F2BE3 + template <> inline constexpr guid guid_v{ 0x7580A878,0x7FD9,0x5CD7,{ 0x85,0x60,0x3C,0x64,0x4B,0x9B,0x10,0xDB } }; // 7580A878-7FD9-5CD7-8560-3C644B9B10DB + template <> inline constexpr guid guid_v{ 0x0BAA9A73,0x6DE5,0x4915,{ 0x8D,0xDD,0x9A,0x05,0x54,0xA6,0xF5,0x45 } }; // 0BAA9A73-6DE5-4915-8DDD-9A0554A6F545 + template <> inline constexpr guid guid_v{ 0xE2B9DFF6,0xE88F,0x5D0A,{ 0x9C,0x1E,0xD7,0x88,0x80,0x8D,0xF4,0x7B } }; // E2B9DFF6-E88F-5D0A-9C1E-D788808DF47B + template <> inline constexpr guid guid_v{ 0x574BD3D3,0x5F30,0x45CD,{ 0x8A,0x94,0x72,0x4F,0xE5,0x97,0x30,0x84 } }; // 574BD3D3-5F30-45CD-8A94-724FE5973084 + template <> inline constexpr guid guid_v{ 0xB8578C0C,0xBBC1,0x484B,{ 0xBF,0xFA,0x7B,0x31,0xDC,0xC2,0x00,0xB2 } }; // B8578C0C-BBC1-484B-BFFA-7B31DCC200B2 + template <> inline constexpr guid guid_v{ 0x8E44B56D,0xF902,0x4A00,{ 0xB5,0x36,0xF3,0x79,0x92,0xE6,0xA2,0xA7 } }; // 8E44B56D-F902-4A00-B536-F37992E6A2A7 + template <> inline constexpr guid guid_v{ 0xF7710F66,0x9FF3,0x41C8,{ 0x85,0xEB,0x87,0xF8,0x11,0x48,0xA3,0x0F } }; // F7710F66-9FF3-41C8-85EB-87F81148A30F + template <> inline constexpr guid guid_v{ 0xABA0FB95,0x4398,0x489D,{ 0x8E,0x44,0xE6,0x13,0x09,0x27,0x01,0x1F } }; // ABA0FB95-4398-489D-8E44-E6130927011F + template <> inline constexpr guid guid_v{ 0xF156A638,0x7997,0x48D9,{ 0xA1,0x0C,0x26,0x9D,0x46,0x53,0x3F,0x48 } }; // F156A638-7997-48D9-A10C-269D46533F48 + template <> inline constexpr guid guid_v{ 0x85138C02,0x4EE6,0x4914,{ 0x83,0x70,0x10,0x7A,0x39,0x14,0x4C,0x0E } }; // 85138C02-4EE6-4914-8370-107A39144C0E + template <> inline constexpr guid guid_v{ 0x0EBDA662,0xE696,0x5FA9,{ 0x8F,0x72,0x80,0xCF,0xEB,0xCD,0x85,0x1D } }; // 0EBDA662-E696-5FA9-8F72-80CFEBCD851D + template <> inline constexpr guid guid_v{ 0x2C4769F5,0xF684,0x40D5,{ 0x84,0x69,0xE8,0xDB,0xAA,0xB7,0x04,0x85 } }; // 2C4769F5-F684-40D5-8469-E8DBAAB70485 + template <> inline constexpr guid guid_v{ 0xF68612FD,0x0AEE,0x4328,{ 0x85,0xCC,0x1C,0x74,0x2B,0xB1,0x79,0x0D } }; // F68612FD-0AEE-4328-85CC-1C742BB1790D + template <> inline constexpr guid guid_v{ 0xE915C408,0x36D4,0x49A1,{ 0xBF,0x13,0x51,0x41,0x73,0x79,0x9B,0x6B } }; // E915C408-36D4-49A1-BF13-514173799B6B + template <> inline constexpr guid guid_v{ 0x04DE5372,0xB7B7,0x476B,{ 0xA7,0x4F,0xC5,0x83,0x6A,0x70,0x4D,0x98 } }; // 04DE5372-B7B7-476B-A74F-C5836A704D98 + template <> inline constexpr guid guid_v{ 0xC17F100E,0x3A46,0x4A78,{ 0x80,0x13,0x76,0x9D,0xC9,0xB9,0x73,0x90 } }; // C17F100E-3A46-4A78-8013-769DC9B97390 + template <> inline constexpr guid guid_v{ 0x493B4F34,0xA84F,0x45FD,{ 0x91,0x67,0x15,0xD1,0xCB,0x1B,0xD1,0xF9 } }; // 493B4F34-A84F-45FD-9167-15D1CB1BD1F9 + template <> inline constexpr guid guid_v{ 0x25F06279,0x9364,0x5A6C,{ 0x8A,0x54,0x5D,0x4A,0x6D,0x3D,0x92,0x2A } }; // 25F06279-9364-5A6C-8A54-5D4A6D3D922A + template <> inline constexpr guid guid_v{ 0x8F315305,0xD972,0x44B7,{ 0xA3,0x7E,0x9E,0x82,0x2C,0x78,0x21,0x3B } }; // 8F315305-D972-44B7-A37E-9E822C78213B + template <> inline constexpr guid guid_v{ 0x5D9D148C,0xA873,0x485E,{ 0xBA,0xA6,0xAA,0x62,0x07,0x88,0xE3,0xCC } }; // 5D9D148C-A873-485E-BAA6-AA620788E3CC + template <> inline constexpr guid guid_v{ 0xF717FC56,0xDE6B,0x487F,{ 0x83,0x76,0x01,0x80,0xAC,0xA6,0x99,0x63 } }; // F717FC56-DE6B-487F-8376-0180ACA69963 + template <> inline constexpr guid guid_v{ 0xC83752D9,0xE4D3,0x4DB0,{ 0xA3,0x60,0xA1,0x05,0xE4,0x37,0xDB,0xDC } }; // C83752D9-E4D3-4DB0-A360-A105E437DBDC + template <> inline constexpr guid guid_v{ 0x195E5A38,0x43DC,0x562F,{ 0xBA,0xBE,0xEF,0xC8,0xB1,0x10,0x08,0x8B } }; // 195E5A38-43DC-562F-BABE-EFC8B110088B + template <> inline constexpr guid guid_v{ 0x072B02BF,0xDD95,0x4025,{ 0x9B,0x37,0xDE,0x51,0xAD,0xBA,0x37,0xB7 } }; // 072B02BF-DD95-4025-9B37-DE51ADBA37B7 + template <> inline constexpr guid guid_v{ 0x7FB42CFF,0xECAC,0x5012,{ 0x8D,0x7D,0xA1,0x89,0x46,0x80,0xA3,0x49 } }; // 7FB42CFF-ECAC-5012-8D7D-A1894680A349 + template <> inline constexpr guid guid_v{ 0x482CB27C,0x83BB,0x420E,{ 0xBE,0x51,0x66,0x02,0xB2,0x22,0xDE,0x54 } }; // 482CB27C-83BB-420E-BE51-6602B222DE54 + template <> inline constexpr guid guid_v{ 0x84997AA2,0x034A,0x4440,{ 0x88,0x13,0x7D,0x0B,0xD4,0x79,0xBF,0x5A } }; // 84997AA2-034A-4440-8813-7D0BD479BF5A + template <> inline constexpr guid guid_v{ 0xE69A12C6,0xE627,0x4ED8,{ 0x9B,0x6C,0x46,0x0A,0xF4,0x45,0xE5,0x6D } }; // E69A12C6-E627-4ED8-9B6C-460AF445E56D + template <> inline constexpr guid guid_v{ 0x91DB92A2,0x57CB,0x48F1,{ 0x9B,0x59,0xA5,0x9B,0x7A,0x1F,0x02,0xA2 } }; // 91DB92A2-57CB-48F1-9B59-A59B7A1F02A2 + template <> inline constexpr guid guid_v{ 0x269EDADE,0x1D2F,0x4940,{ 0x84,0x02,0x41,0x56,0xB8,0x1D,0x3C,0x77 } }; // 269EDADE-1D2F-4940-8402-4156B81D3C77 + template <> inline constexpr guid guid_v{ 0x66F44AD3,0x79D9,0x444B,{ 0x92,0xCF,0xA9,0x2E,0xF7,0x25,0x71,0xC7 } }; // 66F44AD3-79D9-444B-92CF-A92EF72571C7 + template <> inline constexpr guid guid_v{ 0xC9EAB97D,0x8F6B,0x4F96,{ 0xA9,0xF4,0xAB,0xC8,0x14,0xE2,0x22,0x71 } }; // C9EAB97D-8F6B-4F96-A9F4-ABC814E22271 + template <> inline constexpr guid guid_v{ 0xFF08456E,0xED14,0x49E9,{ 0x9A,0x69,0x81,0x17,0xC5,0x4A,0xE9,0x71 } }; // FF08456E-ED14-49E9-9A69-8117C54AE971 + template <> inline constexpr guid guid_v{ 0x74AA9C0B,0x1DBD,0x47FD,{ 0xB6,0x35,0x3C,0xC5,0x56,0xD0,0xFF,0x8B } }; // 74AA9C0B-1DBD-47FD-B635-3CC556D0FF8B + template <> inline constexpr guid guid_v{ 0x38808119,0x4CB7,0x4E57,{ 0xA5,0x6D,0x77,0x6D,0x07,0xCB,0xFE,0xF9 } }; // 38808119-4CB7-4E57-A56D-776D07CBFEF9 + template <> inline constexpr guid guid_v{ 0x42340A27,0x5810,0x459C,{ 0xAA,0xBB,0xC6,0x5E,0x1F,0x81,0x3E,0xCF } }; // 42340A27-5810-459C-AABB-C65E1F813ECF + template <> inline constexpr guid guid_v{ 0x2885995B,0xE07D,0x485D,{ 0x8A,0x9E,0xBD,0xF2,0x9A,0xEF,0x4F,0x66 } }; // 2885995B-E07D-485D-8A9E-BDF29AEF4F66 + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceAccessInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceConnectionChangeTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceDisconnectButtonClickedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceInformationPairing; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePairingResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePairingSetMembersRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePicker; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePickerAppearance; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDevicePickerFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceSelectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::IEnclosureLocation; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserPromptRequired(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AccessChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccessChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_CurrentStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserPromptRequired(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromDeviceClassId(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromDeviceClass(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDefault(bool*) noexcept = 0; + virtual int32_t __stdcall get_EnclosureLocation(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall Update(void*) noexcept = 0; + virtual int32_t __stdcall GetThumbnailAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetGlyphThumbnailAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Pairing(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PairAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall PairWithProtectionLevelAsync(uint32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall PairWithProtectionLevelAndSettingsAsync(uint32_t, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_PairingRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PairingRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddPairingSetMember(void*) noexcept = 0; + virtual int32_t __stdcall add_PairingSetMembersRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PairingSetMembersRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPaired(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanPair(bool*) noexcept = 0; + virtual int32_t __stdcall PairAsync(void**) noexcept = 0; + virtual int32_t __stdcall PairWithProtectionLevelAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Custom(void**) noexcept = 0; + virtual int32_t __stdcall PairWithProtectionLevelAndSettingsAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnpairAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryRegisterForAllInboundPairingRequests(uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryRegisterForAllInboundPairingRequestsWithProtectionLevel(uint32_t, int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromIdAsyncAdditionalProperties(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncDeviceClass(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncAqsFilter(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncAqsFilterAndAdditionalProperties(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherDeviceClass(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherAqsFilter(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherAqsFilterAndAdditionalProperties(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAqsFilterFromDeviceClass(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromIdAsyncWithKindAndAdditionalProperties(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncWithKindAqsFilterAndAdditionalProperties(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherWithKindAqsFilterAndAdditionalProperties(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromIdAsyncWithAdditionalPropertiesKindAndSettings(void*, void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncWithAqsFilterAdditionalPropertiesKindAndSettings(void*, void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherWithAqsFilterAdditionalPropertiesKindAndSettings(void*, void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_PairingKind(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Pin(void**) noexcept = 0; + virtual int32_t __stdcall Accept() noexcept = 0; + virtual int32_t __stdcall AcceptWithPin(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AcceptWithPasswordCredential(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AcceptWithAddress(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtectionLevelUsed(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ParentDeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_PairingSetMembers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Filter(void**) noexcept = 0; + virtual int32_t __stdcall get_Appearance(void**) noexcept = 0; + virtual int32_t __stdcall get_RequestedProperties(void**) noexcept = 0; + virtual int32_t __stdcall add_DeviceSelected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DeviceSelected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DisconnectButtonClicked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisconnectButtonClicked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DevicePickerDismissed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DevicePickerDismissed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Show(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall ShowWithPlacement(winrt::Windows::Foundation::Rect, int32_t) noexcept = 0; + virtual int32_t __stdcall PickSingleDeviceAsync(winrt::Windows::Foundation::Rect, void**) noexcept = 0; + virtual int32_t __stdcall PickSingleDeviceAsyncWithPlacement(winrt::Windows::Foundation::Rect, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall Hide() noexcept = 0; + virtual int32_t __stdcall SetDisplayStatus(void*, void*, uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_ForegroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_ForegroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_BackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_BackgroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_AccentColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_AccentColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_SelectedForegroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_SelectedForegroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_SelectedBackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_SelectedBackgroundColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_SelectedAccentColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_SelectedAccentColor(struct struct_Windows_UI_Color) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedDeviceClasses(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedDeviceSelectors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetBackgroundTrigger(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceWatcherEvents(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InDock(bool*) noexcept = 0; + virtual int32_t __stdcall get_InLid(bool*) noexcept = 0; + virtual int32_t __stdcall get_Panel(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RotationAngleInDegreesClockwise(uint32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2 + { + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs3 + { + [[nodiscard]] auto UserPromptRequired() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs3; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessInformation + { + auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccessChanged_revoker = impl::event_revoker::remove_AccessChanged>; + [[nodiscard]] auto AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto CurrentStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessInformation; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessInformation2 + { + [[nodiscard]] auto UserPromptRequired() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessInformation2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics + { + auto CreateFromId(param::hstring const& deviceId) const; + auto CreateFromDeviceClassId(winrt::guid const& deviceClassId) const; + auto CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceEnumerationSettings + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceEnumerationSettings; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformation + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto EnclosureLocation() const; + [[nodiscard]] auto Properties() const; + auto Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const; + auto GetThumbnailAsync() const; + auto GetGlyphThumbnailAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformation; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformation2 + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Pairing() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformation2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing + { + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; + auto PairingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PairingRequested_revoker = impl::event_revoker::remove_PairingRequested>; + [[nodiscard]] auto PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PairingRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing2 + { + auto AddPairingSetMember(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + auto PairingSetMembersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PairingSetMembersRequested_revoker = impl::event_revoker::remove_PairingSetMembersRequested>; + [[nodiscard]] auto PairingSetMembersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PairingSetMembersRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationPairing + { + [[nodiscard]] auto IsPaired() const; + [[nodiscard]] auto CanPair() const; + auto PairAsync() const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationPairing; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationPairing2 + { + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto Custom() const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; + auto UnpairAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationPairing2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics + { + auto TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2 + { + auto TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics + { + auto CreateFromIdAsync(param::hstring const& deviceId) const; + auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties) const; + auto FindAllAsync() const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto FindAllAsync(param::hstring const& aqsFilter) const; + auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties) const; + auto CreateWatcher() const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto CreateWatcher(param::hstring const& aqsFilter) const; + auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationStatics; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics2 + { + auto GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationStatics2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics3 + { + auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings) const; + auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings) const; + auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationStatics3; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationUpdate; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2 + { + [[nodiscard]] auto Kind() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs + { + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto PairingKind() const; + [[nodiscard]] auto Pin() const; + auto Accept() const; + auto Accept(param::hstring const& pin) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2 + { + auto AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs3 + { + auto AcceptWithAddress(param::hstring const& address) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs3; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtectionLevelUsed() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingResult; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingSetMembersRequestedEventArgs + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ParentDeviceInformation() const; + [[nodiscard]] auto PairingSetMembers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingSetMembersRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePairingSettings + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePairingSettings; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePicker + { + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto RequestedProperties() const; + auto DeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DeviceSelected_revoker = impl::event_revoker::remove_DeviceSelected>; + [[nodiscard]] auto DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeviceSelected(winrt::event_token const& token) const noexcept; + auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DisconnectButtonClicked_revoker = impl::event_revoker::remove_DisconnectButtonClicked>; + [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept; + auto DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DevicePickerDismissed_revoker = impl::event_revoker::remove_DevicePickerDismissed>; + [[nodiscard]] auto DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; + auto PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; + auto Hide() const; + auto SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePicker; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePickerAppearance + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto AccentColor() const; + auto AccentColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedForegroundColor() const; + auto SelectedForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedBackgroundColor() const; + auto SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedAccentColor() const; + auto SelectedAccentColor(winrt::Windows::UI::Color const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePickerAppearance; + }; + template + struct consume_Windows_Devices_Enumeration_IDevicePickerFilter + { + [[nodiscard]] auto SupportedDeviceClasses() const; + [[nodiscard]] auto SupportedDeviceSelectors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDevicePickerFilter; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs + { + [[nodiscard]] auto SelectedDevice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceUnpairingResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceUnpairingResult; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceWatcher + { + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceWatcher; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceWatcher2 + { + auto GetBackgroundTrigger(param::iterable const& requestedEventKinds) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceWatcher2; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceWatcherEvent + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto DeviceInformationUpdate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceWatcherEvent; + }; + template + struct consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails + { + [[nodiscard]] auto DeviceWatcherEvents() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails; + }; + template + struct consume_Windows_Devices_Enumeration_IEnclosureLocation + { + [[nodiscard]] auto InDock() const; + [[nodiscard]] auto InLid() const; + [[nodiscard]] auto Panel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IEnclosureLocation; + }; + template + struct consume_Windows_Devices_Enumeration_IEnclosureLocation2 + { + [[nodiscard]] auto RotationAngleInDegreesClockwise() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_IEnclosureLocation2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.1.h new file mode 100644 index 0000000000000000000000000000000000000000..aa8e56400aff6027698da4708878525972f9ab45 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.1.h @@ -0,0 +1,288 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_1_H +#define WINRT_Windows_Devices_Enumeration_1_H +#include "winrt/impl/Windows.Devices.Enumeration.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccessChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessChangedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDeviceAccessChangedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessChangedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessChangedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccessChangedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessChangedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccessInformation(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccessInformation2(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceAccessInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceAccessInformationStatics(std::nullptr_t = nullptr) noexcept {} + IDeviceAccessInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceConnectionChangeTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceConnectionChangeTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IDeviceConnectionChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceDisconnectButtonClickedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceDisconnectButtonClickedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeviceDisconnectButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceEnumerationSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceEnumerationSettings(std::nullptr_t = nullptr) noexcept {} + IDeviceEnumerationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformation(std::nullptr_t = nullptr) noexcept {} + IDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformation2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationCustomPairing : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationCustomPairing(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationCustomPairing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationCustomPairing2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationCustomPairing2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationCustomPairing2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationPairing : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationPairing(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationPairing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationPairing2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationPairing2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationPairing2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationPairingStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationPairingStatics(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationPairingStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationPairingStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationPairingStatics2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationPairingStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationStatics(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationStatics2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationStatics3(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationUpdate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationUpdate(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceInformationUpdate2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceInformationUpdate2(std::nullptr_t = nullptr) noexcept {} + IDeviceInformationUpdate2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDevicePairingRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingRequestedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingRequestedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IDevicePairingRequestedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingRequestedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingRequestedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IDevicePairingRequestedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingResult(std::nullptr_t = nullptr) noexcept {} + IDevicePairingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingSetMembersRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingSetMembersRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDevicePairingSetMembersRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePairingSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePairingSettings(std::nullptr_t = nullptr) noexcept {} + IDevicePairingSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePicker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePicker(std::nullptr_t = nullptr) noexcept {} + IDevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePickerAppearance : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePickerAppearance(std::nullptr_t = nullptr) noexcept {} + IDevicePickerAppearance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePickerFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePickerFilter(std::nullptr_t = nullptr) noexcept {} + IDevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceSelectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceSelectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceUnpairingResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceUnpairingResult(std::nullptr_t = nullptr) noexcept {} + IDeviceUnpairingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceWatcher(std::nullptr_t = nullptr) noexcept {} + IDeviceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceWatcher2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceWatcher2(std::nullptr_t = nullptr) noexcept {} + IDeviceWatcher2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceWatcherEvent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceWatcherEvent(std::nullptr_t = nullptr) noexcept {} + IDeviceWatcherEvent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeviceWatcherTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeviceWatcherTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IDeviceWatcherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEnclosureLocation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEnclosureLocation(std::nullptr_t = nullptr) noexcept {} + IEnclosureLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEnclosureLocation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IEnclosureLocation2(std::nullptr_t = nullptr) noexcept {} + IEnclosureLocation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ef0f421e7e11135f615e457bb2e64deb93792f0f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.2.h @@ -0,0 +1,160 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_2_H +#define WINRT_Windows_Devices_Enumeration_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.Enumeration.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct WINRT_IMPL_EMPTY_BASES DeviceAccessChangedEventArgs : winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs, + impl::require + { + DeviceAccessChangedEventArgs(std::nullptr_t) noexcept {} + DeviceAccessChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceAccessInformation : winrt::Windows::Devices::Enumeration::IDeviceAccessInformation, + impl::require + { + DeviceAccessInformation(std::nullptr_t) noexcept {} + DeviceAccessInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceAccessInformation(ptr, take_ownership_from_abi) {} + static auto CreateFromId(param::hstring const& deviceId); + static auto CreateFromDeviceClassId(winrt::guid const& deviceClassId); + static auto CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass); + }; + struct WINRT_IMPL_EMPTY_BASES DeviceConnectionChangeTriggerDetails : winrt::Windows::Devices::Enumeration::IDeviceConnectionChangeTriggerDetails + { + DeviceConnectionChangeTriggerDetails(std::nullptr_t) noexcept {} + DeviceConnectionChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceConnectionChangeTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceDisconnectButtonClickedEventArgs : winrt::Windows::Devices::Enumeration::IDeviceDisconnectButtonClickedEventArgs + { + DeviceDisconnectButtonClickedEventArgs(std::nullptr_t) noexcept {} + DeviceDisconnectButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceDisconnectButtonClickedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceInformation : winrt::Windows::Devices::Enumeration::IDeviceInformation, + impl::require + { + DeviceInformation(std::nullptr_t) noexcept {} + DeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceInformation(ptr, take_ownership_from_abi) {} + static auto CreateFromIdAsync(param::hstring const& deviceId); + static auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties); + static auto FindAllAsync(); + static auto FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass); + static auto FindAllAsync(param::hstring const& aqsFilter); + static auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties); + static auto CreateWatcher(); + static auto CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass); + static auto CreateWatcher(param::hstring const& aqsFilter); + static auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties); + static auto GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass); + static auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind); + static auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind); + static auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind); + static auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings); + static auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings); + static auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind, winrt::Windows::Devices::Enumeration::IDeviceEnumerationSettings const& settings); + }; + struct WINRT_IMPL_EMPTY_BASES DeviceInformationCollection : winrt::Windows::Foundation::Collections::IVectorView + { + DeviceInformationCollection(std::nullptr_t) noexcept {} + DeviceInformationCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceInformationCustomPairing : winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing, + impl::require + { + DeviceInformationCustomPairing(std::nullptr_t) noexcept {} + DeviceInformationCustomPairing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceInformationPairing : winrt::Windows::Devices::Enumeration::IDeviceInformationPairing, + impl::require + { + DeviceInformationPairing(std::nullptr_t) noexcept {} + DeviceInformationPairing(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceInformationPairing(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::Enumeration::IDeviceInformationPairing::PairAsync; + using impl::consume_t::PairAsync; + static auto TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported); + static auto TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel); + }; + struct WINRT_IMPL_EMPTY_BASES DeviceInformationUpdate : winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate, + impl::require + { + DeviceInformationUpdate(std::nullptr_t) noexcept {} + DeviceInformationUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DevicePairingRequestedEventArgs : winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs, + impl::require + { + DevicePairingRequestedEventArgs(std::nullptr_t) noexcept {} + DevicePairingRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DevicePairingResult : winrt::Windows::Devices::Enumeration::IDevicePairingResult + { + DevicePairingResult(std::nullptr_t) noexcept {} + DevicePairingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePairingResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DevicePairingSetMembersRequestedEventArgs : winrt::Windows::Devices::Enumeration::IDevicePairingSetMembersRequestedEventArgs + { + DevicePairingSetMembersRequestedEventArgs(std::nullptr_t) noexcept {} + DevicePairingSetMembersRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePairingSetMembersRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DevicePicker : winrt::Windows::Devices::Enumeration::IDevicePicker + { + DevicePicker(std::nullptr_t) noexcept {} + DevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePicker(ptr, take_ownership_from_abi) {} + DevicePicker(); + }; + struct WINRT_IMPL_EMPTY_BASES DevicePickerAppearance : winrt::Windows::Devices::Enumeration::IDevicePickerAppearance + { + DevicePickerAppearance(std::nullptr_t) noexcept {} + DevicePickerAppearance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePickerAppearance(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DevicePickerFilter : winrt::Windows::Devices::Enumeration::IDevicePickerFilter + { + DevicePickerFilter(std::nullptr_t) noexcept {} + DevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDevicePickerFilter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceSelectedEventArgs : winrt::Windows::Devices::Enumeration::IDeviceSelectedEventArgs + { + DeviceSelectedEventArgs(std::nullptr_t) noexcept {} + DeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceSelectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceThumbnail : winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType + { + DeviceThumbnail(std::nullptr_t) noexcept {} + DeviceThumbnail(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceUnpairingResult : winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult + { + DeviceUnpairingResult(std::nullptr_t) noexcept {} + DeviceUnpairingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceWatcher : winrt::Windows::Devices::Enumeration::IDeviceWatcher, + impl::require + { + DeviceWatcher(std::nullptr_t) noexcept {} + DeviceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceWatcherEvent : winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent + { + DeviceWatcherEvent(std::nullptr_t) noexcept {} + DeviceWatcherEvent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeviceWatcherTriggerDetails : winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails + { + DeviceWatcherTriggerDetails(std::nullptr_t) noexcept {} + DeviceWatcherTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES EnclosureLocation : winrt::Windows::Devices::Enumeration::IEnclosureLocation, + impl::require + { + EnclosureLocation(std::nullptr_t) noexcept {} + EnclosureLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::IEnclosureLocation(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6ce5b2cb6887f380e86f7450fadbdb16f621fa05 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.0.h @@ -0,0 +1,192 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_Pnp_0_H +#define WINRT_Windows_Devices_Enumeration_Pnp_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + enum class DeviceWatcherStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration::Pnp +{ + enum class PnpObjectType : int32_t + { + Unknown = 0, + DeviceInterface = 1, + DeviceContainer = 2, + Device = 3, + DeviceInterfaceClass = 4, + AssociationEndpoint = 5, + AssociationEndpointContainer = 6, + AssociationEndpointService = 7, + DevicePanel = 8, + AssociationEndpointProtocol = 9, + }; + struct IPnpObject; + struct IPnpObjectStatics; + struct IPnpObjectUpdate; + struct IPnpObjectWatcher; + struct PnpObject; + struct PnpObjectCollection; + struct PnpObjectUpdate; + struct PnpObjectWatcher; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.PnpObject"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.PnpObjectCollection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.PnpObjectUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.PnpObjectWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.PnpObjectType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.IPnpObject"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.IPnpObjectStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.IPnpObjectUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Enumeration.Pnp.IPnpObjectWatcher"; + template <> inline constexpr guid guid_v{ 0x95C66258,0x733B,0x4A8F,{ 0x93,0xA3,0xDB,0x07,0x8A,0xC8,0x70,0xC1 } }; // 95C66258-733B-4A8F-93A3-DB078AC870C1 + template <> inline constexpr guid guid_v{ 0xB3C32A3D,0xD168,0x4660,{ 0xBB,0xF3,0xA7,0x33,0xB1,0x4B,0x6E,0x01 } }; // B3C32A3D-D168-4660-BBF3-A733B14B6E01 + template <> inline constexpr guid guid_v{ 0x6F59E812,0x001E,0x4844,{ 0xBC,0xC6,0x43,0x28,0x86,0x85,0x6A,0x17 } }; // 6F59E812-001E-4844-BCC6-432886856A17 + template <> inline constexpr guid guid_v{ 0x83C95CA8,0x4772,0x4A7A,{ 0xAC,0xA8,0xE4,0x8C,0x42,0xA8,0x9C,0x44 } }; // 83C95CA8-4772-4A7A-ACA8-E48C42A89C44 + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::Pnp::IPnpObject; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall Update(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromIdAsync(int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncAqsFilter(int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcher(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcherAqsFilter(int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Enumeration_Pnp_IPnpObject + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + auto Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_Pnp_IPnpObject; + }; + template + struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics + { + auto CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties) const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties) const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter) const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties) const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics; + }; + template + struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate; + }; + template + struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher + { + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.1.h new file mode 100644 index 0000000000000000000000000000000000000000..94a7408acb562f3ee8226797637039fdf7238999 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_Pnp_1_H +#define WINRT_Windows_Devices_Enumeration_Pnp_1_H +#include "winrt/impl/Windows.Devices.Enumeration.Pnp.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration::Pnp +{ + struct WINRT_IMPL_EMPTY_BASES IPnpObject : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPnpObject(std::nullptr_t = nullptr) noexcept {} + IPnpObject(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPnpObjectStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPnpObjectStatics(std::nullptr_t = nullptr) noexcept {} + IPnpObjectStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPnpObjectUpdate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPnpObjectUpdate(std::nullptr_t = nullptr) noexcept {} + IPnpObjectUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPnpObjectWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPnpObjectWatcher(std::nullptr_t = nullptr) noexcept {} + IPnpObjectWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f8a7a51a6a5a985d42508772ee6ee9fb1be43917 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.enumeration.pnp.2.h @@ -0,0 +1,39 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Enumeration_Pnp_2_H +#define WINRT_Windows_Devices_Enumeration_Pnp_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Devices.Enumeration.Pnp.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration::Pnp +{ + struct WINRT_IMPL_EMPTY_BASES PnpObject : winrt::Windows::Devices::Enumeration::Pnp::IPnpObject + { + PnpObject(std::nullptr_t) noexcept {} + PnpObject(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::Pnp::IPnpObject(ptr, take_ownership_from_abi) {} + static auto CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties); + static auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties); + static auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter); + static auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties); + static auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter); + }; + struct WINRT_IMPL_EMPTY_BASES PnpObjectCollection : winrt::Windows::Foundation::Collections::IVectorView + { + PnpObjectCollection(std::nullptr_t) noexcept {} + PnpObjectCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PnpObjectUpdate : winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate + { + PnpObjectUpdate(std::nullptr_t) noexcept {} + PnpObjectUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PnpObjectWatcher : winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher + { + PnpObjectWatcher(std::nullptr_t) noexcept {} + PnpObjectWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.0.h new file mode 100644 index 0000000000000000000000000000000000000000..605810f9258f18540063a5ec4c040cf69ee84889 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.0.h @@ -0,0 +1,955 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_0_H +#define WINRT_Windows_Devices_Geolocation_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + enum class AltitudeReferenceSystem : int32_t + { + Unspecified = 0, + Terrain = 1, + Ellipsoid = 2, + Geoid = 3, + Surface = 4, + }; + enum class GeolocationAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + Denied = 2, + }; + enum class GeoshapeType : int32_t + { + Geopoint = 0, + Geocircle = 1, + Geopath = 2, + GeoboundingBox = 3, + }; + enum class PositionAccuracy : int32_t + { + Default = 0, + High = 1, + }; + enum class PositionSource : int32_t + { + Cellular = 0, + Satellite = 1, + WiFi = 2, + IPAddress = 3, + Unknown = 4, + Default = 5, + Obfuscated = 6, + }; + enum class PositionStatus : int32_t + { + Ready = 0, + Initializing = 1, + NoData = 2, + Disabled = 3, + NotInitialized = 4, + NotAvailable = 5, + }; + enum class VisitMonitoringScope : int32_t + { + Venue = 0, + City = 1, + }; + enum class VisitStateChange : int32_t + { + TrackingLost = 0, + Arrived = 1, + Departed = 2, + OtherMovement = 3, + }; + struct ICivicAddress; + struct IGeoboundingBox; + struct IGeoboundingBoxFactory; + struct IGeoboundingBoxStatics; + struct IGeocircle; + struct IGeocircleFactory; + struct IGeocoordinate; + struct IGeocoordinateSatelliteData; + struct IGeocoordinateSatelliteData2; + struct IGeocoordinateWithPoint; + struct IGeocoordinateWithPositionData; + struct IGeocoordinateWithPositionSourceTimestamp; + struct IGeocoordinateWithRemoteSource; + struct IGeolocator; + struct IGeolocator2; + struct IGeolocatorStatics; + struct IGeolocatorStatics2; + struct IGeolocatorWithScalarAccuracy; + struct IGeopath; + struct IGeopathFactory; + struct IGeopoint; + struct IGeopointFactory; + struct IGeoposition; + struct IGeoposition2; + struct IGeoshape; + struct IGeovisit; + struct IGeovisitMonitor; + struct IGeovisitMonitorStatics; + struct IGeovisitStateChangedEventArgs; + struct IGeovisitTriggerDetails; + struct IPositionChangedEventArgs; + struct IStatusChangedEventArgs; + struct IVenueData; + struct CivicAddress; + struct GeoboundingBox; + struct Geocircle; + struct Geocoordinate; + struct GeocoordinateSatelliteData; + struct Geolocator; + struct Geopath; + struct Geopoint; + struct Geoposition; + struct Geovisit; + struct GeovisitMonitor; + struct GeovisitStateChangedEventArgs; + struct GeovisitTriggerDetails; + struct PositionChangedEventArgs; + struct StatusChangedEventArgs; + struct VenueData; + struct BasicGeoposition; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.CivicAddress"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeoboundingBox"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geocircle"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geocoordinate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeocoordinateSatelliteData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geolocator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geopath"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geopoint"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geoposition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geovisit"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeovisitMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeovisitStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeovisitTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.PositionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.StatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.VenueData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.AltitudeReferenceSystem"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeolocationAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.GeoshapeType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.PositionAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.PositionSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.PositionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.VisitMonitoringScope"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.VisitStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.BasicGeoposition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.ICivicAddress"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoboundingBox"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoboundingBoxFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoboundingBoxStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocircle"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocircleFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPoint"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionSourceTimestamp"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithRemoteSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeolocator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeolocator2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeolocatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeolocatorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeolocatorWithScalarAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeopath"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeopathFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeopoint"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeopointFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoposition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoposition2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeoshape"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeovisit"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeovisitMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeovisitMonitorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeovisitStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeovisitTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IPositionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IVenueData"; + template <> inline constexpr guid guid_v{ 0xA8567A1A,0x64F4,0x4D48,{ 0xBC,0xEA,0xF6,0xB0,0x08,0xEC,0xA3,0x4C } }; // A8567A1A-64F4-4D48-BCEA-F6B008ECA34C + template <> inline constexpr guid guid_v{ 0x0896C80B,0x274F,0x43DA,{ 0x9A,0x06,0xCB,0xFC,0xDA,0xEB,0x4E,0xC2 } }; // 0896C80B-274F-43DA-9A06-CBFCDAEB4EC2 + template <> inline constexpr guid guid_v{ 0x4DFBA589,0x0411,0x4ABC,{ 0xB3,0xB5,0x5B,0xBC,0xCB,0x57,0xD9,0x8C } }; // 4DFBA589-0411-4ABC-B3B5-5BBCCB57D98C + template <> inline constexpr guid guid_v{ 0x67B80708,0xE61A,0x4CD0,{ 0x84,0x1B,0x93,0x23,0x37,0x92,0xB5,0xCA } }; // 67B80708-E61A-4CD0-841B-93233792B5CA + template <> inline constexpr guid guid_v{ 0x39E45843,0xA7F9,0x4E63,{ 0x92,0xA7,0xBA,0x0C,0x28,0xD1,0x24,0xB1 } }; // 39E45843-A7F9-4E63-92A7-BA0C28D124B1 + template <> inline constexpr guid guid_v{ 0xAFD6531F,0x72B1,0x4F7D,{ 0x87,0xCC,0x4E,0xD4,0xC9,0x84,0x9C,0x05 } }; // AFD6531F-72B1-4F7D-87CC-4ED4C9849C05 + template <> inline constexpr guid guid_v{ 0xEE21A3AA,0x976A,0x4C70,{ 0x80,0x3D,0x08,0x3E,0xA5,0x5B,0xCB,0xC4 } }; // EE21A3AA-976A-4C70-803D-083EA55BCBC4 + template <> inline constexpr guid guid_v{ 0xC32A74D9,0x2608,0x474C,{ 0x91,0x2C,0x06,0xDD,0x49,0x0F,0x4A,0xF7 } }; // C32A74D9-2608-474C-912C-06DD490F4AF7 + template <> inline constexpr guid guid_v{ 0x761C8CFD,0xA19D,0x5A51,{ 0x80,0xF5,0x71,0x67,0x61,0x15,0x48,0x3E } }; // 761C8CFD-A19D-5A51-80F5-71676115483E + template <> inline constexpr guid guid_v{ 0xFEEA0525,0xD22C,0x4D46,{ 0xB5,0x27,0x0B,0x96,0x06,0x6F,0xC7,0xDB } }; // FEEA0525-D22C-4D46-B527-0B96066FC7DB + template <> inline constexpr guid guid_v{ 0x95E634BE,0xDBD6,0x40AC,{ 0xB8,0xF2,0xA6,0x5C,0x03,0x40,0xD9,0xA6 } }; // 95E634BE-DBD6-40AC-B8F2-A65C0340D9A6 + template <> inline constexpr guid guid_v{ 0x8543FC02,0xC9F1,0x4610,{ 0xAF,0xE0,0x8B,0xC3,0xA6,0xA8,0x70,0x36 } }; // 8543FC02-C9F1-4610-AFE0-8BC3A6A87036 + template <> inline constexpr guid guid_v{ 0x397CEBD7,0xEE38,0x5F3B,{ 0x89,0x00,0xC4,0xA7,0xBC,0x9C,0xF9,0x53 } }; // 397CEBD7-EE38-5F3B-8900-C4A7BC9CF953 + template <> inline constexpr guid guid_v{ 0xA9C3BF62,0x4524,0x4989,{ 0x8A,0xA9,0xDE,0x01,0x9D,0x2E,0x55,0x1F } }; // A9C3BF62-4524-4989-8AA9-DE019D2E551F + template <> inline constexpr guid guid_v{ 0xD1B42E6D,0x8891,0x43B4,{ 0xAD,0x36,0x27,0xC6,0xFE,0x9A,0x97,0xB1 } }; // D1B42E6D-8891-43B4-AD36-27C6FE9A97B1 + template <> inline constexpr guid guid_v{ 0x9A8E7571,0x2DF5,0x4591,{ 0x9F,0x87,0xEB,0x5F,0xD8,0x94,0xE9,0xB7 } }; // 9A8E7571-2DF5-4591-9F87-EB5FD894E9B7 + template <> inline constexpr guid guid_v{ 0x993011A2,0xFA1C,0x4631,{ 0xA7,0x1D,0x0D,0xBE,0xB1,0x25,0x0D,0x9C } }; // 993011A2-FA1C-4631-A71D-0DBEB1250D9C + template <> inline constexpr guid guid_v{ 0x96F5D3C1,0xB80F,0x460A,{ 0x99,0x4D,0xA9,0x6C,0x47,0xA5,0x1A,0xA4 } }; // 96F5D3C1-B80F-460A-994D-A96C47A51AA4 + template <> inline constexpr guid guid_v{ 0xE53FD7B9,0x2DA4,0x4714,{ 0xA6,0x52,0xDE,0x85,0x93,0x28,0x98,0x98 } }; // E53FD7B9-2DA4-4714-A652-DE8593289898 + template <> inline constexpr guid guid_v{ 0x27BEA9C8,0xC7E7,0x4359,{ 0x9B,0x9B,0xFC,0xA3,0xE0,0x5E,0xF5,0x93 } }; // 27BEA9C8-C7E7-4359-9B9B-FCA3E05EF593 + template <> inline constexpr guid guid_v{ 0x6BFA00EB,0xE56E,0x49BB,{ 0x9C,0xAF,0xCB,0xAA,0x78,0xA8,0xBC,0xEF } }; // 6BFA00EB-E56E-49BB-9CAF-CBAA78A8BCEF + template <> inline constexpr guid guid_v{ 0xDB6B8D33,0x76BD,0x4E30,{ 0x8A,0xF7,0xA8,0x44,0xDC,0x37,0xB7,0xA0 } }; // DB6B8D33-76BD-4E30-8AF7-A844DC37B7A0 + template <> inline constexpr guid guid_v{ 0xC18D0454,0x7D41,0x4FF7,{ 0xA9,0x57,0x9D,0xFF,0xB4,0xEF,0x7F,0x5B } }; // C18D0454-7D41-4FF7-A957-9DFFB4EF7F5B + template <> inline constexpr guid guid_v{ 0x7F62F697,0x8671,0x4B0D,{ 0x86,0xF8,0x47,0x4A,0x84,0x96,0x18,0x7C } }; // 7F62F697-8671-4B0D-86F8-474A8496187C + template <> inline constexpr guid guid_v{ 0xC99CA2AF,0xC729,0x43C1,{ 0x8F,0xAB,0xD6,0xDE,0xC9,0x14,0xDF,0x7E } }; // C99CA2AF-C729-43C1-8FAB-D6DEC914DF7E + template <> inline constexpr guid guid_v{ 0xB1877A76,0x9EF6,0x41AB,{ 0xA0,0xDD,0x79,0x3E,0xCE,0x76,0xE2,0xDE } }; // B1877A76-9EF6-41AB-A0DD-793ECE76E2DE + template <> inline constexpr guid guid_v{ 0x80118AAF,0x5944,0x4591,{ 0x83,0xC1,0x39,0x66,0x47,0xF5,0x4F,0x2C } }; // 80118AAF-5944-4591-83C1-396647F54F2C + template <> inline constexpr guid guid_v{ 0xBCF976A7,0xBBF2,0x4CDD,{ 0x95,0xCF,0x55,0x4C,0x82,0xED,0xFB,0x87 } }; // BCF976A7-BBF2-4CDD-95CF-554C82EDFB87 + template <> inline constexpr guid guid_v{ 0xCEB4D1FF,0x8B53,0x4968,{ 0xBE,0xED,0x4C,0xEC,0xD0,0x29,0xCE,0x15 } }; // CEB4D1FF-8B53-4968-BEED-4CECD029CE15 + template <> inline constexpr guid guid_v{ 0xEA770D9E,0xD1C9,0x454B,{ 0x99,0xB7,0xB2,0xF8,0xCD,0xD2,0x48,0x2F } }; // EA770D9E-D1C9-454B-99B7-B2F8CDD2482F + template <> inline constexpr guid guid_v{ 0x37859CE5,0x9D1E,0x46C5,{ 0xBF,0x3B,0x6A,0xD8,0xCA,0xC1,0xA0,0x93 } }; // 37859CE5-9D1E-46C5-BF3B-6AD8CAC1A093 + template <> inline constexpr guid guid_v{ 0x3453D2DA,0x8C93,0x4111,{ 0xA2,0x05,0x9A,0xEC,0xFC,0x9B,0xE5,0xC0 } }; // 3453D2DA-8C93-4111-A205-9AECFC9BE5C0 + template <> inline constexpr guid guid_v{ 0x66F39187,0x60E3,0x4B2F,{ 0xB5,0x27,0x4F,0x53,0xF1,0xC3,0xC6,0x77 } }; // 66F39187-60E3-4B2F-B527-4F53F1C3C677 + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::ICivicAddress; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeoboundingBox; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeocircle; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeocoordinate; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeolocator; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeopath; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeopoint; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeoposition; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeovisit; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeovisitMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::IVenueData; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Country(void**) noexcept = 0; + virtual int32_t __stdcall get_State(void**) noexcept = 0; + virtual int32_t __stdcall get_City(void**) noexcept = 0; + virtual int32_t __stdcall get_PostalCode(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NorthwestCorner(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + virtual int32_t __stdcall get_SoutheastCorner(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + virtual int32_t __stdcall get_Center(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + virtual int32_t __stdcall get_MinAltitude(double*) noexcept = 0; + virtual int32_t __stdcall get_MaxAltitude(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(struct struct_Windows_Devices_Geolocation_BasicGeoposition, struct struct_Windows_Devices_Geolocation_BasicGeoposition, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReference(struct struct_Windows_Devices_Geolocation_BasicGeoposition, struct struct_Windows_Devices_Geolocation_BasicGeoposition, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceAndSpatialReference(struct struct_Windows_Devices_Geolocation_BasicGeoposition, struct struct_Windows_Devices_Geolocation_BasicGeoposition, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCompute(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryComputeWithAltitudeReference(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryComputeWithAltitudeReferenceAndSpatialReference(void*, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Center(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + virtual int32_t __stdcall get_Radius(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(struct struct_Windows_Devices_Geolocation_BasicGeoposition, double, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceSystem(struct struct_Windows_Devices_Geolocation_BasicGeoposition, double, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceSystemAndSpatialReferenceId(struct struct_Windows_Devices_Geolocation_BasicGeoposition, double, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Latitude(double*) noexcept = 0; + virtual int32_t __stdcall get_Longitude(double*) noexcept = 0; + virtual int32_t __stdcall get_Altitude(void**) noexcept = 0; + virtual int32_t __stdcall get_Accuracy(double*) noexcept = 0; + virtual int32_t __stdcall get_AltitudeAccuracy(void**) noexcept = 0; + virtual int32_t __stdcall get_Heading(void**) noexcept = 0; + virtual int32_t __stdcall get_Speed(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PositionDilutionOfPrecision(void**) noexcept = 0; + virtual int32_t __stdcall get_HorizontalDilutionOfPrecision(void**) noexcept = 0; + virtual int32_t __stdcall get_VerticalDilutionOfPrecision(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GeometricDilutionOfPrecision(void**) noexcept = 0; + virtual int32_t __stdcall get_TimeDilutionOfPrecision(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Point(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PositionSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SatelliteData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PositionSourceTimestamp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsRemoteSource(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredAccuracy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredAccuracy(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MovementThreshold(double*) noexcept = 0; + virtual int32_t __stdcall put_MovementThreshold(double) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_LocationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetGeopositionAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetGeopositionAsyncWithAgeAndTimeout(int64_t, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall add_PositionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AllowFallbackToConsentlessPositions() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetGeopositionHistoryAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetGeopositionHistoryWithDurationAsync(int64_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsDefaultGeopositionRecommended(bool*) noexcept = 0; + virtual int32_t __stdcall put_DefaultGeoposition(void*) noexcept = 0; + virtual int32_t __stdcall get_DefaultGeoposition(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredAccuracyInMeters(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredAccuracyInMeters(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Positions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReference(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceAndSpatialReference(void*, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(struct struct_Windows_Devices_Geolocation_BasicGeoposition*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(struct struct_Windows_Devices_Geolocation_BasicGeoposition, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceSystem(struct struct_Windows_Devices_Geolocation_BasicGeoposition, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAltitudeReferenceSystemAndSpatialReferenceId(struct struct_Windows_Devices_Geolocation_BasicGeoposition, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Coordinate(void**) noexcept = 0; + virtual int32_t __stdcall get_CivicAddress(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VenueData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GeoshapeType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SpatialReferenceId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AltitudeReferenceSystem(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + virtual int32_t __stdcall get_StateChange(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MonitoringScope(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start(int32_t) noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall add_VisitStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VisitStateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetLastReportAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Visit(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReadReports(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Level(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Geolocation_ICivicAddress + { + [[nodiscard]] auto Country() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto City() const; + [[nodiscard]] auto PostalCode() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_ICivicAddress; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoboundingBox + { + [[nodiscard]] auto NorthwestCorner() const; + [[nodiscard]] auto SoutheastCorner() const; + [[nodiscard]] auto Center() const; + [[nodiscard]] auto MinAltitude() const; + [[nodiscard]] auto MaxAltitude() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoboundingBox; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory + { + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const; + auto CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics + { + auto TryCompute(param::iterable const& positions) const; + auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const; + auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocircle + { + [[nodiscard]] auto Center() const; + [[nodiscard]] auto Radius() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocircle; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocircleFactory + { + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const; + auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocircleFactory; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinate + { + [[nodiscard]] auto Latitude() const; + [[nodiscard]] auto Longitude() const; + [[nodiscard]] auto Altitude() const; + [[nodiscard]] auto Accuracy() const; + [[nodiscard]] auto AltitudeAccuracy() const; + [[nodiscard]] auto Heading() const; + [[nodiscard]] auto Speed() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinate; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData + { + [[nodiscard]] auto PositionDilutionOfPrecision() const; + [[nodiscard]] auto HorizontalDilutionOfPrecision() const; + [[nodiscard]] auto VerticalDilutionOfPrecision() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2 + { + [[nodiscard]] auto GeometricDilutionOfPrecision() const; + [[nodiscard]] auto TimeDilutionOfPrecision() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint + { + [[nodiscard]] auto Point() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData + { + [[nodiscard]] auto PositionSource() const; + [[nodiscard]] auto SatelliteData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp + { + [[nodiscard]] auto PositionSourceTimestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp; + }; + template + struct consume_Windows_Devices_Geolocation_IGeocoordinateWithRemoteSource + { + [[nodiscard]] auto IsRemoteSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateWithRemoteSource; + }; + template + struct consume_Windows_Devices_Geolocation_IGeolocator + { + [[nodiscard]] auto DesiredAccuracy() const; + auto DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const; + [[nodiscard]] auto MovementThreshold() const; + auto MovementThreshold(double value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto LocationStatus() const; + auto GetGeopositionAsync() const; + auto GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeolocator; + }; + template + struct consume_Windows_Devices_Geolocation_IGeolocator2 + { + auto AllowFallbackToConsentlessPositions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeolocator2; + }; + template + struct consume_Windows_Devices_Geolocation_IGeolocatorStatics + { + auto RequestAccessAsync() const; + auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const; + auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeolocatorStatics; + }; + template + struct consume_Windows_Devices_Geolocation_IGeolocatorStatics2 + { + [[nodiscard]] auto IsDefaultGeopositionRecommended() const; + auto DefaultGeoposition(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DefaultGeoposition() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeolocatorStatics2; + }; + template + struct consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy + { + [[nodiscard]] auto DesiredAccuracyInMeters() const; + auto DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy; + }; + template + struct consume_Windows_Devices_Geolocation_IGeopath + { + [[nodiscard]] auto Positions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeopath; + }; + template + struct consume_Windows_Devices_Geolocation_IGeopathFactory + { + auto Create(param::iterable const& positions) const; + auto CreateWithAltitudeReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceAndSpatialReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeopathFactory; + }; + template + struct consume_Windows_Devices_Geolocation_IGeopoint + { + [[nodiscard]] auto Position() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeopoint; + }; + template + struct consume_Windows_Devices_Geolocation_IGeopointFactory + { + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const; + auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeopointFactory; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoposition + { + [[nodiscard]] auto Coordinate() const; + [[nodiscard]] auto CivicAddress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoposition; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoposition2 + { + [[nodiscard]] auto VenueData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoposition2; + }; + template + struct consume_Windows_Devices_Geolocation_IGeoshape + { + [[nodiscard]] auto GeoshapeType() const; + [[nodiscard]] auto SpatialReferenceId() const; + [[nodiscard]] auto AltitudeReferenceSystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeoshape; + }; + template + struct consume_Windows_Devices_Geolocation_IGeovisit + { + [[nodiscard]] auto Position() const; + [[nodiscard]] auto StateChange() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeovisit; + }; + template + struct consume_Windows_Devices_Geolocation_IGeovisitMonitor + { + [[nodiscard]] auto MonitoringScope() const; + auto Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const; + auto Stop() const; + auto VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VisitStateChanged_revoker = impl::event_revoker::remove_VisitStateChanged>; + [[nodiscard]] auto VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisitStateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeovisitMonitor; + }; + template + struct consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics + { + auto GetLastReportAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics; + }; + template + struct consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs + { + [[nodiscard]] auto Visit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs; + }; + template + struct consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails + { + auto ReadReports() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails; + }; + template + struct consume_Windows_Devices_Geolocation_IPositionChangedEventArgs + { + [[nodiscard]] auto Position() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IPositionChangedEventArgs; + }; + template + struct consume_Windows_Devices_Geolocation_IStatusChangedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IStatusChangedEventArgs; + }; + template + struct consume_Windows_Devices_Geolocation_IVenueData + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Level() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IVenueData; + }; + struct struct_Windows_Devices_Geolocation_BasicGeoposition + { + double Latitude; + double Longitude; + double Altitude; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Geolocation_BasicGeoposition; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6aed3dba6ccdb19356a066b29c723855ea574787 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.1.h @@ -0,0 +1,251 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_1_H +#define WINRT_Windows_Devices_Geolocation_1_H +#include "winrt/impl/Windows.Devices.Geolocation.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + struct WINRT_IMPL_EMPTY_BASES ICivicAddress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICivicAddress(std::nullptr_t = nullptr) noexcept {} + ICivicAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoboundingBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeoboundingBox(std::nullptr_t = nullptr) noexcept {} + IGeoboundingBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoboundingBoxFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeoboundingBoxFactory(std::nullptr_t = nullptr) noexcept {} + IGeoboundingBoxFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoboundingBoxStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeoboundingBoxStatics(std::nullptr_t = nullptr) noexcept {} + IGeoboundingBoxStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocircle : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeocircle(std::nullptr_t = nullptr) noexcept {} + IGeocircle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocircleFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocircleFactory(std::nullptr_t = nullptr) noexcept {} + IGeocircleFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinate(std::nullptr_t = nullptr) noexcept {} + IGeocoordinate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateSatelliteData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateSatelliteData(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateSatelliteData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateSatelliteData2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateSatelliteData2(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateSatelliteData2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateWithPoint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateWithPoint(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateWithPoint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateWithPositionData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeocoordinateWithPositionData(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateWithPositionData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateWithPositionSourceTimestamp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateWithPositionSourceTimestamp(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateWithPositionSourceTimestamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeocoordinateWithRemoteSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateWithRemoteSource(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateWithRemoteSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeolocator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeolocator(std::nullptr_t = nullptr) noexcept {} + IGeolocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeolocator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeolocator2(std::nullptr_t = nullptr) noexcept {} + IGeolocator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeolocatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeolocatorStatics(std::nullptr_t = nullptr) noexcept {} + IGeolocatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeolocatorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeolocatorStatics2(std::nullptr_t = nullptr) noexcept {} + IGeolocatorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeolocatorWithScalarAccuracy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeolocatorWithScalarAccuracy(std::nullptr_t = nullptr) noexcept {} + IGeolocatorWithScalarAccuracy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeopath : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeopath(std::nullptr_t = nullptr) noexcept {} + IGeopath(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeopathFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeopathFactory(std::nullptr_t = nullptr) noexcept {} + IGeopathFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeopoint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeopoint(std::nullptr_t = nullptr) noexcept {} + IGeopoint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeopointFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeopointFactory(std::nullptr_t = nullptr) noexcept {} + IGeopointFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoposition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeoposition(std::nullptr_t = nullptr) noexcept {} + IGeoposition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoposition2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGeoposition2(std::nullptr_t = nullptr) noexcept {} + IGeoposition2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeoshape : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeoshape(std::nullptr_t = nullptr) noexcept {} + IGeoshape(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeovisit : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeovisit(std::nullptr_t = nullptr) noexcept {} + IGeovisit(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeovisitMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeovisitMonitor(std::nullptr_t = nullptr) noexcept {} + IGeovisitMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeovisitMonitorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeovisitMonitorStatics(std::nullptr_t = nullptr) noexcept {} + IGeovisitMonitorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeovisitStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeovisitStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGeovisitStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeovisitTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeovisitTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IGeovisitTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPositionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPositionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPositionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVenueData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVenueData(std::nullptr_t = nullptr) noexcept {} + IVenueData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.2.h new file mode 100644 index 0000000000000000000000000000000000000000..c190197cc387075141b499d7a31c5946a382e437 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.2.h @@ -0,0 +1,137 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_2_H +#define WINRT_Windows_Devices_Geolocation_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Devices.Geolocation.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + struct BasicGeoposition + { + double Latitude {}; + double Longitude {}; + double Altitude {}; + }; + inline bool operator==(BasicGeoposition const& left, BasicGeoposition const& right) noexcept + { + return left.Latitude == right.Latitude && left.Longitude == right.Longitude && left.Altitude == right.Altitude; + } + inline bool operator!=(BasicGeoposition const& left, BasicGeoposition const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES CivicAddress : winrt::Windows::Devices::Geolocation::ICivicAddress + { + CivicAddress(std::nullptr_t) noexcept {} + CivicAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::ICivicAddress(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GeoboundingBox : winrt::Windows::Devices::Geolocation::IGeoboundingBox + { + GeoboundingBox(std::nullptr_t) noexcept {} + GeoboundingBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeoboundingBox(ptr, take_ownership_from_abi) {} + GeoboundingBox(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner); + GeoboundingBox(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem); + GeoboundingBox(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId); + static auto TryCompute(param::iterable const& positions); + static auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem); + static auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId); + }; + struct WINRT_IMPL_EMPTY_BASES Geocircle : winrt::Windows::Devices::Geolocation::IGeocircle + { + Geocircle(std::nullptr_t) noexcept {} + Geocircle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeocircle(ptr, take_ownership_from_abi) {} + Geocircle(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius); + Geocircle(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem); + Geocircle(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId); + }; + struct WINRT_IMPL_EMPTY_BASES Geocoordinate : winrt::Windows::Devices::Geolocation::IGeocoordinate, + impl::require + { + Geocoordinate(std::nullptr_t) noexcept {} + Geocoordinate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeocoordinate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GeocoordinateSatelliteData : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData, + impl::require + { + GeocoordinateSatelliteData(std::nullptr_t) noexcept {} + GeocoordinateSatelliteData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Geolocator : winrt::Windows::Devices::Geolocation::IGeolocator, + impl::require + { + Geolocator(std::nullptr_t) noexcept {} + Geolocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeolocator(ptr, take_ownership_from_abi) {} + Geolocator(); + static auto RequestAccessAsync(); + static auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime); + static auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration); + [[nodiscard]] static auto IsDefaultGeopositionRecommended(); + static auto DefaultGeoposition(winrt::Windows::Foundation::IReference const& value); + [[nodiscard]] static auto DefaultGeoposition(); + }; + struct WINRT_IMPL_EMPTY_BASES Geopath : winrt::Windows::Devices::Geolocation::IGeopath + { + Geopath(std::nullptr_t) noexcept {} + Geopath(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeopath(ptr, take_ownership_from_abi) {} + explicit Geopath(param::iterable const& positions); + Geopath(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem); + Geopath(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId); + }; + struct WINRT_IMPL_EMPTY_BASES Geopoint : winrt::Windows::Devices::Geolocation::IGeopoint + { + Geopoint(std::nullptr_t) noexcept {} + Geopoint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeopoint(ptr, take_ownership_from_abi) {} + explicit Geopoint(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position); + Geopoint(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem); + Geopoint(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId); + }; + struct WINRT_IMPL_EMPTY_BASES Geoposition : winrt::Windows::Devices::Geolocation::IGeoposition, + impl::require + { + Geoposition(std::nullptr_t) noexcept {} + Geoposition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeoposition(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Geovisit : winrt::Windows::Devices::Geolocation::IGeovisit + { + Geovisit(std::nullptr_t) noexcept {} + Geovisit(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeovisit(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GeovisitMonitor : winrt::Windows::Devices::Geolocation::IGeovisitMonitor + { + GeovisitMonitor(std::nullptr_t) noexcept {} + GeovisitMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeovisitMonitor(ptr, take_ownership_from_abi) {} + GeovisitMonitor(); + static auto GetLastReportAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES GeovisitStateChangedEventArgs : winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs + { + GeovisitStateChangedEventArgs(std::nullptr_t) noexcept {} + GeovisitStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GeovisitTriggerDetails : winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails + { + GeovisitTriggerDetails(std::nullptr_t) noexcept {} + GeovisitTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PositionChangedEventArgs : winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs + { + PositionChangedEventArgs(std::nullptr_t) noexcept {} + PositionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StatusChangedEventArgs : winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs + { + StatusChangedEventArgs(std::nullptr_t) noexcept {} + StatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VenueData : winrt::Windows::Devices::Geolocation::IVenueData + { + VenueData(std::nullptr_t) noexcept {} + VenueData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IVenueData(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.0.h new file mode 100644 index 0000000000000000000000000000000000000000..26ff6b7d8f3c3dbb3edd1a3c39a7d71bf9dbc1eb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.0.h @@ -0,0 +1,215 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Geofencing_0_H +#define WINRT_Windows_Devices_Geolocation_Geofencing_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + struct Geoposition; + struct IGeoshape; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Geofencing +{ + enum class GeofenceMonitorStatus : int32_t + { + Ready = 0, + Initializing = 1, + NoData = 2, + Disabled = 3, + NotInitialized = 4, + NotAvailable = 5, + }; + enum class GeofenceRemovalReason : int32_t + { + Used = 0, + Expired = 1, + }; + enum class GeofenceState : uint32_t + { + None = 0, + Entered = 0x1, + Exited = 0x2, + Removed = 0x4, + }; + enum class MonitoredGeofenceStates : uint32_t + { + None = 0, + Entered = 0x1, + Exited = 0x2, + Removed = 0x4, + }; + struct IGeofence; + struct IGeofenceFactory; + struct IGeofenceMonitor; + struct IGeofenceMonitorStatics; + struct IGeofenceStateChangeReport; + struct Geofence; + struct GeofenceMonitor; + struct GeofenceStateChangeReport; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.Geofence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.GeofenceMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.GeofenceStateChangeReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.GeofenceMonitorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.GeofenceRemovalReason"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.GeofenceState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.MonitoredGeofenceStates"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.IGeofence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.IGeofenceFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.IGeofenceMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.IGeofenceMonitorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Geofencing.IGeofenceStateChangeReport"; + template <> inline constexpr guid guid_v{ 0x9C090823,0xEDB8,0x47E0,{ 0x82,0x45,0x5B,0xF6,0x1D,0x32,0x1F,0x2D } }; // 9C090823-EDB8-47E0-8245-5BF61D321F2D + template <> inline constexpr guid guid_v{ 0x841F624B,0x325F,0x4B90,{ 0xBC,0xA7,0x2B,0x80,0x22,0xA9,0x37,0x96 } }; // 841F624B-325F-4B90-BCA7-2B8022A93796 + template <> inline constexpr guid guid_v{ 0x4C0F5F78,0x1C1F,0x4621,{ 0xBB,0xBD,0x83,0x3B,0x92,0x24,0x72,0x26 } }; // 4C0F5F78-1C1F-4621-BBBD-833B92247226 + template <> inline constexpr guid guid_v{ 0x2DD32FCF,0x7E75,0x4899,{ 0xAC,0xE3,0x2B,0xD0,0xA6,0x5C,0xCE,0x06 } }; // 2DD32FCF-7E75-4899-ACE3-2BD0A65CCE06 + template <> inline constexpr guid guid_v{ 0x9A243C18,0x2464,0x4C89,{ 0xBE,0x05,0xB3,0xFF,0xFF,0x5B,0xAB,0xC5 } }; // 9A243C18-2464-4C89-BE05-B3FFFF5BABC5 + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::Geofencing::IGeofence; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_DwellTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_MonitoredStates(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Geoshape(void**) noexcept = 0; + virtual int32_t __stdcall get_SingleUse(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithMonitorStates(void*, void*, uint32_t, bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithMonitorStatesAndDwellTime(void*, void*, uint32_t, bool, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithMonitorStatesDwellTimeStartTimeAndDuration(void*, void*, uint32_t, bool, int64_t, int64_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Geofences(void**) noexcept = 0; + virtual int32_t __stdcall get_LastKnownGeoposition(void**) noexcept = 0; + virtual int32_t __stdcall add_GeofenceStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GeofenceStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall ReadReports(void**) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NewState(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Geofence(void**) noexcept = 0; + virtual int32_t __stdcall get_Geoposition(void**) noexcept = 0; + virtual int32_t __stdcall get_RemovalReason(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Geolocation_Geofencing_IGeofence + { + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto DwellTime() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MonitoredStates() const; + [[nodiscard]] auto Geoshape() const; + [[nodiscard]] auto SingleUse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Geofencing_IGeofence; + }; + template + struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory + { + auto Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const; + auto CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const; + auto CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const; + auto CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory; + }; + template + struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Geofences() const; + [[nodiscard]] auto LastKnownGeoposition() const; + auto GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using GeofenceStateChanged_revoker = impl::event_revoker::remove_GeofenceStateChanged>; + [[nodiscard]] auto GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto GeofenceStateChanged(winrt::event_token const& token) const noexcept; + auto ReadReports() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor; + }; + template + struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics + { + [[nodiscard]] auto Current() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics; + }; + template + struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport + { + [[nodiscard]] auto NewState() const; + [[nodiscard]] auto Geofence() const; + [[nodiscard]] auto Geoposition() const; + [[nodiscard]] auto RemovalReason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.1.h new file mode 100644 index 0000000000000000000000000000000000000000..85f1c97f2aea58725b3c804218be5bd1b344f5a7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Geofencing_1_H +#define WINRT_Windows_Devices_Geolocation_Geofencing_1_H +#include "winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Geofencing +{ + struct WINRT_IMPL_EMPTY_BASES IGeofence : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeofence(std::nullptr_t = nullptr) noexcept {} + IGeofence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeofenceFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeofenceFactory(std::nullptr_t = nullptr) noexcept {} + IGeofenceFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeofenceMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeofenceMonitor(std::nullptr_t = nullptr) noexcept {} + IGeofenceMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeofenceMonitorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeofenceMonitorStatics(std::nullptr_t = nullptr) noexcept {} + IGeofenceMonitorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeofenceStateChangeReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeofenceStateChangeReport(std::nullptr_t = nullptr) noexcept {} + IGeofenceStateChangeReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.2.h new file mode 100644 index 0000000000000000000000000000000000000000..d6da7971eb4b0f7ae59e936ae5fe2153a637bc50 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.geofencing.2.h @@ -0,0 +1,35 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Geofencing_2_H +#define WINRT_Windows_Devices_Geolocation_Geofencing_2_H +#include "winrt/impl/Windows.Devices.Geolocation.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Geofencing +{ + struct WINRT_IMPL_EMPTY_BASES Geofence : winrt::Windows::Devices::Geolocation::Geofencing::IGeofence + { + Geofence(std::nullptr_t) noexcept {} + Geofence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::Geofencing::IGeofence(ptr, take_ownership_from_abi) {} + Geofence(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape); + Geofence(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse); + Geofence(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime); + Geofence(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration); + }; + struct WINRT_IMPL_EMPTY_BASES GeofenceMonitor : winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor + { + GeofenceMonitor(std::nullptr_t) noexcept {} + GeofenceMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + }; + struct WINRT_IMPL_EMPTY_BASES GeofenceStateChangeReport : winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport + { + GeofenceStateChangeReport(std::nullptr_t) noexcept {} + GeofenceStateChangeReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cfd845d4d48697cdde4105b2655f8afc5224782d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.0.h @@ -0,0 +1,68 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Provider_0_H +#define WINRT_Windows_Devices_Geolocation_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation +{ + struct BasicGeoposition; + enum class PositionSource : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Provider +{ + enum class LocationOverrideStatus : int32_t + { + Success = 0, + AccessDenied = 1, + AlreadyStarted = 2, + Other = 3, + }; + struct IGeolocationProvider; + struct GeolocationProvider; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Provider.GeolocationProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Provider.LocationOverrideStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.Provider.IGeolocationProvider"; + template <> inline constexpr guid guid_v{ 0xE4CF071D,0x3F64,0x509F,{ 0x8D,0xC2,0x0B,0x74,0xA0,0x59,0x82,0x9D } }; // E4CF071D-3F64-509F-8DC2-0B74A059829D + template <> struct default_interface{ using type = winrt::Windows::Devices::Geolocation::Provider::IGeolocationProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsOverridden(bool*) noexcept = 0; + virtual int32_t __stdcall SetOverridePosition(struct struct_Windows_Devices_Geolocation_BasicGeoposition, int32_t, double, int32_t*) noexcept = 0; + virtual int32_t __stdcall ClearOverridePosition() noexcept = 0; + virtual int32_t __stdcall add_IsOverriddenChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsOverriddenChanged(winrt::event_token) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Geolocation_Provider_IGeolocationProvider + { + [[nodiscard]] auto IsOverridden() const; + auto SetOverridePosition(winrt::Windows::Devices::Geolocation::BasicGeoposition const& newPosition, winrt::Windows::Devices::Geolocation::PositionSource const& positionSource, double accuracyInMeters) const; + auto ClearOverridePosition() const; + auto IsOverriddenChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using IsOverriddenChanged_revoker = impl::event_revoker::remove_IsOverriddenChanged>; + [[nodiscard]] auto IsOverriddenChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsOverriddenChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_Provider_IGeolocationProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..25ef2c7eed44dac2672e136e5152102d54d6d9d4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Provider_1_H +#define WINRT_Windows_Devices_Geolocation_Provider_1_H +#include "winrt/impl/Windows.Devices.Geolocation.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IGeolocationProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeolocationProvider(std::nullptr_t = nullptr) noexcept {} + IGeolocationProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..252118f567b43a4534f2852f0dfee14529acf883 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.geolocation.provider.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Geolocation_Provider_2_H +#define WINRT_Windows_Devices_Geolocation_Provider_2_H +#include "winrt/impl/Windows.Devices.Geolocation.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Provider +{ + struct WINRT_IMPL_EMPTY_BASES GeolocationProvider : winrt::Windows::Devices::Geolocation::Provider::IGeolocationProvider + { + GeolocationProvider(std::nullptr_t) noexcept {} + GeolocationProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::Provider::IGeolocationProvider(ptr, take_ownership_from_abi) {} + GeolocationProvider(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.0.h new file mode 100644 index 0000000000000000000000000000000000000000..10d1cd4db93bdf74283a461d2dd20941374046ca --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.0.h @@ -0,0 +1,371 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_0_H +#define WINRT_Windows_Devices_Gpio_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider +{ + struct IGpioProvider; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio +{ + enum class GpioChangePolarity : int32_t + { + Falling = 0, + Rising = 1, + Both = 2, + }; + enum class GpioOpenStatus : int32_t + { + PinOpened = 0, + PinUnavailable = 1, + SharingViolation = 2, + MuxingConflict = 3, + UnknownError = 4, + }; + enum class GpioPinDriveMode : int32_t + { + Input = 0, + Output = 1, + InputPullUp = 2, + InputPullDown = 3, + OutputOpenDrain = 4, + OutputOpenDrainPullUp = 5, + OutputOpenSource = 6, + OutputOpenSourcePullDown = 7, + }; + enum class GpioPinEdge : int32_t + { + FallingEdge = 0, + RisingEdge = 1, + }; + enum class GpioPinValue : int32_t + { + Low = 0, + High = 1, + }; + enum class GpioSharingMode : int32_t + { + Exclusive = 0, + SharedReadOnly = 1, + }; + struct IGpioChangeCounter; + struct IGpioChangeCounterFactory; + struct IGpioChangeReader; + struct IGpioChangeReaderFactory; + struct IGpioController; + struct IGpioControllerStatics; + struct IGpioControllerStatics2; + struct IGpioPin; + struct IGpioPinValueChangedEventArgs; + struct GpioChangeCounter; + struct GpioChangeReader; + struct GpioController; + struct GpioPin; + struct GpioPinValueChangedEventArgs; + struct GpioChangeCount; + struct GpioChangeRecord; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioChangeCounter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioChangeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioPin"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioPinValueChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioChangePolarity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioOpenStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioPinDriveMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioPinEdge"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioPinValue"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioChangeCount"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.GpioChangeRecord"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioChangeCounter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioChangeCounterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioChangeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioChangeReaderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioControllerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioPin"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.IGpioPinValueChangedEventArgs"; + template <> inline constexpr guid guid_v{ 0xCB5EC0DE,0x6801,0x43FF,{ 0x80,0x3D,0x45,0x76,0x62,0x8A,0x8B,0x26 } }; // CB5EC0DE-6801-43FF-803D-4576628A8B26 + template <> inline constexpr guid guid_v{ 0x147D94B6,0x0A9E,0x410C,{ 0xB4,0xFA,0xF8,0x9F,0x40,0x52,0x08,0x4D } }; // 147D94B6-0A9E-410C-B4FA-F89F4052084D + template <> inline constexpr guid guid_v{ 0x0ABC885F,0xE031,0x48E8,{ 0x85,0x90,0x70,0xDE,0x78,0x36,0x3C,0x6D } }; // 0ABC885F-E031-48E8-8590-70DE78363C6D + template <> inline constexpr guid guid_v{ 0xA9598EF3,0x390E,0x441A,{ 0x9D,0x1C,0xE8,0xDE,0x0B,0x2D,0xF0,0xDF } }; // A9598EF3-390E-441A-9D1C-E8DE0B2DF0DF + template <> inline constexpr guid guid_v{ 0x284012E3,0x7461,0x469C,{ 0xA8,0xBC,0x61,0xD6,0x9D,0x08,0xA5,0x3C } }; // 284012E3-7461-469C-A8BC-61D69D08A53C + template <> inline constexpr guid guid_v{ 0x2ED6F42E,0x7AF7,0x4116,{ 0x95,0x33,0xC4,0x3D,0x99,0xA1,0xFB,0x64 } }; // 2ED6F42E-7AF7-4116-9533-C43D99A1FB64 + template <> inline constexpr guid guid_v{ 0x912B7D20,0x6CA4,0x4106,{ 0xA3,0x73,0xFF,0xFD,0x34,0x6B,0x0E,0x5B } }; // 912B7D20-6CA4-4106-A373-FFFD346B0E5B + template <> inline constexpr guid guid_v{ 0x11D9B087,0xAFAE,0x4790,{ 0x9E,0xE9,0xE0,0xEA,0xC9,0x42,0xD2,0x01 } }; // 11D9B087-AFAE-4790-9EE9-E0EAC942D201 + template <> inline constexpr guid guid_v{ 0x3137AAE1,0x703D,0x4059,{ 0xBD,0x24,0xB5,0xB2,0x5D,0xFF,0xB8,0x4E } }; // 3137AAE1-703D-4059-BD24-B5B25DFFB84E + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::IGpioChangeCounter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::IGpioChangeReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::IGpioController; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::IGpioPin; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Polarity(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Polarity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStarted(bool*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall Read(struct struct_Windows_Devices_Gpio_GpioChangeCount*) noexcept = 0; + virtual int32_t __stdcall Reset(struct struct_Windows_Devices_Gpio_GpioChangeCount*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capacity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Length(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsEmpty(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsOverflowed(bool*) noexcept = 0; + virtual int32_t __stdcall put_Polarity(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Polarity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStarted(bool*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + virtual int32_t __stdcall GetNextItem(struct struct_Windows_Devices_Gpio_GpioChangeRecord*) noexcept = 0; + virtual int32_t __stdcall PeekNextItem(struct struct_Windows_Devices_Gpio_GpioChangeRecord*) noexcept = 0; + virtual int32_t __stdcall GetAllItems(void**) noexcept = 0; + virtual int32_t __stdcall WaitForItemsAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithCapacity(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall OpenPin(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall OpenPinWithSharingMode(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryOpenPin(int32_t, int32_t, void**, int32_t*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ValueChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ValueChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_DebounceTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DebounceTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_PinNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall IsDriveModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall GetDriveMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetDriveMode(int32_t) noexcept = 0; + virtual int32_t __stdcall Write(int32_t) noexcept = 0; + virtual int32_t __stdcall Read(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Edge(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Gpio_IGpioChangeCounter + { + auto Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; + [[nodiscard]] auto Polarity() const; + [[nodiscard]] auto IsStarted() const; + auto Start() const; + auto Stop() const; + auto Read() const; + auto Reset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioChangeCounter; + }; + template + struct consume_Windows_Devices_Gpio_IGpioChangeCounterFactory + { + auto Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioChangeCounterFactory; + }; + template + struct consume_Windows_Devices_Gpio_IGpioChangeReader + { + [[nodiscard]] auto Capacity() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto IsEmpty() const; + [[nodiscard]] auto IsOverflowed() const; + auto Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; + [[nodiscard]] auto Polarity() const; + [[nodiscard]] auto IsStarted() const; + auto Start() const; + auto Stop() const; + auto Clear() const; + auto GetNextItem() const; + auto PeekNextItem() const; + auto GetAllItems() const; + auto WaitForItemsAsync(int32_t count) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioChangeReader; + }; + template + struct consume_Windows_Devices_Gpio_IGpioChangeReaderFactory + { + auto Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; + auto CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioChangeReaderFactory; + }; + template + struct consume_Windows_Devices_Gpio_IGpioController + { + [[nodiscard]] auto PinCount() const; + auto OpenPin(int32_t pinNumber) const; + auto OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const; + auto TryOpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode, winrt::Windows::Devices::Gpio::GpioPin& pin, winrt::Windows::Devices::Gpio::GpioOpenStatus& openStatus) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioController; + }; + template + struct consume_Windows_Devices_Gpio_IGpioControllerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioControllerStatics; + }; + template + struct consume_Windows_Devices_Gpio_IGpioControllerStatics2 + { + auto GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioControllerStatics2; + }; + template + struct consume_Windows_Devices_Gpio_IGpioPin + { + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DebounceTimeout() const; + auto DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PinNumber() const; + [[nodiscard]] auto SharingMode() const; + auto IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const; + auto GetDriveMode() const; + auto SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const; + auto Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const; + auto Read() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioPin; + }; + template + struct consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs + { + [[nodiscard]] auto Edge() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs; + }; + struct struct_Windows_Devices_Gpio_GpioChangeCount + { + uint64_t Count; + int64_t RelativeTime; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Gpio_GpioChangeCount; + }; + struct struct_Windows_Devices_Gpio_GpioChangeRecord + { + int64_t RelativeTime; + int32_t Edge; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Gpio_GpioChangeRecord; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1e8eb9ba1842fba74ee5474c751438f0a88cbf88 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.1.h @@ -0,0 +1,80 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_1_H +#define WINRT_Windows_Devices_Gpio_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Gpio.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio +{ + struct WINRT_IMPL_EMPTY_BASES IGpioChangeCounter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGpioChangeCounter(std::nullptr_t = nullptr) noexcept {} + IGpioChangeCounter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioChangeCounterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioChangeCounterFactory(std::nullptr_t = nullptr) noexcept {} + IGpioChangeCounterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioChangeReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGpioChangeReader(std::nullptr_t = nullptr) noexcept {} + IGpioChangeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioChangeReaderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioChangeReaderFactory(std::nullptr_t = nullptr) noexcept {} + IGpioChangeReaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioController(std::nullptr_t = nullptr) noexcept {} + IGpioController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioControllerStatics(std::nullptr_t = nullptr) noexcept {} + IGpioControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioControllerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioControllerStatics2(std::nullptr_t = nullptr) noexcept {} + IGpioControllerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioPin : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGpioPin(std::nullptr_t = nullptr) noexcept {} + IGpioPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioPinValueChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioPinValueChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGpioPinValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.2.h new file mode 100644 index 0000000000000000000000000000000000000000..88174e4bde4f175e4d7e43fc421059a5fef197af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.2.h @@ -0,0 +1,72 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_2_H +#define WINRT_Windows_Devices_Gpio_2_H +#include "winrt/impl/Windows.Devices.Gpio.Provider.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Devices.Gpio.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio +{ + struct GpioChangeCount + { + uint64_t Count {}; + winrt::Windows::Foundation::TimeSpan RelativeTime {}; + }; + inline bool operator==(GpioChangeCount const& left, GpioChangeCount const& right) noexcept + { + return left.Count == right.Count && left.RelativeTime == right.RelativeTime; + } + inline bool operator!=(GpioChangeCount const& left, GpioChangeCount const& right) noexcept + { + return !(left == right); + } + struct GpioChangeRecord + { + winrt::Windows::Foundation::TimeSpan RelativeTime {}; + winrt::Windows::Devices::Gpio::GpioPinEdge Edge {}; + }; + inline bool operator==(GpioChangeRecord const& left, GpioChangeRecord const& right) noexcept + { + return left.RelativeTime == right.RelativeTime && left.Edge == right.Edge; + } + inline bool operator!=(GpioChangeRecord const& left, GpioChangeRecord const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES GpioChangeCounter : winrt::Windows::Devices::Gpio::IGpioChangeCounter + { + GpioChangeCounter(std::nullptr_t) noexcept {} + GpioChangeCounter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::IGpioChangeCounter(ptr, take_ownership_from_abi) {} + explicit GpioChangeCounter(winrt::Windows::Devices::Gpio::GpioPin const& pin); + }; + struct WINRT_IMPL_EMPTY_BASES GpioChangeReader : winrt::Windows::Devices::Gpio::IGpioChangeReader + { + GpioChangeReader(std::nullptr_t) noexcept {} + GpioChangeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::IGpioChangeReader(ptr, take_ownership_from_abi) {} + explicit GpioChangeReader(winrt::Windows::Devices::Gpio::GpioPin const& pin); + GpioChangeReader(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity); + }; + struct WINRT_IMPL_EMPTY_BASES GpioController : winrt::Windows::Devices::Gpio::IGpioController + { + GpioController(std::nullptr_t) noexcept {} + GpioController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::IGpioController(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider); + static auto GetDefaultAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES GpioPin : winrt::Windows::Devices::Gpio::IGpioPin + { + GpioPin(std::nullptr_t) noexcept {} + GpioPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::IGpioPin(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GpioPinValueChangedEventArgs : winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs + { + GpioPinValueChangedEventArgs(std::nullptr_t) noexcept {} + GpioPinValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8b55f1a84b7c7024f2b95c25b01c3b17e0670528 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.0.h @@ -0,0 +1,182 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_Provider_0_H +#define WINRT_Windows_Devices_Gpio_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider +{ + enum class ProviderGpioPinDriveMode : int32_t + { + Input = 0, + Output = 1, + InputPullUp = 2, + InputPullDown = 3, + OutputOpenDrain = 4, + OutputOpenDrainPullUp = 5, + OutputOpenSource = 6, + OutputOpenSourcePullDown = 7, + }; + enum class ProviderGpioPinEdge : int32_t + { + FallingEdge = 0, + RisingEdge = 1, + }; + enum class ProviderGpioPinValue : int32_t + { + Low = 0, + High = 1, + }; + enum class ProviderGpioSharingMode : int32_t + { + Exclusive = 0, + SharedReadOnly = 1, + }; + struct IGpioControllerProvider; + struct IGpioPinProvider; + struct IGpioPinProviderValueChangedEventArgs; + struct IGpioPinProviderValueChangedEventArgsFactory; + struct IGpioProvider; + struct GpioPinProviderValueChangedEventArgs; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.GpioPinProviderValueChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.ProviderGpioPinDriveMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.ProviderGpioPinEdge"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.ProviderGpioPinValue"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.ProviderGpioSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.IGpioControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.IGpioPinProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Gpio.Provider.IGpioProvider"; + template <> inline constexpr guid guid_v{ 0xAD11CEC7,0x19EA,0x4B21,{ 0x87,0x4F,0xB9,0x1A,0xED,0x4A,0x25,0xDB } }; // AD11CEC7-19EA-4B21-874F-B91AED4A25DB + template <> inline constexpr guid guid_v{ 0x42344CB7,0x6ABC,0x40FF,{ 0x9C,0xE7,0x73,0xB8,0x53,0x01,0xB9,0x00 } }; // 42344CB7-6ABC-40FF-9CE7-73B85301B900 + template <> inline constexpr guid guid_v{ 0x32A6D6F2,0x3D5B,0x44CD,{ 0x8F,0xBE,0x13,0xA6,0x9F,0x2E,0xDB,0x24 } }; // 32A6D6F2-3D5B-44CD-8FBE-13A69F2EDB24 + template <> inline constexpr guid guid_v{ 0x3ECB0B59,0x568C,0x4392,{ 0xB2,0x4A,0x8A,0x59,0xA9,0x02,0xB1,0xF1 } }; // 3ECB0B59-568C-4392-B24A-8A59A902B1F1 + template <> inline constexpr guid guid_v{ 0x44E82707,0x08CA,0x434A,{ 0xAF,0xE0,0xD6,0x15,0x80,0x44,0x6F,0x7E } }; // 44E82707-08CA-434A-AFE0-D61580446F7E + template <> struct default_interface{ using type = winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall OpenPinProvider(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ValueChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ValueChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_DebounceTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DebounceTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_PinNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall IsDriveModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall GetDriveMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetDriveMode(int32_t) noexcept = 0; + virtual int32_t __stdcall Write(int32_t) noexcept = 0; + virtual int32_t __stdcall Read(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Edge(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllers(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider + { + [[nodiscard]] auto PinCount() const; + auto OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider; + }; + template + struct consume_Windows_Devices_Gpio_Provider_IGpioPinProvider + { + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DebounceTimeout() const; + auto DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PinNumber() const; + [[nodiscard]] auto SharingMode() const; + auto IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const; + auto GetDriveMode() const; + auto SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const; + auto Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const; + auto Read() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_Provider_IGpioPinProvider; + }; + template + struct consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs + { + [[nodiscard]] auto Edge() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs; + }; + template + struct consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory + { + auto Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory; + }; + template + struct consume_Windows_Devices_Gpio_Provider_IGpioProvider + { + auto GetControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Gpio_Provider_IGpioProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..623e7e0e10b56bddc69eeaa65e51e2448f40f1bd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_Provider_1_H +#define WINRT_Windows_Devices_Gpio_Provider_1_H +#include "winrt/impl/Windows.Devices.Gpio.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IGpioControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioControllerProvider(std::nullptr_t = nullptr) noexcept {} + IGpioControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioPinProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioPinProvider(std::nullptr_t = nullptr) noexcept {} + IGpioPinProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioPinProviderValueChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioPinProviderValueChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGpioPinProviderValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioPinProviderValueChangedEventArgsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioPinProviderValueChangedEventArgsFactory(std::nullptr_t = nullptr) noexcept {} + IGpioPinProviderValueChangedEventArgsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGpioProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGpioProvider(std::nullptr_t = nullptr) noexcept {} + IGpioProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6d5e3bc970e4d278c6400b554adf6166d58b7197 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.gpio.provider.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Gpio_Provider_2_H +#define WINRT_Windows_Devices_Gpio_Provider_2_H +#include "winrt/impl/Windows.Devices.Gpio.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider +{ + struct WINRT_IMPL_EMPTY_BASES GpioPinProviderValueChangedEventArgs : winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs + { + GpioPinProviderValueChangedEventArgs(std::nullptr_t) noexcept {} + GpioPinProviderValueChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs(ptr, take_ownership_from_abi) {} + explicit GpioPinProviderValueChangedEventArgs(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.0.h new file mode 100644 index 0000000000000000000000000000000000000000..96a516e24399647c2b546a489241a0abb79db50d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.0.h @@ -0,0 +1,309 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Haptics_0_H +#define WINRT_Windows_Devices_Haptics_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Devices::Haptics +{ + enum class HapticDeviceType : int32_t + { + None = 0, + Generic = 1, + Pen = 2, + Touchpad = 3, + Mouse = 4, + }; + enum class VibrationAccessStatus : int32_t + { + Allowed = 0, + DeniedByUser = 1, + DeniedBySystem = 2, + DeniedByEnergySaver = 3, + }; + struct IInputHapticsManager; + struct IInputHapticsManagerStatics; + struct IKnownSimpleHapticsControllerWaveformsStatics; + struct IKnownSimpleHapticsControllerWaveformsStatics2; + struct ISimpleHapticsController; + struct ISimpleHapticsControllerFeedback; + struct IVibrationDevice; + struct IVibrationDeviceStatics; + struct InputHapticsManager; + struct KnownSimpleHapticsControllerWaveforms; + struct SimpleHapticsController; + struct SimpleHapticsControllerFeedback; + struct VibrationDevice; + struct HapticsControllerOverrideToken; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.InputHapticsManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.KnownSimpleHapticsControllerWaveforms"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.SimpleHapticsController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.SimpleHapticsControllerFeedback"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.VibrationDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.HapticDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.VibrationAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.HapticsControllerOverrideToken"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IInputHapticsManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IInputHapticsManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IKnownSimpleHapticsControllerWaveformsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IKnownSimpleHapticsControllerWaveformsStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.ISimpleHapticsController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.ISimpleHapticsControllerFeedback"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IVibrationDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Haptics.IVibrationDeviceStatics"; + template <> inline constexpr guid guid_v{ 0x040E91DF,0xBB3A,0x507C,{ 0x9E,0x25,0xA2,0xD2,0xC6,0x85,0xB2,0xE5 } }; // 040E91DF-BB3A-507C-9E25-A2D2C685B2E5 + template <> inline constexpr guid guid_v{ 0x7BB40F77,0xE187,0x5322,{ 0x84,0x4E,0xAA,0x58,0x22,0x3C,0x28,0x1A } }; // 7BB40F77-E187-5322-844E-AA58223C281A + template <> inline constexpr guid guid_v{ 0x3D577EF7,0x4CEE,0x11E6,{ 0xB5,0x35,0x00,0x1B,0xDC,0x06,0xAB,0x3B } }; // 3D577EF7-4CEE-11E6-B535-001BDC06AB3B + template <> inline constexpr guid guid_v{ 0xA7D24C27,0xB79D,0x510A,{ 0xBF,0x79,0xFF,0x6D,0x49,0x17,0x3E,0x1D } }; // A7D24C27-B79D-510A-BF79-FF6D49173E1D + template <> inline constexpr guid guid_v{ 0x3D577EF9,0x4CEE,0x11E6,{ 0xB5,0x35,0x00,0x1B,0xDC,0x06,0xAB,0x3B } }; // 3D577EF9-4CEE-11E6-B535-001BDC06AB3B + template <> inline constexpr guid guid_v{ 0x3D577EF8,0x4CEE,0x11E6,{ 0xB5,0x35,0x00,0x1B,0xDC,0x06,0xAB,0x3B } }; // 3D577EF8-4CEE-11E6-B535-001BDC06AB3B + template <> inline constexpr guid guid_v{ 0x40F21A3E,0x8844,0x47FF,{ 0xB3,0x12,0x06,0x18,0x5A,0x38,0x44,0xDA } }; // 40F21A3E-8844-47FF-B312-06185A3844DA + template <> inline constexpr guid guid_v{ 0x53E2EDED,0x2290,0x4AC9,{ 0x8E,0xB3,0x1A,0x84,0x12,0x2E,0xB7,0x1C } }; // 53E2EDED-2290-4AC9-8EB3-1A84122EB71C + template <> struct default_interface{ using type = winrt::Windows::Devices::Haptics::IInputHapticsManager; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Haptics::ISimpleHapticsController; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Haptics::IVibrationDevice; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ThreadId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentHapticsControllerDeviceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentHapticsController(void**) noexcept = 0; + virtual int32_t __stdcall TrySendHapticWaveform(uint16_t, uint16_t, bool*) noexcept = 0; + virtual int32_t __stdcall TrySendHapticWaveformWithIntensity(uint16_t, uint16_t, double, bool*) noexcept = 0; + virtual int32_t __stdcall TrySendHapticWaveformForDuration(uint16_t, uint16_t, double, int64_t, bool*) noexcept = 0; + virtual int32_t __stdcall TrySendHapticWaveformForPlayCount(uint16_t, uint16_t, double, int32_t, int64_t, bool*) noexcept = 0; + virtual int32_t __stdcall TryStopFeedback(bool*) noexcept = 0; + virtual int32_t __stdcall SetOverrideHapticsController(int32_t, void*, struct struct_Windows_Devices_Haptics_HapticsControllerOverrideToken*) noexcept = 0; + virtual int32_t __stdcall ClearOverrideHapticsController(struct struct_Windows_Devices_Haptics_HapticsControllerOverrideToken) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall IsHapticDevicePresent(bool*) noexcept = 0; + virtual int32_t __stdcall GetForCurrentThread(void**) noexcept = 0; + virtual int32_t __stdcall TryGetForThread(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Click(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_BuzzContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_RumbleContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Press(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Release(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BrushContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ChiselMarkerContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_EraserContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Error(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_GalaxyPenContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Hover(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_InkContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MarkerContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_PencilContinuous(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Success(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedFeedback(void**) noexcept = 0; + virtual int32_t __stdcall get_IsIntensitySupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPlayCountSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPlayDurationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReplayPauseIntervalSupported(bool*) noexcept = 0; + virtual int32_t __stdcall StopFeedback() noexcept = 0; + virtual int32_t __stdcall SendHapticFeedback(void*) noexcept = 0; + virtual int32_t __stdcall SendHapticFeedbackWithIntensity(void*, double) noexcept = 0; + virtual int32_t __stdcall SendHapticFeedbackForDuration(void*, double, int64_t) noexcept = 0; + virtual int32_t __stdcall SendHapticFeedbackForPlayCount(void*, double, int32_t, int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Waveform(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_SimpleHapticsController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Haptics_IInputHapticsManager + { + [[nodiscard]] auto ThreadId() const; + [[nodiscard]] auto CurrentHapticsControllerDeviceType() const; + [[nodiscard]] auto CurrentHapticsController() const; + auto TrySendHapticWaveform(uint16_t waveform, uint16_t waveformFallback) const; + auto TrySendHapticWaveform(uint16_t waveform, uint16_t waveformFallback, double intensity) const; + auto TrySendHapticWaveformForDuration(uint16_t waveform, uint16_t waveformFallback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const; + auto TrySendHapticWaveformForPlayCount(uint16_t waveform, uint16_t waveformFallback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const; + auto TryStopFeedback() const; + auto SetOverrideHapticsController(winrt::Windows::Devices::Haptics::HapticDeviceType const& deviceType, winrt::Windows::Devices::Haptics::SimpleHapticsController const& controller) const; + auto ClearOverrideHapticsController(winrt::Windows::Devices::Haptics::HapticsControllerOverrideToken const& token) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IInputHapticsManager; + }; + template + struct consume_Windows_Devices_Haptics_IInputHapticsManagerStatics + { + auto IsSupported() const; + auto IsHapticDevicePresent() const; + auto GetForCurrentThread() const; + auto TryGetForThread(uint32_t ThreadId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IInputHapticsManagerStatics; + }; + template + struct consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics + { + [[nodiscard]] auto Click() const; + [[nodiscard]] auto BuzzContinuous() const; + [[nodiscard]] auto RumbleContinuous() const; + [[nodiscard]] auto Press() const; + [[nodiscard]] auto Release() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics; + }; + template + struct consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics2 + { + [[nodiscard]] auto BrushContinuous() const; + [[nodiscard]] auto ChiselMarkerContinuous() const; + [[nodiscard]] auto EraserContinuous() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto GalaxyPenContinuous() const; + [[nodiscard]] auto Hover() const; + [[nodiscard]] auto InkContinuous() const; + [[nodiscard]] auto MarkerContinuous() const; + [[nodiscard]] auto PencilContinuous() const; + [[nodiscard]] auto Success() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics2; + }; + template + struct consume_Windows_Devices_Haptics_ISimpleHapticsController + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SupportedFeedback() const; + [[nodiscard]] auto IsIntensitySupported() const; + [[nodiscard]] auto IsPlayCountSupported() const; + [[nodiscard]] auto IsPlayDurationSupported() const; + [[nodiscard]] auto IsReplayPauseIntervalSupported() const; + auto StopFeedback() const; + auto SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const; + auto SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const; + auto SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const; + auto SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_ISimpleHapticsController; + }; + template + struct consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback + { + [[nodiscard]] auto Waveform() const; + [[nodiscard]] auto Duration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback; + }; + template + struct consume_Windows_Devices_Haptics_IVibrationDevice + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SimpleHapticsController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IVibrationDevice; + }; + template + struct consume_Windows_Devices_Haptics_IVibrationDeviceStatics + { + auto RequestAccessAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto FindAllAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Haptics_IVibrationDeviceStatics; + }; + struct struct_Windows_Devices_Haptics_HapticsControllerOverrideToken + { + int64_t Value; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Haptics_HapticsControllerOverrideToken; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c3febe47142f73d2e8ae8733ebaf18d5b1f925a1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.1.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Haptics_1_H +#define WINRT_Windows_Devices_Haptics_1_H +#include "winrt/impl/Windows.Devices.Haptics.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Haptics +{ + struct WINRT_IMPL_EMPTY_BASES IInputHapticsManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInputHapticsManager(std::nullptr_t = nullptr) noexcept {} + IInputHapticsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInputHapticsManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInputHapticsManagerStatics(std::nullptr_t = nullptr) noexcept {} + IInputHapticsManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownSimpleHapticsControllerWaveformsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownSimpleHapticsControllerWaveformsStatics(std::nullptr_t = nullptr) noexcept {} + IKnownSimpleHapticsControllerWaveformsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownSimpleHapticsControllerWaveformsStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownSimpleHapticsControllerWaveformsStatics2(std::nullptr_t = nullptr) noexcept {} + IKnownSimpleHapticsControllerWaveformsStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleHapticsController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleHapticsController(std::nullptr_t = nullptr) noexcept {} + ISimpleHapticsController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleHapticsControllerFeedback : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleHapticsControllerFeedback(std::nullptr_t = nullptr) noexcept {} + ISimpleHapticsControllerFeedback(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVibrationDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVibrationDevice(std::nullptr_t = nullptr) noexcept {} + IVibrationDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVibrationDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVibrationDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IVibrationDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.2.h new file mode 100644 index 0000000000000000000000000000000000000000..249ca9623e2925b553f6efe50eacfa949ac4b378 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.haptics.2.h @@ -0,0 +1,73 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Haptics_2_H +#define WINRT_Windows_Devices_Haptics_2_H +#include "winrt/impl/Windows.Devices.Haptics.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Haptics +{ + struct HapticsControllerOverrideToken + { + int64_t Value {}; + }; + inline bool operator==(HapticsControllerOverrideToken const& left, HapticsControllerOverrideToken const& right) noexcept + { + return left.Value == right.Value; + } + inline bool operator!=(HapticsControllerOverrideToken const& left, HapticsControllerOverrideToken const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES InputHapticsManager : winrt::Windows::Devices::Haptics::IInputHapticsManager + { + InputHapticsManager(std::nullptr_t) noexcept {} + InputHapticsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Haptics::IInputHapticsManager(ptr, take_ownership_from_abi) {} + static auto IsSupported(); + static auto IsHapticDevicePresent(); + static auto GetForCurrentThread(); + static auto TryGetForThread(uint32_t ThreadId); + }; + struct KnownSimpleHapticsControllerWaveforms + { + KnownSimpleHapticsControllerWaveforms() = delete; + [[nodiscard]] static auto Click(); + [[nodiscard]] static auto BuzzContinuous(); + [[nodiscard]] static auto RumbleContinuous(); + [[nodiscard]] static auto Press(); + [[nodiscard]] static auto Release(); + [[nodiscard]] static auto BrushContinuous(); + [[nodiscard]] static auto ChiselMarkerContinuous(); + [[nodiscard]] static auto EraserContinuous(); + [[nodiscard]] static auto Error(); + [[nodiscard]] static auto GalaxyPenContinuous(); + [[nodiscard]] static auto Hover(); + [[nodiscard]] static auto InkContinuous(); + [[nodiscard]] static auto MarkerContinuous(); + [[nodiscard]] static auto PencilContinuous(); + [[nodiscard]] static auto Success(); + }; + struct WINRT_IMPL_EMPTY_BASES SimpleHapticsController : winrt::Windows::Devices::Haptics::ISimpleHapticsController + { + SimpleHapticsController(std::nullptr_t) noexcept {} + SimpleHapticsController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Haptics::ISimpleHapticsController(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SimpleHapticsControllerFeedback : winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback + { + SimpleHapticsControllerFeedback(std::nullptr_t) noexcept {} + SimpleHapticsControllerFeedback(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VibrationDevice : winrt::Windows::Devices::Haptics::IVibrationDevice + { + VibrationDevice(std::nullptr_t) noexcept {} + VibrationDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Haptics::IVibrationDevice(ptr, take_ownership_from_abi) {} + static auto RequestAccessAsync(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + static auto FindAllAsync(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6f71625e7256f5fba256bbc4ab38fb363e51a5af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.0.h @@ -0,0 +1,481 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_HumanInterfaceDevice_0_H +#define WINRT_Windows_Devices_HumanInterfaceDevice_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + enum class FileAccessMode : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::HumanInterfaceDevice +{ + enum class HidCollectionType : int32_t + { + Physical = 0, + Application = 1, + Logical = 2, + Report = 3, + NamedArray = 4, + UsageSwitch = 5, + UsageModifier = 6, + Other = 7, + }; + enum class HidReportType : int32_t + { + Input = 0, + Output = 1, + Feature = 2, + }; + struct IHidBooleanControl; + struct IHidBooleanControlDescription; + struct IHidBooleanControlDescription2; + struct IHidCollection; + struct IHidDevice; + struct IHidDeviceStatics; + struct IHidFeatureReport; + struct IHidInputReport; + struct IHidInputReportReceivedEventArgs; + struct IHidNumericControl; + struct IHidNumericControlDescription; + struct IHidOutputReport; + struct HidBooleanControl; + struct HidBooleanControlDescription; + struct HidCollection; + struct HidDevice; + struct HidFeatureReport; + struct HidInputReport; + struct HidInputReportReceivedEventArgs; + struct HidNumericControl; + struct HidNumericControlDescription; + struct HidOutputReport; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidBooleanControl"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidBooleanControlDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidCollection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidFeatureReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidInputReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidInputReportReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidNumericControl"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidNumericControlDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidOutputReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidCollectionType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.HidReportType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidBooleanControl"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidBooleanControlDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidBooleanControlDescription2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidCollection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidFeatureReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidInputReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidInputReportReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidNumericControl"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidNumericControlDescription"; + template <> inline constexpr auto& name_v = L"Windows.Devices.HumanInterfaceDevice.IHidOutputReport"; + template <> inline constexpr guid guid_v{ 0x524DF48A,0x3695,0x408C,{ 0xBB,0xA2,0xE2,0xEB,0x5A,0xBF,0xBC,0x20 } }; // 524DF48A-3695-408C-BBA2-E2EB5ABFBC20 + template <> inline constexpr guid guid_v{ 0x6196E543,0x29D8,0x4A2A,{ 0x86,0x83,0x84,0x9E,0x20,0x7B,0xBE,0x31 } }; // 6196E543-29D8-4A2A-8683-849E207BBE31 + template <> inline constexpr guid guid_v{ 0xC8EED2EA,0x8A77,0x4C36,{ 0xAA,0x00,0x5F,0xF0,0x44,0x9D,0x3E,0x73 } }; // C8EED2EA-8A77-4C36-AA00-5FF0449D3E73 + template <> inline constexpr guid guid_v{ 0x7189F5A3,0x32F1,0x46E3,{ 0xBE,0xFD,0x44,0xD2,0x66,0x3B,0x7E,0x6A } }; // 7189F5A3-32F1-46E3-BEFD-44D2663B7E6A + template <> inline constexpr guid guid_v{ 0x5F8A14E7,0x2200,0x432E,{ 0x95,0xDA,0xD0,0x9B,0x87,0xD5,0x74,0xA8 } }; // 5F8A14E7-2200-432E-95DA-D09B87D574A8 + template <> inline constexpr guid guid_v{ 0x9E5981E4,0x9856,0x418C,{ 0x9F,0x73,0x77,0xDE,0x0C,0xD8,0x57,0x54 } }; // 9E5981E4-9856-418C-9F73-77DE0CD85754 + template <> inline constexpr guid guid_v{ 0x841D9B79,0x5AE5,0x46E3,{ 0x82,0xEF,0x1F,0xEC,0x5C,0x89,0x42,0xF4 } }; // 841D9B79-5AE5-46E3-82EF-1FEC5C8942F4 + template <> inline constexpr guid guid_v{ 0xC35D0E50,0xF7E7,0x4E8D,{ 0xB2,0x3E,0xCA,0xBB,0xE5,0x6B,0x90,0xE9 } }; // C35D0E50-F7E7-4E8D-B23E-CABBE56B90E9 + template <> inline constexpr guid guid_v{ 0x7059C5CB,0x59B2,0x4DC2,{ 0x98,0x5C,0x0A,0xDC,0x61,0x36,0xFA,0x2D } }; // 7059C5CB-59B2-4DC2-985C-0ADC6136FA2D + template <> inline constexpr guid guid_v{ 0xE38A12A5,0x35A7,0x4B75,{ 0x89,0xC8,0xFB,0x1F,0x28,0xB1,0x08,0x23 } }; // E38A12A5-35A7-4B75-89C8-FB1F28B10823 + template <> inline constexpr guid guid_v{ 0x638D5E86,0x1D97,0x4C75,{ 0x92,0x7F,0x5F,0xF5,0x8B,0xA0,0x5E,0x32 } }; // 638D5E86-1D97-4C75-927F-5FF58BA05E32 + template <> inline constexpr guid guid_v{ 0x62CB2544,0xC896,0x4463,{ 0x93,0xC1,0xDF,0x9D,0xB0,0x53,0xC4,0x50 } }; // 62CB2544-C896-4463-93C1-DF9DB053C450 + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReportReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsActive(bool) noexcept = 0; + virtual int32_t __stdcall get_ControlDescription(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ParentCollections(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAbsolute(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VendorId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ProductId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Version(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall GetInputReportAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetInputReportByIdAsync(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetFeatureReportAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetFeatureReportByIdAsync(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateOutputReport(void**) noexcept = 0; + virtual int32_t __stdcall CreateOutputReportById(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFeatureReport(void**) noexcept = 0; + virtual int32_t __stdcall CreateFeatureReportById(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall SendOutputReportAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SendFeatureReportAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControlDescriptions(int32_t, uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControlDescriptions(int32_t, uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall add_InputReportReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_InputReportReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorVidPid(uint16_t, uint16_t, uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + virtual int32_t __stdcall GetBooleanControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControlByDescription(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControlByDescription(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall get_ActivatedBooleanControls(void**) noexcept = 0; + virtual int32_t __stdcall get_TransitionedBooleanControls(void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControlByDescription(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControlByDescription(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Report(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsGrouped(bool*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Value(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ScaledValue(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ScaledValue(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ControlDescription(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReportCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LogicalMinimum(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LogicalMaximum(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhysicalMinimum(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhysicalMaximum(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UnitExponent(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Unit(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsAbsolute(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNull(bool*) noexcept = 0; + virtual int32_t __stdcall get_ParentCollections(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + virtual int32_t __stdcall GetBooleanControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControlByDescription(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControl(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControlByDescription(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; + [[nodiscard]] auto ControlDescription() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ReportId() const; + [[nodiscard]] auto ReportType() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto ParentCollections() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2 + { + [[nodiscard]] auto IsAbsolute() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidCollection + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidCollection; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidDevice + { + [[nodiscard]] auto VendorId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + auto GetInputReportAsync() const; + auto GetInputReportAsync(uint16_t reportId) const; + auto GetFeatureReportAsync() const; + auto GetFeatureReportAsync(uint16_t reportId) const; + auto CreateOutputReport() const; + auto CreateOutputReport(uint16_t reportId) const; + auto CreateFeatureReport() const; + auto CreateFeatureReport(uint16_t reportId) const; + auto SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const; + auto SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const; + auto GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; + auto InputReportReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + using InputReportReceived_revoker = impl::event_revoker::remove_InputReportReceived>; + [[nodiscard]] auto InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto InputReportReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidDevice; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics + { + auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const; + auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto ActivatedBooleanControls() const; + [[nodiscard]] auto TransitionedBooleanControls() const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs + { + [[nodiscard]] auto Report() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsGrouped() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto Value() const; + auto Value(int64_t value) const; + [[nodiscard]] auto ScaledValue() const; + auto ScaledValue(int64_t value) const; + [[nodiscard]] auto ControlDescription() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ReportId() const; + [[nodiscard]] auto ReportType() const; + [[nodiscard]] auto ReportSize() const; + [[nodiscard]] auto ReportCount() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto LogicalMinimum() const; + [[nodiscard]] auto LogicalMaximum() const; + [[nodiscard]] auto PhysicalMinimum() const; + [[nodiscard]] auto PhysicalMaximum() const; + [[nodiscard]] auto UnitExponent() const; + [[nodiscard]] auto Unit() const; + [[nodiscard]] auto IsAbsolute() const; + [[nodiscard]] auto HasNull() const; + [[nodiscard]] auto ParentCollections() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription; + }; + template + struct consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0206635f3e04c402dc4db4d0db1683fd697697c3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.1.h @@ -0,0 +1,99 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_HumanInterfaceDevice_1_H +#define WINRT_Windows_Devices_HumanInterfaceDevice_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::HumanInterfaceDevice +{ + struct WINRT_IMPL_EMPTY_BASES IHidBooleanControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidBooleanControl(std::nullptr_t = nullptr) noexcept {} + IHidBooleanControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidBooleanControlDescription : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidBooleanControlDescription(std::nullptr_t = nullptr) noexcept {} + IHidBooleanControlDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidBooleanControlDescription2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidBooleanControlDescription2(std::nullptr_t = nullptr) noexcept {} + IHidBooleanControlDescription2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidCollection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidCollection(std::nullptr_t = nullptr) noexcept {} + IHidCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHidDevice(std::nullptr_t = nullptr) noexcept {} + IHidDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IHidDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidFeatureReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidFeatureReport(std::nullptr_t = nullptr) noexcept {} + IHidFeatureReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidInputReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidInputReport(std::nullptr_t = nullptr) noexcept {} + IHidInputReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidInputReportReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidInputReportReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHidInputReportReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidNumericControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidNumericControl(std::nullptr_t = nullptr) noexcept {} + IHidNumericControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidNumericControlDescription : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidNumericControlDescription(std::nullptr_t = nullptr) noexcept {} + IHidNumericControlDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidOutputReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHidOutputReport(std::nullptr_t = nullptr) noexcept {} + IHidOutputReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6496f53d49d998251b581c3b03f6ea66c5ad81ff --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.humaninterfacedevice.2.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_HumanInterfaceDevice_2_H +#define WINRT_Windows_Devices_HumanInterfaceDevice_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::HumanInterfaceDevice +{ + struct WINRT_IMPL_EMPTY_BASES HidBooleanControl : winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl + { + HidBooleanControl(std::nullptr_t) noexcept {} + HidBooleanControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidBooleanControlDescription : winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription, + impl::require + { + HidBooleanControlDescription(std::nullptr_t) noexcept {} + HidBooleanControlDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidCollection : winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection + { + HidCollection(std::nullptr_t) noexcept {} + HidCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidDevice : winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice + { + HidDevice(std::nullptr_t) noexcept {} + HidDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId); + static auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId); + static auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode); + }; + struct WINRT_IMPL_EMPTY_BASES HidFeatureReport : winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport + { + HidFeatureReport(std::nullptr_t) noexcept {} + HidFeatureReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidInputReport : winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport + { + HidInputReport(std::nullptr_t) noexcept {} + HidInputReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidInputReportReceivedEventArgs : winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReportReceivedEventArgs + { + HidInputReportReceivedEventArgs(std::nullptr_t) noexcept {} + HidInputReportReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReportReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidNumericControl : winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl + { + HidNumericControl(std::nullptr_t) noexcept {} + HidNumericControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidNumericControlDescription : winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription + { + HidNumericControlDescription(std::nullptr_t) noexcept {} + HidNumericControlDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidOutputReport : winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport + { + HidOutputReport(std::nullptr_t) noexcept {} + HidOutputReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.0.h new file mode 100644 index 0000000000000000000000000000000000000000..7eb90b2b05f20593bf612ffd7dcbceec85361b6d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.0.h @@ -0,0 +1,217 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_0_H +#define WINRT_Windows_Devices_I2c_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider +{ + struct II2cProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::I2c +{ + enum class I2cBusSpeed : int32_t + { + StandardMode = 0, + FastMode = 1, + }; + enum class I2cSharingMode : int32_t + { + Exclusive = 0, + Shared = 1, + }; + enum class I2cTransferStatus : int32_t + { + FullTransfer = 0, + PartialTransfer = 1, + SlaveAddressNotAcknowledged = 2, + ClockStretchTimeout = 3, + UnknownError = 4, + }; + struct II2cConnectionSettings; + struct II2cConnectionSettingsFactory; + struct II2cController; + struct II2cControllerStatics; + struct II2cDevice; + struct II2cDeviceStatics; + struct I2cConnectionSettings; + struct I2cController; + struct I2cDevice; + struct I2cTransferResult; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cBusSpeed"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cTransferStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.I2cTransferResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cConnectionSettingsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.II2cDeviceStatics"; + template <> inline constexpr guid guid_v{ 0xF2DB1307,0xAB6F,0x4639,{ 0xA7,0x67,0x54,0x53,0x6D,0xC3,0x46,0x0F } }; // F2DB1307-AB6F-4639-A767-54536DC3460F + template <> inline constexpr guid guid_v{ 0x81B586B3,0x9693,0x41B1,{ 0xA2,0x43,0xDE,0xD4,0xF6,0xE6,0x69,0x26 } }; // 81B586B3-9693-41B1-A243-DED4F6E66926 + template <> inline constexpr guid guid_v{ 0xC48AB1B2,0x87A0,0x4166,{ 0x8E,0x3E,0xB4,0xB8,0xF9,0x7C,0xD7,0x29 } }; // C48AB1B2-87A0-4166-8E3E-B4B8F97CD729 + template <> inline constexpr guid guid_v{ 0x40FC0365,0x5F05,0x4E7E,{ 0x84,0xBD,0x10,0x0D,0xB8,0xE0,0xAE,0xC5 } }; // 40FC0365-5F05-4E7E-84BD-100DB8E0AEC5 + template <> inline constexpr guid guid_v{ 0x8636C136,0xB9C5,0x4F70,{ 0x94,0x49,0xCC,0x46,0xDC,0x6F,0x57,0xEB } }; // 8636C136-B9C5-4F70-9449-CC46DC6F57EB + template <> inline constexpr guid guid_v{ 0x91A33BE3,0x7334,0x4512,{ 0x96,0xBC,0xFB,0xAE,0x94,0x59,0xF5,0xF6 } }; // 91A33BE3-7334-4512-96BC-FBAE9459F5F6 + template <> struct default_interface{ using type = winrt::Windows::Devices::I2c::II2cConnectionSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::I2c::II2cController; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::I2c::II2cDevice; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlaveAddress(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SlaveAddress(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BusSpeed(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_BusSpeed(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SharingMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDevice(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionSettings(void**) noexcept = 0; + virtual int32_t __stdcall Write(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall WritePartial(uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_I2cTransferResult*) noexcept = 0; + virtual int32_t __stdcall Read(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall ReadPartial(uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_I2cTransferResult*) noexcept = 0; + virtual int32_t __stdcall WriteRead(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall WriteReadPartial(uint32_t, uint8_t*, uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_I2cTransferResult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromFriendlyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_I2c_II2cConnectionSettings + { + [[nodiscard]] auto SlaveAddress() const; + auto SlaveAddress(int32_t value) const; + [[nodiscard]] auto BusSpeed() const; + auto BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cConnectionSettings; + }; + template + struct consume_Windows_Devices_I2c_II2cConnectionSettingsFactory + { + auto Create(int32_t slaveAddress) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cConnectionSettingsFactory; + }; + template + struct consume_Windows_Devices_I2c_II2cController + { + auto GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cController; + }; + template + struct consume_Windows_Devices_I2c_II2cControllerStatics + { + auto GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cControllerStatics; + }; + template + struct consume_Windows_Devices_I2c_II2cDevice + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto WritePartial(array_view buffer) const; + auto Read(array_view buffer) const; + auto ReadPartial(array_view buffer) const; + auto WriteRead(array_view writeBuffer, array_view readBuffer) const; + auto WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cDevice; + }; + template + struct consume_Windows_Devices_I2c_II2cDeviceStatics + { + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_II2cDeviceStatics; + }; + struct struct_Windows_Devices_I2c_I2cTransferResult + { + int32_t Status; + uint32_t BytesTransferred; + }; + template <> struct abi + { + using type = struct_Windows_Devices_I2c_I2cTransferResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.1.h new file mode 100644 index 0000000000000000000000000000000000000000..50ed5e9311613d610f76b56b674dd84b318cc1a4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.1.h @@ -0,0 +1,57 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_1_H +#define WINRT_Windows_Devices_I2c_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.I2c.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::I2c +{ + struct WINRT_IMPL_EMPTY_BASES II2cConnectionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cConnectionSettings(std::nullptr_t = nullptr) noexcept {} + II2cConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cConnectionSettingsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cConnectionSettingsFactory(std::nullptr_t = nullptr) noexcept {} + II2cConnectionSettingsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cController(std::nullptr_t = nullptr) noexcept {} + II2cController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cControllerStatics(std::nullptr_t = nullptr) noexcept {} + II2cControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + II2cDevice(std::nullptr_t = nullptr) noexcept {} + II2cDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cDeviceStatics(std::nullptr_t = nullptr) noexcept {} + II2cDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.2.h new file mode 100644 index 0000000000000000000000000000000000000000..c411d8c598f9c3a4b3b3d460d7feb529a3f82b2a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.2.h @@ -0,0 +1,49 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_2_H +#define WINRT_Windows_Devices_I2c_2_H +#include "winrt/impl/Windows.Devices.I2c.Provider.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Devices.I2c.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::I2c +{ + struct I2cTransferResult + { + winrt::Windows::Devices::I2c::I2cTransferStatus Status {}; + uint32_t BytesTransferred {}; + }; + inline bool operator==(I2cTransferResult const& left, I2cTransferResult const& right) noexcept + { + return left.Status == right.Status && left.BytesTransferred == right.BytesTransferred; + } + inline bool operator!=(I2cTransferResult const& left, I2cTransferResult const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES I2cConnectionSettings : winrt::Windows::Devices::I2c::II2cConnectionSettings + { + I2cConnectionSettings(std::nullptr_t) noexcept {} + I2cConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::I2c::II2cConnectionSettings(ptr, take_ownership_from_abi) {} + explicit I2cConnectionSettings(int32_t slaveAddress); + }; + struct WINRT_IMPL_EMPTY_BASES I2cController : winrt::Windows::Devices::I2c::II2cController + { + I2cController(std::nullptr_t) noexcept {} + I2cController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::I2c::II2cController(ptr, take_ownership_from_abi) {} + static auto GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider); + static auto GetDefaultAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES I2cDevice : winrt::Windows::Devices::I2c::II2cDevice + { + I2cDevice(std::nullptr_t) noexcept {} + I2cDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::I2c::II2cDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDeviceSelector(param::hstring const& friendlyName); + static auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c659cc13577e63b923dcad1c60189c92c99b6c1b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.0.h @@ -0,0 +1,155 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_Provider_0_H +#define WINRT_Windows_Devices_I2c_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider +{ + enum class ProviderI2cBusSpeed : int32_t + { + StandardMode = 0, + FastMode = 1, + }; + enum class ProviderI2cSharingMode : int32_t + { + Exclusive = 0, + Shared = 1, + }; + enum class ProviderI2cTransferStatus : int32_t + { + FullTransfer = 0, + PartialTransfer = 1, + SlaveAddressNotAcknowledged = 2, + }; + struct II2cControllerProvider; + struct II2cDeviceProvider; + struct II2cProvider; + struct IProviderI2cConnectionSettings; + struct ProviderI2cConnectionSettings; + struct ProviderI2cTransferResult; +} +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 = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.ProviderI2cConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.ProviderI2cBusSpeed"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.ProviderI2cSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.ProviderI2cTransferStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.ProviderI2cTransferResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.II2cControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.II2cDeviceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.II2cProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.I2c.Provider.IProviderI2cConnectionSettings"; + template <> inline constexpr guid guid_v{ 0x61C2BB82,0x4510,0x4163,{ 0xA8,0x7C,0x4E,0x15,0xA9,0x55,0x89,0x80 } }; // 61C2BB82-4510-4163-A87C-4E15A9558980 + template <> inline constexpr guid guid_v{ 0xAD342654,0x57E8,0x453E,{ 0x83,0x29,0xD1,0xE4,0x47,0xD1,0x03,0xA9 } }; // AD342654-57E8-453E-8329-D1E447D103A9 + template <> inline constexpr guid guid_v{ 0x6F13083E,0xBF62,0x4FE2,{ 0xA9,0x5A,0xF0,0x89,0x99,0x66,0x98,0x18 } }; // 6F13083E-BF62-4FE2-A95A-F08999669818 + template <> inline constexpr guid guid_v{ 0xE9DB4E34,0xE510,0x44B7,{ 0x80,0x9D,0xF2,0xF8,0x5B,0x55,0x53,0x39 } }; // E9DB4E34-E510-44B7-809D-F2F85B555339 + template <> struct default_interface{ using type = winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceProvider(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall Write(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall WritePartial(uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_Provider_ProviderI2cTransferResult*) noexcept = 0; + virtual int32_t __stdcall Read(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall ReadPartial(uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_Provider_ProviderI2cTransferResult*) noexcept = 0; + virtual int32_t __stdcall WriteRead(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall WriteReadPartial(uint32_t, uint8_t*, uint32_t, uint8_t*, struct struct_Windows_Devices_I2c_Provider_ProviderI2cTransferResult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlaveAddress(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SlaveAddress(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BusSpeed(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_BusSpeed(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SharingMode(int32_t) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_I2c_Provider_II2cControllerProvider + { + auto GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_Provider_II2cControllerProvider; + }; + template + struct consume_Windows_Devices_I2c_Provider_II2cDeviceProvider + { + [[nodiscard]] auto DeviceId() const; + auto Write(array_view buffer) const; + auto WritePartial(array_view buffer) const; + auto Read(array_view buffer) const; + auto ReadPartial(array_view buffer) const; + auto WriteRead(array_view writeBuffer, array_view readBuffer) const; + auto WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_Provider_II2cDeviceProvider; + }; + template + struct consume_Windows_Devices_I2c_Provider_II2cProvider + { + auto GetControllersAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_Provider_II2cProvider; + }; + template + struct consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings + { + [[nodiscard]] auto SlaveAddress() const; + auto SlaveAddress(int32_t value) const; + [[nodiscard]] auto BusSpeed() const; + auto BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings; + }; + struct struct_Windows_Devices_I2c_Provider_ProviderI2cTransferResult + { + int32_t Status; + uint32_t BytesTransferred; + }; + template <> struct abi + { + using type = struct_Windows_Devices_I2c_Provider_ProviderI2cTransferResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7c748567590014fac20e48907dc18b03a9d26b99 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.1.h @@ -0,0 +1,43 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_Provider_1_H +#define WINRT_Windows_Devices_I2c_Provider_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.I2c.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider +{ + struct WINRT_IMPL_EMPTY_BASES II2cControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cControllerProvider(std::nullptr_t = nullptr) noexcept {} + II2cControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cDeviceProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + II2cDeviceProvider(std::nullptr_t = nullptr) noexcept {} + II2cDeviceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES II2cProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + II2cProvider(std::nullptr_t = nullptr) noexcept {} + II2cProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProviderI2cConnectionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProviderI2cConnectionSettings(std::nullptr_t = nullptr) noexcept {} + IProviderI2cConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2698960e2f2b4c972e21e27b010e9f6dd963ea5a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.i2c.provider.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_I2c_Provider_2_H +#define WINRT_Windows_Devices_I2c_Provider_2_H +#include "winrt/impl/Windows.Devices.I2c.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider +{ + struct ProviderI2cTransferResult + { + winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferStatus Status {}; + uint32_t BytesTransferred {}; + }; + inline bool operator==(ProviderI2cTransferResult const& left, ProviderI2cTransferResult const& right) noexcept + { + return left.Status == right.Status && left.BytesTransferred == right.BytesTransferred; + } + inline bool operator!=(ProviderI2cTransferResult const& left, ProviderI2cTransferResult const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES ProviderI2cConnectionSettings : winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings + { + ProviderI2cConnectionSettings(std::nullptr_t) noexcept {} + ProviderI2cConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.0.h new file mode 100644 index 0000000000000000000000000000000000000000..67d25e95621f4e08c2b17a6b3f31c7c1d0247e32 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.0.h @@ -0,0 +1,598 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_0_H +#define WINRT_Windows_Devices_Input_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Haptics +{ + struct SimpleHapticsController; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Input +{ + enum class PointerDeviceType : int32_t + { + Touch = 0, + Pen = 1, + Mouse = 2, + Touchpad = 3, + }; + struct IKeyboardCapabilities; + struct IMouseCapabilities; + struct IMouseDevice; + struct IMouseDeviceStatics; + struct IMouseEventArgs; + struct IPenButtonListener; + struct IPenButtonListenerStatics; + struct IPenDevice; + struct IPenDevice2; + struct IPenDeviceStatics; + struct IPenDockListener; + struct IPenDockListenerStatics; + struct IPenDockedEventArgs; + struct IPenTailButtonClickedEventArgs; + struct IPenTailButtonDoubleClickedEventArgs; + struct IPenTailButtonLongPressedEventArgs; + struct IPenUndockedEventArgs; + struct IPointerDevice; + struct IPointerDevice2; + struct IPointerDeviceStatics; + struct ITouchCapabilities; + struct KeyboardCapabilities; + struct MouseCapabilities; + struct MouseDevice; + struct MouseEventArgs; + struct PenButtonListener; + struct PenDevice; + struct PenDockListener; + struct PenDockedEventArgs; + struct PenTailButtonClickedEventArgs; + struct PenTailButtonDoubleClickedEventArgs; + struct PenTailButtonLongPressedEventArgs; + struct PenUndockedEventArgs; + struct PointerDevice; + struct TouchCapabilities; + struct MouseDelta; + struct PointerDeviceUsage; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.KeyboardCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.MouseCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.MouseDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.MouseEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenButtonListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenDockListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenDockedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenTailButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenTailButtonDoubleClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenTailButtonLongPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PenUndockedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PointerDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.TouchCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PointerDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.MouseDelta"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.PointerDeviceUsage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IKeyboardCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IMouseCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IMouseDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IMouseDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IMouseEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenButtonListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenButtonListenerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDockListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDockListenerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenDockedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenTailButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenTailButtonDoubleClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenTailButtonLongPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPenUndockedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPointerDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPointerDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.IPointerDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.ITouchCapabilities"; + template <> inline constexpr guid guid_v{ 0x3A3F9B56,0x6798,0x4BBC,{ 0x83,0x3E,0x0F,0x34,0xB1,0x7C,0x65,0xFF } }; // 3A3F9B56-6798-4BBC-833E-0F34B17C65FF + template <> inline constexpr guid guid_v{ 0xBCA5E023,0x7DD9,0x4B6B,{ 0x9A,0x92,0x55,0xD4,0x3C,0xB3,0x8F,0x73 } }; // BCA5E023-7DD9-4B6B-9A92-55D43CB38F73 + template <> inline constexpr guid guid_v{ 0x88EDF458,0xF2C8,0x49F4,{ 0xBE,0x1F,0xC2,0x56,0xB3,0x88,0xBC,0x11 } }; // 88EDF458-F2C8-49F4-BE1F-C256B388BC11 + template <> inline constexpr guid guid_v{ 0x484A9045,0x6D70,0x49DB,{ 0x8E,0x68,0x46,0xFF,0xBD,0x17,0xD3,0x8D } }; // 484A9045-6D70-49DB-8E68-46FFBD17D38D + template <> inline constexpr guid guid_v{ 0xF625AA5D,0x2354,0x4CC7,{ 0x92,0x30,0x96,0x94,0x1C,0x96,0x9F,0xDE } }; // F625AA5D-2354-4CC7-9230-96941C969FDE + template <> inline constexpr guid guid_v{ 0x8245C376,0x1EE3,0x53F7,{ 0xB1,0xF7,0x83,0x34,0xA1,0x6F,0x28,0x15 } }; // 8245C376-1EE3-53F7-B1F7-8334A16F2815 + template <> inline constexpr guid guid_v{ 0x19A8A584,0x862F,0x5F69,{ 0xBF,0xEA,0x05,0xF6,0x58,0x4F,0x13,0x3F } }; // 19A8A584-862F-5F69-BFEA-05F6584F133F + template <> inline constexpr guid guid_v{ 0x31856EBA,0xA738,0x5A8C,{ 0xB8,0xF6,0xF9,0x7E,0xF6,0x8D,0x18,0xEF } }; // 31856EBA-A738-5A8C-B8F6-F97EF68D18EF + template <> inline constexpr guid guid_v{ 0x0207D327,0x7FB8,0x5566,{ 0x8C,0x34,0xF8,0x34,0x20,0x37,0xB7,0xF9 } }; // 0207D327-7FB8-5566-8C34-F8342037B7F9 + template <> inline constexpr guid guid_v{ 0x9DFBBE01,0x0966,0x5180,{ 0xBC,0xB4,0xB8,0x50,0x60,0xE3,0x94,0x79 } }; // 9DFBBE01-0966-5180-BCB4-B85060E39479 + template <> inline constexpr guid guid_v{ 0x759F4D90,0x1DC0,0x55CB,{ 0xAD,0x18,0xB9,0x10,0x14,0x56,0xF5,0x92 } }; // 759F4D90-1DC0-55CB-AD18-B9101456F592 + template <> inline constexpr guid guid_v{ 0xCAB75E9A,0x0016,0x5C72,{ 0x96,0x9E,0xA9,0x7E,0x11,0x99,0x2A,0x93 } }; // CAB75E9A-0016-5C72-969E-A97E11992A93 + template <> inline constexpr guid guid_v{ 0xFD4277C6,0xCA63,0x5D4E,{ 0x9E,0xD3,0xA2,0x8A,0x54,0x52,0x1C,0x8C } }; // FD4277C6-CA63-5D4E-9ED3-A28A54521C8C + template <> inline constexpr guid guid_v{ 0x5D2FB7B6,0x6AD3,0x5D3E,{ 0xAB,0x29,0x05,0xEA,0x24,0x10,0xE3,0x90 } }; // 5D2FB7B6-6AD3-5D3E-AB29-05EA2410E390 + template <> inline constexpr guid guid_v{ 0x846321A2,0x618A,0x5478,{ 0xB0,0x4C,0xB3,0x58,0x23,0x1D,0xA4,0xA7 } }; // 846321A2-618A-5478-B04C-B358231DA4A7 + template <> inline constexpr guid guid_v{ 0xF37C606E,0xC60A,0x5F42,{ 0xB8,0x18,0xA5,0x31,0x12,0x40,0x6C,0x13 } }; // F37C606E-C60A-5F42-B818-A53112406C13 + template <> inline constexpr guid guid_v{ 0xCCD09150,0x261B,0x59E6,{ 0xA5,0xD4,0xC1,0x96,0x4C,0xD0,0x3F,0xEB } }; // CCD09150-261B-59E6-A5D4-C1964CD03FEB + template <> inline constexpr guid guid_v{ 0x93C9BAFC,0xEBCB,0x467E,{ 0x82,0xC6,0x27,0x6F,0xEA,0xE3,0x6B,0x5A } }; // 93C9BAFC-EBCB-467E-82C6-276FEAE36B5A + template <> inline constexpr guid guid_v{ 0xF8A6D2A0,0xC484,0x489F,{ 0xAE,0x3E,0x30,0xD2,0xEE,0x1F,0xFD,0x3E } }; // F8A6D2A0-C484-489F-AE3E-30D2EE1FFD3E + template <> inline constexpr guid guid_v{ 0xD8B89AA1,0xD1C6,0x416E,{ 0xBD,0x8D,0x57,0x90,0x91,0x4D,0xC5,0x63 } }; // D8B89AA1-D1C6-416E-BD8D-5790914DC563 + template <> inline constexpr guid guid_v{ 0x20DD55F9,0x13F1,0x46C8,{ 0x92,0x85,0x2C,0x05,0xFA,0x3E,0xDA,0x6F } }; // 20DD55F9-13F1-46C8-9285-2C05FA3EDA6F + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IKeyboardCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IMouseCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IMouseDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IMouseEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenButtonListener; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenDockListener; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenDockedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenTailButtonClickedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenTailButtonDoubleClickedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenTailButtonLongPressedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPenUndockedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::IPointerDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::ITouchCapabilities; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_KeyboardPresent(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MousePresent(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_VerticalWheelPresent(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_HorizontalWheelPresent(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SwapButtons(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfButtons(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MouseMoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MouseMoved(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MouseDelta(struct struct_Windows_Devices_Input_MouseDelta*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall add_IsSupportedChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsSupportedChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TailButtonClicked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TailButtonClicked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TailButtonDoubleClicked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TailButtonDoubleClicked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TailButtonLongPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TailButtonLongPressed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PenId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SimpleHapticsController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFromPointerId(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall add_IsSupportedChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsSupportedChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Docked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Docked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Undocked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Undocked(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PointerDeviceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsIntegrated(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxContacts(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_ScreenRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_SupportedUsages(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPointersWithZDistance(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPointerDevice(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetPointerDevices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TouchPresent(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Contacts(uint32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Input_IKeyboardCapabilities + { + [[nodiscard]] auto KeyboardPresent() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IKeyboardCapabilities; + }; + template + struct consume_Windows_Devices_Input_IMouseCapabilities + { + [[nodiscard]] auto MousePresent() const; + [[nodiscard]] auto VerticalWheelPresent() const; + [[nodiscard]] auto HorizontalWheelPresent() const; + [[nodiscard]] auto SwapButtons() const; + [[nodiscard]] auto NumberOfButtons() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IMouseCapabilities; + }; + template + struct consume_Windows_Devices_Input_IMouseDevice + { + auto MouseMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MouseMoved_revoker = impl::event_revoker::remove_MouseMoved>; + [[nodiscard]] auto MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MouseMoved(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IMouseDevice; + }; + template + struct consume_Windows_Devices_Input_IMouseDeviceStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IMouseDeviceStatics; + }; + template + struct consume_Windows_Devices_Input_IMouseEventArgs + { + [[nodiscard]] auto MouseDelta() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IMouseEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPenButtonListener + { + auto IsSupported() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TailButtonClicked_revoker = impl::event_revoker::remove_TailButtonClicked>; + [[nodiscard]] auto TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonClicked(winrt::event_token const& token) const noexcept; + auto TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TailButtonDoubleClicked_revoker = impl::event_revoker::remove_TailButtonDoubleClicked>; + [[nodiscard]] auto TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonDoubleClicked(winrt::event_token const& token) const noexcept; + auto TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TailButtonLongPressed_revoker = impl::event_revoker::remove_TailButtonLongPressed>; + [[nodiscard]] auto TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonLongPressed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenButtonListener; + }; + template + struct consume_Windows_Devices_Input_IPenButtonListenerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenButtonListenerStatics; + }; + template + struct consume_Windows_Devices_Input_IPenDevice + { + [[nodiscard]] auto PenId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDevice; + }; + template + struct consume_Windows_Devices_Input_IPenDevice2 + { + [[nodiscard]] auto SimpleHapticsController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDevice2; + }; + template + struct consume_Windows_Devices_Input_IPenDeviceStatics + { + auto GetFromPointerId(uint32_t pointerId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDeviceStatics; + }; + template + struct consume_Windows_Devices_Input_IPenDockListener + { + auto IsSupported() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto Docked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Docked_revoker = impl::event_revoker::remove_Docked>; + [[nodiscard]] auto Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Docked(winrt::event_token const& token) const noexcept; + auto Undocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Undocked_revoker = impl::event_revoker::remove_Undocked>; + [[nodiscard]] auto Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Undocked(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDockListener; + }; + template + struct consume_Windows_Devices_Input_IPenDockListenerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDockListenerStatics; + }; + template + struct consume_Windows_Devices_Input_IPenDockedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenDockedEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPenTailButtonClickedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenTailButtonClickedEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPenTailButtonDoubleClickedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenTailButtonDoubleClickedEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPenTailButtonLongPressedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenTailButtonLongPressedEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPenUndockedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPenUndockedEventArgs; + }; + template + struct consume_Windows_Devices_Input_IPointerDevice + { + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto IsIntegrated() const; + [[nodiscard]] auto MaxContacts() const; + [[nodiscard]] auto PhysicalDeviceRect() const; + [[nodiscard]] auto ScreenRect() const; + [[nodiscard]] auto SupportedUsages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPointerDevice; + }; + template + struct consume_Windows_Devices_Input_IPointerDevice2 + { + [[nodiscard]] auto MaxPointersWithZDistance() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPointerDevice2; + }; + template + struct consume_Windows_Devices_Input_IPointerDeviceStatics + { + auto GetPointerDevice(uint32_t pointerId) const; + auto GetPointerDevices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_IPointerDeviceStatics; + }; + template + struct consume_Windows_Devices_Input_ITouchCapabilities + { + [[nodiscard]] auto TouchPresent() const; + [[nodiscard]] auto Contacts() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_ITouchCapabilities; + }; + struct struct_Windows_Devices_Input_MouseDelta + { + int32_t X; + int32_t Y; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Input_MouseDelta; + }; + struct struct_Windows_Devices_Input_PointerDeviceUsage + { + uint32_t UsagePage; + uint32_t Usage; + int32_t MinLogical; + int32_t MaxLogical; + int32_t MinPhysical; + int32_t MaxPhysical; + uint32_t Unit; + float PhysicalMultiplier; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Input_PointerDeviceUsage; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8ff6f8472dc32de284e892b8c14e2874bbd8b087 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.1.h @@ -0,0 +1,160 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_1_H +#define WINRT_Windows_Devices_Input_1_H +#include "winrt/impl/Windows.Devices.Input.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Input +{ + struct WINRT_IMPL_EMPTY_BASES IKeyboardCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyboardCapabilities(std::nullptr_t = nullptr) noexcept {} + IKeyboardCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMouseCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMouseCapabilities(std::nullptr_t = nullptr) noexcept {} + IMouseCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMouseDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMouseDevice(std::nullptr_t = nullptr) noexcept {} + IMouseDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMouseDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMouseDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IMouseDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMouseEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMouseEventArgs(std::nullptr_t = nullptr) noexcept {} + IMouseEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenButtonListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenButtonListener(std::nullptr_t = nullptr) noexcept {} + IPenButtonListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenButtonListenerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenButtonListenerStatics(std::nullptr_t = nullptr) noexcept {} + IPenButtonListenerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDevice(std::nullptr_t = nullptr) noexcept {} + IPenDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDevice2(std::nullptr_t = nullptr) noexcept {} + IPenDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IPenDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDockListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDockListener(std::nullptr_t = nullptr) noexcept {} + IPenDockListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDockListenerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDockListenerStatics(std::nullptr_t = nullptr) noexcept {} + IPenDockListenerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenDockedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenDockedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPenDockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenTailButtonClickedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenTailButtonClickedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPenTailButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenTailButtonDoubleClickedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenTailButtonDoubleClickedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPenTailButtonDoubleClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenTailButtonLongPressedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenTailButtonLongPressedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPenTailButtonLongPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPenUndockedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenUndockedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPenUndockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPointerDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPointerDevice(std::nullptr_t = nullptr) noexcept {} + IPointerDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPointerDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPointerDevice2(std::nullptr_t = nullptr) noexcept {} + IPointerDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPointerDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPointerDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IPointerDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITouchCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITouchCapabilities(std::nullptr_t = nullptr) noexcept {} + ITouchCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8033c0db7a9b23e1573b5dbf81bc473819d49c11 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.2.h @@ -0,0 +1,126 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_2_H +#define WINRT_Windows_Devices_Input_2_H +#include "winrt/impl/Windows.Devices.Input.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Input +{ + struct MouseDelta + { + int32_t X {}; + int32_t Y {}; + }; + inline bool operator==(MouseDelta const& left, MouseDelta const& right) noexcept + { + return left.X == right.X && left.Y == right.Y; + } + inline bool operator!=(MouseDelta const& left, MouseDelta const& right) noexcept + { + return !(left == right); + } + struct PointerDeviceUsage + { + uint32_t UsagePage {}; + uint32_t Usage {}; + int32_t MinLogical {}; + int32_t MaxLogical {}; + int32_t MinPhysical {}; + int32_t MaxPhysical {}; + uint32_t Unit {}; + float PhysicalMultiplier {}; + }; + inline bool operator==(PointerDeviceUsage const& left, PointerDeviceUsage const& right) noexcept + { + return left.UsagePage == right.UsagePage && left.Usage == right.Usage && left.MinLogical == right.MinLogical && left.MaxLogical == right.MaxLogical && left.MinPhysical == right.MinPhysical && left.MaxPhysical == right.MaxPhysical && left.Unit == right.Unit && left.PhysicalMultiplier == right.PhysicalMultiplier; + } + inline bool operator!=(PointerDeviceUsage const& left, PointerDeviceUsage const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES KeyboardCapabilities : winrt::Windows::Devices::Input::IKeyboardCapabilities + { + KeyboardCapabilities(std::nullptr_t) noexcept {} + KeyboardCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IKeyboardCapabilities(ptr, take_ownership_from_abi) {} + KeyboardCapabilities(); + }; + struct WINRT_IMPL_EMPTY_BASES MouseCapabilities : winrt::Windows::Devices::Input::IMouseCapabilities + { + MouseCapabilities(std::nullptr_t) noexcept {} + MouseCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseCapabilities(ptr, take_ownership_from_abi) {} + MouseCapabilities(); + }; + struct WINRT_IMPL_EMPTY_BASES MouseDevice : winrt::Windows::Devices::Input::IMouseDevice + { + MouseDevice(std::nullptr_t) noexcept {} + MouseDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseDevice(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES MouseEventArgs : winrt::Windows::Devices::Input::IMouseEventArgs + { + MouseEventArgs(std::nullptr_t) noexcept {} + MouseEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PenButtonListener : winrt::Windows::Devices::Input::IPenButtonListener + { + PenButtonListener(std::nullptr_t) noexcept {} + PenButtonListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenButtonListener(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES PenDevice : winrt::Windows::Devices::Input::IPenDevice, + impl::require + { + PenDevice(std::nullptr_t) noexcept {} + PenDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDevice(ptr, take_ownership_from_abi) {} + static auto GetFromPointerId(uint32_t pointerId); + }; + struct WINRT_IMPL_EMPTY_BASES PenDockListener : winrt::Windows::Devices::Input::IPenDockListener + { + PenDockListener(std::nullptr_t) noexcept {} + PenDockListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDockListener(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES PenDockedEventArgs : winrt::Windows::Devices::Input::IPenDockedEventArgs + { + PenDockedEventArgs(std::nullptr_t) noexcept {} + PenDockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDockedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PenTailButtonClickedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonClickedEventArgs + { + PenTailButtonClickedEventArgs(std::nullptr_t) noexcept {} + PenTailButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonClickedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PenTailButtonDoubleClickedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonDoubleClickedEventArgs + { + PenTailButtonDoubleClickedEventArgs(std::nullptr_t) noexcept {} + PenTailButtonDoubleClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonDoubleClickedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PenTailButtonLongPressedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonLongPressedEventArgs + { + PenTailButtonLongPressedEventArgs(std::nullptr_t) noexcept {} + PenTailButtonLongPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonLongPressedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PenUndockedEventArgs : winrt::Windows::Devices::Input::IPenUndockedEventArgs + { + PenUndockedEventArgs(std::nullptr_t) noexcept {} + PenUndockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenUndockedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PointerDevice : winrt::Windows::Devices::Input::IPointerDevice, + impl::require + { + PointerDevice(std::nullptr_t) noexcept {} + PointerDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPointerDevice(ptr, take_ownership_from_abi) {} + static auto GetPointerDevice(uint32_t pointerId); + static auto GetPointerDevices(); + }; + struct WINRT_IMPL_EMPTY_BASES TouchCapabilities : winrt::Windows::Devices::Input::ITouchCapabilities + { + TouchCapabilities(std::nullptr_t) noexcept {} + TouchCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::ITouchCapabilities(ptr, take_ownership_from_abi) {} + TouchCapabilities(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c69ef73e46de7706f04364a354a89c5488b0637d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.0.h @@ -0,0 +1,372 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_Preview_0_H +#define WINRT_Windows_Devices_Input_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::HumanInterfaceDevice +{ + struct HidInputReport; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Input::Preview +{ + enum class GazeDeviceConfigurationStatePreview : int32_t + { + Unknown = 0, + Ready = 1, + Configuring = 2, + ScreenSetupNeeded = 3, + UserCalibrationNeeded = 4, + }; + struct IGazeDevicePreview; + struct IGazeDeviceWatcherAddedPreviewEventArgs; + struct IGazeDeviceWatcherPreview; + struct IGazeDeviceWatcherRemovedPreviewEventArgs; + struct IGazeDeviceWatcherUpdatedPreviewEventArgs; + struct IGazeEnteredPreviewEventArgs; + struct IGazeExitedPreviewEventArgs; + struct IGazeInputSourcePreview; + struct IGazeInputSourcePreviewStatics; + struct IGazeMovedPreviewEventArgs; + struct IGazePointPreview; + struct GazeDevicePreview; + struct GazeDeviceWatcherAddedPreviewEventArgs; + struct GazeDeviceWatcherPreview; + struct GazeDeviceWatcherRemovedPreviewEventArgs; + struct GazeDeviceWatcherUpdatedPreviewEventArgs; + struct GazeEnteredPreviewEventArgs; + struct GazeExitedPreviewEventArgs; + struct GazeInputSourcePreview; + struct GazeMovedPreviewEventArgs; + struct GazePointPreview; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDevicePreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDeviceWatcherAddedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDeviceWatcherPreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDeviceWatcherRemovedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDeviceWatcherUpdatedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeEnteredPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeExitedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeInputSourcePreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeMovedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazePointPreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.GazeDeviceConfigurationStatePreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeDevicePreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeDeviceWatcherAddedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeDeviceWatcherPreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeDeviceWatcherRemovedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeDeviceWatcherUpdatedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeEnteredPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeExitedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeInputSourcePreview"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeInputSourcePreviewStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazeMovedPreviewEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Input.Preview.IGazePointPreview"; + template <> inline constexpr guid guid_v{ 0xE79E7EE9,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EE9-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xE79E7EED,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EED-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xE79E7EE7,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EE7-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xF2631F08,0x0E3F,0x431F,{ 0xA6,0x06,0x50,0xB3,0x5A,0xF9,0x4A,0x1C } }; // F2631F08-0E3F-431F-A606-50B35AF94A1C + template <> inline constexpr guid guid_v{ 0x7FE830EF,0x7F08,0x4737,{ 0x88,0xE1,0x4A,0x83,0xAE,0x4E,0x48,0x85 } }; // 7FE830EF-7F08-4737-88E1-4A83AE4E4885 + template <> inline constexpr guid guid_v{ 0x2567BF43,0x1225,0x489F,{ 0x9D,0xD1,0xDA,0xA7,0xC5,0x0F,0xBF,0x4B } }; // 2567BF43-1225-489F-9DD1-DAA7C50FBF4B + template <> inline constexpr guid guid_v{ 0x5D0AF07E,0x7D83,0x40EF,{ 0x9F,0x0A,0xFB,0xC1,0xBB,0xDC,0xC5,0xAC } }; // 5D0AF07E-7D83-40EF-9F0A-FBC1BBDCC5AC + template <> inline constexpr guid guid_v{ 0xE79E7EE8,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EE8-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xE79E7EE6,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EE6-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xE79E7EEB,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EEB-B389-11E7-B201-C8D3FFB75721 + template <> inline constexpr guid guid_v{ 0xE79E7EEA,0xB389,0x11E7,{ 0xB2,0x01,0xC8,0xD3,0xFF,0xB7,0x57,0x21 } }; // E79E7EEA-B389-11E7-B201-C8D3FFB75721 + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeDevicePreview; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherAddedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherRemovedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherUpdatedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Input::Preview::IGazePointPreview; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanTrackEyes(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanTrackHead(bool*) noexcept = 0; + virtual int32_t __stdcall get_ConfigurationState(int32_t*) noexcept = 0; + virtual int32_t __stdcall RequestCalibrationAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetNumericControlDescriptions(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanControlDescriptions(uint16_t, uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentPoint(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentPoint(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_GazeMoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GazeMoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GazeEntered(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GazeEntered(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GazeExited(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GazeExited(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentPoint(void**) noexcept = 0; + virtual int32_t __stdcall GetIntermediatePoints(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceDevice(void**) noexcept = 0; + virtual int32_t __stdcall get_EyeGazePosition(void**) noexcept = 0; + virtual int32_t __stdcall get_HeadGazePosition(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_HidInputReport(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeDevicePreview + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto CanTrackEyes() const; + [[nodiscard]] auto CanTrackHead() const; + [[nodiscard]] auto ConfigurationState() const; + auto RequestCalibrationAsync() const; + auto GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeDevicePreview; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview + { + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview + { + auto GazeMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using GazeMoved_revoker = impl::event_revoker::remove_GazeMoved>; + [[nodiscard]] auto GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeMoved(winrt::event_token const& token) const noexcept; + auto GazeEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using GazeEntered_revoker = impl::event_revoker::remove_GazeEntered>; + [[nodiscard]] auto GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeEntered(winrt::event_token const& token) const noexcept; + auto GazeExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using GazeExited_revoker = impl::event_revoker::remove_GazeExited>; + [[nodiscard]] auto GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeExited(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics + { + auto GetForCurrentView() const; + auto CreateWatcher() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; + auto GetIntermediatePoints() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs; + }; + template + struct consume_Windows_Devices_Input_Preview_IGazePointPreview + { + [[nodiscard]] auto SourceDevice() const; + [[nodiscard]] auto EyeGazePosition() const; + [[nodiscard]] auto HeadGazePosition() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto HidInputReport() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Input_Preview_IGazePointPreview; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..86abae2d3faa190e760ddd6e8e566f983ff58a31 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.1.h @@ -0,0 +1,90 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_Preview_1_H +#define WINRT_Windows_Devices_Input_Preview_1_H +#include "winrt/impl/Windows.Devices.Input.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Input::Preview +{ + struct WINRT_IMPL_EMPTY_BASES IGazeDevicePreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeDevicePreview(std::nullptr_t = nullptr) noexcept {} + IGazeDevicePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeDeviceWatcherAddedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeDeviceWatcherAddedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeDeviceWatcherAddedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeDeviceWatcherPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeDeviceWatcherPreview(std::nullptr_t = nullptr) noexcept {} + IGazeDeviceWatcherPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeDeviceWatcherRemovedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeDeviceWatcherRemovedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeDeviceWatcherRemovedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeDeviceWatcherUpdatedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeDeviceWatcherUpdatedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeDeviceWatcherUpdatedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeEnteredPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeEnteredPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeEnteredPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeExitedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeExitedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeExitedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeInputSourcePreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeInputSourcePreview(std::nullptr_t = nullptr) noexcept {} + IGazeInputSourcePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeInputSourcePreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeInputSourcePreviewStatics(std::nullptr_t = nullptr) noexcept {} + IGazeInputSourcePreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazeMovedPreviewEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazeMovedPreviewEventArgs(std::nullptr_t = nullptr) noexcept {} + IGazeMovedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGazePointPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGazePointPreview(std::nullptr_t = nullptr) noexcept {} + IGazePointPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1d1585131c07b1799ec810c1825d5bb658f8ec4f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.input.preview.2.h @@ -0,0 +1,65 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Input_Preview_2_H +#define WINRT_Windows_Devices_Input_Preview_2_H +#include "winrt/impl/Windows.Devices.Input.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Input::Preview +{ + struct WINRT_IMPL_EMPTY_BASES GazeDevicePreview : winrt::Windows::Devices::Input::Preview::IGazeDevicePreview + { + GazeDevicePreview(std::nullptr_t) noexcept {} + GazeDevicePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeDevicePreview(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeDeviceWatcherAddedPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherAddedPreviewEventArgs + { + GazeDeviceWatcherAddedPreviewEventArgs(std::nullptr_t) noexcept {} + GazeDeviceWatcherAddedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherAddedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeDeviceWatcherPreview : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview + { + GazeDeviceWatcherPreview(std::nullptr_t) noexcept {} + GazeDeviceWatcherPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeDeviceWatcherRemovedPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherRemovedPreviewEventArgs + { + GazeDeviceWatcherRemovedPreviewEventArgs(std::nullptr_t) noexcept {} + GazeDeviceWatcherRemovedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherRemovedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeDeviceWatcherUpdatedPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherUpdatedPreviewEventArgs + { + GazeDeviceWatcherUpdatedPreviewEventArgs(std::nullptr_t) noexcept {} + GazeDeviceWatcherUpdatedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherUpdatedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeEnteredPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs + { + GazeEnteredPreviewEventArgs(std::nullptr_t) noexcept {} + GazeEnteredPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeExitedPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs + { + GazeExitedPreviewEventArgs(std::nullptr_t) noexcept {} + GazeExitedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazeInputSourcePreview : winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview + { + GazeInputSourcePreview(std::nullptr_t) noexcept {} + GazeInputSourcePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto CreateWatcher(); + }; + struct WINRT_IMPL_EMPTY_BASES GazeMovedPreviewEventArgs : winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs + { + GazeMovedPreviewEventArgs(std::nullptr_t) noexcept {} + GazeMovedPreviewEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GazePointPreview : winrt::Windows::Devices::Input::Preview::IGazePointPreview + { + GazePointPreview(std::nullptr_t) noexcept {} + GazePointPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::Preview::IGazePointPreview(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9b1862acce1d4bb4646cb3c6ab1e68c9d424b9d3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.0.h @@ -0,0 +1,323 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_0_H +#define WINRT_Windows_Devices_Lights_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + enum class VirtualKey : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Lights +{ + enum class LampArrayKind : int32_t + { + Undefined = 0, + Keyboard = 1, + Mouse = 2, + GameController = 3, + Peripheral = 4, + Scene = 5, + Notification = 6, + Chassis = 7, + Wearable = 8, + Furniture = 9, + Art = 10, + Headset = 11, + Microphone = 12, + Speaker = 13, + }; + enum class LampPurposes : uint32_t + { + Undefined = 0, + Control = 0x1, + Accent = 0x2, + Branding = 0x4, + Status = 0x8, + Illumination = 0x10, + Presentation = 0x20, + }; + struct ILamp; + struct ILampArray; + struct ILampArray2; + struct ILampArrayStatics; + struct ILampAvailabilityChangedEventArgs; + struct ILampInfo; + struct ILampStatics; + struct Lamp; + struct LampArray; + struct LampAvailabilityChangedEventArgs; + struct LampInfo; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Lamp"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.LampArray"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.LampAvailabilityChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.LampInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.LampArrayKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.LampPurposes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILamp"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampArray"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampArray2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampArrayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampAvailabilityChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.ILampStatics"; + template <> inline constexpr guid guid_v{ 0x047D5B9A,0xEA45,0x4B2B,{ 0xB1,0xA2,0x14,0xDF,0xF0,0x0B,0xDE,0x7B } }; // 047D5B9A-EA45-4B2B-B1A2-14DFF00BDE7B + template <> inline constexpr guid guid_v{ 0x7ACE9787,0xC8A0,0x4E95,{ 0xA1,0xE0,0xD5,0x86,0x76,0x53,0x86,0x49 } }; // 7ACE9787-C8A0-4E95-A1E0-D58676538649 + template <> inline constexpr guid guid_v{ 0x050C181F,0x60A8,0x4711,{ 0xA1,0xAF,0x1B,0x1B,0x4C,0x65,0x8E,0xA2 } }; // 050C181F-60A8-4711-A1AF-1B1B4C658EA2 + template <> inline constexpr guid guid_v{ 0x7BB8C98D,0x5FC1,0x452D,{ 0xBB,0x1F,0x4A,0xD4,0x10,0xD3,0x98,0xFF } }; // 7BB8C98D-5FC1-452D-BB1F-4AD410D398FF + template <> inline constexpr guid guid_v{ 0x4F6E3DED,0x07A2,0x499D,{ 0x92,0x60,0x67,0xE3,0x04,0x53,0x2B,0xA4 } }; // 4F6E3DED-07A2-499D-9260-67E304532BA4 + template <> inline constexpr guid guid_v{ 0x30BB521C,0x0ACF,0x49DA,{ 0x8C,0x10,0x15,0x0B,0x9C,0xF6,0x27,0x13 } }; // 30BB521C-0ACF-49DA-8C10-150B9CF62713 + template <> inline constexpr guid guid_v{ 0xA822416C,0x8885,0x401E,{ 0xB8,0x21,0x8E,0x8B,0x38,0xA8,0xE8,0xEC } }; // A822416C-8885-401E-B821-8E8B38A8E8EC + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::ILamp; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::ILampArray; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::ILampInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_BrightnessLevel(float*) noexcept = 0; + virtual int32_t __stdcall put_BrightnessLevel(float) noexcept = 0; + virtual int32_t __stdcall get_IsColorSettable(bool*) noexcept = 0; + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall add_AvailabilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailabilityChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_HardwareVendorId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareProductId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareVersion(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_LampArrayKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LampCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinUpdateInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_BoundingBox(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_BrightnessLevel(double*) noexcept = 0; + virtual int32_t __stdcall put_BrightnessLevel(double) noexcept = 0; + virtual int32_t __stdcall get_IsConnected(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportsVirtualKeys(bool*) noexcept = 0; + virtual int32_t __stdcall GetLampInfo(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetIndicesForKey(int32_t, uint32_t* __resultSize, int32_t**) noexcept = 0; + virtual int32_t __stdcall GetIndicesForPurposes(uint32_t, uint32_t* __resultSize, int32_t**) noexcept = 0; + virtual int32_t __stdcall SetColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall SetColorForIndex(int32_t, struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall SetSingleColorForIndices(struct struct_Windows_UI_Color, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetColorsForIndices(uint32_t, struct struct_Windows_UI_Color*, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetColorsForKey(struct struct_Windows_UI_Color, int32_t) noexcept = 0; + virtual int32_t __stdcall SetColorsForKeys(uint32_t, struct struct_Windows_UI_Color*, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetColorsForPurposes(struct struct_Windows_UI_Color, uint32_t) noexcept = 0; + virtual int32_t __stdcall SendMessageAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestMessageAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall add_AvailabilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailabilityChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAvailable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Purposes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_RedLevelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_GreenLevelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BlueLevelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_GainLevelCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FixedColor(void**) noexcept = 0; + virtual int32_t __stdcall GetNearestSupportedColor(struct struct_Windows_UI_Color, struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall get_UpdateLatency(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Lights_ILamp + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto BrightnessLevel() const; + auto BrightnessLevel(float value) const; + [[nodiscard]] auto IsColorSettable() const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AvailabilityChanged_revoker = impl::event_revoker::remove_AvailabilityChanged>; + [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailabilityChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILamp; + }; + template + struct consume_Windows_Devices_Lights_ILampArray + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVersion() const; + [[nodiscard]] auto LampArrayKind() const; + [[nodiscard]] auto LampCount() const; + [[nodiscard]] auto MinUpdateInterval() const; + [[nodiscard]] auto BoundingBox() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto BrightnessLevel() const; + auto BrightnessLevel(double value) const; + [[nodiscard]] auto IsConnected() const; + [[nodiscard]] auto SupportsVirtualKeys() const; + auto GetLampInfo(int32_t lampIndex) const; + auto GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const; + auto GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; + auto SetColor(winrt::Windows::UI::Color const& desiredColor) const; + auto SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; + auto SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; + auto SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; + auto SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const; + auto SetColorsForKeys(array_view desiredColors, array_view keys) const; + auto SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; + auto SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const; + auto RequestMessageAsync(int32_t messageId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampArray; + }; + template + struct consume_Windows_Devices_Lights_ILampArray2 + { + [[nodiscard]] auto IsAvailable() const; + auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AvailabilityChanged_revoker = impl::event_revoker::remove_AvailabilityChanged>; + [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailabilityChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampArray2; + }; + template + struct consume_Windows_Devices_Lights_ILampArrayStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampArrayStatics; + }; + template + struct consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs + { + [[nodiscard]] auto IsAvailable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs; + }; + template + struct consume_Windows_Devices_Lights_ILampInfo + { + [[nodiscard]] auto Index() const; + [[nodiscard]] auto Purposes() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto RedLevelCount() const; + [[nodiscard]] auto GreenLevelCount() const; + [[nodiscard]] auto BlueLevelCount() const; + [[nodiscard]] auto GainLevelCount() const; + [[nodiscard]] auto FixedColor() const; + auto GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const; + [[nodiscard]] auto UpdateLatency() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampInfo; + }; + template + struct consume_Windows_Devices_Lights_ILampStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_ILampStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c965b1c72eee975165a2a66a2c8b2c13a1743fe4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.1.h @@ -0,0 +1,64 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_1_H +#define WINRT_Windows_Devices_Lights_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Lights.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Lights +{ + struct WINRT_IMPL_EMPTY_BASES ILamp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILamp(std::nullptr_t = nullptr) noexcept {} + ILamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArray : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArray(std::nullptr_t = nullptr) noexcept {} + ILampArray(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArray2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArray2(std::nullptr_t = nullptr) noexcept {} + ILampArray2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayStatics(std::nullptr_t = nullptr) noexcept {} + ILampArrayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampAvailabilityChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampAvailabilityChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILampAvailabilityChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampInfo(std::nullptr_t = nullptr) noexcept {} + ILampInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampStatics(std::nullptr_t = nullptr) noexcept {} + ILampStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.2.h new file mode 100644 index 0000000000000000000000000000000000000000..07f12932b06567cae00c635ded7c850429fb5e94 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.2.h @@ -0,0 +1,40 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_2_H +#define WINRT_Windows_Devices_Lights_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Lights.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Lights +{ + struct WINRT_IMPL_EMPTY_BASES Lamp : winrt::Windows::Devices::Lights::ILamp + { + Lamp(std::nullptr_t) noexcept {} + Lamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::ILamp(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES LampArray : winrt::Windows::Devices::Lights::ILampArray, + impl::require + { + LampArray(std::nullptr_t) noexcept {} + LampArray(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::ILampArray(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES LampAvailabilityChangedEventArgs : winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs + { + LampAvailabilityChangedEventArgs(std::nullptr_t) noexcept {} + LampAvailabilityChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LampInfo : winrt::Windows::Devices::Lights::ILampInfo + { + LampInfo(std::nullptr_t) noexcept {} + LampInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::ILampInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f5cb08a63a7d77eff1e55c8798c14bdf4a6a561c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.0.h @@ -0,0 +1,514 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_Effects_0_H +#define WINRT_Windows_Devices_Lights_Effects_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Lights +{ + struct LampArray; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Lights::Effects +{ + enum class LampArrayEffectCompletionBehavior : int32_t + { + ClearState = 0, + KeepState = 1, + }; + enum class LampArrayEffectStartMode : int32_t + { + Sequential = 0, + Simultaneous = 1, + }; + enum class LampArrayRepetitionMode : int32_t + { + Occurrences = 0, + Forever = 1, + }; + struct ILampArrayBitmapEffect; + struct ILampArrayBitmapEffectFactory; + struct ILampArrayBitmapRequestedEventArgs; + struct ILampArrayBlinkEffect; + struct ILampArrayBlinkEffectFactory; + struct ILampArrayColorRampEffect; + struct ILampArrayColorRampEffectFactory; + struct ILampArrayCustomEffect; + struct ILampArrayCustomEffectFactory; + struct ILampArrayEffect; + struct ILampArrayEffectPlaylist; + struct ILampArrayEffectPlaylistStatics; + struct ILampArraySolidEffect; + struct ILampArraySolidEffectFactory; + struct ILampArrayUpdateRequestedEventArgs; + struct LampArrayBitmapEffect; + struct LampArrayBitmapRequestedEventArgs; + struct LampArrayBlinkEffect; + struct LampArrayColorRampEffect; + struct LampArrayCustomEffect; + struct LampArrayEffectPlaylist; + struct LampArraySolidEffect; + struct LampArrayUpdateRequestedEventArgs; +} +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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayBitmapEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayBitmapRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayBlinkEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayColorRampEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayCustomEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayEffectPlaylist"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArraySolidEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayUpdateRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayEffectCompletionBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayEffectStartMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.LampArrayRepetitionMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayBitmapEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayBitmapEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayBitmapRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayBlinkEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayBlinkEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayColorRampEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayColorRampEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayCustomEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayCustomEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayEffectPlaylist"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayEffectPlaylistStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArraySolidEffect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArraySolidEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Lights.Effects.ILampArrayUpdateRequestedEventArgs"; + template <> inline constexpr guid guid_v{ 0x3238E065,0xD877,0x4627,{ 0x89,0xE5,0x2A,0x88,0xF7,0x05,0x2F,0xA6 } }; // 3238E065-D877-4627-89E5-2A88F7052FA6 + template <> inline constexpr guid guid_v{ 0x13608090,0xE336,0x4C8F,{ 0x90,0x53,0xA9,0x24,0x07,0xCA,0x7B,0x1D } }; // 13608090-E336-4C8F-9053-A92407CA7B1D + template <> inline constexpr guid guid_v{ 0xC8B4AF9E,0xFE63,0x4D51,{ 0xBA,0xBD,0x61,0x9D,0xEF,0xB4,0x54,0xBA } }; // C8B4AF9E-FE63-4D51-BABD-619DEFB454BA + template <> inline constexpr guid guid_v{ 0xEBBF35F6,0x2FC5,0x4BB3,{ 0xB3,0xC3,0x62,0x21,0xA7,0x68,0x0D,0x13 } }; // EBBF35F6-2FC5-4BB3-B3C3-6221A7680D13 + template <> inline constexpr guid guid_v{ 0x879F1D97,0x9F50,0x49B2,{ 0xA5,0x6F,0x01,0x3A,0xA0,0x8D,0x55,0xE0 } }; // 879F1D97-9F50-49B2-A56F-013AA08D55E0 + template <> inline constexpr guid guid_v{ 0x2B004437,0x40A7,0x432E,{ 0xA0,0xB9,0x0D,0x57,0x0C,0x21,0x53,0xFF } }; // 2B004437-40A7-432E-A0B9-0D570C2153FF + template <> inline constexpr guid guid_v{ 0x520BD133,0x0C74,0x4DF5,{ 0xBE,0xA7,0x48,0x99,0xE0,0x26,0x6B,0x0F } }; // 520BD133-0C74-4DF5-BEA7-4899E0266B0F + template <> inline constexpr guid guid_v{ 0xEC579170,0x3C34,0x4876,{ 0x81,0x8B,0x57,0x65,0xF7,0x8B,0x0E,0xE4 } }; // EC579170-3C34-4876-818B-5765F78B0EE4 + template <> inline constexpr guid guid_v{ 0x68B4774D,0x63E5,0x4AF0,{ 0xA5,0x8B,0x3E,0x53,0x5B,0x94,0xE8,0xC9 } }; // 68B4774D-63E5-4AF0-A58B-3E535B94E8C9 + template <> inline constexpr guid guid_v{ 0x11D45590,0x57FB,0x4546,{ 0xB1,0xCE,0x86,0x31,0x07,0xF7,0x40,0xDF } }; // 11D45590-57FB-4546-B1CE-863107F740DF + template <> inline constexpr guid guid_v{ 0x7DE58BFE,0x6F61,0x4103,{ 0x98,0xC7,0xD6,0x63,0x2F,0x7B,0x91,0x69 } }; // 7DE58BFE-6F61-4103-98C7-D6632F7B9169 + template <> inline constexpr guid guid_v{ 0xFB15235C,0xEA35,0x4C7F,{ 0xA0,0x16,0xF3,0xBF,0xC6,0xA6,0xC4,0x7D } }; // FB15235C-EA35-4C7F-A016-F3BFC6A6C47D + template <> inline constexpr guid guid_v{ 0x441F8213,0x43CC,0x4B33,{ 0x80,0xEB,0xC6,0xDD,0xDE,0x7D,0xC8,0xED } }; // 441F8213-43CC-4B33-80EB-C6DDDE7DC8ED + template <> inline constexpr guid guid_v{ 0xF862A32C,0x5576,0x4341,{ 0x96,0x1B,0xAE,0xE1,0xF1,0x3C,0xF9,0xDD } }; // F862A32C-5576-4341-961B-AEE1F13CF9DD + template <> inline constexpr guid guid_v{ 0x73560D6A,0x576A,0x48AF,{ 0x85,0x39,0x67,0xFF,0xA0,0xAB,0x35,0x16 } }; // 73560D6A-576A-48AF-8539-67FFA0AB3516 + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_UpdateInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_UpdateInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_SuggestedBitmapSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall add_BitmapRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BitmapRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, int32_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SinceStarted(int64_t*) noexcept = 0; + virtual int32_t __stdcall UpdateBitmap(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_AttackDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_AttackDuration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_SustainDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_SustainDuration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_DecayDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DecayDuration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_RepetitionDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_RepetitionDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Occurrences(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Occurrences(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RepetitionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RepetitionMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, int32_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_RampDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_RampDuration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_CompletionBehavior(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CompletionBehavior(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, int32_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_UpdateInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_UpdateInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall add_UpdateRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UpdateRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, int32_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ZIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ZIndex(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Append(void*) noexcept = 0; + virtual int32_t __stdcall OverrideZIndex(int32_t) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall get_EffectStartMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_EffectStartMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Occurrences(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Occurrences(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RepetitionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RepetitionMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAll(void*) noexcept = 0; + virtual int32_t __stdcall StopAll(void*) noexcept = 0; + virtual int32_t __stdcall PauseAll(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_CompletionBehavior(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CompletionBehavior(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, int32_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SinceStarted(int64_t*) noexcept = 0; + virtual int32_t __stdcall SetColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall SetColorForIndex(int32_t, struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall SetSingleColorForIndices(struct struct_Windows_UI_Color, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetColorsForIndices(uint32_t, struct struct_Windows_UI_Color*, uint32_t, int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect + { + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto UpdateInterval() const; + auto UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SuggestedBitmapSize() const; + auto BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BitmapRequested_revoker = impl::event_revoker::remove_BitmapRequested>; + [[nodiscard]] auto BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BitmapRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory + { + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs + { + [[nodiscard]] auto SinceStarted() const; + auto UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect + { + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto AttackDuration() const; + auto AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SustainDuration() const; + auto SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DecayDuration() const; + auto DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto RepetitionDelay() const; + auto RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(int32_t value) const; + [[nodiscard]] auto RepetitionMode() const; + auto RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory + { + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect + { + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto RampDuration() const; + auto RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto CompletionBehavior() const; + auto CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory + { + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect + { + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto UpdateInterval() const; + auto UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UpdateRequested_revoker = impl::event_revoker::remove_UpdateRequested>; + [[nodiscard]] auto UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory + { + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayEffect + { + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist + { + auto Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const; + auto OverrideZIndex(int32_t zIndex) const; + auto Start() const; + auto Stop() const; + auto Pause() const; + [[nodiscard]] auto EffectStartMode() const; + auto EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(int32_t value) const; + [[nodiscard]] auto RepetitionMode() const; + auto RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics + { + auto StartAll(param::iterable const& value) const; + auto StopAll(param::iterable const& value) const; + auto PauseAll(param::iterable const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect + { + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto CompletionBehavior() const; + auto CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory + { + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory; + }; + template + struct consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs + { + [[nodiscard]] auto SinceStarted() const; + auto SetColor(winrt::Windows::UI::Color const& desiredColor) const; + auto SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; + auto SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; + auto SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f1c2e17757dea9a00a8950cd89bb41765ea96c4d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.1.h @@ -0,0 +1,118 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_Effects_1_H +#define WINRT_Windows_Devices_Lights_Effects_1_H +#include "winrt/impl/Windows.Devices.Lights.Effects.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Lights::Effects +{ + struct WINRT_IMPL_EMPTY_BASES ILampArrayBitmapEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayBitmapEffect(std::nullptr_t = nullptr) noexcept {} + ILampArrayBitmapEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayBitmapEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayBitmapEffectFactory(std::nullptr_t = nullptr) noexcept {} + ILampArrayBitmapEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayBitmapRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayBitmapRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILampArrayBitmapRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayBlinkEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayBlinkEffect(std::nullptr_t = nullptr) noexcept {} + ILampArrayBlinkEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayBlinkEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayBlinkEffectFactory(std::nullptr_t = nullptr) noexcept {} + ILampArrayBlinkEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayColorRampEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayColorRampEffect(std::nullptr_t = nullptr) noexcept {} + ILampArrayColorRampEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayColorRampEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayColorRampEffectFactory(std::nullptr_t = nullptr) noexcept {} + ILampArrayColorRampEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayCustomEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayCustomEffect(std::nullptr_t = nullptr) noexcept {} + ILampArrayCustomEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayCustomEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayCustomEffectFactory(std::nullptr_t = nullptr) noexcept {} + ILampArrayCustomEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayEffect(std::nullptr_t = nullptr) noexcept {} + ILampArrayEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayEffectPlaylist : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayEffectPlaylist(std::nullptr_t = nullptr) noexcept {} + ILampArrayEffectPlaylist(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayEffectPlaylistStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayEffectPlaylistStatics(std::nullptr_t = nullptr) noexcept {} + ILampArrayEffectPlaylistStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArraySolidEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArraySolidEffect(std::nullptr_t = nullptr) noexcept {} + ILampArraySolidEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArraySolidEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArraySolidEffectFactory(std::nullptr_t = nullptr) noexcept {} + ILampArraySolidEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILampArrayUpdateRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILampArrayUpdateRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILampArrayUpdateRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a77791135e035ca1fff4b21da5058128b5dc97a9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.lights.effects.2.h @@ -0,0 +1,70 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Lights_Effects_2_H +#define WINRT_Windows_Devices_Lights_Effects_2_H +#include "winrt/impl/Windows.Devices.Lights.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Devices.Lights.Effects.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Lights::Effects +{ + struct WINRT_IMPL_EMPTY_BASES LampArrayBitmapEffect : winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect, + impl::require + { + LampArrayBitmapEffect(std::nullptr_t) noexcept {} + LampArrayBitmapEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect(ptr, take_ownership_from_abi) {} + LampArrayBitmapEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes); + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayBitmapRequestedEventArgs : winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs + { + LampArrayBitmapRequestedEventArgs(std::nullptr_t) noexcept {} + LampArrayBitmapRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayBlinkEffect : winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect, + impl::require + { + LampArrayBlinkEffect(std::nullptr_t) noexcept {} + LampArrayBlinkEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect(ptr, take_ownership_from_abi) {} + LampArrayBlinkEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes); + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayColorRampEffect : winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect, + impl::require + { + LampArrayColorRampEffect(std::nullptr_t) noexcept {} + LampArrayColorRampEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect(ptr, take_ownership_from_abi) {} + LampArrayColorRampEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes); + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayCustomEffect : winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect, + impl::require + { + LampArrayCustomEffect(std::nullptr_t) noexcept {} + LampArrayCustomEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect(ptr, take_ownership_from_abi) {} + LampArrayCustomEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes); + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayEffectPlaylist : winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist, + impl::require, winrt::Windows::Foundation::Collections::IVectorView> + { + LampArrayEffectPlaylist(std::nullptr_t) noexcept {} + LampArrayEffectPlaylist(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist(ptr, take_ownership_from_abi) {} + LampArrayEffectPlaylist(); + static auto StartAll(param::iterable const& value); + static auto StopAll(param::iterable const& value); + static auto PauseAll(param::iterable const& value); + }; + struct WINRT_IMPL_EMPTY_BASES LampArraySolidEffect : winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect, + impl::require + { + LampArraySolidEffect(std::nullptr_t) noexcept {} + LampArraySolidEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect(ptr, take_ownership_from_abi) {} + LampArraySolidEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes); + }; + struct WINRT_IMPL_EMPTY_BASES LampArrayUpdateRequestedEventArgs : winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs + { + LampArrayUpdateRequestedEventArgs(std::nullptr_t) noexcept {} + LampArrayUpdateRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.0.h new file mode 100644 index 0000000000000000000000000000000000000000..dd8f2fa1faa8757f57d5b4acc393ae113d66567a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.0.h @@ -0,0 +1,771 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Midi_0_H +#define WINRT_Windows_Devices_Midi_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Midi +{ + enum class MidiMessageType : int32_t + { + None = 0, + NoteOff = 128, + NoteOn = 144, + PolyphonicKeyPressure = 160, + ControlChange = 176, + ProgramChange = 192, + ChannelPressure = 208, + PitchBendChange = 224, + SystemExclusive = 240, + MidiTimeCode = 241, + SongPositionPointer = 242, + SongSelect = 243, + TuneRequest = 246, + EndSystemExclusive = 247, + TimingClock = 248, + Start = 250, + Continue = 251, + Stop = 252, + ActiveSensing = 254, + SystemReset = 255, + }; + struct IMidiChannelPressureMessage; + struct IMidiChannelPressureMessageFactory; + struct IMidiControlChangeMessage; + struct IMidiControlChangeMessageFactory; + struct IMidiInPort; + struct IMidiInPortStatics; + struct IMidiMessage; + struct IMidiMessageReceivedEventArgs; + struct IMidiNoteOffMessage; + struct IMidiNoteOffMessageFactory; + struct IMidiNoteOnMessage; + struct IMidiNoteOnMessageFactory; + struct IMidiOutPort; + struct IMidiOutPortStatics; + struct IMidiPitchBendChangeMessage; + struct IMidiPitchBendChangeMessageFactory; + struct IMidiPolyphonicKeyPressureMessage; + struct IMidiPolyphonicKeyPressureMessageFactory; + struct IMidiProgramChangeMessage; + struct IMidiProgramChangeMessageFactory; + struct IMidiSongPositionPointerMessage; + struct IMidiSongPositionPointerMessageFactory; + struct IMidiSongSelectMessage; + struct IMidiSongSelectMessageFactory; + struct IMidiSynthesizer; + struct IMidiSynthesizerStatics; + struct IMidiSystemExclusiveMessageFactory; + struct IMidiTimeCodeMessage; + struct IMidiTimeCodeMessageFactory; + struct MidiActiveSensingMessage; + struct MidiChannelPressureMessage; + struct MidiContinueMessage; + struct MidiControlChangeMessage; + struct MidiInPort; + struct MidiMessageReceivedEventArgs; + struct MidiNoteOffMessage; + struct MidiNoteOnMessage; + struct MidiOutPort; + struct MidiPitchBendChangeMessage; + struct MidiPolyphonicKeyPressureMessage; + struct MidiProgramChangeMessage; + struct MidiSongPositionPointerMessage; + struct MidiSongSelectMessage; + struct MidiStartMessage; + struct MidiStopMessage; + struct MidiSynthesizer; + struct MidiSystemExclusiveMessage; + struct MidiSystemResetMessage; + struct MidiTimeCodeMessage; + struct MidiTimingClockMessage; + struct MidiTuneRequestMessage; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiActiveSensingMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiChannelPressureMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiContinueMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiControlChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiInPort"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiNoteOffMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiNoteOnMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiOutPort"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiPitchBendChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiPolyphonicKeyPressureMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiProgramChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiSongPositionPointerMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiSongSelectMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiStartMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiStopMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiSynthesizer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiSystemExclusiveMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiSystemResetMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiTimeCodeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiTimingClockMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiTuneRequestMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.MidiMessageType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiChannelPressureMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiChannelPressureMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiControlChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiControlChangeMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiInPort"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiInPortStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiNoteOffMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiNoteOffMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiNoteOnMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiNoteOnMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiOutPort"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiOutPortStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiPitchBendChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiPitchBendChangeMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiPolyphonicKeyPressureMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiPolyphonicKeyPressureMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiProgramChangeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiProgramChangeMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSongPositionPointerMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSongPositionPointerMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSongSelectMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSongSelectMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSynthesizer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSynthesizerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiSystemExclusiveMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiTimeCodeMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Midi.IMidiTimeCodeMessageFactory"; + template <> inline constexpr guid guid_v{ 0xBE1FA860,0x62B4,0x4D52,{ 0xA3,0x7E,0x92,0xE5,0x4D,0x35,0xB9,0x09 } }; // BE1FA860-62B4-4D52-A37E-92E54D35B909 + template <> inline constexpr guid guid_v{ 0x6218ED2F,0x2284,0x412A,{ 0x94,0xCF,0x10,0xFB,0x04,0x84,0x2C,0x6C } }; // 6218ED2F-2284-412A-94CF-10FB04842C6C + template <> inline constexpr guid guid_v{ 0xB7E15F83,0x780D,0x405F,{ 0xB7,0x81,0x3E,0x15,0x98,0xC9,0x7F,0x40 } }; // B7E15F83-780D-405F-B781-3E1598C97F40 + template <> inline constexpr guid guid_v{ 0x2AB14321,0x956C,0x46AD,{ 0x97,0x52,0xF8,0x7F,0x55,0x05,0x2F,0xE3 } }; // 2AB14321-956C-46AD-9752-F87F55052FE3 + template <> inline constexpr guid guid_v{ 0xD5C1D9DB,0x971A,0x4EAF,{ 0xA2,0x3D,0xEA,0x19,0xFE,0x60,0x7F,0xF9 } }; // D5C1D9DB-971A-4EAF-A23D-EA19FE607FF9 + template <> inline constexpr guid guid_v{ 0x44C439DC,0x67FF,0x4A6E,{ 0x8B,0xAC,0xFD,0xB6,0x61,0x0C,0xF2,0x96 } }; // 44C439DC-67FF-4A6E-8BAC-FDB6610CF296 + template <> inline constexpr guid guid_v{ 0x79767945,0x1094,0x4283,{ 0x9B,0xE0,0x28,0x9F,0xC0,0xEE,0x83,0x34 } }; // 79767945-1094-4283-9BE0-289FC0EE8334 + template <> inline constexpr guid guid_v{ 0x76566E56,0xF328,0x4B51,{ 0x90,0x7D,0xB3,0xA8,0xCE,0x96,0xBF,0x80 } }; // 76566E56-F328-4B51-907D-B3A8CE96BF80 + template <> inline constexpr guid guid_v{ 0x16FD8AF4,0x198E,0x4D8F,{ 0xA6,0x54,0xD3,0x05,0xA2,0x93,0x54,0x8F } }; // 16FD8AF4-198E-4D8F-A654-D305A293548F + template <> inline constexpr guid guid_v{ 0xA6B240E0,0xA749,0x425F,{ 0x8A,0xF4,0xA4,0xD9,0x79,0xCC,0x15,0xB5 } }; // A6B240E0-A749-425F-8AF4-A4D979CC15B5 + template <> inline constexpr guid guid_v{ 0xE0224AF5,0x6181,0x46DD,{ 0xAF,0xA2,0x41,0x00,0x04,0xC0,0x57,0xAA } }; // E0224AF5-6181-46DD-AFA2-410004C057AA + template <> inline constexpr guid guid_v{ 0x9B4280A0,0x59C1,0x420E,{ 0xB5,0x17,0x15,0xA1,0x0A,0xA9,0x60,0x6B } }; // 9B4280A0-59C1-420E-B517-15A10AA9606B + template <> inline constexpr guid guid_v{ 0x931D6D9F,0x57A2,0x4A3A,{ 0xAD,0xB8,0x46,0x40,0x88,0x6F,0x66,0x93 } }; // 931D6D9F-57A2-4A3A-ADB8-4640886F6693 + template <> inline constexpr guid guid_v{ 0x065CC3E9,0x0F88,0x448B,{ 0x9B,0x64,0xA9,0x58,0x26,0xC6,0x5B,0x8F } }; // 065CC3E9-0F88-448B-9B64-A95826C65B8F + template <> inline constexpr guid guid_v{ 0x29DF4CB1,0x2E9F,0x4FAF,{ 0x8C,0x2B,0x9C,0xB8,0x2A,0x90,0x79,0xCA } }; // 29DF4CB1-2E9F-4FAF-8C2B-9CB82A9079CA + template <> inline constexpr guid guid_v{ 0xF5EEDF55,0xCFC8,0x4926,{ 0xB3,0x0E,0xA3,0x62,0x23,0x93,0x30,0x6C } }; // F5EEDF55-CFC8-4926-B30E-A3622393306C + template <> inline constexpr guid guid_v{ 0x1F7337FE,0xACE8,0x48A0,{ 0x86,0x8E,0x7C,0xDB,0xF2,0x0F,0x04,0xD6 } }; // 1F7337FE-ACE8-48A0-868E-7CDBF20F04D6 + template <> inline constexpr guid guid_v{ 0xE98F483E,0xC4B3,0x4DD2,{ 0x91,0x7C,0xE3,0x49,0x81,0x5A,0x1B,0x3B } }; // E98F483E-C4B3-4DD2-917C-E349815A1B3B + template <> inline constexpr guid guid_v{ 0x9CBB3C78,0x7A3E,0x4327,{ 0xAA,0x98,0x20,0xB8,0xE4,0x48,0x5A,0xF8 } }; // 9CBB3C78-7A3E-4327-AA98-20B8E4485AF8 + template <> inline constexpr guid guid_v{ 0xD6B04387,0x524B,0x4104,{ 0x9C,0x99,0x65,0x72,0xBF,0xD2,0xE2,0x61 } }; // D6B04387-524B-4104-9C99-6572BFD2E261 + template <> inline constexpr guid guid_v{ 0x4CA50C56,0xEC5E,0x4AE4,{ 0xA1,0x15,0x88,0xDC,0x57,0xCC,0x2B,0x79 } }; // 4CA50C56-EC5E-4AE4-A115-88DC57CC2B79 + template <> inline constexpr guid guid_v{ 0x9C00E996,0xF10B,0x4FEA,{ 0xB3,0x95,0xF5,0xD6,0xCF,0x80,0xF6,0x4E } }; // 9C00E996-F10B-4FEA-B395-F5D6CF80F64E + template <> inline constexpr guid guid_v{ 0x49F0F27F,0x6D83,0x4741,{ 0xA5,0xBF,0x46,0x29,0xF6,0xBE,0x97,0x4F } }; // 49F0F27F-6D83-4741-A5BF-4629F6BE974F + template <> inline constexpr guid guid_v{ 0x848878E4,0x8748,0x4129,{ 0xA6,0x6C,0xA0,0x54,0x93,0xF7,0x5D,0xAA } }; // 848878E4-8748-4129-A66C-A05493F75DAA + template <> inline constexpr guid guid_v{ 0xF0DA155E,0xDB90,0x405F,{ 0xB8,0xAE,0x21,0xD2,0xE1,0x7F,0x2E,0x45 } }; // F0DA155E-DB90-405F-B8AE-21D2E17F2E45 + template <> inline constexpr guid guid_v{ 0x4224EAA8,0x6629,0x4D6B,{ 0xAA,0x8F,0xD4,0x52,0x1A,0x5A,0x31,0xCE } }; // 4224EAA8-6629-4D6B-AA8F-D4521A5A31CE + template <> inline constexpr guid guid_v{ 0x083DE222,0x3B74,0x4320,{ 0x9B,0x42,0x0C,0xA8,0x54,0x5F,0x8A,0x24 } }; // 083DE222-3B74-4320-9B42-0CA8545F8A24 + template <> inline constexpr guid guid_v{ 0x0BF7087D,0xFA63,0x4A1C,{ 0x8D,0xEB,0xC0,0xE8,0x77,0x96,0xA6,0xD7 } }; // 0BF7087D-FA63-4A1C-8DEB-C0E87796A6D7 + template <> inline constexpr guid guid_v{ 0xEB3099C5,0x771C,0x40DE,{ 0xB9,0x61,0x17,0x5A,0x74,0x89,0xA8,0x5E } }; // EB3099C5-771C-40DE-B961-175A7489A85E + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiChannelPressureMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiControlChangeMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiInPort; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiNoteOffMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiNoteOnMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiOutPort; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiProgramChangeMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiSongSelectMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiSynthesizer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiTimeCodeMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Midi::IMidiMessage; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Pressure(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiChannelPressureMessage(uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Controller(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ControlValue(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiControlChangeMessage(uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_RawData(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Note(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Velocity(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiNoteOffMessage(uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Note(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Velocity(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiNoteOnMessage(uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendMessage(void*) noexcept = 0; + virtual int32_t __stdcall SendBuffer(void*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Bend(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiPitchBendChangeMessage(uint8_t, uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Note(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Pressure(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiPolyphonicKeyPressureMessage(uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Program(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiProgramChangeMessage(uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Beats(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiSongPositionPointerMessage(uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Song(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiSongSelectMessage(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioDevice(void**) noexcept = 0; + virtual int32_t __stdcall get_Volume(double*) noexcept = 0; + virtual int32_t __stdcall put_Volume(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreateFromAudioDeviceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall IsSynthesizer(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiSystemExclusiveMessage(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Values(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMidiTimeCodeMessage(uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Midi_IMidiChannelPressureMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Pressure() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiChannelPressureMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory + { + auto CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiControlChangeMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Controller() const; + [[nodiscard]] auto ControlValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiControlChangeMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory + { + auto CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiInPort + { + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiInPort; + }; + template + struct consume_Windows_Devices_Midi_IMidiInPortStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiInPortStatics; + }; + template + struct consume_Windows_Devices_Midi_IMidiMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto RawData() const; + [[nodiscard]] auto Type() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs + { + [[nodiscard]] auto Message() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs; + }; + template + struct consume_Windows_Devices_Midi_IMidiNoteOffMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Velocity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiNoteOffMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory + { + auto CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiNoteOnMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Velocity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiNoteOnMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory + { + auto CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiOutPort + { + auto SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const; + auto SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const; + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiOutPort; + }; + template + struct consume_Windows_Devices_Midi_IMidiOutPortStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiOutPortStatics; + }; + template + struct consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Bend() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory + { + auto CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Pressure() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory + { + auto CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiProgramChangeMessage + { + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Program() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiProgramChangeMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory + { + auto CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage + { + [[nodiscard]] auto Beats() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory + { + auto CreateMidiSongPositionPointerMessage(uint16_t beats) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiSongSelectMessage + { + [[nodiscard]] auto Song() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSongSelectMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory + { + auto CreateMidiSongSelectMessage(uint8_t song) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiSynthesizer + { + [[nodiscard]] auto AudioDevice() const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSynthesizer; + }; + template + struct consume_Windows_Devices_Midi_IMidiSynthesizerStatics + { + auto CreateAsync() const; + auto CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const; + auto IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSynthesizerStatics; + }; + template + struct consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory + { + auto CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory; + }; + template + struct consume_Windows_Devices_Midi_IMidiTimeCodeMessage + { + [[nodiscard]] auto FrameType() const; + [[nodiscard]] auto Values() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiTimeCodeMessage; + }; + template + struct consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory + { + auto CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.1.h new file mode 100644 index 0000000000000000000000000000000000000000..532e48c79e6f6c7a6b5f08dad9ac30aa0db93873 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.1.h @@ -0,0 +1,230 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Midi_1_H +#define WINRT_Windows_Devices_Midi_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Midi.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Midi +{ + struct WINRT_IMPL_EMPTY_BASES IMidiChannelPressureMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiChannelPressureMessage(std::nullptr_t = nullptr) noexcept {} + IMidiChannelPressureMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiChannelPressureMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiChannelPressureMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiChannelPressureMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiControlChangeMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiControlChangeMessage(std::nullptr_t = nullptr) noexcept {} + IMidiControlChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiControlChangeMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiControlChangeMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiControlChangeMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiInPort : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiInPort(std::nullptr_t = nullptr) noexcept {} + IMidiInPort(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiInPortStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiInPortStatics(std::nullptr_t = nullptr) noexcept {} + IMidiInPortStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage(std::nullptr_t = nullptr) noexcept {} + IMidiMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiNoteOffMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiNoteOffMessage(std::nullptr_t = nullptr) noexcept {} + IMidiNoteOffMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiNoteOffMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiNoteOffMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiNoteOffMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiNoteOnMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiNoteOnMessage(std::nullptr_t = nullptr) noexcept {} + IMidiNoteOnMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiNoteOnMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiNoteOnMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiNoteOnMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiOutPort : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiOutPort(std::nullptr_t = nullptr) noexcept {} + IMidiOutPort(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiOutPortStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiOutPortStatics(std::nullptr_t = nullptr) noexcept {} + IMidiOutPortStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiPitchBendChangeMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiPitchBendChangeMessage(std::nullptr_t = nullptr) noexcept {} + IMidiPitchBendChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiPitchBendChangeMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiPitchBendChangeMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiPitchBendChangeMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiPolyphonicKeyPressureMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiPolyphonicKeyPressureMessage(std::nullptr_t = nullptr) noexcept {} + IMidiPolyphonicKeyPressureMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiPolyphonicKeyPressureMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiPolyphonicKeyPressureMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiPolyphonicKeyPressureMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiProgramChangeMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiProgramChangeMessage(std::nullptr_t = nullptr) noexcept {} + IMidiProgramChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiProgramChangeMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiProgramChangeMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiProgramChangeMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSongPositionPointerMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiSongPositionPointerMessage(std::nullptr_t = nullptr) noexcept {} + IMidiSongPositionPointerMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSongPositionPointerMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSongPositionPointerMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiSongPositionPointerMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSongSelectMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiSongSelectMessage(std::nullptr_t = nullptr) noexcept {} + IMidiSongSelectMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSongSelectMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSongSelectMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiSongSelectMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSynthesizer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiSynthesizer(std::nullptr_t = nullptr) noexcept {} + IMidiSynthesizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSynthesizerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSynthesizerStatics(std::nullptr_t = nullptr) noexcept {} + IMidiSynthesizerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSystemExclusiveMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSystemExclusiveMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiSystemExclusiveMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiTimeCodeMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMidiTimeCodeMessage(std::nullptr_t = nullptr) noexcept {} + IMidiTimeCodeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiTimeCodeMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiTimeCodeMessageFactory(std::nullptr_t = nullptr) noexcept {} + IMidiTimeCodeMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.2.h new file mode 100644 index 0000000000000000000000000000000000000000..03fcd773df93814d569aea2602d634f415b67375 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.midi.2.h @@ -0,0 +1,151 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Midi_2_H +#define WINRT_Windows_Devices_Midi_2_H +#include "winrt/impl/Windows.Devices.Enumeration.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.Midi.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Midi +{ + struct WINRT_IMPL_EMPTY_BASES MidiActiveSensingMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiActiveSensingMessage(std::nullptr_t) noexcept {} + MidiActiveSensingMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiActiveSensingMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiChannelPressureMessage : winrt::Windows::Devices::Midi::IMidiChannelPressureMessage + { + MidiChannelPressureMessage(std::nullptr_t) noexcept {} + MidiChannelPressureMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiChannelPressureMessage(ptr, take_ownership_from_abi) {} + MidiChannelPressureMessage(uint8_t channel, uint8_t pressure); + }; + struct WINRT_IMPL_EMPTY_BASES MidiContinueMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiContinueMessage(std::nullptr_t) noexcept {} + MidiContinueMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiContinueMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiControlChangeMessage : winrt::Windows::Devices::Midi::IMidiControlChangeMessage + { + MidiControlChangeMessage(std::nullptr_t) noexcept {} + MidiControlChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiControlChangeMessage(ptr, take_ownership_from_abi) {} + MidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue); + }; + struct WINRT_IMPL_EMPTY_BASES MidiInPort : winrt::Windows::Devices::Midi::IMidiInPort + { + MidiInPort(std::nullptr_t) noexcept {} + MidiInPort(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiInPort(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessageReceivedEventArgs : winrt::Windows::Devices::Midi::IMidiMessageReceivedEventArgs + { + MidiMessageReceivedEventArgs(std::nullptr_t) noexcept {} + MidiMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiNoteOffMessage : winrt::Windows::Devices::Midi::IMidiNoteOffMessage + { + MidiNoteOffMessage(std::nullptr_t) noexcept {} + MidiNoteOffMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiNoteOffMessage(ptr, take_ownership_from_abi) {} + MidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity); + }; + struct WINRT_IMPL_EMPTY_BASES MidiNoteOnMessage : winrt::Windows::Devices::Midi::IMidiNoteOnMessage + { + MidiNoteOnMessage(std::nullptr_t) noexcept {} + MidiNoteOnMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiNoteOnMessage(ptr, take_ownership_from_abi) {} + MidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity); + }; + struct WINRT_IMPL_EMPTY_BASES MidiOutPort : winrt::Windows::Devices::Midi::IMidiOutPort + { + MidiOutPort(std::nullptr_t) noexcept {} + MidiOutPort(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiOutPort(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiPitchBendChangeMessage : winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage + { + MidiPitchBendChangeMessage(std::nullptr_t) noexcept {} + MidiPitchBendChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage(ptr, take_ownership_from_abi) {} + MidiPitchBendChangeMessage(uint8_t channel, uint16_t bend); + }; + struct WINRT_IMPL_EMPTY_BASES MidiPolyphonicKeyPressureMessage : winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage + { + MidiPolyphonicKeyPressureMessage(std::nullptr_t) noexcept {} + MidiPolyphonicKeyPressureMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage(ptr, take_ownership_from_abi) {} + MidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure); + }; + struct WINRT_IMPL_EMPTY_BASES MidiProgramChangeMessage : winrt::Windows::Devices::Midi::IMidiProgramChangeMessage + { + MidiProgramChangeMessage(std::nullptr_t) noexcept {} + MidiProgramChangeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiProgramChangeMessage(ptr, take_ownership_from_abi) {} + MidiProgramChangeMessage(uint8_t channel, uint8_t program); + }; + struct WINRT_IMPL_EMPTY_BASES MidiSongPositionPointerMessage : winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage + { + MidiSongPositionPointerMessage(std::nullptr_t) noexcept {} + MidiSongPositionPointerMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage(ptr, take_ownership_from_abi) {} + explicit MidiSongPositionPointerMessage(uint16_t beats); + }; + struct WINRT_IMPL_EMPTY_BASES MidiSongSelectMessage : winrt::Windows::Devices::Midi::IMidiSongSelectMessage + { + MidiSongSelectMessage(std::nullptr_t) noexcept {} + MidiSongSelectMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiSongSelectMessage(ptr, take_ownership_from_abi) {} + explicit MidiSongSelectMessage(uint8_t song); + }; + struct WINRT_IMPL_EMPTY_BASES MidiStartMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiStartMessage(std::nullptr_t) noexcept {} + MidiStartMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiStartMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiStopMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiStopMessage(std::nullptr_t) noexcept {} + MidiStopMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiStopMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiSynthesizer : winrt::Windows::Devices::Midi::IMidiSynthesizer + { + MidiSynthesizer(std::nullptr_t) noexcept {} + MidiSynthesizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiSynthesizer(ptr, take_ownership_from_abi) {} + static auto CreateAsync(); + static auto CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice); + static auto IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice); + }; + struct WINRT_IMPL_EMPTY_BASES MidiSystemExclusiveMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiSystemExclusiveMessage(std::nullptr_t) noexcept {} + MidiSystemExclusiveMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + explicit MidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData); + }; + struct WINRT_IMPL_EMPTY_BASES MidiSystemResetMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiSystemResetMessage(std::nullptr_t) noexcept {} + MidiSystemResetMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiSystemResetMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiTimeCodeMessage : winrt::Windows::Devices::Midi::IMidiTimeCodeMessage + { + MidiTimeCodeMessage(std::nullptr_t) noexcept {} + MidiTimeCodeMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiTimeCodeMessage(ptr, take_ownership_from_abi) {} + MidiTimeCodeMessage(uint8_t frameType, uint8_t values); + }; + struct WINRT_IMPL_EMPTY_BASES MidiTimingClockMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiTimingClockMessage(std::nullptr_t) noexcept {} + MidiTimingClockMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiTimingClockMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiTuneRequestMessage : winrt::Windows::Devices::Midi::IMidiMessage + { + MidiTuneRequestMessage(std::nullptr_t) noexcept {} + MidiTuneRequestMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Midi::IMidiMessage(ptr, take_ownership_from_abi) {} + MidiTuneRequestMessage(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.0.h new file mode 100644 index 0000000000000000000000000000000000000000..dc646bce4ec1f3ba755cfa812b8751de448a1c7b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.0.h @@ -0,0 +1,1438 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_0_H +#define WINRT_Windows_Devices_Perception_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + enum class DeviceWatcherStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + struct Point; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + enum class CollectionChange : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapAlphaMode : int32_t; + enum class BitmapPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + struct CameraIntrinsics; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Perception +{ + enum class PerceptionFrameSourceAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + DeniedByUser = 2, + DeniedBySystem = 3, + }; + enum class PerceptionFrameSourcePropertyChangeStatus : int32_t + { + Unknown = 0, + Accepted = 1, + LostControl = 2, + PropertyNotSupported = 3, + PropertyReadOnly = 4, + ValueOutOfRange = 5, + }; + struct IKnownCameraIntrinsicsPropertiesStatics; + struct IKnownPerceptionColorFrameSourcePropertiesStatics; + struct IKnownPerceptionDepthFrameSourcePropertiesStatics; + struct IKnownPerceptionFrameSourcePropertiesStatics; + struct IKnownPerceptionFrameSourcePropertiesStatics2; + struct IKnownPerceptionInfraredFrameSourcePropertiesStatics; + struct IKnownPerceptionVideoFrameSourcePropertiesStatics; + struct IKnownPerceptionVideoProfilePropertiesStatics; + struct IPerceptionColorFrame; + struct IPerceptionColorFrameArrivedEventArgs; + struct IPerceptionColorFrameReader; + struct IPerceptionColorFrameSource; + struct IPerceptionColorFrameSource2; + struct IPerceptionColorFrameSourceAddedEventArgs; + struct IPerceptionColorFrameSourceRemovedEventArgs; + struct IPerceptionColorFrameSourceStatics; + struct IPerceptionColorFrameSourceWatcher; + struct IPerceptionControlSession; + struct IPerceptionDepthCorrelatedCameraIntrinsics; + struct IPerceptionDepthCorrelatedCoordinateMapper; + struct IPerceptionDepthFrame; + struct IPerceptionDepthFrameArrivedEventArgs; + struct IPerceptionDepthFrameReader; + struct IPerceptionDepthFrameSource; + struct IPerceptionDepthFrameSource2; + struct IPerceptionDepthFrameSourceAddedEventArgs; + struct IPerceptionDepthFrameSourceRemovedEventArgs; + struct IPerceptionDepthFrameSourceStatics; + struct IPerceptionDepthFrameSourceWatcher; + struct IPerceptionFrameSourcePropertiesChangedEventArgs; + struct IPerceptionFrameSourcePropertyChangeResult; + struct IPerceptionInfraredFrame; + struct IPerceptionInfraredFrameArrivedEventArgs; + struct IPerceptionInfraredFrameReader; + struct IPerceptionInfraredFrameSource; + struct IPerceptionInfraredFrameSource2; + struct IPerceptionInfraredFrameSourceAddedEventArgs; + struct IPerceptionInfraredFrameSourceRemovedEventArgs; + struct IPerceptionInfraredFrameSourceStatics; + struct IPerceptionInfraredFrameSourceWatcher; + struct IPerceptionVideoProfile; + struct KnownCameraIntrinsicsProperties; + struct KnownPerceptionColorFrameSourceProperties; + struct KnownPerceptionDepthFrameSourceProperties; + struct KnownPerceptionFrameSourceProperties; + struct KnownPerceptionInfraredFrameSourceProperties; + struct KnownPerceptionVideoFrameSourceProperties; + struct KnownPerceptionVideoProfileProperties; + struct PerceptionColorFrame; + struct PerceptionColorFrameArrivedEventArgs; + struct PerceptionColorFrameReader; + struct PerceptionColorFrameSource; + struct PerceptionColorFrameSourceAddedEventArgs; + struct PerceptionColorFrameSourceRemovedEventArgs; + struct PerceptionColorFrameSourceWatcher; + struct PerceptionControlSession; + struct PerceptionDepthCorrelatedCameraIntrinsics; + struct PerceptionDepthCorrelatedCoordinateMapper; + struct PerceptionDepthFrame; + struct PerceptionDepthFrameArrivedEventArgs; + struct PerceptionDepthFrameReader; + struct PerceptionDepthFrameSource; + struct PerceptionDepthFrameSourceAddedEventArgs; + struct PerceptionDepthFrameSourceRemovedEventArgs; + struct PerceptionDepthFrameSourceWatcher; + struct PerceptionFrameSourcePropertiesChangedEventArgs; + struct PerceptionFrameSourcePropertyChangeResult; + struct PerceptionInfraredFrame; + struct PerceptionInfraredFrameArrivedEventArgs; + struct PerceptionInfraredFrameReader; + struct PerceptionInfraredFrameSource; + struct PerceptionInfraredFrameSourceAddedEventArgs; + struct PerceptionInfraredFrameSourceRemovedEventArgs; + struct PerceptionInfraredFrameSourceWatcher; + struct PerceptionVideoProfile; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownCameraIntrinsicsProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionColorFrameSourceProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionDepthFrameSourceProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionFrameSourceProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionInfraredFrameSourceProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionVideoFrameSourceProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.KnownPerceptionVideoProfileProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionColorFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionControlSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthCorrelatedCameraIntrinsics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthCorrelatedCoordinateMapper"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionDepthFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionFrameSourcePropertiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionFrameSourcePropertyChangeResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionInfraredFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionVideoProfile"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionFrameSourceAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.PerceptionFrameSourcePropertyChangeStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownCameraIntrinsicsPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionColorFrameSourcePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionDepthFrameSourcePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionFrameSourcePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionFrameSourcePropertiesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionInfraredFrameSourcePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionVideoFrameSourcePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IKnownPerceptionVideoProfilePropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSource2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionColorFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionControlSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthCorrelatedCameraIntrinsics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthCorrelatedCoordinateMapper"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSource2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionDepthFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionFrameSourcePropertiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionFrameSourcePropertyChangeResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSource2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSourceAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSourceRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionInfraredFrameSourceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.IPerceptionVideoProfile"; + template <> inline constexpr guid guid_v{ 0x08C03978,0x437A,0x4D97,{ 0xA6,0x63,0xFD,0x31,0x95,0x60,0x02,0x49 } }; // 08C03978-437A-4D97-A663-FD3195600249 + template <> inline constexpr guid guid_v{ 0x5DF1CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x4B } }; // 5DF1CCA2-01F8-4A87-B859-D5E5B7E1DE4B + template <> inline constexpr guid guid_v{ 0x5DF1CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x4A } }; // 5DF1CCA2-01F8-4A87-B859-D5E5B7E1DE4A + template <> inline constexpr guid guid_v{ 0x5DF1CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x47 } }; // 5DF1CCA2-01F8-4A87-B859-D5E5B7E1DE47 + template <> inline constexpr guid guid_v{ 0xA9C86871,0x05DC,0x4A4D,{ 0x8A,0x5C,0xA4,0xEC,0xF2,0x6B,0xBC,0x46 } }; // A9C86871-05DC-4A4D-8A5C-A4ECF26BBC46 + template <> inline constexpr guid guid_v{ 0x5DF1CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x49 } }; // 5DF1CCA2-01F8-4A87-B859-D5E5B7E1DE49 + template <> inline constexpr guid guid_v{ 0x5DF1CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x48 } }; // 5DF1CCA2-01F8-4A87-B859-D5E5B7E1DE48 + template <> inline constexpr guid guid_v{ 0x8F08E2E7,0x5A76,0x43E3,{ 0xA1,0x3A,0xDA,0x3D,0x91,0xA9,0xEF,0x98 } }; // 8F08E2E7-5A76-43E3-A13A-DA3D91A9EF98 + template <> inline constexpr guid guid_v{ 0xFE621549,0x2CBF,0x4F94,{ 0x98,0x61,0xF8,0x17,0xEA,0x31,0x77,0x47 } }; // FE621549-2CBF-4F94-9861-F817EA317747 + template <> inline constexpr guid guid_v{ 0x8FAD02D5,0x86F7,0x4D8D,{ 0xB9,0x66,0x5A,0x37,0x61,0xBA,0x9F,0x59 } }; // 8FAD02D5-86F7-4D8D-B966-5A3761BA9F59 + template <> inline constexpr guid guid_v{ 0x7650F56E,0xB9F5,0x461B,{ 0x83,0xAD,0xF2,0x22,0xAF,0x2A,0xAA,0xDC } }; // 7650F56E-B9F5-461B-83AD-F222AF2AAADC + template <> inline constexpr guid guid_v{ 0xDC6DBA7C,0x0B58,0x468D,{ 0x9C,0xA1,0x6D,0xB0,0x4C,0xC0,0x47,0x7C } }; // DC6DBA7C-0B58-468D-9CA1-6DB04CC0477C + template <> inline constexpr guid guid_v{ 0xF88008E5,0x5631,0x45ED,{ 0xAD,0x98,0x8C,0x6A,0xA0,0x4C,0xFB,0x91 } }; // F88008E5-5631-45ED-AD98-8C6AA04CFB91 + template <> inline constexpr guid guid_v{ 0xD16BF4E6,0xDA24,0x442C,{ 0xBB,0xD5,0x55,0x54,0x9B,0x5B,0x94,0xF3 } }; // D16BF4E6-DA24-442C-BBD5-55549B5B94F3 + template <> inline constexpr guid guid_v{ 0xD277FA69,0xEB4C,0x42EF,{ 0xBA,0x4F,0x28,0x8F,0x61,0x5C,0x93,0xC1 } }; // D277FA69-EB4C-42EF-BA4F-288F615C93C1 + template <> inline constexpr guid guid_v{ 0x5DF3CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x49 } }; // 5DF3CCA2-01F8-4A87-B859-D5E5B7E1DE49 + template <> inline constexpr guid guid_v{ 0x96BD1392,0xE667,0x40C4,{ 0x89,0xF9,0x14,0x62,0xDE,0xA6,0xA9,0xCC } }; // 96BD1392-E667-40C4-89F9-1462DEA6A9CC + template <> inline constexpr guid guid_v{ 0x99998653,0x5A3D,0x417F,{ 0x92,0x39,0xF1,0x88,0x9E,0x54,0x8B,0x48 } }; // 99998653-5A3D-417F-9239-F1889E548B48 + template <> inline constexpr guid guid_v{ 0x6548CA01,0x86DE,0x5BE1,{ 0x65,0x82,0x80,0x7F,0xCF,0x4C,0x95,0xCF } }; // 6548CA01-86DE-5BE1-6582-807FCF4C95CF + template <> inline constexpr guid guid_v{ 0x5B4D9D1D,0xB5F6,0x469C,{ 0xB8,0xC2,0xB9,0x7A,0x45,0xE6,0x86,0x3B } }; // 5B4D9D1D-B5F6-469C-B8C2-B97A45E6863B + template <> inline constexpr guid guid_v{ 0xA37B81FC,0x9906,0x4FFD,{ 0x91,0x61,0x00,0x24,0xB3,0x60,0xB6,0x57 } }; // A37B81FC-9906-4FFD-9161-0024B360B657 + template <> inline constexpr guid guid_v{ 0x443D25B2,0xB282,0x4637,{ 0x91,0x73,0xAC,0x97,0x84,0x35,0xC9,0x85 } }; // 443D25B2-B282-4637-9173-AC978435C985 + template <> inline constexpr guid guid_v{ 0xB1A3C09F,0x299B,0x4612,{ 0xA4,0xF7,0x27,0x0F,0x25,0xA0,0x96,0xEC } }; // B1A3C09F-299B-4612-A4F7-270F25A096EC + template <> inline constexpr guid guid_v{ 0x79D433D6,0x47FB,0x4DF1,{ 0xBF,0xC9,0xF0,0x1D,0x40,0xBD,0x99,0x42 } }; // 79D433D6-47FB-4DF1-BFC9-F01D40BD9942 + template <> inline constexpr guid guid_v{ 0xE3D23D2E,0x6E2C,0x4E6D,{ 0x91,0xD9,0x70,0x4C,0xD8,0xDF,0xF7,0x9D } }; // E3D23D2E-6E2C-4E6D-91D9-704CD8DFF79D + template <> inline constexpr guid guid_v{ 0x93A48168,0x8BF8,0x45D2,{ 0xA2,0xF8,0x4A,0xC0,0x93,0x1C,0xC7,0xA6 } }; // 93A48168-8BF8-45D2-A2F8-4AC0931CC7A6 + template <> inline constexpr guid guid_v{ 0xA0C0CC4D,0xE96C,0x4D81,{ 0x86,0xDD,0x38,0xB9,0x5E,0x49,0xC6,0xDF } }; // A0C0CC4D-E96C-4D81-86DD-38B95E49C6DF + template <> inline constexpr guid guid_v{ 0x5DF3CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x48 } }; // 5DF3CCA2-01F8-4A87-B859-D5E5B7E1DE48 + template <> inline constexpr guid guid_v{ 0x780E96D1,0x8D02,0x4D2B,{ 0xAD,0xA4,0x5B,0xA6,0x24,0xA0,0xEB,0x10 } }; // 780E96D1-8D02-4D2B-ADA4-5BA624A0EB10 + template <> inline constexpr guid guid_v{ 0x6C68E068,0xBCF1,0x4ECC,{ 0xB8,0x91,0x76,0x25,0xD1,0x24,0x4B,0x6B } }; // 6C68E068-BCF1-4ECC-B891-7625D1244B6B + template <> inline constexpr guid guid_v{ 0x1E33390A,0x3C90,0x4D22,{ 0xB8,0x98,0xF4,0x2B,0xBA,0x64,0x18,0xFF } }; // 1E33390A-3C90-4D22-B898-F42BBA6418FF + template <> inline constexpr guid guid_v{ 0xB0886276,0x849E,0x4C7A,{ 0x8A,0xE6,0xB5,0x60,0x64,0x53,0x21,0x53 } }; // B0886276-849E-4C7A-8AE6-B56064532153 + template <> inline constexpr guid guid_v{ 0x9F77FAC7,0xB4BD,0x4857,{ 0x9D,0x50,0xBE,0x8E,0xF0,0x75,0xDA,0xEF } }; // 9F77FAC7-B4BD-4857-9D50-BE8EF075DAEF + template <> inline constexpr guid guid_v{ 0x7960CE18,0xD39B,0x4FC8,{ 0xA0,0x4A,0x92,0x97,0x34,0xC6,0x75,0x6C } }; // 7960CE18-D39B-4FC8-A04A-929734C6756C + template <> inline constexpr guid guid_v{ 0x55B08742,0x1808,0x494E,{ 0x9E,0x30,0x9D,0x2A,0x7B,0xE8,0xF7,0x00 } }; // 55B08742-1808-494E-9E30-9D2A7BE8F700 + template <> inline constexpr guid guid_v{ 0xDCD4D798,0x4B0B,0x4300,{ 0x8D,0x85,0x41,0x08,0x17,0xFA,0xA0,0x32 } }; // DCD4D798-4B0B-4300-8D85-410817FAA032 + template <> inline constexpr guid guid_v{ 0x6D334120,0x95CE,0x4660,{ 0x90,0x7A,0xD9,0x80,0x35,0xAA,0x2B,0x7C } }; // 6D334120-95CE-4660-907A-D98035AA2B7C + template <> inline constexpr guid guid_v{ 0xEA1A8071,0x7A70,0x4A61,{ 0xAF,0x94,0x07,0x30,0x38,0x53,0xF6,0x95 } }; // EA1A8071-7A70-4A61-AF94-07303853F695 + template <> inline constexpr guid guid_v{ 0x5DF3CCA2,0x01F8,0x4A87,{ 0xB8,0x59,0xD5,0xE5,0xB7,0xE1,0xDE,0x47 } }; // 5DF3CCA2-01F8-4A87-B859-D5E5B7E1DE47 + template <> inline constexpr guid guid_v{ 0x383CFF99,0xD70C,0x444D,{ 0xA8,0xB0,0x72,0x0C,0x2E,0x66,0xFE,0x3B } }; // 383CFF99-D70C-444D-A8B0-720C2E66FE3B + template <> inline constexpr guid guid_v{ 0x75763EA3,0x011A,0x470E,{ 0x82,0x25,0x6F,0x05,0xAD,0xE2,0x56,0x48 } }; // 75763EA3-011A-470E-8225-6F05ADE25648 + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameSource; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionControlSession; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::IPerceptionVideoProfile; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FocalLength(void**) noexcept = 0; + virtual int32_t __stdcall get_PrincipalPoint(void**) noexcept = 0; + virtual int32_t __stdcall get_RadialDistortion(void**) noexcept = 0; + virtual int32_t __stdcall get_TangentialDistortion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Exposure(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoExposureEnabled(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinDepth(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDepth(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceIds(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameKind(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceModelVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_EnclosureLocation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Exposure(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoExposureEnabled(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensation(void**) noexcept = 0; + virtual int32_t __stdcall get_ActiveIlluminationEnabled(void**) noexcept = 0; + virtual int32_t __stdcall get_AmbientSubtractionEnabled(void**) noexcept = 0; + virtual int32_t __stdcall get_StructureLightPatternEnabled(void**) noexcept = 0; + virtual int32_t __stdcall get_InterleavedIlluminationEnabled(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoProfile(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_AvailableVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_IsMirrored(void**) noexcept = 0; + virtual int32_t __stdcall get_CameraIntrinsics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BitmapPixelFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapAlphaMode(void**) noexcept = 0; + virtual int32_t __stdcall get_Width(void**) noexcept = 0; + virtual int32_t __stdcall get_Height(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameDuration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativeTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall TryOpenFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPaused(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPaused(bool) noexcept = 0; + virtual int32_t __stdcall TryReadLatestFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AvailableChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailableChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ActiveChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActiveChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PropertiesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoProfileChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CameraIntrinsicsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraIntrinsicsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceKind(void**) noexcept = 0; + virtual int32_t __stdcall get_Available(bool*) noexcept = 0; + virtual int32_t __stdcall get_Active(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsControlled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_AvailableVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProfile(void**) noexcept = 0; + virtual int32_t __stdcall get_CameraIntrinsics(void**) noexcept = 0; + virtual int32_t __stdcall AcquireControlSession(void**) noexcept = 0; + virtual int32_t __stdcall CanControlIndependentlyFrom(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsCorrelatedWith(void*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetTransformTo(void*, winrt::Windows::Foundation::Numerics::float4x4*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCameraIntrinsicsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCoordinateMapperAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySetVideoProfileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall OpenReader(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SourceAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ControlLost(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ControlLost(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall TrySetPropertyAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point, void*, winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall UnprojectPixelsAtCorrelatedDepth(uint32_t, winrt::Windows::Foundation::Point*, void*, uint32_t, winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect, void*, uint32_t, winrt::Windows::Foundation::Numerics::float3*, void**) noexcept = 0; + virtual int32_t __stdcall UnprojectAllPixelsAtCorrelatedDepthAsync(void*, uint32_t, winrt::Windows::Foundation::Numerics::float3*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MapPixelToTarget(winrt::Windows::Foundation::Point, void*, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall MapPixelsToTarget(uint32_t, winrt::Windows::Foundation::Point*, void*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect, void*, uint32_t, winrt::Windows::Foundation::Point*, void**) noexcept = 0; + virtual int32_t __stdcall MapAllPixelsToTargetAsync(void*, uint32_t, winrt::Windows::Foundation::Point*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativeTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall TryOpenFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPaused(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPaused(bool) noexcept = 0; + virtual int32_t __stdcall TryReadLatestFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AvailableChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailableChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ActiveChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActiveChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PropertiesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoProfileChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CameraIntrinsicsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraIntrinsicsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceKind(void**) noexcept = 0; + virtual int32_t __stdcall get_Available(bool*) noexcept = 0; + virtual int32_t __stdcall get_Active(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsControlled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_AvailableVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProfile(void**) noexcept = 0; + virtual int32_t __stdcall get_CameraIntrinsics(void**) noexcept = 0; + virtual int32_t __stdcall AcquireControlSession(void**) noexcept = 0; + virtual int32_t __stdcall CanControlIndependentlyFrom(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsCorrelatedWith(void*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetTransformTo(void*, winrt::Windows::Foundation::Numerics::float4x4*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCameraIntrinsicsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCoordinateMapperAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySetVideoProfileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall OpenReader(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SourceAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CollectionChange(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Key(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewValue(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativeTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall TryOpenFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPaused(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPaused(bool) noexcept = 0; + virtual int32_t __stdcall TryReadLatestFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AvailableChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailableChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ActiveChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActiveChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PropertiesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoProfileChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CameraIntrinsicsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraIntrinsicsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceKind(void**) noexcept = 0; + virtual int32_t __stdcall get_Available(bool*) noexcept = 0; + virtual int32_t __stdcall get_Active(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsControlled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_AvailableVideoProfiles(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProfile(void**) noexcept = 0; + virtual int32_t __stdcall get_CameraIntrinsics(void**) noexcept = 0; + virtual int32_t __stdcall AcquireControlSession(void**) noexcept = 0; + virtual int32_t __stdcall CanControlIndependentlyFrom(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsCorrelatedWith(void*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetTransformTo(void*, winrt::Windows::Foundation::Numerics::float4x4*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCameraIntrinsicsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetDepthCorrelatedCoordinateMapperAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySetVideoProfileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall OpenReader(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SourceAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BitmapPixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BitmapAlphaMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Width(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FrameDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall IsEqual(void*, bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics + { + [[nodiscard]] auto FocalLength() const; + [[nodiscard]] auto PrincipalPoint() const; + [[nodiscard]] auto RadialDistortion() const; + [[nodiscard]] auto TangentialDistortion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics + { + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto AutoExposureEnabled() const; + [[nodiscard]] auto ExposureCompensation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics + { + [[nodiscard]] auto MinDepth() const; + [[nodiscard]] auto MaxDepth() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto PhysicalDeviceIds() const; + [[nodiscard]] auto FrameKind() const; + [[nodiscard]] auto DeviceModelVersion() const; + [[nodiscard]] auto EnclosureLocation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2 + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics + { + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto AutoExposureEnabled() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto ActiveIlluminationEnabled() const; + [[nodiscard]] auto AmbientSubtractionEnabled() const; + [[nodiscard]] auto StructureLightPatternEnabled() const; + [[nodiscard]] auto InterleavedIlluminationEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics + { + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto IsMirrored() const; + [[nodiscard]] auto CameraIntrinsics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics + { + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrame + { + [[nodiscard]] auto VideoFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrame; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs + { + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameReader + { + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameReader; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource + { + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSource; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource2 + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSource2; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics + { + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher + { + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionControlSession + { + auto ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ControlLost_revoker = impl::event_revoker::remove_ControlLost>; + [[nodiscard]] auto ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ControlLost(winrt::event_token const& token) const noexcept; + auto TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionControlSession; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics + { + auto UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; + auto UnprojectPixelsAtCorrelatedDepth(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper + { + auto MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; + auto MapPixelsToTarget(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; + auto MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrame + { + [[nodiscard]] auto VideoFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrame; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs + { + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameReader + { + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameReader; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource + { + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSource; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2 + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics + { + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher + { + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs + { + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Key() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto NewValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrame + { + [[nodiscard]] auto VideoFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrame; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs + { + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader + { + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource + { + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2 + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs + { + [[nodiscard]] auto FrameSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics + { + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher + { + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher; + }; + template + struct consume_Windows_Devices_Perception_IPerceptionVideoProfile + { + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameDuration() const; + auto IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_IPerceptionVideoProfile; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.1.h new file mode 100644 index 0000000000000000000000000000000000000000..b5e2229c7310f582c0f8a8d113036af9c9dbb379 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.1.h @@ -0,0 +1,308 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_1_H +#define WINRT_Windows_Devices_Perception_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Perception.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Perception +{ + struct WINRT_IMPL_EMPTY_BASES IKnownCameraIntrinsicsPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownCameraIntrinsicsPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownCameraIntrinsicsPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionColorFrameSourcePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionColorFrameSourcePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionColorFrameSourcePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionDepthFrameSourcePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionDepthFrameSourcePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionDepthFrameSourcePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionFrameSourcePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionFrameSourcePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionFrameSourcePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionFrameSourcePropertiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionFrameSourcePropertiesStatics2(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionFrameSourcePropertiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionInfraredFrameSourcePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionInfraredFrameSourcePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionInfraredFrameSourcePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionVideoFrameSourcePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionVideoFrameSourcePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionVideoFrameSourcePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionVideoProfilePropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionVideoProfilePropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionVideoProfilePropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionColorFrame(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionColorFrameReader(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSource(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSource2(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSourceAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSourceAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSourceRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSourceRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSourceStatics(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionColorFrameSourceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionColorFrameSourceWatcher(std::nullptr_t = nullptr) noexcept {} + IPerceptionColorFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionControlSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionControlSession(std::nullptr_t = nullptr) noexcept {} + IPerceptionControlSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthCorrelatedCameraIntrinsics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthCorrelatedCameraIntrinsics(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthCorrelatedCameraIntrinsics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthCorrelatedCoordinateMapper : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthCorrelatedCoordinateMapper(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthCorrelatedCoordinateMapper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionDepthFrame(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionDepthFrameReader(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSource(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSource2(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSourceAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSourceAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSourceRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSourceRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSourceStatics(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionDepthFrameSourceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionDepthFrameSourceWatcher(std::nullptr_t = nullptr) noexcept {} + IPerceptionDepthFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameSourcePropertiesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFrameSourcePropertiesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameSourcePropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameSourcePropertyChangeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFrameSourcePropertyChangeResult(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameSourcePropertyChangeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionInfraredFrame(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionInfraredFrameReader(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSource(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSource2(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSourceAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSourceAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSourceRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSourceRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSourceStatics(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionInfraredFrameSourceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionInfraredFrameSourceWatcher(std::nullptr_t = nullptr) noexcept {} + IPerceptionInfraredFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionVideoProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionVideoProfile(std::nullptr_t = nullptr) noexcept {} + IPerceptionVideoProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6334a2fdc1ff1a3002832061d571bb60dc812b12 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.2.h @@ -0,0 +1,224 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_2_H +#define WINRT_Windows_Devices_Perception_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Perception.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Perception +{ + struct KnownCameraIntrinsicsProperties + { + KnownCameraIntrinsicsProperties() = delete; + [[nodiscard]] static auto FocalLength(); + [[nodiscard]] static auto PrincipalPoint(); + [[nodiscard]] static auto RadialDistortion(); + [[nodiscard]] static auto TangentialDistortion(); + }; + struct KnownPerceptionColorFrameSourceProperties + { + KnownPerceptionColorFrameSourceProperties() = delete; + [[nodiscard]] static auto Exposure(); + [[nodiscard]] static auto AutoExposureEnabled(); + [[nodiscard]] static auto ExposureCompensation(); + }; + struct KnownPerceptionDepthFrameSourceProperties + { + KnownPerceptionDepthFrameSourceProperties() = delete; + [[nodiscard]] static auto MinDepth(); + [[nodiscard]] static auto MaxDepth(); + }; + struct KnownPerceptionFrameSourceProperties + { + KnownPerceptionFrameSourceProperties() = delete; + [[nodiscard]] static auto Id(); + [[nodiscard]] static auto PhysicalDeviceIds(); + [[nodiscard]] static auto FrameKind(); + [[nodiscard]] static auto DeviceModelVersion(); + [[nodiscard]] static auto EnclosureLocation(); + [[nodiscard]] static auto DeviceId(); + }; + struct KnownPerceptionInfraredFrameSourceProperties + { + KnownPerceptionInfraredFrameSourceProperties() = delete; + [[nodiscard]] static auto Exposure(); + [[nodiscard]] static auto AutoExposureEnabled(); + [[nodiscard]] static auto ExposureCompensation(); + [[nodiscard]] static auto ActiveIlluminationEnabled(); + [[nodiscard]] static auto AmbientSubtractionEnabled(); + [[nodiscard]] static auto StructureLightPatternEnabled(); + [[nodiscard]] static auto InterleavedIlluminationEnabled(); + }; + struct KnownPerceptionVideoFrameSourceProperties + { + KnownPerceptionVideoFrameSourceProperties() = delete; + [[nodiscard]] static auto VideoProfile(); + [[nodiscard]] static auto SupportedVideoProfiles(); + [[nodiscard]] static auto AvailableVideoProfiles(); + [[nodiscard]] static auto IsMirrored(); + [[nodiscard]] static auto CameraIntrinsics(); + }; + struct KnownPerceptionVideoProfileProperties + { + KnownPerceptionVideoProfileProperties() = delete; + [[nodiscard]] static auto BitmapPixelFormat(); + [[nodiscard]] static auto BitmapAlphaMode(); + [[nodiscard]] static auto Width(); + [[nodiscard]] static auto Height(); + [[nodiscard]] static auto FrameDuration(); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrame : winrt::Windows::Devices::Perception::IPerceptionColorFrame + { + PerceptionColorFrame(std::nullptr_t) noexcept {} + PerceptionColorFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameArrivedEventArgs : winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs + { + PerceptionColorFrameArrivedEventArgs(std::nullptr_t) noexcept {} + PerceptionColorFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameReader : winrt::Windows::Devices::Perception::IPerceptionColorFrameReader + { + PerceptionColorFrameReader(std::nullptr_t) noexcept {} + PerceptionColorFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameSource : winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, + impl::require + { + PerceptionColorFrameSource(std::nullptr_t) noexcept {} + PerceptionColorFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameSource(ptr, take_ownership_from_abi) {} + static auto CreateWatcher(); + static auto FindAllAsync(); + static auto FromIdAsync(param::hstring const& id); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameSourceAddedEventArgs : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceAddedEventArgs + { + PerceptionColorFrameSourceAddedEventArgs(std::nullptr_t) noexcept {} + PerceptionColorFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameSourceRemovedEventArgs : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceRemovedEventArgs + { + PerceptionColorFrameSourceRemovedEventArgs(std::nullptr_t) noexcept {} + PerceptionColorFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionColorFrameSourceWatcher : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher + { + PerceptionColorFrameSourceWatcher(std::nullptr_t) noexcept {} + PerceptionColorFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionControlSession : winrt::Windows::Devices::Perception::IPerceptionControlSession + { + PerceptionControlSession(std::nullptr_t) noexcept {} + PerceptionControlSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionControlSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthCorrelatedCameraIntrinsics : winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics + { + PerceptionDepthCorrelatedCameraIntrinsics(std::nullptr_t) noexcept {} + PerceptionDepthCorrelatedCameraIntrinsics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthCorrelatedCoordinateMapper : winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper + { + PerceptionDepthCorrelatedCoordinateMapper(std::nullptr_t) noexcept {} + PerceptionDepthCorrelatedCoordinateMapper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrame : winrt::Windows::Devices::Perception::IPerceptionDepthFrame + { + PerceptionDepthFrame(std::nullptr_t) noexcept {} + PerceptionDepthFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameArrivedEventArgs : winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs + { + PerceptionDepthFrameArrivedEventArgs(std::nullptr_t) noexcept {} + PerceptionDepthFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameReader : winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader + { + PerceptionDepthFrameReader(std::nullptr_t) noexcept {} + PerceptionDepthFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameSource : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, + impl::require + { + PerceptionDepthFrameSource(std::nullptr_t) noexcept {} + PerceptionDepthFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource(ptr, take_ownership_from_abi) {} + static auto CreateWatcher(); + static auto FindAllAsync(); + static auto FromIdAsync(param::hstring const& id); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameSourceAddedEventArgs : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceAddedEventArgs + { + PerceptionDepthFrameSourceAddedEventArgs(std::nullptr_t) noexcept {} + PerceptionDepthFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameSourceRemovedEventArgs : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceRemovedEventArgs + { + PerceptionDepthFrameSourceRemovedEventArgs(std::nullptr_t) noexcept {} + PerceptionDepthFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionDepthFrameSourceWatcher : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher + { + PerceptionDepthFrameSourceWatcher(std::nullptr_t) noexcept {} + PerceptionDepthFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionFrameSourcePropertiesChangedEventArgs : winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs + { + PerceptionFrameSourcePropertiesChangedEventArgs(std::nullptr_t) noexcept {} + PerceptionFrameSourcePropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionFrameSourcePropertyChangeResult : winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult + { + PerceptionFrameSourcePropertyChangeResult(std::nullptr_t) noexcept {} + PerceptionFrameSourcePropertyChangeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrame : winrt::Windows::Devices::Perception::IPerceptionInfraredFrame + { + PerceptionInfraredFrame(std::nullptr_t) noexcept {} + PerceptionInfraredFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameArrivedEventArgs : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs + { + PerceptionInfraredFrameArrivedEventArgs(std::nullptr_t) noexcept {} + PerceptionInfraredFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameReader : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader + { + PerceptionInfraredFrameReader(std::nullptr_t) noexcept {} + PerceptionInfraredFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameSource : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, + impl::require + { + PerceptionInfraredFrameSource(std::nullptr_t) noexcept {} + PerceptionInfraredFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource(ptr, take_ownership_from_abi) {} + static auto CreateWatcher(); + static auto FindAllAsync(); + static auto FromIdAsync(param::hstring const& id); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameSourceAddedEventArgs : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceAddedEventArgs + { + PerceptionInfraredFrameSourceAddedEventArgs(std::nullptr_t) noexcept {} + PerceptionInfraredFrameSourceAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameSourceRemovedEventArgs : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceRemovedEventArgs + { + PerceptionInfraredFrameSourceRemovedEventArgs(std::nullptr_t) noexcept {} + PerceptionInfraredFrameSourceRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionInfraredFrameSourceWatcher : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher + { + PerceptionInfraredFrameSourceWatcher(std::nullptr_t) noexcept {} + PerceptionInfraredFrameSourceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionVideoProfile : winrt::Windows::Devices::Perception::IPerceptionVideoProfile + { + PerceptionVideoProfile(std::nullptr_t) noexcept {} + PerceptionVideoProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::IPerceptionVideoProfile(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cfdc065273a48847f2e24e077a7dc7a14deae524 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.0.h @@ -0,0 +1,513 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_Provider_0_H +#define WINRT_Windows_Devices_Perception_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Perception +{ + enum class PerceptionFrameSourcePropertyChangeStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct IMemoryBuffer; + struct Size; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + struct IPropertySet; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapAlphaMode : int32_t; + enum class BitmapPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Perception::Provider +{ + struct IKnownPerceptionFrameKindStatics; + struct IPerceptionControlGroup; + struct IPerceptionControlGroupFactory; + struct IPerceptionCorrelation; + struct IPerceptionCorrelationFactory; + struct IPerceptionCorrelationGroup; + struct IPerceptionCorrelationGroupFactory; + struct IPerceptionFaceAuthenticationGroup; + struct IPerceptionFaceAuthenticationGroupFactory; + struct IPerceptionFrame; + struct IPerceptionFrameProvider; + struct IPerceptionFrameProviderInfo; + struct IPerceptionFrameProviderManager; + struct IPerceptionFrameProviderManagerServiceStatics; + struct IPerceptionPropertyChangeRequest; + struct IPerceptionVideoFrameAllocator; + struct IPerceptionVideoFrameAllocatorFactory; + struct KnownPerceptionFrameKind; + struct PerceptionControlGroup; + struct PerceptionCorrelation; + struct PerceptionCorrelationGroup; + struct PerceptionFaceAuthenticationGroup; + struct PerceptionFrame; + struct PerceptionFrameProviderInfo; + struct PerceptionFrameProviderManagerService; + struct PerceptionPropertyChangeRequest; + struct PerceptionVideoFrameAllocator; + struct PerceptionStartFaceAuthenticationHandler; + struct PerceptionStopFaceAuthenticationHandler; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.KnownPerceptionFrameKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionControlGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionCorrelation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionCorrelationGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionFaceAuthenticationGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionFrameProviderInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionFrameProviderManagerService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionPropertyChangeRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionVideoFrameAllocator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IKnownPerceptionFrameKindStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionControlGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionControlGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionCorrelation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionCorrelationFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionCorrelationGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionCorrelationGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFaceAuthenticationGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFaceAuthenticationGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFrameProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFrameProviderInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFrameProviderManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionFrameProviderManagerServiceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionPropertyChangeRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionVideoFrameAllocator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.IPerceptionVideoFrameAllocatorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionStartFaceAuthenticationHandler"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Perception.Provider.PerceptionStopFaceAuthenticationHandler"; + template <> inline constexpr guid guid_v{ 0x3AE651D6,0x9669,0x4106,{ 0x9F,0xAE,0x48,0x35,0xC1,0xB9,0x61,0x04 } }; // 3AE651D6-9669-4106-9FAE-4835C1B96104 + template <> inline constexpr guid guid_v{ 0x172C4882,0x2FD9,0x4C4E,{ 0xBA,0x34,0xFD,0xF2,0x0A,0x73,0xDD,0xE5 } }; // 172C4882-2FD9-4C4E-BA34-FDF20A73DDE5 + template <> inline constexpr guid guid_v{ 0x2F1AF2E0,0xBAF1,0x453B,{ 0xBE,0xD4,0xCD,0x9D,0x46,0x19,0x15,0x4C } }; // 2F1AF2E0-BAF1-453B-BED4-CD9D4619154C + template <> inline constexpr guid guid_v{ 0xB4131A82,0xDFF5,0x4047,{ 0x8A,0x19,0x3B,0x4D,0x80,0x5F,0x71,0x76 } }; // B4131A82-DFF5-4047-8A19-3B4D805F7176 + template <> inline constexpr guid guid_v{ 0xD4A6C425,0x2884,0x4A8F,{ 0x81,0x34,0x28,0x35,0xD7,0x28,0x6C,0xBF } }; // D4A6C425-2884-4A8F-8134-2835D7286CBF + template <> inline constexpr guid guid_v{ 0x752A0906,0x36A7,0x47BB,{ 0x9B,0x79,0x56,0xCC,0x6B,0x74,0x67,0x70 } }; // 752A0906-36A7-47BB-9B79-56CC6B746770 + template <> inline constexpr guid guid_v{ 0x7DFE2088,0x63DF,0x48ED,{ 0x83,0xB1,0x4A,0xB8,0x29,0x13,0x29,0x95 } }; // 7DFE2088-63DF-48ED-83B1-4AB829132995 + template <> inline constexpr guid guid_v{ 0xE8019814,0x4A91,0x41B0,{ 0x83,0xA6,0x88,0x1A,0x17,0x75,0x35,0x3E } }; // E8019814-4A91-41B0-83A6-881A1775353E + template <> inline constexpr guid guid_v{ 0xE68A05D4,0xB60C,0x40F4,{ 0xBC,0xB9,0xF2,0x4D,0x46,0x46,0x73,0x20 } }; // E68A05D4-B60C-40F4-BCB9-F24D46467320 + template <> inline constexpr guid guid_v{ 0x7CFE7825,0x54BB,0x4D9D,{ 0xBE,0xC5,0x8E,0xF6,0x61,0x51,0xD2,0xAC } }; // 7CFE7825-54BB-4D9D-BEC5-8EF66151D2AC + template <> inline constexpr guid guid_v{ 0x794F7AB9,0xB37D,0x3B33,{ 0xA1,0x0D,0x30,0x62,0x64,0x19,0xCE,0x65 } }; // 794F7AB9-B37D-3B33-A10D-30626419CE65 + template <> inline constexpr guid guid_v{ 0xCCA959E8,0x797E,0x4E83,{ 0x9B,0x87,0x03,0x6A,0x74,0x14,0x2F,0xC4 } }; // CCA959E8-797E-4E83-9B87-036A74142FC4 + template <> inline constexpr guid guid_v{ 0xA959CE07,0xEAD3,0x33DF,{ 0x8E,0xC1,0xB9,0x24,0xAB,0xE0,0x19,0xC4 } }; // A959CE07-EAD3-33DF-8EC1-B924ABE019C4 + template <> inline constexpr guid guid_v{ 0xAE8386E6,0xCAD9,0x4359,{ 0x8F,0x96,0x8E,0xAE,0x51,0x81,0x05,0x26 } }; // AE8386E6-CAD9-4359-8F96-8EAE51810526 + template <> inline constexpr guid guid_v{ 0x3C5AEB51,0x350B,0x4DF8,{ 0x94,0x14,0x59,0xE0,0x98,0x15,0x51,0x0B } }; // 3C5AEB51-350B-4DF8-9414-59E09815510B + template <> inline constexpr guid guid_v{ 0x4C38A7DA,0xFDD8,0x4ED4,{ 0xA0,0x39,0x2A,0x6F,0x9B,0x23,0x50,0x38 } }; // 4C38A7DA-FDD8-4ED4-A039-2A6F9B235038 + template <> inline constexpr guid guid_v{ 0x1A58B0E1,0xE91A,0x481E,{ 0xB8,0x76,0xA8,0x9E,0x2B,0xBC,0x6B,0x33 } }; // 1A58B0E1-E91A-481E-B876-A89E2BBC6B33 + template <> inline constexpr guid guid_v{ 0x74816D2A,0x2090,0x4670,{ 0x8C,0x48,0xEF,0x39,0xE7,0xFF,0x7C,0x26 } }; // 74816D2A-2090-4670-8C48-EF39E7FF7C26 + template <> inline constexpr guid guid_v{ 0x387EE6AA,0x89CD,0x481E,{ 0xAA,0xDE,0xDD,0x92,0xF7,0x0B,0x2A,0xD7 } }; // 387EE6AA-89CD-481E-AADE-DD92F70B2AD7 + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Color(void**) noexcept = 0; + virtual int32_t __stdcall get_Depth(void**) noexcept = 0; + virtual int32_t __stdcall get_Infrared(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameProviderIds(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TargetId(void**) noexcept = 0; + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_Orientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativeLocations(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameProviderIds(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativeTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_RelativeTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameProviderInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_Available(bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall SetProperty(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall put_Id(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_DeviceKind(void**) noexcept = 0; + virtual int32_t __stdcall put_DeviceKind(void*) noexcept = 0; + virtual int32_t __stdcall get_FrameKind(void**) noexcept = 0; + virtual int32_t __stdcall put_FrameKind(void*) noexcept = 0; + virtual int32_t __stdcall get_Hidden(bool*) noexcept = 0; + virtual int32_t __stdcall put_Hidden(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFrameProvider(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterFrameProviderInfo(void*, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterFrameProviderInfo(void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterFaceAuthenticationGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterFaceAuthenticationGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterControlGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterControlGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterCorrelationGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterCorrelationGroup(void*, void*) noexcept = 0; + virtual int32_t __stdcall UpdateAvailabilityForProvider(void*, bool) noexcept = 0; + virtual int32_t __stdcall PublishFrameForProvider(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Status(int32_t) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AllocateFrame(void**) noexcept = 0; + virtual int32_t __stdcall CopyFromVideoFrame(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, int32_t, winrt::Windows::Foundation::Size, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics + { + [[nodiscard]] auto Color() const; + [[nodiscard]] auto Depth() const; + [[nodiscard]] auto Infrared() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup + { + [[nodiscard]] auto FrameProviderIds() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory + { + auto Create(param::iterable const& ids) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation + { + [[nodiscard]] auto TargetId() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Orientation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory + { + auto Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup + { + [[nodiscard]] auto RelativeLocations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory + { + auto Create(param::iterable const& relativeLocations) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup + { + [[nodiscard]] auto FrameProviderIds() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory + { + auto Create(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFrame + { + [[nodiscard]] auto RelativeTime() const; + auto RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto FrameData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFrame; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider + { + [[nodiscard]] auto FrameProviderInfo() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Properties() const; + auto Start() const; + auto Stop() const; + auto SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo + { + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DeviceKind() const; + auto DeviceKind(param::hstring const& value) const; + [[nodiscard]] auto FrameKind() const; + auto FrameKind(param::hstring const& value) const; + [[nodiscard]] auto Hidden() const; + auto Hidden(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager + { + auto GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics + { + auto RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + auto UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + auto RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; + auto UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; + auto RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; + auto UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; + auto RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; + auto UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; + auto UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const; + auto PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator + { + auto AllocateFrame() const; + auto CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator; + }; + template + struct consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory + { + auto Create(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..652b6a39a5b631e8e70f3812bd07b035915c8c88 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.1.h @@ -0,0 +1,136 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_Provider_1_H +#define WINRT_Windows_Devices_Perception_Provider_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Perception.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Perception::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IKnownPerceptionFrameKindStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownPerceptionFrameKindStatics(std::nullptr_t = nullptr) noexcept {} + IKnownPerceptionFrameKindStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionControlGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionControlGroup(std::nullptr_t = nullptr) noexcept {} + IPerceptionControlGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionControlGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionControlGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPerceptionControlGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionCorrelation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionCorrelation(std::nullptr_t = nullptr) noexcept {} + IPerceptionCorrelation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionCorrelationFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionCorrelationFactory(std::nullptr_t = nullptr) noexcept {} + IPerceptionCorrelationFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionCorrelationGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionCorrelationGroup(std::nullptr_t = nullptr) noexcept {} + IPerceptionCorrelationGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionCorrelationGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionCorrelationGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPerceptionCorrelationGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFaceAuthenticationGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFaceAuthenticationGroup(std::nullptr_t = nullptr) noexcept {} + IPerceptionFaceAuthenticationGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFaceAuthenticationGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFaceAuthenticationGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPerceptionFaceAuthenticationGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFrame(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionFrameProvider(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameProviderInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFrameProviderInfo(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameProviderInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameProviderManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionFrameProviderManager(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameProviderManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionFrameProviderManagerServiceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionFrameProviderManagerServiceStatics(std::nullptr_t = nullptr) noexcept {} + IPerceptionFrameProviderManagerServiceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionPropertyChangeRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionPropertyChangeRequest(std::nullptr_t = nullptr) noexcept {} + IPerceptionPropertyChangeRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionVideoFrameAllocator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPerceptionVideoFrameAllocator(std::nullptr_t = nullptr) noexcept {} + IPerceptionVideoFrameAllocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionVideoFrameAllocatorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionVideoFrameAllocatorFactory(std::nullptr_t = nullptr) noexcept {} + IPerceptionVideoFrameAllocatorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ede840f4d5798ba8c4bd826346449e4785defea4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.perception.provider.2.h @@ -0,0 +1,110 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Perception_Provider_2_H +#define WINRT_Windows_Devices_Perception_Provider_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Foundation.Numerics.1.h" +#include "winrt/impl/Windows.Graphics.Imaging.1.h" +#include "winrt/impl/Windows.Devices.Perception.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Perception::Provider +{ + struct PerceptionStartFaceAuthenticationHandler : winrt::Windows::Foundation::IUnknown + { + PerceptionStartFaceAuthenticationHandler(std::nullptr_t = nullptr) noexcept {} + PerceptionStartFaceAuthenticationHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template PerceptionStartFaceAuthenticationHandler(L lambda); + template PerceptionStartFaceAuthenticationHandler(F* function); + template PerceptionStartFaceAuthenticationHandler(O* object, M method); + template PerceptionStartFaceAuthenticationHandler(com_ptr&& object, M method); + template PerceptionStartFaceAuthenticationHandler(weak_ref&& object, LM&& lambda_or_method); + template PerceptionStartFaceAuthenticationHandler(std::shared_ptr&& object, M method); + template PerceptionStartFaceAuthenticationHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& sender) const; + }; + struct PerceptionStopFaceAuthenticationHandler : winrt::Windows::Foundation::IUnknown + { + PerceptionStopFaceAuthenticationHandler(std::nullptr_t = nullptr) noexcept {} + PerceptionStopFaceAuthenticationHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template PerceptionStopFaceAuthenticationHandler(L lambda); + template PerceptionStopFaceAuthenticationHandler(F* function); + template PerceptionStopFaceAuthenticationHandler(O* object, M method); + template PerceptionStopFaceAuthenticationHandler(com_ptr&& object, M method); + template PerceptionStopFaceAuthenticationHandler(weak_ref&& object, LM&& lambda_or_method); + template PerceptionStopFaceAuthenticationHandler(std::shared_ptr&& object, M method); + template PerceptionStopFaceAuthenticationHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& sender) const; + }; + struct KnownPerceptionFrameKind + { + KnownPerceptionFrameKind() = delete; + [[nodiscard]] static auto Color(); + [[nodiscard]] static auto Depth(); + [[nodiscard]] static auto Infrared(); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionControlGroup : winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup + { + PerceptionControlGroup(std::nullptr_t) noexcept {} + PerceptionControlGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup(ptr, take_ownership_from_abi) {} + explicit PerceptionControlGroup(param::iterable const& ids); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionCorrelation : winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation + { + PerceptionCorrelation(std::nullptr_t) noexcept {} + PerceptionCorrelation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation(ptr, take_ownership_from_abi) {} + PerceptionCorrelation(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionCorrelationGroup : winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup + { + PerceptionCorrelationGroup(std::nullptr_t) noexcept {} + PerceptionCorrelationGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup(ptr, take_ownership_from_abi) {} + explicit PerceptionCorrelationGroup(param::iterable const& relativeLocations); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionFaceAuthenticationGroup : winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup + { + PerceptionFaceAuthenticationGroup(std::nullptr_t) noexcept {} + PerceptionFaceAuthenticationGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup(ptr, take_ownership_from_abi) {} + PerceptionFaceAuthenticationGroup(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionFrame : winrt::Windows::Devices::Perception::Provider::IPerceptionFrame + { + PerceptionFrame(std::nullptr_t) noexcept {} + PerceptionFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionFrameProviderInfo : winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo + { + PerceptionFrameProviderInfo(std::nullptr_t) noexcept {} + PerceptionFrameProviderInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo(ptr, take_ownership_from_abi) {} + PerceptionFrameProviderInfo(); + }; + struct PerceptionFrameProviderManagerService + { + PerceptionFrameProviderManagerService() = delete; + static auto RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo); + static auto UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo); + static auto RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup); + static auto UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup); + static auto RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup); + static auto UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup); + static auto RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup); + static auto UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup); + static auto UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available); + static auto PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame); + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionPropertyChangeRequest : winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest + { + PerceptionPropertyChangeRequest(std::nullptr_t) noexcept {} + PerceptionPropertyChangeRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PerceptionVideoFrameAllocator : winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator + { + PerceptionVideoFrameAllocator(std::nullptr_t) noexcept {} + PerceptionVideoFrameAllocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator(ptr, take_ownership_from_abi) {} + PerceptionVideoFrameAllocator(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e90308391cbe8ac0d4ae18ba81c5af94ceed37dd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.0.h @@ -0,0 +1,3952 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_0_H +#define WINRT_Windows_Devices_PointOfService_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct IAsyncAction; + struct Point; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct BitmapFrame; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService +{ + enum class BarcodeScannerStatus : int32_t + { + Online = 0, + Off = 1, + Offline = 2, + OffOrOffline = 3, + Extended = 4, + }; + enum class BarcodeSymbologyDecodeLengthKind : int32_t + { + AnyLength = 0, + Discrete = 1, + Range = 2, + }; + enum class CashDrawerStatusKind : int32_t + { + Online = 0, + Off = 1, + Offline = 2, + OffOrOffline = 3, + Extended = 4, + }; + enum class LineDisplayCursorType : int32_t + { + None = 0, + Block = 1, + HalfBlock = 2, + Underline = 3, + Reverse = 4, + Other = 5, + }; + enum class LineDisplayDescriptorState : int32_t + { + Off = 0, + On = 1, + Blink = 2, + }; + enum class LineDisplayHorizontalAlignment : int32_t + { + Left = 0, + Center = 1, + Right = 2, + }; + enum class LineDisplayMarqueeFormat : int32_t + { + None = 0, + Walk = 1, + Place = 2, + }; + enum class LineDisplayPowerStatus : int32_t + { + Unknown = 0, + Online = 1, + Off = 2, + Offline = 3, + OffOrOffline = 4, + }; + enum class LineDisplayScrollDirection : int32_t + { + Up = 0, + Down = 1, + Left = 2, + Right = 3, + }; + enum class LineDisplayTextAttribute : int32_t + { + Normal = 0, + Blink = 1, + Reverse = 2, + ReverseBlink = 3, + }; + enum class LineDisplayTextAttributeGranularity : int32_t + { + NotSupported = 0, + EntireDisplay = 1, + PerCharacter = 2, + }; + enum class LineDisplayVerticalAlignment : int32_t + { + Top = 0, + Center = 1, + Bottom = 2, + }; + enum class MagneticStripeReaderAuthenticationLevel : int32_t + { + NotSupported = 0, + Optional = 1, + Required = 2, + }; + enum class MagneticStripeReaderAuthenticationProtocol : int32_t + { + None = 0, + ChallengeResponse = 1, + }; + enum class MagneticStripeReaderErrorReportingType : int32_t + { + CardLevel = 0, + TrackLevel = 1, + }; + enum class MagneticStripeReaderStatus : int32_t + { + Unauthenticated = 0, + Authenticated = 1, + Extended = 2, + }; + enum class MagneticStripeReaderTrackErrorType : int32_t + { + None = 0, + StartSentinelError = 1, + EndSentinelError = 2, + ParityError = 3, + LrcError = 4, + Unknown = -1, + }; + enum class MagneticStripeReaderTrackIds : int32_t + { + None = 0, + Track1 = 1, + Track2 = 2, + Track3 = 4, + Track4 = 8, + }; + enum class PosConnectionTypes : uint32_t + { + Local = 0x1, + IP = 0x2, + Bluetooth = 0x4, + All = 0xffffffff, + }; + enum class PosPrinterAlignment : int32_t + { + Left = 0, + Center = 1, + Right = 2, + }; + enum class PosPrinterBarcodeTextPosition : int32_t + { + None = 0, + Above = 1, + Below = 2, + }; + enum class PosPrinterCartridgeSensors : uint32_t + { + None = 0, + Removed = 0x1, + Empty = 0x2, + HeadCleaning = 0x4, + NearEnd = 0x8, + }; + enum class PosPrinterColorCapabilities : uint32_t + { + None = 0, + Primary = 0x1, + Custom1 = 0x2, + Custom2 = 0x4, + Custom3 = 0x8, + Custom4 = 0x10, + Custom5 = 0x20, + Custom6 = 0x40, + Cyan = 0x80, + Magenta = 0x100, + Yellow = 0x200, + Full = 0x400, + }; + enum class PosPrinterColorCartridge : int32_t + { + Unknown = 0, + Primary = 1, + Custom1 = 2, + Custom2 = 3, + Custom3 = 4, + Custom4 = 5, + Custom5 = 6, + Custom6 = 7, + Cyan = 8, + Magenta = 9, + Yellow = 10, + }; + enum class PosPrinterLineDirection : int32_t + { + Horizontal = 0, + Vertical = 1, + }; + enum class PosPrinterLineStyle : int32_t + { + SingleSolid = 0, + DoubleSolid = 1, + Broken = 2, + Chain = 3, + }; + enum class PosPrinterMapMode : int32_t + { + Dots = 0, + Twips = 1, + English = 2, + Metric = 3, + }; + enum class PosPrinterMarkFeedCapabilities : uint32_t + { + None = 0, + ToTakeUp = 0x1, + ToCutter = 0x2, + ToCurrentTopOfForm = 0x4, + ToNextTopOfForm = 0x8, + }; + enum class PosPrinterMarkFeedKind : int32_t + { + ToTakeUp = 0, + ToCutter = 1, + ToCurrentTopOfForm = 2, + ToNextTopOfForm = 3, + }; + enum class PosPrinterPrintSide : int32_t + { + Unknown = 0, + Side1 = 1, + Side2 = 2, + }; + enum class PosPrinterRotation : int32_t + { + Normal = 0, + Right90 = 1, + Left90 = 2, + Rotate180 = 3, + }; + enum class PosPrinterRuledLineCapabilities : uint32_t + { + None = 0, + Horizontal = 0x1, + Vertical = 0x2, + }; + enum class PosPrinterStatusKind : int32_t + { + Online = 0, + Off = 1, + Offline = 2, + OffOrOffline = 3, + Extended = 4, + }; + enum class UnifiedPosErrorReason : int32_t + { + UnknownErrorReason = 0, + NoService = 1, + Disabled = 2, + Illegal = 3, + NoHardware = 4, + Closed = 5, + Offline = 6, + Failure = 7, + Timeout = 8, + Busy = 9, + Extended = 10, + }; + enum class UnifiedPosErrorSeverity : int32_t + { + UnknownErrorSeverity = 0, + Warning = 1, + Recoverable = 2, + Unrecoverable = 3, + AssistanceRequired = 4, + Fatal = 5, + }; + enum class UnifiedPosHealthCheckLevel : int32_t + { + UnknownHealthCheckLevel = 0, + POSInternal = 1, + External = 2, + Interactive = 3, + }; + enum class UnifiedPosPowerReportingType : int32_t + { + UnknownPowerReportingType = 0, + Standard = 1, + Advanced = 2, + }; + struct IBarcodeScanner; + struct IBarcodeScanner2; + struct IBarcodeScannerCapabilities; + struct IBarcodeScannerCapabilities1; + struct IBarcodeScannerCapabilities2; + struct IBarcodeScannerDataReceivedEventArgs; + struct IBarcodeScannerErrorOccurredEventArgs; + struct IBarcodeScannerImagePreviewReceivedEventArgs; + struct IBarcodeScannerReport; + struct IBarcodeScannerReportFactory; + struct IBarcodeScannerStatics; + struct IBarcodeScannerStatics2; + struct IBarcodeScannerStatusUpdatedEventArgs; + struct IBarcodeSymbologiesStatics; + struct IBarcodeSymbologiesStatics2; + struct IBarcodeSymbologyAttributes; + struct ICashDrawer; + struct ICashDrawerCapabilities; + struct ICashDrawerCloseAlarm; + struct ICashDrawerEventSource; + struct ICashDrawerEventSourceEventArgs; + struct ICashDrawerStatics; + struct ICashDrawerStatics2; + struct ICashDrawerStatus; + struct ICashDrawerStatusUpdatedEventArgs; + struct IClaimedBarcodeScanner; + struct IClaimedBarcodeScanner1; + struct IClaimedBarcodeScanner2; + struct IClaimedBarcodeScanner3; + struct IClaimedBarcodeScanner4; + struct IClaimedBarcodeScannerClosedEventArgs; + struct IClaimedCashDrawer; + struct IClaimedCashDrawer2; + struct IClaimedCashDrawerClosedEventArgs; + struct IClaimedJournalPrinter; + struct IClaimedLineDisplay; + struct IClaimedLineDisplay2; + struct IClaimedLineDisplay3; + struct IClaimedLineDisplayClosedEventArgs; + struct IClaimedLineDisplayStatics; + struct IClaimedMagneticStripeReader; + struct IClaimedMagneticStripeReader2; + struct IClaimedMagneticStripeReaderClosedEventArgs; + struct IClaimedPosPrinter; + struct IClaimedPosPrinter2; + struct IClaimedPosPrinterClosedEventArgs; + struct IClaimedReceiptPrinter; + struct IClaimedSlipPrinter; + struct ICommonClaimedPosPrinterStation; + struct ICommonPosPrintStationCapabilities; + struct ICommonReceiptSlipCapabilities; + struct IJournalPrintJob; + struct IJournalPrinterCapabilities; + struct IJournalPrinterCapabilities2; + struct ILineDisplay; + struct ILineDisplay2; + struct ILineDisplayAttributes; + struct ILineDisplayCapabilities; + struct ILineDisplayCursor; + struct ILineDisplayCursorAttributes; + struct ILineDisplayCustomGlyphs; + struct ILineDisplayMarquee; + struct ILineDisplayStatics; + struct ILineDisplayStatics2; + struct ILineDisplayStatisticsCategorySelector; + struct ILineDisplayStatusUpdatedEventArgs; + struct ILineDisplayStoredBitmap; + struct ILineDisplayWindow; + struct ILineDisplayWindow2; + struct IMagneticStripeReader; + struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs; + struct IMagneticStripeReaderBankCardDataReceivedEventArgs; + struct IMagneticStripeReaderCapabilities; + struct IMagneticStripeReaderCardTypesStatics; + struct IMagneticStripeReaderEncryptionAlgorithmsStatics; + struct IMagneticStripeReaderErrorOccurredEventArgs; + struct IMagneticStripeReaderReport; + struct IMagneticStripeReaderStatics; + struct IMagneticStripeReaderStatics2; + struct IMagneticStripeReaderStatusUpdatedEventArgs; + struct IMagneticStripeReaderTrackData; + struct IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs; + struct IPosPrinter; + struct IPosPrinter2; + struct IPosPrinterCapabilities; + struct IPosPrinterCharacterSetIdsStatics; + struct IPosPrinterFontProperty; + struct IPosPrinterJob; + struct IPosPrinterPrintOptions; + struct IPosPrinterReleaseDeviceRequestedEventArgs; + struct IPosPrinterStatics; + struct IPosPrinterStatics2; + struct IPosPrinterStatus; + struct IPosPrinterStatusUpdatedEventArgs; + struct IReceiptOrSlipJob; + struct IReceiptPrintJob; + struct IReceiptPrintJob2; + struct IReceiptPrinterCapabilities; + struct IReceiptPrinterCapabilities2; + struct ISlipPrintJob; + struct ISlipPrinterCapabilities; + struct ISlipPrinterCapabilities2; + struct IUnifiedPosErrorData; + struct IUnifiedPosErrorDataFactory; + struct BarcodeScanner; + struct BarcodeScannerCapabilities; + struct BarcodeScannerDataReceivedEventArgs; + struct BarcodeScannerErrorOccurredEventArgs; + struct BarcodeScannerImagePreviewReceivedEventArgs; + struct BarcodeScannerReport; + struct BarcodeScannerStatusUpdatedEventArgs; + struct BarcodeSymbologies; + struct BarcodeSymbologyAttributes; + struct CashDrawer; + struct CashDrawerCapabilities; + struct CashDrawerCloseAlarm; + struct CashDrawerClosedEventArgs; + struct CashDrawerEventSource; + struct CashDrawerOpenedEventArgs; + struct CashDrawerStatus; + struct CashDrawerStatusUpdatedEventArgs; + struct ClaimedBarcodeScanner; + struct ClaimedBarcodeScannerClosedEventArgs; + struct ClaimedCashDrawer; + struct ClaimedCashDrawerClosedEventArgs; + struct ClaimedJournalPrinter; + struct ClaimedLineDisplay; + struct ClaimedLineDisplayClosedEventArgs; + struct ClaimedMagneticStripeReader; + struct ClaimedMagneticStripeReaderClosedEventArgs; + struct ClaimedPosPrinter; + struct ClaimedPosPrinterClosedEventArgs; + struct ClaimedReceiptPrinter; + struct ClaimedSlipPrinter; + struct JournalPrintJob; + struct JournalPrinterCapabilities; + struct LineDisplay; + struct LineDisplayAttributes; + struct LineDisplayCapabilities; + struct LineDisplayCursor; + struct LineDisplayCursorAttributes; + struct LineDisplayCustomGlyphs; + struct LineDisplayMarquee; + struct LineDisplayStatisticsCategorySelector; + struct LineDisplayStatusUpdatedEventArgs; + struct LineDisplayStoredBitmap; + struct LineDisplayWindow; + struct MagneticStripeReader; + struct MagneticStripeReaderAamvaCardDataReceivedEventArgs; + struct MagneticStripeReaderBankCardDataReceivedEventArgs; + struct MagneticStripeReaderCapabilities; + struct MagneticStripeReaderCardTypes; + struct MagneticStripeReaderEncryptionAlgorithms; + struct MagneticStripeReaderErrorOccurredEventArgs; + struct MagneticStripeReaderReport; + struct MagneticStripeReaderStatusUpdatedEventArgs; + struct MagneticStripeReaderTrackData; + struct MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs; + struct PosPrinter; + struct PosPrinterCapabilities; + struct PosPrinterCharacterSetIds; + struct PosPrinterFontProperty; + struct PosPrinterPrintOptions; + struct PosPrinterReleaseDeviceRequestedEventArgs; + struct PosPrinterStatus; + struct PosPrinterStatusUpdatedEventArgs; + struct ReceiptPrintJob; + struct ReceiptPrinterCapabilities; + struct SlipPrintJob; + struct SlipPrinterCapabilities; + struct UnifiedPosErrorData; + struct SizeUInt32; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerImagePreviewReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeSymbologies"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeSymbologyAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerCloseAlarm"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerEventSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerOpenedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedBarcodeScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedBarcodeScannerClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedCashDrawer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedCashDrawerClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedJournalPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedLineDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedLineDisplayClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedMagneticStripeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedMagneticStripeReaderClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedPosPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedPosPrinterClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedReceiptPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ClaimedSlipPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.JournalPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.JournalPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayCursor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayCursorAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayCustomGlyphs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayMarquee"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayStatisticsCategorySelector"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayStoredBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayWindow"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderCardTypes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderEncryptionAlgorithms"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderTrackData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterCharacterSetIds"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterFontProperty"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterPrintOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterReleaseDeviceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ReceiptPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ReceiptPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.SlipPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.SlipPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.UnifiedPosErrorData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeScannerStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.BarcodeSymbologyDecodeLengthKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.CashDrawerStatusKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayCursorType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayDescriptorState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayHorizontalAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayMarqueeFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayPowerStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayScrollDirection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayTextAttribute"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayTextAttributeGranularity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.LineDisplayVerticalAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationLevel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationProtocol"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderErrorReportingType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderTrackErrorType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.MagneticStripeReaderTrackIds"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosConnectionTypes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterBarcodeTextPosition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterCartridgeSensors"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterColorCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterColorCartridge"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterLineDirection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterLineStyle"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterMapMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterMarkFeedCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterMarkFeedKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterPrintSide"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterRotation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterRuledLineCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.PosPrinterStatusKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.UnifiedPosErrorReason"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.UnifiedPosErrorSeverity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.UnifiedPosHealthCheckLevel"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.UnifiedPosPowerReportingType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.SizeUInt32"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScanner2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerCapabilities1"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerCapabilities2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerImagePreviewReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerReportFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeScannerStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeSymbologiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeSymbologiesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IBarcodeSymbologyAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerCloseAlarm"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerEventSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerEventSourceEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICashDrawerStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScanner1"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScanner2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScanner3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScanner4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedBarcodeScannerClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedCashDrawer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedCashDrawer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedCashDrawerClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedJournalPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedLineDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedLineDisplay2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedLineDisplay3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedLineDisplayClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedLineDisplayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedMagneticStripeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedMagneticStripeReader2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedMagneticStripeReaderClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedPosPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedPosPrinter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedPosPrinterClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedReceiptPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IClaimedSlipPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICommonClaimedPosPrinterStation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICommonPosPrintStationCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ICommonReceiptSlipCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IJournalPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IJournalPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IJournalPrinterCapabilities2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplay2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayCursor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayCursorAttributes"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayCustomGlyphs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayMarquee"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayStatisticsCategorySelector"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayStoredBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayWindow"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ILineDisplayWindow2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderAamvaCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderBankCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderCardTypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderEncryptionAlgorithmsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderTrackData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterCharacterSetIdsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterFontProperty"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterPrintOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterReleaseDeviceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IPosPrinterStatusUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IReceiptOrSlipJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IReceiptPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IReceiptPrintJob2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IReceiptPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IReceiptPrinterCapabilities2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ISlipPrintJob"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ISlipPrinterCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.ISlipPrinterCapabilities2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IUnifiedPosErrorData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.IUnifiedPosErrorDataFactory"; + template <> inline constexpr guid guid_v{ 0xBEA33E06,0xB264,0x4F03,{ 0xA9,0xC1,0x45,0xB2,0x0F,0x01,0x13,0x4F } }; // BEA33E06-B264-4F03-A9C1-45B20F01134F + template <> inline constexpr guid guid_v{ 0x89215167,0x8CEE,0x436D,{ 0x89,0xAB,0x8D,0xFB,0x43,0xBB,0x42,0x86 } }; // 89215167-8CEE-436D-89AB-8DFB43BB4286 + template <> inline constexpr guid guid_v{ 0xC60691E4,0xF2C8,0x4420,{ 0xA3,0x07,0xB1,0x2E,0xF6,0x62,0x28,0x57 } }; // C60691E4-F2C8-4420-A307-B12EF6622857 + template <> inline constexpr guid guid_v{ 0x8E5AB3E9,0x0E2C,0x472F,{ 0xA1,0xCC,0xEE,0x80,0x54,0xB6,0xA6,0x84 } }; // 8E5AB3E9-0E2C-472F-A1CC-EE8054B6A684 + template <> inline constexpr guid guid_v{ 0xF211CFEC,0xE1A1,0x4EA8,{ 0x9A,0xBC,0x92,0xB1,0x59,0x62,0x70,0xAB } }; // F211CFEC-E1A1-4EA8-9ABC-92B1596270AB + template <> inline constexpr guid guid_v{ 0x4234A7E2,0xED97,0x467D,{ 0xAD,0x2B,0x01,0xE4,0x43,0x13,0xA9,0x29 } }; // 4234A7E2-ED97-467D-AD2B-01E44313A929 + template <> inline constexpr guid guid_v{ 0x2CD2602F,0xCF3A,0x4002,{ 0xA7,0x5A,0xC5,0xEC,0x46,0x8F,0x0A,0x20 } }; // 2CD2602F-CF3A-4002-A75A-C5EC468F0A20 + template <> inline constexpr guid guid_v{ 0xF3B7DE85,0x6E8B,0x434E,{ 0x9F,0x58,0x06,0xEF,0x26,0xBC,0x4B,0xAF } }; // F3B7DE85-6E8B-434E-9F58-06EF26BC4BAF + template <> inline constexpr guid guid_v{ 0x5CE4D8B0,0xA489,0x4B96,{ 0x86,0xC4,0xF0,0xBF,0x8A,0x37,0x75,0x3D } }; // 5CE4D8B0-A489-4B96-86C4-F0BF8A37753D + template <> inline constexpr guid guid_v{ 0xA2547326,0x2013,0x457C,{ 0x89,0x63,0x49,0xC1,0x5D,0xCA,0x78,0xCE } }; // A2547326-2013-457C-8963-49C15DCA78CE + template <> inline constexpr guid guid_v{ 0x5D115F6F,0xDA49,0x41E8,{ 0x8C,0x8C,0xF0,0xCB,0x62,0xA9,0xC4,0xFC } }; // 5D115F6F-DA49-41E8-8C8C-F0CB62A9C4FC + template <> inline constexpr guid guid_v{ 0xB8652473,0xA36F,0x4007,{ 0xB1,0xD0,0x27,0x9E,0xBE,0x92,0xA6,0x56 } }; // B8652473-A36F-4007-B1D0-279EBE92A656 + template <> inline constexpr guid guid_v{ 0x355D8586,0x9C43,0x462B,{ 0xA9,0x1A,0x81,0x6D,0xC9,0x7F,0x45,0x2C } }; // 355D8586-9C43-462B-A91A-816DC97F452C + template <> inline constexpr guid guid_v{ 0xCA8549BB,0x06D2,0x43F4,{ 0xA4,0x4B,0xC6,0x20,0x67,0x9F,0xD8,0xD0 } }; // CA8549BB-06D2-43F4-A44B-C620679FD8D0 + template <> inline constexpr guid guid_v{ 0x8B7518F4,0x99D0,0x40BF,{ 0x94,0x24,0xB9,0x1D,0x6D,0xD4,0xC6,0xE0 } }; // 8B7518F4-99D0-40BF-9424-B91D6DD4C6E0 + template <> inline constexpr guid guid_v{ 0x66413A78,0xAB7A,0x4ADA,{ 0x8E,0xCE,0x93,0x60,0x14,0xB2,0xEA,0xD7 } }; // 66413A78-AB7A-4ADA-8ECE-936014B2EAD7 + template <> inline constexpr guid guid_v{ 0x9F88F5C8,0xDE54,0x4AEE,{ 0xA8,0x90,0x92,0x0B,0xCB,0xFE,0x30,0xFC } }; // 9F88F5C8-DE54-4AEE-A890-920BCBFE30FC + template <> inline constexpr guid guid_v{ 0x0BC6DE0B,0xE8E7,0x4B1F,{ 0xB1,0xD1,0x3E,0x50,0x1A,0xD0,0x82,0x47 } }; // 0BC6DE0B-E8E7-4B1F-B1D1-3E501AD08247 + template <> inline constexpr guid guid_v{ 0x6BF88CC7,0x6F63,0x430E,{ 0xAB,0x3B,0x95,0xD7,0x5F,0xFB,0xE8,0x7F } }; // 6BF88CC7-6F63-430E-AB3B-95D75FFBE87F + template <> inline constexpr guid guid_v{ 0xE006E46C,0xF2F9,0x442F,{ 0x8D,0xD6,0x06,0xC1,0x0A,0x42,0x27,0xBA } }; // E006E46C-F2F9-442F-8DD6-06C10A4227BA + template <> inline constexpr guid guid_v{ 0x69CB3BC1,0x147F,0x421C,{ 0x9C,0x23,0x09,0x01,0x23,0xBB,0x78,0x6C } }; // 69CB3BC1-147F-421C-9C23-090123BB786C + template <> inline constexpr guid guid_v{ 0xDFA0955A,0xD437,0x4FFF,{ 0xB5,0x47,0xDD,0xA9,0x69,0xA4,0xF8,0x83 } }; // DFA0955A-D437-4FFF-B547-DDA969A4F883 + template <> inline constexpr guid guid_v{ 0x3E818121,0x8C42,0x40E8,{ 0x9C,0x0E,0x40,0x29,0x70,0x48,0x10,0x4C } }; // 3E818121-8C42-40E8-9C0E-40297048104C + template <> inline constexpr guid guid_v{ 0x6BBD78BF,0xDCA1,0x4E06,{ 0x99,0xEB,0x5A,0xF6,0xA5,0xAE,0xC1,0x08 } }; // 6BBD78BF-DCA1-4E06-99EB-5AF6A5AEC108 + template <> inline constexpr guid guid_v{ 0x30AAE98A,0x0D70,0x459C,{ 0x95,0x53,0x87,0xE1,0x24,0xC5,0x24,0x88 } }; // 30AAE98A-0D70-459C-9553-87E124C52488 + template <> inline constexpr guid guid_v{ 0x4A63B49C,0x8FA4,0x4332,{ 0xBB,0x26,0x94,0x5D,0x11,0xD8,0x1E,0x0F } }; // 4A63B49C-8FA4-4332-BB26-945D11D81E0F + template <> inline constexpr guid guid_v{ 0xF61AAD0C,0x8551,0x42B4,{ 0x99,0x8C,0x97,0x0C,0x20,0x21,0x0A,0x22 } }; // F61AAD0C-8551-42B4-998C-970C20210A22 + template <> inline constexpr guid guid_v{ 0xE3B59E8C,0x2D8B,0x4F70,{ 0x8A,0xF3,0x34,0x48,0xBE,0xDD,0x5F,0xE2 } }; // E3B59E8C-2D8B-4F70-8AF3-3448BEDD5FE2 + template <> inline constexpr guid guid_v{ 0xE6CEB430,0x712E,0x45FC,{ 0x8B,0x86,0xCD,0x55,0xF5,0xAE,0xF7,0x9D } }; // E6CEB430-712E-45FC-8B86-CD55F5AEF79D + template <> inline constexpr guid guid_v{ 0x5D501F97,0x376A,0x41A8,{ 0xA2,0x30,0x2F,0x37,0xC1,0x94,0x9D,0xDE } }; // 5D501F97-376A-41A8-A230-2F37C1949DDE + template <> inline constexpr guid guid_v{ 0xCF7D5489,0xA22C,0x4C65,{ 0xA9,0x01,0x88,0xD7,0x7D,0x83,0x39,0x54 } }; // CF7D5489-A22C-4C65-A901-88D77D833954 + template <> inline constexpr guid guid_v{ 0xCA3F99AF,0xABB8,0x42C1,{ 0x8A,0x84,0x5C,0x66,0x51,0x2F,0x5A,0x75 } }; // CA3F99AF-ABB8-42C1-8A84-5C66512F5A75 + template <> inline constexpr guid guid_v{ 0x9CBAB5A2,0xDE42,0x4D5B,{ 0xB0,0xC1,0x9B,0x57,0xA2,0xBA,0x89,0xC3 } }; // 9CBAB5A2-DE42-4D5B-B0C1-9B57A2BA89C3 + template <> inline constexpr guid guid_v{ 0xCC573F33,0x3F34,0x4C5C,{ 0xBA,0xAE,0xDE,0xAD,0xF1,0x6C,0xD7,0xFA } }; // CC573F33-3F34-4C5C-BAAE-DEADF16CD7FA + template <> inline constexpr guid guid_v{ 0x67EA0630,0x517D,0x487F,{ 0x9F,0xDF,0xD2,0xE0,0xA0,0xA2,0x64,0xA5 } }; // 67EA0630-517D-487F-9FDF-D2E0A0A264A5 + template <> inline constexpr guid guid_v{ 0x120AC970,0x9A75,0x4ACF,{ 0xAA,0xE7,0x09,0x97,0x2B,0xCF,0x87,0x94 } }; // 120AC970-9A75-4ACF-AAE7-09972BCF8794 + template <> inline constexpr guid guid_v{ 0xA31C75ED,0x41F5,0x4E76,{ 0xA0,0x74,0x79,0x5E,0x47,0xA4,0x6E,0x97 } }; // A31C75ED-41F5-4E76-A074-795E47A46E97 + template <> inline constexpr guid guid_v{ 0x642ECD92,0xE9D4,0x4ECC,{ 0xAF,0x75,0x32,0x9C,0x27,0x4C,0xD1,0x8F } }; // 642ECD92-E9D4-4ECC-AF75-329C274CD18F + template <> inline constexpr guid guid_v{ 0xF915F364,0xD3D5,0x4F10,{ 0xB5,0x11,0x90,0x93,0x9E,0xDF,0xAC,0xD8 } }; // F915F364-D3D5-4F10-B511-90939EDFACD8 + template <> inline constexpr guid guid_v{ 0x78CA98FB,0x8B6B,0x4973,{ 0x86,0xF0,0x3E,0x57,0x0C,0x35,0x18,0x25 } }; // 78CA98FB-8B6B-4973-86F0-3E570C351825 + template <> inline constexpr guid guid_v{ 0x475CA8F3,0x9417,0x48BC,{ 0xB9,0xD7,0x41,0x63,0xA7,0x84,0x4C,0x02 } }; // 475CA8F3-9417-48BC-B9D7-4163A7844C02 + template <> inline constexpr guid guid_v{ 0x236FAFDF,0xE2DC,0x4D7D,{ 0x9C,0x78,0x06,0x0D,0xF2,0xBF,0x29,0x28 } }; // 236FAFDF-E2DC-4D7D-9C78-060DF2BF2928 + template <> inline constexpr guid guid_v{ 0x14ADA93A,0xADCD,0x4C80,{ 0xAC,0xDA,0xC3,0xEA,0xED,0x26,0x47,0xE1 } }; // 14ADA93A-ADCD-4C80-ACDA-C3EAED2647E1 + template <> inline constexpr guid guid_v{ 0x6D64CE0C,0xE03E,0x4B14,{ 0xA3,0x8E,0xC2,0x8C,0x34,0xB8,0x63,0x53 } }; // 6D64CE0C-E03E-4B14-A38E-C28C34B86353 + template <> inline constexpr guid guid_v{ 0x5BF7A3D5,0x5198,0x437A,{ 0x82,0xDF,0x58,0x99,0x93,0xFA,0x77,0xE1 } }; // 5BF7A3D5-5198-437A-82DF-589993FA77E1 + template <> inline constexpr guid guid_v{ 0xE2B7A27B,0x4D40,0x471D,{ 0x92,0xED,0x63,0x37,0x5B,0x18,0xC7,0x88 } }; // E2B7A27B-4D40-471D-92ED-63375B18C788 + template <> inline constexpr guid guid_v{ 0x9AD27A74,0xDD61,0x4EE2,{ 0x98,0x37,0x5B,0x5D,0x72,0xD5,0x38,0xB9 } }; // 9AD27A74-DD61-4EE2-9837-5B5D72D538B9 + template <> inline constexpr guid guid_v{ 0xBD5DEFF2,0xAF90,0x4E8A,{ 0xB7,0x7B,0xE3,0xAE,0x9C,0xA6,0x3A,0x7F } }; // BD5DEFF2-AF90-4E8A-B77B-E3AE9CA63A7F + template <> inline constexpr guid guid_v{ 0xB7EB66A8,0xFE8A,0x4CFB,{ 0x8B,0x42,0xE3,0x5B,0x28,0x0C,0xB2,0x7C } }; // B7EB66A8-FE8A-4CFB-8B42-E35B280CB27C + template <> inline constexpr guid guid_v{ 0xDE5B52CA,0xE02E,0x40E9,{ 0x9E,0x5E,0x1B,0x48,0x8E,0x6A,0xAC,0xFC } }; // DE5B52CA-E02E-40E9-9E5E-1B488E6AACFC + template <> inline constexpr guid guid_v{ 0x09286B8B,0x9873,0x4D05,{ 0xBF,0xBE,0x47,0x27,0xA6,0x03,0x8F,0x69 } }; // 09286B8B-9873-4D05-BFBE-4727A6038F69 + template <> inline constexpr guid guid_v{ 0x9F4F2864,0xF3F0,0x55D0,{ 0x8C,0x39,0x74,0xCC,0x91,0x78,0x3E,0xED } }; // 9F4F2864-F3F0-55D0-8C39-74CC91783EED + template <> inline constexpr guid guid_v{ 0x3B5CCC43,0xE047,0x4463,{ 0xBB,0x58,0x17,0xB5,0xBA,0x1D,0x80,0x56 } }; // 3B5CCC43-E047-4463-BB58-17B5BA1D8056 + template <> inline constexpr guid guid_v{ 0x03B0B645,0x33B8,0x533B,{ 0xBA,0xAA,0xA4,0x38,0x92,0x83,0xAB,0x0A } }; // 03B0B645-33B8-533B-BAAA-A4389283AB0A + template <> inline constexpr guid guid_v{ 0x24F5DF4E,0x3C99,0x44E2,{ 0xB7,0x3F,0xE5,0x1B,0xE3,0x63,0x7A,0x8C } }; // 24F5DF4E-3C99-44E2-B73F-E51BE3637A8C + template <> inline constexpr guid guid_v{ 0xC296A628,0xEF44,0x40F3,{ 0xBD,0x1C,0xB0,0x4C,0x6A,0x5C,0xDC,0x7D } }; // C296A628-EF44-40F3-BD1C-B04C6A5CDC7D + template <> inline constexpr guid guid_v{ 0xC17DE99C,0x229A,0x4C14,{ 0xA6,0xF1,0xB4,0xE4,0xB1,0xFE,0xAD,0x92 } }; // C17DE99C-229A-4C14-A6F1-B4E4B1FEAD92 + template <> inline constexpr guid guid_v{ 0x5A15B5D1,0x8DC5,0x4B9C,{ 0x91,0x72,0x30,0x3E,0x47,0xB7,0x0C,0x55 } }; // 5A15B5D1-8DC5-4B9C-9172-303E47B70C55 + template <> inline constexpr guid guid_v{ 0xECDFFC45,0x754A,0x4E3B,{ 0xAB,0x2B,0x15,0x11,0x81,0x08,0x56,0x05 } }; // ECDFFC45-754A-4E3B-AB2B-151181085605 + template <> inline constexpr guid guid_v{ 0x4E2D54FE,0x4FFD,0x4190,{ 0xAA,0xE1,0xCE,0x28,0x5F,0x20,0xC8,0x96 } }; // 4E2D54FE-4FFD-4190-AAE1-CE285F20C896 + template <> inline constexpr guid guid_v{ 0x2257F63C,0xF263,0x44F1,{ 0xA1,0xA0,0xE7,0x50,0xA6,0xA0,0xEC,0x54 } }; // 2257F63C-F263-44F1-A1A0-E750A6A0EC54 + template <> inline constexpr guid guid_v{ 0xA3D33E3E,0xF46A,0x4B7A,{ 0xBC,0x21,0x53,0xEB,0x3B,0x57,0xF8,0xB4 } }; // A3D33E3E-F46A-4B7A-BC21-53EB3B57F8B4 + template <> inline constexpr guid guid_v{ 0x022DC0B6,0x11B0,0x4690,{ 0x95,0x47,0x0B,0x39,0xC5,0xAF,0x21,0x14 } }; // 022DC0B6-11B0-4690-9547-0B39C5AF2114 + template <> inline constexpr guid guid_v{ 0x600C3F1C,0x77AB,0x4968,{ 0xA7,0xDE,0xC0,0x2F,0xF1,0x69,0xF2,0xCC } }; // 600C3F1C-77AB-4968-A7DE-C02FF169F2CC + template <> inline constexpr guid guid_v{ 0xB521C46B,0x9274,0x4D24,{ 0x94,0xF3,0xB6,0x01,0x7B,0x83,0x24,0x44 } }; // B521C46B-9274-4D24-94F3-B6017B832444 + template <> inline constexpr guid guid_v{ 0xDDD57C1A,0x86FB,0x4EBA,{ 0x93,0xD1,0x6F,0x5E,0xDA,0x52,0xB7,0x52 } }; // DDD57C1A-86FB-4EBA-93D1-6F5EDA52B752 + template <> inline constexpr guid guid_v{ 0xF621515B,0xD81E,0x43BA,{ 0xBF,0x1B,0xBC,0xFA,0x3C,0x78,0x5B,0xA0 } }; // F621515B-D81E-43BA-BF1B-BCFA3C785BA0 + template <> inline constexpr guid guid_v{ 0xD21FEEF4,0x2364,0x4BE5,{ 0xBE,0xE1,0x85,0x16,0x80,0xAF,0x49,0x64 } }; // D21FEEF4-2364-4BE5-BEE1-851680AF4964 + template <> inline constexpr guid guid_v{ 0xA95CE2E6,0xBDD8,0x4365,{ 0x8E,0x11,0xDE,0x94,0xDE,0x8D,0xFF,0x02 } }; // A95CE2E6-BDD8-4365-8E11-DE94DE8DFF02 + template <> inline constexpr guid guid_v{ 0x1A92B015,0x47C3,0x468A,{ 0x93,0x33,0x0C,0x65,0x17,0x57,0x48,0x83 } }; // 1A92B015-47C3-468A-9333-0C6517574883 + template <> inline constexpr guid guid_v{ 0x0A4BBD51,0xC316,0x4910,{ 0x87,0xF3,0x7A,0x62,0xBA,0x86,0x2D,0x31 } }; // 0A4BBD51-C316-4910-87F3-7A62BA862D31 + template <> inline constexpr guid guid_v{ 0x2E958823,0xA31A,0x4763,{ 0x88,0x2C,0x23,0x72,0x5E,0x39,0xB0,0x8E } }; // 2E958823-A31A-4763-882C-23725E39B08E + template <> inline constexpr guid guid_v{ 0x7128809C,0xC440,0x44A2,{ 0xA4,0x67,0x46,0x91,0x75,0xD0,0x28,0x96 } }; // 7128809C-C440-44A2-A467-469175D02896 + template <> inline constexpr guid guid_v{ 0x528F2C5D,0x2986,0x474F,{ 0x84,0x54,0x7C,0xCD,0x05,0x92,0x8D,0x5F } }; // 528F2C5D-2986-474F-8454-7CCD05928D5F + template <> inline constexpr guid guid_v{ 0x53B57350,0xC3DB,0x4754,{ 0x9C,0x00,0x41,0x39,0x23,0x74,0xA1,0x09 } }; // 53B57350-C3DB-4754-9C00-41392374A109 + template <> inline constexpr guid guid_v{ 0x1FEDF95D,0x2C84,0x41AD,{ 0xB7,0x78,0xF2,0x35,0x6A,0x78,0x9A,0xB1 } }; // 1FEDF95D-2C84-41AD-B778-F2356A789AB1 + template <> inline constexpr guid guid_v{ 0x6A5B6047,0x99B0,0x4188,{ 0xBE,0xF1,0xED,0xDF,0x79,0xF7,0x8F,0xE6 } }; // 6A5B6047-99B0-4188-BEF1-EDDF79F78FE6 + template <> inline constexpr guid guid_v{ 0xC45FAB4A,0xEFD7,0x4760,{ 0xA5,0xCE,0x15,0xB0,0xE4,0x7E,0x94,0xEB } }; // C45FAB4A-EFD7-4760-A5CE-15B0E47E94EB + template <> inline constexpr guid guid_v{ 0x8CADC362,0xD667,0x48FA,{ 0x86,0xBC,0xF5,0xAE,0x11,0x89,0x26,0x2B } }; // 8CADC362-D667-48FA-86BC-F5AE1189262B + template <> inline constexpr guid guid_v{ 0x09CC6BB0,0x3262,0x401D,{ 0x9E,0x8A,0xE8,0x0D,0x63,0x58,0x90,0x6B } }; // 09CC6BB0-3262-401D-9E8A-E80D6358906B + template <> inline constexpr guid guid_v{ 0x104CF671,0x4A9D,0x446E,{ 0xAB,0xC5,0x20,0x40,0x23,0x07,0xBA,0x36 } }; // 104CF671-4A9D-446E-ABC5-20402307BA36 + template <> inline constexpr guid guid_v{ 0xAF0A5514,0x59CC,0x4A60,{ 0x99,0xE8,0x99,0xA5,0x3D,0xAC,0xE5,0xAA } }; // AF0A5514-59CC-4A60-99E8-99A53DACE5AA + template <> inline constexpr guid guid_v{ 0x2A03C10E,0x9A19,0x4A01,{ 0x99,0x4F,0x12,0xDF,0xAD,0x6A,0xDC,0xBF } }; // 2A03C10E-9A19-4A01-994F-12DFAD6ADCBF + template <> inline constexpr guid guid_v{ 0x248475E8,0x8B98,0x5517,{ 0x8E,0x48,0x76,0x0E,0x86,0xF6,0x89,0x87 } }; // 248475E8-8B98-5517-8E48-760E86F68987 + template <> inline constexpr guid guid_v{ 0xCDE95721,0x4380,0x4985,{ 0xAD,0xC5,0x39,0xDB,0x30,0xCD,0x93,0xBC } }; // CDE95721-4380-4985-ADC5-39DB30CD93BC + template <> inline constexpr guid guid_v{ 0x5C709EFF,0x709A,0x4FE7,{ 0xB2,0x15,0x06,0xA7,0x48,0xA3,0x8B,0x39 } }; // 5C709EFF-709A-4FE7-B215-06A748A38B39 + template <> inline constexpr guid guid_v{ 0xA7F4E93A,0xF8AC,0x5F04,{ 0x84,0xD2,0x29,0xB1,0x6D,0x8A,0x63,0x3C } }; // A7F4E93A-F8AC-5F04-84D2-29B16D8A633C + template <> inline constexpr guid guid_v{ 0x9A94005C,0x0615,0x4591,{ 0xA5,0x8F,0x30,0xF8,0x7E,0xDF,0xE2,0xE4 } }; // 9A94005C-0615-4591-A58F-30F87EDFE2E4 + template <> inline constexpr guid guid_v{ 0x0A2E16FD,0x1D02,0x5A58,{ 0x9D,0x59,0xBF,0xCD,0xE7,0x6F,0xDE,0x86 } }; // 0A2E16FD-1D02-5A58-9D59-BFCDE76FDE86 + template <> inline constexpr guid guid_v{ 0x2BCBA359,0x1CEF,0x40B2,{ 0x9E,0xCB,0xF9,0x27,0xF8,0x56,0xAE,0x3C } }; // 2BCBA359-1CEF-40B2-9ECB-F927F856AE3C + template <> inline constexpr guid guid_v{ 0x8CE0D4EA,0x132F,0x4CDF,{ 0xA6,0x4A,0x2D,0x0D,0x7C,0x96,0xA8,0x5B } }; // 8CE0D4EA-132F-4CDF-A64A-2D0D7C96A85B + template <> inline constexpr guid guid_v{ 0xEECD2C1C,0xB0D0,0x42E7,{ 0xB1,0x37,0xB8,0x9B,0x16,0x24,0x4D,0x41 } }; // EECD2C1C-B0D0-42E7-B137-B89B16244D41 + template <> inline constexpr guid guid_v{ 0xD1F0C730,0xDA40,0x4328,{ 0xBF,0x76,0x51,0x56,0xFA,0x33,0xB7,0x47 } }; // D1F0C730-DA40-4328-BF76-5156FA33B747 + template <> inline constexpr guid guid_v{ 0x2EDB87DF,0x13A6,0x428D,{ 0xBA,0x81,0xB0,0xE7,0xC3,0xE5,0xA3,0xCD } }; // 2EDB87DF-13A6-428D-BA81-B0E7C3E5A3CD + template <> inline constexpr guid guid_v{ 0x532199BE,0xC8C3,0x4DC2,{ 0x89,0xE9,0x5C,0x4A,0x37,0xB3,0x4D,0xDC } }; // 532199BE-C8C3-4DC2-89E9-5C4A37B34DDC + template <> inline constexpr guid guid_v{ 0xAA96066E,0xACAD,0x4B79,{ 0x9D,0x0F,0xC0,0xCF,0xC0,0x8D,0xC7,0x7B } }; // AA96066E-ACAD-4B79-9D0F-C0CFC08DC77B + template <> inline constexpr guid guid_v{ 0x0CBC12E3,0x9E29,0x5179,{ 0xBC,0xD8,0x18,0x11,0xD3,0xB9,0xA1,0x0E } }; // 0CBC12E3-9E29-5179-BCD8-1811D3B9A10E + template <> inline constexpr guid guid_v{ 0xB8F0B58F,0x51A8,0x43FC,{ 0x9B,0xD5,0x8D,0xE2,0x72,0xA6,0x41,0x5B } }; // B8F0B58F-51A8-43FC-9BD5-8DE272A6415B + template <> inline constexpr guid guid_v{ 0x20030638,0x8A2C,0x55AC,{ 0x9A,0x7B,0x75,0x76,0xD8,0x86,0x9E,0x99 } }; // 20030638-8A2C-55AC-9A7B-7576D8869E99 + template <> inline constexpr guid guid_v{ 0x5D88F95D,0x6131,0x5A4B,{ 0xB7,0xD5,0x8E,0xF2,0xDA,0x7B,0x41,0x65 } }; // 5D88F95D-6131-5A4B-B7D5-8EF2DA7B4165 + template <> inline constexpr guid guid_v{ 0x99B16399,0x488C,0x4157,{ 0x8A,0xC2,0x9F,0x57,0xF7,0x08,0xD3,0xDB } }; // 99B16399-488C-4157-8AC2-9F57F708D3DB + template <> inline constexpr guid guid_v{ 0x6FF89671,0x2D1A,0x5000,{ 0x87,0xC2,0xB0,0x85,0x1B,0xFD,0xF0,0x7E } }; // 6FF89671-2D1A-5000-87C2-B0851BFDF07E + template <> inline constexpr guid guid_v{ 0x2B998C3A,0x555C,0x4889,{ 0x8E,0xD8,0xC5,0x99,0xBB,0x3A,0x71,0x2A } }; // 2B998C3A-555C-4889-8ED8-C599BB3A712A + template <> inline constexpr guid guid_v{ 0x4B982551,0x1FFE,0x451B,{ 0xA3,0x68,0x63,0xE0,0xCE,0x46,0x5F,0x5A } }; // 4B982551-1FFE-451B-A368-63E0CE465F5A + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScanner; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerImagePreviewReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerEventSource; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ICashDrawerStatusUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedBarcodeScannerClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedCashDrawer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedCashDrawerClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedJournalPrinter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedLineDisplay; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedLineDisplayClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReaderClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedPosPrinter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedPosPrinterClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterJob; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplay; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayAttributes; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayCursor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayMarquee; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ILineDisplayWindow; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterReleaseDeviceRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IPosPrinterStatusUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IReceiptPrintJob; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall ClaimScannerAsync(void**) noexcept = 0; + virtual int32_t __stdcall CheckHealthAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedSymbologiesAsync(void**) noexcept = 0; + virtual int32_t __stdcall IsSymbologySupportedAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall RetrieveStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedProfiles(void**) noexcept = 0; + virtual int32_t __stdcall IsProfileSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall add_StatusUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PowerReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsUpdatingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsImagePreviewSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSoftwareTriggerSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsVideoPreviewSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Report(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PartialInputData(void**) noexcept = 0; + virtual int32_t __stdcall get_IsRetriable(bool*) noexcept = 0; + virtual int32_t __stdcall get_ErrorData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Preview(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ScanDataType(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ScanData(void**) noexcept = 0; + virtual int32_t __stdcall get_ScanDataLabel(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unknown(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean8(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean8Add2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean8Add5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Eanv(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EanvAdd2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EanvAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean13(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean13Add2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean13Add5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Isbn(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsbnAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ismn(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsmnAdd2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsmnAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Issn(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IssnAdd2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IssnAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean99(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean99Add2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ean99Add5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Upca(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpcaAdd2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpcaAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Upce(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpceAdd2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpceAdd5(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpcCoupon(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfStd(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfDis(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfInt(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfInd(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfMat(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TfIata(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Gs1DatabarType1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Gs1DatabarType2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Gs1DatabarType3(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code39(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code39Ex(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Trioptic39(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code32(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Pzn(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code93(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code93Ex(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code128(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Gs1128(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Gs1128Coupon(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UccEan128(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Sisac(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Isbt(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Codabar(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code11(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Msi(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Plessey(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Telepen(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code16k(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CodablockA(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CodablockF(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Codablock128(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Code49(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Aztec(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DataCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DataMatrix(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_HanXin(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Maxicode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MicroPdf417(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MicroQr(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Pdf417(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Qr(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MsTag(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ccab(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ccc(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Tlc39(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AusPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ChinaPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DutchKix(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_InfoMail(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ItalianPost25(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ItalianPost39(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_JapanPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_KoreanPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SwedenPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UkPost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsIntelligent(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsIntelligentPkg(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsPlanet(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_UsPostNet(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Us4StateFics(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OcrA(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OcrB(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Micr(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedBase(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetName(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Gs1DWCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCheckDigitValidationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCheckDigitValidationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCheckDigitValidationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCheckDigitTransmissionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCheckDigitTransmissionEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCheckDigitTransmissionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_DecodeLength1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DecodeLength1(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DecodeLength2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DecodeLength2(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DecodeLengthKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DecodeLengthKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsDecodeLengthSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(void**) noexcept = 0; + virtual int32_t __stdcall get_IsDrawerOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_DrawerEventSource(void**) noexcept = 0; + virtual int32_t __stdcall ClaimDrawerAsync(void**) noexcept = 0; + virtual int32_t __stdcall CheckHealthAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_StatusUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PowerReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsUpdatingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatusReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatusMultiDrawerDetectSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDrawerOpenSensorAvailable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AlarmTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_AlarmTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_BeepFrequency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BeepFrequency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_BeepDuration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_BeepDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_BeepDelay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_BeepDelay(int64_t*) noexcept = 0; + virtual int32_t __stdcall add_AlarmTimeoutExpired(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AlarmTimeoutExpired(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_DrawerClosed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DrawerClosed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DrawerOpened(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DrawerOpened(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CashDrawer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StatusKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDisabledOnDataReceived(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledOnDataReceived(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDecodeDataEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDecodeDataEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall RetainDevice() noexcept = 0; + virtual int32_t __stdcall SetActiveSymbologiesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ResetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetActiveProfileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_DataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DataReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TriggerPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TriggerPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TriggerReleased(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TriggerReleased(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ReleaseDeviceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReleaseDeviceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ImagePreviewReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ImagePreviewReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ErrorOccurred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ErrorOccurred(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartSoftwareTriggerAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopSoftwareTriggerAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSymbologyAttributesAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetSymbologyAttributesAsync(uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ShowVideoPreviewAsync(void**) noexcept = 0; + virtual int32_t __stdcall HideVideoPreview() noexcept = 0; + virtual int32_t __stdcall put_IsVideoPreviewShownOnEnable(bool) noexcept = 0; + virtual int32_t __stdcall get_IsVideoPreviewShownOnEnable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDrawerOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_CloseAlarm(void**) noexcept = 0; + virtual int32_t __stdcall OpenDrawerAsync(void**) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall RetainDeviceAsync(void**) noexcept = 0; + virtual int32_t __stdcall ResetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ReleaseDeviceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReleaseDeviceRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateJob(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceName(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceControlDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceControlVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceServiceVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultWindow(void**) noexcept = 0; + virtual int32_t __stdcall RetainDevice() noexcept = 0; + virtual int32_t __stdcall add_ReleaseDeviceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReleaseDeviceRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CheckHealthAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CheckPowerStatusAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_StatusUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusUpdated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_SupportedScreenSizesInCharacters(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxBitmapSizeInPixels(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_SupportedCharacterSets(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomGlyphs(void**) noexcept = 0; + virtual int32_t __stdcall GetAttributes(void**) noexcept = 0; + virtual int32_t __stdcall TryUpdateAttributesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TrySetDescriptorAsync(uint32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryClearDescriptorsAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryCreateWindowAsync(winrt::Windows::Foundation::Rect, winrt::Windows::Foundation::Size, void**) noexcept = 0; + virtual int32_t __stdcall TryStoreStorageFileBitmapAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryStoreStorageFileBitmapWithAlignmentAsync(void*, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryStoreStorageFileBitmapWithAlignmentAndWidthAsync(void*, int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDisabledOnDataReceived(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledOnDataReceived(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDecodeDataEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDecodeDataEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDeviceAuthenticated(bool*) noexcept = 0; + virtual int32_t __stdcall put_DataEncryptionAlgorithm(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DataEncryptionAlgorithm(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TracksToRead(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TracksToRead(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsTransmitSentinelsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsTransmitSentinelsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall RetainDevice() noexcept = 0; + virtual int32_t __stdcall SetErrorReportingType(int32_t) noexcept = 0; + virtual int32_t __stdcall RetrieveDeviceAuthenticationDataAsync(void**) noexcept = 0; + virtual int32_t __stdcall AuthenticateDeviceAsync(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall DeAuthenticateDeviceAsync(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateKeyAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ResetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_BankCardDataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BankCardDataReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AamvaCardDataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AamvaCardDataReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VendorSpecificDataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VendorSpecificDataReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ReleaseDeviceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReleaseDeviceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ErrorOccurred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ErrorOccurred(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_CharacterSet(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CharacterSet(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsCoverOpen(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCharacterSetMappingEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCharacterSetMappingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_MapMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MapMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Receipt(void**) noexcept = 0; + virtual int32_t __stdcall get_Slip(void**) noexcept = 0; + virtual int32_t __stdcall get_Journal(void**) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall RetainDeviceAsync(void**) noexcept = 0; + virtual int32_t __stdcall ResetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ReleaseDeviceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReleaseDeviceRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SidewaysMaxLines(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SidewaysMaxChars(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_LinesToPaperCut(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PageSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_PrintArea(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall CreateJob(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SidewaysMaxLines(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SidewaysMaxChars(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxLines(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_LinesNearEndToEnd(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PrintSide(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PageSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_PrintArea(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall OpenJaws() noexcept = 0; + virtual int32_t __stdcall CloseJaws() noexcept = 0; + virtual int32_t __stdcall InsertSlipAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall RemoveSlipAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall ChangePrintSide(int32_t) noexcept = 0; + virtual int32_t __stdcall CreateJob(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_CharactersPerLine(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CharactersPerLine(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_LineHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_LineHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_LineSpacing(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_LineSpacing(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_LineWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsLetterQuality(bool) noexcept = 0; + virtual int32_t __stdcall get_IsLetterQuality(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPaperNearEnd(bool*) noexcept = 0; + virtual int32_t __stdcall put_ColorCartridge(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ColorCartridge(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsCoverOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCartridgeRemoved(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCartridgeEmpty(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHeadCleaning(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPaperEmpty(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReadyToPrint(bool*) noexcept = 0; + virtual int32_t __stdcall ValidateData(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPrinterPresent(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDualColorSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_ColorCartridgeCapabilities(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CartridgeSensors(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsBoldSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsItalicSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUnderlineSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDoubleHighPrintSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDoubleWidePrintSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDoubleHighDoubleWidePrintSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPaperEmptySensorSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPaperNearEndSensorSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedCharactersPerLine(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBarcodeSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBitmapSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLeft90RotationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsRight90RotationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Is180RotationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPrintAreaSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_RuledLineCapabilities(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedBarcodeRotations(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedBitmapRotations(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Print(void*, void*) noexcept = 0; + virtual int32_t __stdcall FeedPaperByLine(int32_t) noexcept = 0; + virtual int32_t __stdcall FeedPaperByMapModeUnit(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReverseVideoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStrikethroughSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSuperscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSubscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByLineSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByMapModeUnitSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceName(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalDeviceDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceControlDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceControlVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceServiceVersion(void**) noexcept = 0; + virtual int32_t __stdcall ClaimAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CheckPowerStatusAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPowerNotifyEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPowerNotifyEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Brightness(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Brightness(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BlinkRate(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_BlinkRate(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ScreenSizeInCharacters(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall put_ScreenSizeInCharacters(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall get_CharacterSet(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CharacterSet(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsCharacterSetMappingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCharacterSetMappingEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentWindow(void**) noexcept = 0; + virtual int32_t __stdcall put_CurrentWindow(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsStatisticsReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsUpdatingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_PowerReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanChangeScreenSize(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanDisplayBitmaps(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanReadCharacterAtCursor(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanMapCharacterSets(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanDisplayCustomGlyphs(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanReverse(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanBlink(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanChangeBlinkRate(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBrightnessSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCursorSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHorizontalMarqueeSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsVerticalMarqueeSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsInterCharacterWaitSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedDescriptors(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedWindows(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanCustomize(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBlinkSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBlockSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHalfBlockSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUnderlineSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReverseSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsOtherSupported(bool*) noexcept = 0; + virtual int32_t __stdcall GetAttributes(void**) noexcept = 0; + virtual int32_t __stdcall TryUpdateAttributesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBlinkEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsBlinkEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_CursorType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CursorType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsAutoAdvanceEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAutoAdvanceEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall put_Position(winrt::Windows::Foundation::Point) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SizeInPixels(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_SupportedGlyphCodes(void**) noexcept = 0; + virtual int32_t __stdcall TryRedefineAsync(uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RepeatWaitInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_RepeatWaitInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ScrollWaitInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ScrollWaitInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall TryStartScrollingAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryStopScrollingAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StatisticsCategorySelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllStatistics(void**) noexcept = 0; + virtual int32_t __stdcall get_UnifiedPosStatistics(void**) noexcept = 0; + virtual int32_t __stdcall get_ManufacturerStatistics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EscapeSequence(void**) noexcept = 0; + virtual int32_t __stdcall TryDeleteAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SizeInCharacters(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_InterCharacterWaitInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_InterCharacterWaitInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall TryRefreshAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayTextAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayTextAtPositionAsync(void*, int32_t, winrt::Windows::Foundation::Point, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayTextNormalAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryScrollTextAsync(int32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryClearTextAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Cursor(void**) noexcept = 0; + virtual int32_t __stdcall get_Marquee(void**) noexcept = 0; + virtual int32_t __stdcall ReadCharacterAtCursorAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStoredBitmapAtCursorAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStorageFileBitmapAtCursorAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync(void*, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStorageFileBitmapAtCursorWithAlignmentAndWidthAsync(void*, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStorageFileBitmapAtPointAsync(void*, winrt::Windows::Foundation::Point, void**) noexcept = 0; + virtual int32_t __stdcall TryDisplayStorageFileBitmapAtPointWithWidthAsync(void*, winrt::Windows::Foundation::Point, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedCardTypes(uint32_t* __valueSize, uint32_t**) noexcept = 0; + virtual int32_t __stdcall get_DeviceAuthenticationProtocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall CheckHealthAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ClaimReaderAsync(void**) noexcept = 0; + virtual int32_t __stdcall RetrieveStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetErrorReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StatusUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Report(void**) noexcept = 0; + virtual int32_t __stdcall get_LicenseNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(void**) noexcept = 0; + virtual int32_t __stdcall get_Restrictions(void**) noexcept = 0; + virtual int32_t __stdcall get_Class(void**) noexcept = 0; + virtual int32_t __stdcall get_Endorsements(void**) noexcept = 0; + virtual int32_t __stdcall get_BirthDate(void**) noexcept = 0; + virtual int32_t __stdcall get_FirstName(void**) noexcept = 0; + virtual int32_t __stdcall get_Surname(void**) noexcept = 0; + virtual int32_t __stdcall get_Suffix(void**) noexcept = 0; + virtual int32_t __stdcall get_Gender(void**) noexcept = 0; + virtual int32_t __stdcall get_HairColor(void**) noexcept = 0; + virtual int32_t __stdcall get_EyeColor(void**) noexcept = 0; + virtual int32_t __stdcall get_Height(void**) noexcept = 0; + virtual int32_t __stdcall get_Weight(void**) noexcept = 0; + virtual int32_t __stdcall get_Address(void**) noexcept = 0; + virtual int32_t __stdcall get_City(void**) noexcept = 0; + virtual int32_t __stdcall get_State(void**) noexcept = 0; + virtual int32_t __stdcall get_PostalCode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Report(void**) noexcept = 0; + virtual int32_t __stdcall get_AccountNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceCode(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_FirstName(void**) noexcept = 0; + virtual int32_t __stdcall get_MiddleInitial(void**) noexcept = 0; + virtual int32_t __stdcall get_Surname(void**) noexcept = 0; + virtual int32_t __stdcall get_Suffix(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CardAuthentication(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedEncryptionAlgorithms(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsIsoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsJisOneSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsJisTwoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_PowerReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsUpdatingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTrackDataMaskingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTransmitSentinelsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unknown(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Bank(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Aamva(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedBase(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_None(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TripleDesDukpt(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedBase(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Track1Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Track2Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Track3Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Track4Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorData(void**) noexcept = 0; + virtual int32_t __stdcall get_PartialInputData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CardType(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Track1(void**) noexcept = 0; + virtual int32_t __stdcall get_Track2(void**) noexcept = 0; + virtual int32_t __stdcall get_Track3(void**) noexcept = 0; + virtual int32_t __stdcall get_Track4(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_CardAuthenticationData(void**) noexcept = 0; + virtual int32_t __stdcall get_CardAuthenticationDataLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AdditionalSecurityInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall get_DiscretionaryData(void**) noexcept = 0; + virtual int32_t __stdcall get_EncryptedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Report(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedCharacterSets(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedTypeFaces(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(void**) noexcept = 0; + virtual int32_t __stdcall ClaimPrinterAsync(void**) noexcept = 0; + virtual int32_t __stdcall CheckHealthAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetStatisticsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_StatusUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedBarcodeSymbologies(void**) noexcept = 0; + virtual int32_t __stdcall GetFontProperty(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PowerReportingType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsReportingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStatisticsUpdatingSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_DefaultCharacterSet(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_HasCoverSensor(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanMapCharacterSet(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTransactionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Receipt(void**) noexcept = 0; + virtual int32_t __stdcall get_Slip(void**) noexcept = 0; + virtual int32_t __stdcall get_Journal(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Utf16LE(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ascii(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Ansi(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TypeFace(void**) noexcept = 0; + virtual int32_t __stdcall get_IsScalableToAnySize(bool*) noexcept = 0; + virtual int32_t __stdcall get_CharacterSizes(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Print(void*) noexcept = 0; + virtual int32_t __stdcall PrintLine(void*) noexcept = 0; + virtual int32_t __stdcall PrintNewline() noexcept = 0; + virtual int32_t __stdcall ExecuteAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TypeFace(void**) noexcept = 0; + virtual int32_t __stdcall put_TypeFace(void*) noexcept = 0; + virtual int32_t __stdcall get_CharacterHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CharacterHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Bold(bool*) noexcept = 0; + virtual int32_t __stdcall put_Bold(bool) noexcept = 0; + virtual int32_t __stdcall get_Italic(bool*) noexcept = 0; + virtual int32_t __stdcall put_Italic(bool) noexcept = 0; + virtual int32_t __stdcall get_Underline(bool*) noexcept = 0; + virtual int32_t __stdcall put_Underline(bool) noexcept = 0; + virtual int32_t __stdcall get_ReverseVideo(bool*) noexcept = 0; + virtual int32_t __stdcall put_ReverseVideo(bool) noexcept = 0; + virtual int32_t __stdcall get_Strikethrough(bool*) noexcept = 0; + virtual int32_t __stdcall put_Strikethrough(bool) noexcept = 0; + virtual int32_t __stdcall get_Superscript(bool*) noexcept = 0; + virtual int32_t __stdcall put_Superscript(bool) noexcept = 0; + virtual int32_t __stdcall get_Subscript(bool*) noexcept = 0; + virtual int32_t __stdcall put_Subscript(bool) noexcept = 0; + virtual int32_t __stdcall get_DoubleWide(bool*) noexcept = 0; + virtual int32_t __stdcall put_DoubleWide(bool) noexcept = 0; + virtual int32_t __stdcall get_DoubleHigh(bool*) noexcept = 0; + virtual int32_t __stdcall put_DoubleHigh(bool) noexcept = 0; + virtual int32_t __stdcall get_Alignment(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Alignment(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CharacterSet(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CharacterSet(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelectorWithConnectionTypes(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StatusKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetBarcodeRotation(int32_t) noexcept = 0; + virtual int32_t __stdcall SetPrintRotation(int32_t, bool) noexcept = 0; + virtual int32_t __stdcall SetPrintArea(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall SetBitmap(uint32_t, void*, int32_t) noexcept = 0; + virtual int32_t __stdcall SetBitmapCustomWidthStandardAlign(uint32_t, void*, int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall SetCustomAlignedBitmap(uint32_t, void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall SetBitmapCustomWidthCustomAlign(uint32_t, void*, uint32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall PrintSavedBitmap(uint32_t) noexcept = 0; + virtual int32_t __stdcall DrawRuledLine(void*, int32_t, uint32_t, int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall PrintBarcode(void*, uint32_t, uint32_t, uint32_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall PrintBarcodeCustomAlign(void*, uint32_t, uint32_t, uint32_t, int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall PrintBitmap(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall PrintBitmapCustomWidthStandardAlign(void*, int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall PrintCustomAlignedBitmap(void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall PrintBitmapCustomWidthCustomAlign(void*, uint32_t, uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MarkFeed(int32_t) noexcept = 0; + virtual int32_t __stdcall CutPaper(double) noexcept = 0; + virtual int32_t __stdcall CutPaperDefault() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StampPaper() noexcept = 0; + virtual int32_t __stdcall Print(void*, void*) noexcept = 0; + virtual int32_t __stdcall FeedPaperByLine(int32_t) noexcept = 0; + virtual int32_t __stdcall FeedPaperByMapModeUnit(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanCutPaper(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStampSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_MarkFeedCapabilities(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReverseVideoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStrikethroughSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSuperscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSubscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByLineSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByMapModeUnitSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Print(void*, void*) noexcept = 0; + virtual int32_t __stdcall FeedPaperByLine(int32_t) noexcept = 0; + virtual int32_t __stdcall FeedPaperByMapModeUnit(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsFullLengthSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBothSidesPrintingSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReverseVideoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStrikethroughSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSuperscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSubscriptSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByLineSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReversePaperFeedByMapModeUnitSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_Severity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedReason(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, int32_t, int32_t, uint32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScanner + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + auto ClaimScannerAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetSupportedSymbologiesAsync() const; + auto IsSymbologySupportedAsync(uint32_t barcodeSymbology) const; + auto RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto GetSupportedProfiles() const; + auto IsProfileSupported(param::hstring const& profile) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScanner; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScanner2 + { + [[nodiscard]] auto VideoDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScanner2; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities + { + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsImagePreviewSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1 + { + [[nodiscard]] auto IsSoftwareTriggerSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2 + { + [[nodiscard]] auto IsVideoPreviewSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs + { + [[nodiscard]] auto Report() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs + { + [[nodiscard]] auto PartialInputData() const; + [[nodiscard]] auto IsRetriable() const; + [[nodiscard]] auto ErrorData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs + { + [[nodiscard]] auto Preview() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerReport + { + [[nodiscard]] auto ScanDataType() const; + [[nodiscard]] auto ScanData() const; + [[nodiscard]] auto ScanDataLabel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerReport; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory + { + auto CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatics + { + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2 + { + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics + { + [[nodiscard]] auto Unknown() const; + [[nodiscard]] auto Ean8() const; + [[nodiscard]] auto Ean8Add2() const; + [[nodiscard]] auto Ean8Add5() const; + [[nodiscard]] auto Eanv() const; + [[nodiscard]] auto EanvAdd2() const; + [[nodiscard]] auto EanvAdd5() const; + [[nodiscard]] auto Ean13() const; + [[nodiscard]] auto Ean13Add2() const; + [[nodiscard]] auto Ean13Add5() const; + [[nodiscard]] auto Isbn() const; + [[nodiscard]] auto IsbnAdd5() const; + [[nodiscard]] auto Ismn() const; + [[nodiscard]] auto IsmnAdd2() const; + [[nodiscard]] auto IsmnAdd5() const; + [[nodiscard]] auto Issn() const; + [[nodiscard]] auto IssnAdd2() const; + [[nodiscard]] auto IssnAdd5() const; + [[nodiscard]] auto Ean99() const; + [[nodiscard]] auto Ean99Add2() const; + [[nodiscard]] auto Ean99Add5() const; + [[nodiscard]] auto Upca() const; + [[nodiscard]] auto UpcaAdd2() const; + [[nodiscard]] auto UpcaAdd5() const; + [[nodiscard]] auto Upce() const; + [[nodiscard]] auto UpceAdd2() const; + [[nodiscard]] auto UpceAdd5() const; + [[nodiscard]] auto UpcCoupon() const; + [[nodiscard]] auto TfStd() const; + [[nodiscard]] auto TfDis() const; + [[nodiscard]] auto TfInt() const; + [[nodiscard]] auto TfInd() const; + [[nodiscard]] auto TfMat() const; + [[nodiscard]] auto TfIata() const; + [[nodiscard]] auto Gs1DatabarType1() const; + [[nodiscard]] auto Gs1DatabarType2() const; + [[nodiscard]] auto Gs1DatabarType3() const; + [[nodiscard]] auto Code39() const; + [[nodiscard]] auto Code39Ex() const; + [[nodiscard]] auto Trioptic39() const; + [[nodiscard]] auto Code32() const; + [[nodiscard]] auto Pzn() const; + [[nodiscard]] auto Code93() const; + [[nodiscard]] auto Code93Ex() const; + [[nodiscard]] auto Code128() const; + [[nodiscard]] auto Gs1128() const; + [[nodiscard]] auto Gs1128Coupon() const; + [[nodiscard]] auto UccEan128() const; + [[nodiscard]] auto Sisac() const; + [[nodiscard]] auto Isbt() const; + [[nodiscard]] auto Codabar() const; + [[nodiscard]] auto Code11() const; + [[nodiscard]] auto Msi() const; + [[nodiscard]] auto Plessey() const; + [[nodiscard]] auto Telepen() const; + [[nodiscard]] auto Code16k() const; + [[nodiscard]] auto CodablockA() const; + [[nodiscard]] auto CodablockF() const; + [[nodiscard]] auto Codablock128() const; + [[nodiscard]] auto Code49() const; + [[nodiscard]] auto Aztec() const; + [[nodiscard]] auto DataCode() const; + [[nodiscard]] auto DataMatrix() const; + [[nodiscard]] auto HanXin() const; + [[nodiscard]] auto Maxicode() const; + [[nodiscard]] auto MicroPdf417() const; + [[nodiscard]] auto MicroQr() const; + [[nodiscard]] auto Pdf417() const; + [[nodiscard]] auto Qr() const; + [[nodiscard]] auto MsTag() const; + [[nodiscard]] auto Ccab() const; + [[nodiscard]] auto Ccc() const; + [[nodiscard]] auto Tlc39() const; + [[nodiscard]] auto AusPost() const; + [[nodiscard]] auto CanPost() const; + [[nodiscard]] auto ChinaPost() const; + [[nodiscard]] auto DutchKix() const; + [[nodiscard]] auto InfoMail() const; + [[nodiscard]] auto ItalianPost25() const; + [[nodiscard]] auto ItalianPost39() const; + [[nodiscard]] auto JapanPost() const; + [[nodiscard]] auto KoreanPost() const; + [[nodiscard]] auto SwedenPost() const; + [[nodiscard]] auto UkPost() const; + [[nodiscard]] auto UsIntelligent() const; + [[nodiscard]] auto UsIntelligentPkg() const; + [[nodiscard]] auto UsPlanet() const; + [[nodiscard]] auto UsPostNet() const; + [[nodiscard]] auto Us4StateFics() const; + [[nodiscard]] auto OcrA() const; + [[nodiscard]] auto OcrB() const; + [[nodiscard]] auto Micr() const; + [[nodiscard]] auto ExtendedBase() const; + auto GetName(uint32_t scanDataType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2 + { + [[nodiscard]] auto Gs1DWCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes + { + [[nodiscard]] auto IsCheckDigitValidationEnabled() const; + auto IsCheckDigitValidationEnabled(bool value) const; + [[nodiscard]] auto IsCheckDigitValidationSupported() const; + [[nodiscard]] auto IsCheckDigitTransmissionEnabled() const; + auto IsCheckDigitTransmissionEnabled(bool value) const; + [[nodiscard]] auto IsCheckDigitTransmissionSupported() const; + [[nodiscard]] auto DecodeLength1() const; + auto DecodeLength1(uint32_t value) const; + [[nodiscard]] auto DecodeLength2() const; + auto DecodeLength2(uint32_t value) const; + [[nodiscard]] auto DecodeLengthKind() const; + auto DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const; + [[nodiscard]] auto IsDecodeLengthSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawer + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsDrawerOpen() const; + [[nodiscard]] auto DrawerEventSource() const; + auto ClaimDrawerAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawer; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerCapabilities + { + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsStatusReportingSupported() const; + [[nodiscard]] auto IsStatusMultiDrawerDetectSupported() const; + [[nodiscard]] auto IsDrawerOpenSensorAvailable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm + { + auto AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AlarmTimeout() const; + auto BeepFrequency(uint32_t value) const; + [[nodiscard]] auto BeepFrequency() const; + auto BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BeepDuration() const; + auto BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BeepDelay() const; + auto AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AlarmTimeoutExpired_revoker = impl::event_revoker::remove_AlarmTimeoutExpired>; + [[nodiscard]] auto AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AlarmTimeoutExpired(winrt::event_token const& token) const noexcept; + auto StartAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerEventSource + { + auto DrawerClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DrawerClosed_revoker = impl::event_revoker::remove_DrawerClosed>; + [[nodiscard]] auto DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DrawerClosed(winrt::event_token const& token) const noexcept; + auto DrawerOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DrawerOpened_revoker = impl::event_revoker::remove_DrawerOpened>; + [[nodiscard]] auto DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DrawerOpened(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerEventSource; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs + { + [[nodiscard]] auto CashDrawer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerStatics + { + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerStatics; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerStatics2 + { + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerStatus + { + [[nodiscard]] auto StatusKind() const; + [[nodiscard]] auto ExtendedStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerStatus; + }; + template + struct consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsDisabledOnDataReceived(bool value) const; + [[nodiscard]] auto IsDisabledOnDataReceived() const; + auto IsDecodeDataEnabled(bool value) const; + [[nodiscard]] auto IsDecodeDataEnabled() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDevice() const; + auto SetActiveSymbologiesAsync(param::async_iterable const& symbologies) const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto SetActiveProfileAsync(param::hstring const& profile) const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataReceived(winrt::event_token const& token) const noexcept; + auto TriggerPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using TriggerPressed_revoker = impl::event_revoker::remove_TriggerPressed>; + [[nodiscard]] auto TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TriggerPressed(winrt::event_token const& token) const noexcept; + auto TriggerReleased(winrt::Windows::Foundation::EventHandler const& handler) const; + using TriggerReleased_revoker = impl::event_revoker::remove_TriggerReleased>; + [[nodiscard]] auto TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TriggerReleased(winrt::event_token const& token) const noexcept; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + auto ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ImagePreviewReceived_revoker = impl::event_revoker::remove_ImagePreviewReceived>; + [[nodiscard]] auto ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ImagePreviewReceived(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1 + { + auto StartSoftwareTriggerAsync() const; + auto StopSoftwareTriggerAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2 + { + auto GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const; + auto SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3 + { + auto ShowVideoPreviewAsync() const; + auto HideVideoPreview() const; + auto IsVideoPreviewShownOnEnable(bool value) const; + [[nodiscard]] auto IsVideoPreviewShownOnEnable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4 + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScannerClosedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedBarcodeScannerClosedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedCashDrawer + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsDrawerOpen() const; + [[nodiscard]] auto CloseAlarm() const; + auto OpenDrawerAsync() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDeviceAsync() const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedCashDrawer; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedCashDrawer2 + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedCashDrawer2; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedCashDrawerClosedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedCashDrawerClosedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedJournalPrinter + { + auto CreateJob() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedJournalPrinter; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto PhysicalDeviceName() const; + [[nodiscard]] auto PhysicalDeviceDescription() const; + [[nodiscard]] auto DeviceControlDescription() const; + [[nodiscard]] auto DeviceControlVersion() const; + [[nodiscard]] auto DeviceServiceVersion() const; + [[nodiscard]] auto DefaultWindow() const; + auto RetainDevice() const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedLineDisplay; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay2 + { + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto CheckPowerStatusAsync() const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SupportedScreenSizesInCharacters() const; + [[nodiscard]] auto MaxBitmapSizeInPixels() const; + [[nodiscard]] auto SupportedCharacterSets() const; + [[nodiscard]] auto CustomGlyphs() const; + auto GetAttributes() const; + auto TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const; + auto TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const; + auto TryClearDescriptorsAsync() const; + auto TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedLineDisplay2; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay3 + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedLineDisplay3; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedLineDisplayClosedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedLineDisplayClosedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsDisabledOnDataReceived(bool value) const; + [[nodiscard]] auto IsDisabledOnDataReceived() const; + auto IsDecodeDataEnabled(bool value) const; + [[nodiscard]] auto IsDecodeDataEnabled() const; + [[nodiscard]] auto IsDeviceAuthenticated() const; + auto DataEncryptionAlgorithm(uint32_t value) const; + [[nodiscard]] auto DataEncryptionAlgorithm() const; + auto TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const; + [[nodiscard]] auto TracksToRead() const; + auto IsTransmitSentinelsEnabled(bool value) const; + [[nodiscard]] auto IsTransmitSentinelsEnabled() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDevice() const; + auto SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const; + auto RetrieveDeviceAuthenticationDataAsync() const; + auto AuthenticateDeviceAsync(array_view responseToken) const; + auto DeAuthenticateDeviceAsync(array_view responseToken) const; + auto UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BankCardDataReceived_revoker = impl::event_revoker::remove_BankCardDataReceived>; + [[nodiscard]] auto BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BankCardDataReceived(winrt::event_token const& token) const noexcept; + auto AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AamvaCardDataReceived_revoker = impl::event_revoker::remove_AamvaCardDataReceived>; + [[nodiscard]] auto AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AamvaCardDataReceived(winrt::event_token const& token) const noexcept; + auto VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VendorSpecificDataReceived_revoker = impl::event_revoker::remove_VendorSpecificDataReceived>; + [[nodiscard]] auto VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VendorSpecificDataReceived(winrt::event_token const& token) const noexcept; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2 + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReaderClosedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReaderClosedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedPosPrinter + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto CharacterSet(uint32_t value) const; + [[nodiscard]] auto CharacterSet() const; + [[nodiscard]] auto IsCoverOpen() const; + auto IsCharacterSetMappingEnabled(bool value) const; + [[nodiscard]] auto IsCharacterSetMappingEnabled() const; + auto MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const; + [[nodiscard]] auto MapMode() const; + [[nodiscard]] auto Receipt() const; + [[nodiscard]] auto Slip() const; + [[nodiscard]] auto Journal() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDeviceAsync() const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedPosPrinter; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedPosPrinter2 + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedPosPrinter2; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedPosPrinterClosedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedPosPrinterClosedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter + { + [[nodiscard]] auto SidewaysMaxLines() const; + [[nodiscard]] auto SidewaysMaxChars() const; + [[nodiscard]] auto LinesToPaperCut() const; + [[nodiscard]] auto PageSize() const; + [[nodiscard]] auto PrintArea() const; + auto CreateJob() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter; + }; + template + struct consume_Windows_Devices_PointOfService_IClaimedSlipPrinter + { + [[nodiscard]] auto SidewaysMaxLines() const; + [[nodiscard]] auto SidewaysMaxChars() const; + [[nodiscard]] auto MaxLines() const; + [[nodiscard]] auto LinesNearEndToEnd() const; + [[nodiscard]] auto PrintSide() const; + [[nodiscard]] auto PageSize() const; + [[nodiscard]] auto PrintArea() const; + auto OpenJaws() const; + auto CloseJaws() const; + auto InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const; + auto CreateJob() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IClaimedSlipPrinter; + }; + template + struct consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation + { + auto CharactersPerLine(uint32_t value) const; + [[nodiscard]] auto CharactersPerLine() const; + auto LineHeight(uint32_t value) const; + [[nodiscard]] auto LineHeight() const; + auto LineSpacing(uint32_t value) const; + [[nodiscard]] auto LineSpacing() const; + [[nodiscard]] auto LineWidth() const; + auto IsLetterQuality(bool value) const; + [[nodiscard]] auto IsLetterQuality() const; + [[nodiscard]] auto IsPaperNearEnd() const; + auto ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const; + [[nodiscard]] auto ColorCartridge() const; + [[nodiscard]] auto IsCoverOpen() const; + [[nodiscard]] auto IsCartridgeRemoved() const; + [[nodiscard]] auto IsCartridgeEmpty() const; + [[nodiscard]] auto IsHeadCleaning() const; + [[nodiscard]] auto IsPaperEmpty() const; + [[nodiscard]] auto IsReadyToPrint() const; + auto ValidateData(param::hstring const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation; + }; + template + struct consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities + { + [[nodiscard]] auto IsPrinterPresent() const; + [[nodiscard]] auto IsDualColorSupported() const; + [[nodiscard]] auto ColorCartridgeCapabilities() const; + [[nodiscard]] auto CartridgeSensors() const; + [[nodiscard]] auto IsBoldSupported() const; + [[nodiscard]] auto IsItalicSupported() const; + [[nodiscard]] auto IsUnderlineSupported() const; + [[nodiscard]] auto IsDoubleHighPrintSupported() const; + [[nodiscard]] auto IsDoubleWidePrintSupported() const; + [[nodiscard]] auto IsDoubleHighDoubleWidePrintSupported() const; + [[nodiscard]] auto IsPaperEmptySensorSupported() const; + [[nodiscard]] auto IsPaperNearEndSensorSupported() const; + [[nodiscard]] auto SupportedCharactersPerLine() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities + { + [[nodiscard]] auto IsBarcodeSupported() const; + [[nodiscard]] auto IsBitmapSupported() const; + [[nodiscard]] auto IsLeft90RotationSupported() const; + [[nodiscard]] auto IsRight90RotationSupported() const; + [[nodiscard]] auto Is180RotationSupported() const; + [[nodiscard]] auto IsPrintAreaSupported() const; + [[nodiscard]] auto RuledLineCapabilities() const; + [[nodiscard]] auto SupportedBarcodeRotations() const; + [[nodiscard]] auto SupportedBitmapRotations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IJournalPrintJob + { + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IJournalPrintJob; + }; + template + struct consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2 + { + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplay + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto PhysicalDeviceName() const; + [[nodiscard]] auto PhysicalDeviceDescription() const; + [[nodiscard]] auto DeviceControlDescription() const; + [[nodiscard]] auto DeviceControlVersion() const; + [[nodiscard]] auto DeviceServiceVersion() const; + auto ClaimAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplay; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplay2 + { + auto CheckPowerStatusAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplay2; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayAttributes + { + [[nodiscard]] auto IsPowerNotifyEnabled() const; + auto IsPowerNotifyEnabled(bool value) const; + [[nodiscard]] auto Brightness() const; + auto Brightness(int32_t value) const; + [[nodiscard]] auto BlinkRate() const; + auto BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ScreenSizeInCharacters() const; + auto ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CharacterSet() const; + auto CharacterSet(int32_t value) const; + [[nodiscard]] auto IsCharacterSetMappingEnabled() const; + auto IsCharacterSetMappingEnabled(bool value) const; + [[nodiscard]] auto CurrentWindow() const; + auto CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayAttributes; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayCapabilities + { + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto CanChangeScreenSize() const; + [[nodiscard]] auto CanDisplayBitmaps() const; + [[nodiscard]] auto CanReadCharacterAtCursor() const; + [[nodiscard]] auto CanMapCharacterSets() const; + [[nodiscard]] auto CanDisplayCustomGlyphs() const; + [[nodiscard]] auto CanReverse() const; + [[nodiscard]] auto CanBlink() const; + [[nodiscard]] auto CanChangeBlinkRate() const; + [[nodiscard]] auto IsBrightnessSupported() const; + [[nodiscard]] auto IsCursorSupported() const; + [[nodiscard]] auto IsHorizontalMarqueeSupported() const; + [[nodiscard]] auto IsVerticalMarqueeSupported() const; + [[nodiscard]] auto IsInterCharacterWaitSupported() const; + [[nodiscard]] auto SupportedDescriptors() const; + [[nodiscard]] auto SupportedWindows() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayCursor + { + [[nodiscard]] auto CanCustomize() const; + [[nodiscard]] auto IsBlinkSupported() const; + [[nodiscard]] auto IsBlockSupported() const; + [[nodiscard]] auto IsHalfBlockSupported() const; + [[nodiscard]] auto IsUnderlineSupported() const; + [[nodiscard]] auto IsReverseSupported() const; + [[nodiscard]] auto IsOtherSupported() const; + auto GetAttributes() const; + auto TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayCursor; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes + { + [[nodiscard]] auto IsBlinkEnabled() const; + auto IsBlinkEnabled(bool value) const; + [[nodiscard]] auto CursorType() const; + auto CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const; + [[nodiscard]] auto IsAutoAdvanceEnabled() const; + auto IsAutoAdvanceEnabled(bool value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Point const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs + { + [[nodiscard]] auto SizeInPixels() const; + [[nodiscard]] auto SupportedGlyphCodes() const; + auto TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayMarquee + { + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const; + [[nodiscard]] auto RepeatWaitInterval() const; + auto RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ScrollWaitInterval() const; + auto ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const; + auto TryStopScrollingAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayMarquee; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayStatics; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayStatics2 + { + [[nodiscard]] auto StatisticsCategorySelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector + { + [[nodiscard]] auto AllStatistics() const; + [[nodiscard]] auto UnifiedPosStatistics() const; + [[nodiscard]] auto ManufacturerStatistics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap + { + [[nodiscard]] auto EscapeSequence() const; + auto TryDeleteAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayWindow + { + [[nodiscard]] auto SizeInCharacters() const; + [[nodiscard]] auto InterCharacterWaitInterval() const; + auto InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto TryRefreshAsync() const; + auto TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const; + auto TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const; + auto TryDisplayTextAsync(param::hstring const& text) const; + auto TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const; + auto TryClearTextAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayWindow; + }; + template + struct consume_Windows_Devices_PointOfService_ILineDisplayWindow2 + { + [[nodiscard]] auto Cursor() const; + [[nodiscard]] auto Marquee() const; + auto ReadCharacterAtCursorAsync() const; + auto TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; + auto TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const; + auto TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ILineDisplayWindow2; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReader + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto SupportedCardTypes() const; + [[nodiscard]] auto DeviceAuthenticationProtocol() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto ClaimReaderAsync() const; + auto RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto GetErrorReportingType() const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReader; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs + { + [[nodiscard]] auto Report() const; + [[nodiscard]] auto LicenseNumber() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto Restrictions() const; + [[nodiscard]] auto Class() const; + [[nodiscard]] auto Endorsements() const; + [[nodiscard]] auto BirthDate() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto Surname() const; + [[nodiscard]] auto Suffix() const; + [[nodiscard]] auto Gender() const; + [[nodiscard]] auto HairColor() const; + [[nodiscard]] auto EyeColor() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Weight() const; + [[nodiscard]] auto Address() const; + [[nodiscard]] auto City() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto PostalCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs + { + [[nodiscard]] auto Report() const; + [[nodiscard]] auto AccountNumber() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ServiceCode() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto MiddleInitial() const; + [[nodiscard]] auto Surname() const; + [[nodiscard]] auto Suffix() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities + { + [[nodiscard]] auto CardAuthentication() const; + [[nodiscard]] auto SupportedEncryptionAlgorithms() const; + [[nodiscard]] auto AuthenticationLevel() const; + [[nodiscard]] auto IsIsoSupported() const; + [[nodiscard]] auto IsJisOneSupported() const; + [[nodiscard]] auto IsJisTwoSupported() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsTrackDataMaskingSupported() const; + [[nodiscard]] auto IsTransmitSentinelsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics + { + [[nodiscard]] auto Unknown() const; + [[nodiscard]] auto Bank() const; + [[nodiscard]] auto Aamva() const; + [[nodiscard]] auto ExtendedBase() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics + { + [[nodiscard]] auto None() const; + [[nodiscard]] auto TripleDesDukpt() const; + [[nodiscard]] auto ExtendedBase() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs + { + [[nodiscard]] auto Track1Status() const; + [[nodiscard]] auto Track2Status() const; + [[nodiscard]] auto Track3Status() const; + [[nodiscard]] auto Track4Status() const; + [[nodiscard]] auto ErrorData() const; + [[nodiscard]] auto PartialInputData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport + { + [[nodiscard]] auto CardType() const; + [[nodiscard]] auto Track1() const; + [[nodiscard]] auto Track2() const; + [[nodiscard]] auto Track3() const; + [[nodiscard]] auto Track4() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto CardAuthenticationData() const; + [[nodiscard]] auto CardAuthenticationDataLength() const; + [[nodiscard]] auto AdditionalSecurityInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics + { + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2 + { + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData + { + [[nodiscard]] auto Data() const; + [[nodiscard]] auto DiscretionaryData() const; + [[nodiscard]] auto EncryptedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData; + }; + template + struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs + { + [[nodiscard]] auto Report() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinter + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto SupportedCharacterSets() const; + [[nodiscard]] auto SupportedTypeFaces() const; + [[nodiscard]] auto Status() const; + auto ClaimPrinterAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinter; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinter2 + { + [[nodiscard]] auto SupportedBarcodeSymbologies() const; + auto GetFontProperty(param::hstring const& typeface) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinter2; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterCapabilities + { + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto DefaultCharacterSet() const; + [[nodiscard]] auto HasCoverSensor() const; + [[nodiscard]] auto CanMapCharacterSet() const; + [[nodiscard]] auto IsTransactionSupported() const; + [[nodiscard]] auto Receipt() const; + [[nodiscard]] auto Slip() const; + [[nodiscard]] auto Journal() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics + { + [[nodiscard]] auto Utf16LE() const; + [[nodiscard]] auto Ascii() const; + [[nodiscard]] auto Ansi() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterFontProperty + { + [[nodiscard]] auto TypeFace() const; + [[nodiscard]] auto IsScalableToAnySize() const; + [[nodiscard]] auto CharacterSizes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterFontProperty; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterJob + { + auto Print(param::hstring const& data) const; + auto PrintLine(param::hstring const& data) const; + auto PrintLine() const; + auto ExecuteAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterJob; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions + { + [[nodiscard]] auto TypeFace() const; + auto TypeFace(param::hstring const& value) const; + [[nodiscard]] auto CharacterHeight() const; + auto CharacterHeight(uint32_t value) const; + [[nodiscard]] auto Bold() const; + auto Bold(bool value) const; + [[nodiscard]] auto Italic() const; + auto Italic(bool value) const; + [[nodiscard]] auto Underline() const; + auto Underline(bool value) const; + [[nodiscard]] auto ReverseVideo() const; + auto ReverseVideo(bool value) const; + [[nodiscard]] auto Strikethrough() const; + auto Strikethrough(bool value) const; + [[nodiscard]] auto Superscript() const; + auto Superscript(bool value) const; + [[nodiscard]] auto Subscript() const; + auto Subscript(bool value) const; + [[nodiscard]] auto DoubleWide() const; + auto DoubleWide(bool value) const; + [[nodiscard]] auto DoubleHigh() const; + auto DoubleHigh(bool value) const; + [[nodiscard]] auto Alignment() const; + auto Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const; + [[nodiscard]] auto CharacterSet() const; + auto CharacterSet(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterReleaseDeviceRequestedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterReleaseDeviceRequestedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterStatics + { + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterStatics; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterStatics2 + { + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterStatics2; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterStatus + { + [[nodiscard]] auto StatusKind() const; + [[nodiscard]] auto ExtendedStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterStatus; + }; + template + struct consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_IReceiptOrSlipJob + { + auto SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const; + auto SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const; + auto SetPrintArea(winrt::Windows::Foundation::Rect const& value) const; + auto SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; + auto SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; + auto SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; + auto PrintSavedBitmap(uint32_t bitmapNumber) const; + auto DrawRuledLine(param::hstring const& positionList, winrt::Windows::Devices::PointOfService::PosPrinterLineDirection const& lineDirection, uint32_t lineWidth, winrt::Windows::Devices::PointOfService::PosPrinterLineStyle const& lineStyle, uint32_t lineColor) const; + auto PrintBarcode(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto PrintBarcodeCustomAlign(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, uint32_t alignmentDistance) const; + auto PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; + auto PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; + auto PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IReceiptOrSlipJob; + }; + template + struct consume_Windows_Devices_PointOfService_IReceiptPrintJob + { + auto MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const; + auto CutPaper(double percentage) const; + auto CutPaper() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IReceiptPrintJob; + }; + template + struct consume_Windows_Devices_PointOfService_IReceiptPrintJob2 + { + auto StampPaper() const; + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IReceiptPrintJob2; + }; + template + struct consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities + { + [[nodiscard]] auto CanCutPaper() const; + [[nodiscard]] auto IsStampSupported() const; + [[nodiscard]] auto MarkFeedCapabilities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2 + { + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2; + }; + template + struct consume_Windows_Devices_PointOfService_ISlipPrintJob + { + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ISlipPrintJob; + }; + template + struct consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities + { + [[nodiscard]] auto IsFullLengthSupported() const; + [[nodiscard]] auto IsBothSidesPrintingSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities; + }; + template + struct consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2 + { + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2; + }; + template + struct consume_Windows_Devices_PointOfService_IUnifiedPosErrorData + { + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Severity() const; + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto ExtendedReason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IUnifiedPosErrorData; + }; + template + struct consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory + { + auto CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory; + }; + struct struct_Windows_Devices_PointOfService_SizeUInt32 + { + uint32_t Width; + uint32_t Height; + }; + template <> struct abi + { + using type = struct_Windows_Devices_PointOfService_SizeUInt32; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1031283527069b9d09d55a389398a35afcffb125 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.1.h @@ -0,0 +1,743 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_1_H +#define WINRT_Windows_Devices_PointOfService_1_H +#include "winrt/impl/Windows.Devices.PointOfService.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService +{ + struct WINRT_IMPL_EMPTY_BASES IBarcodeScanner : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScanner(std::nullptr_t = nullptr) noexcept {} + IBarcodeScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScanner2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScanner2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScanner2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerCapabilities(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerCapabilities1 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerCapabilities1(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerCapabilities1(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerCapabilities2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerCapabilities2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerCapabilities2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerErrorOccurredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerErrorOccurredEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerImagePreviewReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerImagePreviewReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerImagePreviewReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerReport(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerReportFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerReportFactory(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerReportFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStatics(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStatics2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStatusUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStatusUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeSymbologiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeSymbologiesStatics(std::nullptr_t = nullptr) noexcept {} + IBarcodeSymbologiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeSymbologiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeSymbologiesStatics2(std::nullptr_t = nullptr) noexcept {} + IBarcodeSymbologiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeSymbologyAttributes : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeSymbologyAttributes(std::nullptr_t = nullptr) noexcept {} + IBarcodeSymbologyAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawer(std::nullptr_t = nullptr) noexcept {} + ICashDrawer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerCapabilities(std::nullptr_t = nullptr) noexcept {} + ICashDrawerCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerCloseAlarm : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerCloseAlarm(std::nullptr_t = nullptr) noexcept {} + ICashDrawerCloseAlarm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerEventSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerEventSource(std::nullptr_t = nullptr) noexcept {} + ICashDrawerEventSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerEventSourceEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerEventSourceEventArgs(std::nullptr_t = nullptr) noexcept {} + ICashDrawerEventSourceEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerStatics(std::nullptr_t = nullptr) noexcept {} + ICashDrawerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerStatics2(std::nullptr_t = nullptr) noexcept {} + ICashDrawerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerStatus(std::nullptr_t = nullptr) noexcept {} + ICashDrawerStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICashDrawerStatusUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICashDrawerStatusUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICashDrawerStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScanner : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScanner(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScanner1 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScanner1(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScanner1(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScanner2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScanner2(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScanner2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScanner3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScanner3(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScanner3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScanner4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScanner4(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScanner4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedBarcodeScannerClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedBarcodeScannerClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IClaimedBarcodeScannerClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedCashDrawer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedCashDrawer(std::nullptr_t = nullptr) noexcept {} + IClaimedCashDrawer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedCashDrawer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedCashDrawer2(std::nullptr_t = nullptr) noexcept {} + IClaimedCashDrawer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedCashDrawerClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedCashDrawerClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IClaimedCashDrawerClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedJournalPrinter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedJournalPrinter(std::nullptr_t = nullptr) noexcept {} + IClaimedJournalPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedLineDisplay : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedLineDisplay(std::nullptr_t = nullptr) noexcept {} + IClaimedLineDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedLineDisplay2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedLineDisplay2(std::nullptr_t = nullptr) noexcept {} + IClaimedLineDisplay2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedLineDisplay3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedLineDisplay3(std::nullptr_t = nullptr) noexcept {} + IClaimedLineDisplay3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedLineDisplayClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedLineDisplayClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IClaimedLineDisplayClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedLineDisplayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedLineDisplayStatics(std::nullptr_t = nullptr) noexcept {} + IClaimedLineDisplayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedMagneticStripeReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedMagneticStripeReader(std::nullptr_t = nullptr) noexcept {} + IClaimedMagneticStripeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedMagneticStripeReader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedMagneticStripeReader2(std::nullptr_t = nullptr) noexcept {} + IClaimedMagneticStripeReader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedMagneticStripeReaderClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedMagneticStripeReaderClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IClaimedMagneticStripeReaderClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedPosPrinter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedPosPrinter(std::nullptr_t = nullptr) noexcept {} + IClaimedPosPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedPosPrinter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedPosPrinter2(std::nullptr_t = nullptr) noexcept {} + IClaimedPosPrinter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedPosPrinterClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedPosPrinterClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IClaimedPosPrinterClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedReceiptPrinter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedReceiptPrinter(std::nullptr_t = nullptr) noexcept {} + IClaimedReceiptPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClaimedSlipPrinter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClaimedSlipPrinter(std::nullptr_t = nullptr) noexcept {} + IClaimedSlipPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICommonClaimedPosPrinterStation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICommonClaimedPosPrinterStation(std::nullptr_t = nullptr) noexcept {} + ICommonClaimedPosPrinterStation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICommonPosPrintStationCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICommonPosPrintStationCapabilities(std::nullptr_t = nullptr) noexcept {} + ICommonPosPrintStationCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICommonReceiptSlipCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICommonReceiptSlipCapabilities(std::nullptr_t = nullptr) noexcept {} + ICommonReceiptSlipCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJournalPrintJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJournalPrintJob(std::nullptr_t = nullptr) noexcept {} + IJournalPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJournalPrinterCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJournalPrinterCapabilities(std::nullptr_t = nullptr) noexcept {} + IJournalPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJournalPrinterCapabilities2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJournalPrinterCapabilities2(std::nullptr_t = nullptr) noexcept {} + IJournalPrinterCapabilities2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplay : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplay(std::nullptr_t = nullptr) noexcept {} + ILineDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplay2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplay2(std::nullptr_t = nullptr) noexcept {} + ILineDisplay2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayAttributes : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayAttributes(std::nullptr_t = nullptr) noexcept {} + ILineDisplayAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayCapabilities(std::nullptr_t = nullptr) noexcept {} + ILineDisplayCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayCursor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayCursor(std::nullptr_t = nullptr) noexcept {} + ILineDisplayCursor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayCursorAttributes : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayCursorAttributes(std::nullptr_t = nullptr) noexcept {} + ILineDisplayCursorAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayCustomGlyphs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayCustomGlyphs(std::nullptr_t = nullptr) noexcept {} + ILineDisplayCustomGlyphs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayMarquee : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayMarquee(std::nullptr_t = nullptr) noexcept {} + ILineDisplayMarquee(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayStatics(std::nullptr_t = nullptr) noexcept {} + ILineDisplayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayStatics2(std::nullptr_t = nullptr) noexcept {} + ILineDisplayStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayStatisticsCategorySelector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayStatisticsCategorySelector(std::nullptr_t = nullptr) noexcept {} + ILineDisplayStatisticsCategorySelector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayStatusUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayStatusUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILineDisplayStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayStoredBitmap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayStoredBitmap(std::nullptr_t = nullptr) noexcept {} + ILineDisplayStoredBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayWindow : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayWindow(std::nullptr_t = nullptr) noexcept {} + ILineDisplayWindow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILineDisplayWindow2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILineDisplayWindow2(std::nullptr_t = nullptr) noexcept {} + ILineDisplayWindow2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReader(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderAamvaCardDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderAamvaCardDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderAamvaCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderBankCardDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderBankCardDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderBankCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderCapabilities(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderCardTypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderCardTypesStatics(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderCardTypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderEncryptionAlgorithmsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderEncryptionAlgorithmsStatics(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderEncryptionAlgorithmsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderErrorOccurredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderErrorOccurredEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderReport(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderStatics(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderStatics2(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderStatusUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderStatusUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderTrackData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderTrackData(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderTrackData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinter(std::nullptr_t = nullptr) noexcept {} + IPosPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinter2(std::nullptr_t = nullptr) noexcept {} + IPosPrinter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterCapabilities(std::nullptr_t = nullptr) noexcept {} + IPosPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterCharacterSetIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterCharacterSetIdsStatics(std::nullptr_t = nullptr) noexcept {} + IPosPrinterCharacterSetIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterFontProperty : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterFontProperty(std::nullptr_t = nullptr) noexcept {} + IPosPrinterFontProperty(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterJob(std::nullptr_t = nullptr) noexcept {} + IPosPrinterJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterPrintOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterPrintOptions(std::nullptr_t = nullptr) noexcept {} + IPosPrinterPrintOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterReleaseDeviceRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterReleaseDeviceRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPosPrinterReleaseDeviceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterStatics(std::nullptr_t = nullptr) noexcept {} + IPosPrinterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterStatics2(std::nullptr_t = nullptr) noexcept {} + IPosPrinterStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterStatus(std::nullptr_t = nullptr) noexcept {} + IPosPrinterStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPosPrinterStatusUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPosPrinterStatusUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPosPrinterStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReceiptOrSlipJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IReceiptOrSlipJob(std::nullptr_t = nullptr) noexcept {} + IReceiptOrSlipJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReceiptPrintJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReceiptPrintJob(std::nullptr_t = nullptr) noexcept {} + IReceiptPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReceiptPrintJob2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReceiptPrintJob2(std::nullptr_t = nullptr) noexcept {} + IReceiptPrintJob2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReceiptPrinterCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReceiptPrinterCapabilities(std::nullptr_t = nullptr) noexcept {} + IReceiptPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReceiptPrinterCapabilities2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReceiptPrinterCapabilities2(std::nullptr_t = nullptr) noexcept {} + IReceiptPrinterCapabilities2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISlipPrintJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISlipPrintJob(std::nullptr_t = nullptr) noexcept {} + ISlipPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISlipPrinterCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISlipPrinterCapabilities(std::nullptr_t = nullptr) noexcept {} + ISlipPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISlipPrinterCapabilities2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISlipPrinterCapabilities2(std::nullptr_t = nullptr) noexcept {} + ISlipPrinterCapabilities2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUnifiedPosErrorData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUnifiedPosErrorData(std::nullptr_t = nullptr) noexcept {} + IUnifiedPosErrorData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUnifiedPosErrorDataFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUnifiedPosErrorDataFactory(std::nullptr_t = nullptr) noexcept {} + IUnifiedPosErrorDataFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.2.h new file mode 100644 index 0000000000000000000000000000000000000000..91a17a48f04e8b3e43936d8cdd86e8ac77f30735 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.2.h @@ -0,0 +1,518 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_2_H +#define WINRT_Windows_Devices_PointOfService_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.PointOfService.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService +{ + struct SizeUInt32 + { + uint32_t Width {}; + uint32_t Height {}; + }; + inline bool operator==(SizeUInt32 const& left, SizeUInt32 const& right) noexcept + { + return left.Width == right.Width && left.Height == right.Height; + } + inline bool operator!=(SizeUInt32 const& left, SizeUInt32 const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES BarcodeScanner : winrt::Windows::Devices::PointOfService::IBarcodeScanner, + impl::require + { + BarcodeScanner(std::nullptr_t) noexcept {} + BarcodeScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScanner(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerCapabilities : winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities, + impl::require + { + BarcodeScannerCapabilities(std::nullptr_t) noexcept {} + BarcodeScannerCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerDataReceivedEventArgs : winrt::Windows::Devices::PointOfService::IBarcodeScannerDataReceivedEventArgs + { + BarcodeScannerDataReceivedEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerErrorOccurredEventArgs : winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs + { + BarcodeScannerErrorOccurredEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerImagePreviewReceivedEventArgs : winrt::Windows::Devices::PointOfService::IBarcodeScannerImagePreviewReceivedEventArgs + { + BarcodeScannerImagePreviewReceivedEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerImagePreviewReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerImagePreviewReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerReport : winrt::Windows::Devices::PointOfService::IBarcodeScannerReport + { + BarcodeScannerReport(std::nullptr_t) noexcept {} + BarcodeScannerReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerReport(ptr, take_ownership_from_abi) {} + BarcodeScannerReport(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel); + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerStatusUpdatedEventArgs : winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs + { + BarcodeScannerStatusUpdatedEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct BarcodeSymbologies + { + BarcodeSymbologies() = delete; + [[nodiscard]] static auto Unknown(); + [[nodiscard]] static auto Ean8(); + [[nodiscard]] static auto Ean8Add2(); + [[nodiscard]] static auto Ean8Add5(); + [[nodiscard]] static auto Eanv(); + [[nodiscard]] static auto EanvAdd2(); + [[nodiscard]] static auto EanvAdd5(); + [[nodiscard]] static auto Ean13(); + [[nodiscard]] static auto Ean13Add2(); + [[nodiscard]] static auto Ean13Add5(); + [[nodiscard]] static auto Isbn(); + [[nodiscard]] static auto IsbnAdd5(); + [[nodiscard]] static auto Ismn(); + [[nodiscard]] static auto IsmnAdd2(); + [[nodiscard]] static auto IsmnAdd5(); + [[nodiscard]] static auto Issn(); + [[nodiscard]] static auto IssnAdd2(); + [[nodiscard]] static auto IssnAdd5(); + [[nodiscard]] static auto Ean99(); + [[nodiscard]] static auto Ean99Add2(); + [[nodiscard]] static auto Ean99Add5(); + [[nodiscard]] static auto Upca(); + [[nodiscard]] static auto UpcaAdd2(); + [[nodiscard]] static auto UpcaAdd5(); + [[nodiscard]] static auto Upce(); + [[nodiscard]] static auto UpceAdd2(); + [[nodiscard]] static auto UpceAdd5(); + [[nodiscard]] static auto UpcCoupon(); + [[nodiscard]] static auto TfStd(); + [[nodiscard]] static auto TfDis(); + [[nodiscard]] static auto TfInt(); + [[nodiscard]] static auto TfInd(); + [[nodiscard]] static auto TfMat(); + [[nodiscard]] static auto TfIata(); + [[nodiscard]] static auto Gs1DatabarType1(); + [[nodiscard]] static auto Gs1DatabarType2(); + [[nodiscard]] static auto Gs1DatabarType3(); + [[nodiscard]] static auto Code39(); + [[nodiscard]] static auto Code39Ex(); + [[nodiscard]] static auto Trioptic39(); + [[nodiscard]] static auto Code32(); + [[nodiscard]] static auto Pzn(); + [[nodiscard]] static auto Code93(); + [[nodiscard]] static auto Code93Ex(); + [[nodiscard]] static auto Code128(); + [[nodiscard]] static auto Gs1128(); + [[nodiscard]] static auto Gs1128Coupon(); + [[nodiscard]] static auto UccEan128(); + [[nodiscard]] static auto Sisac(); + [[nodiscard]] static auto Isbt(); + [[nodiscard]] static auto Codabar(); + [[nodiscard]] static auto Code11(); + [[nodiscard]] static auto Msi(); + [[nodiscard]] static auto Plessey(); + [[nodiscard]] static auto Telepen(); + [[nodiscard]] static auto Code16k(); + [[nodiscard]] static auto CodablockA(); + [[nodiscard]] static auto CodablockF(); + [[nodiscard]] static auto Codablock128(); + [[nodiscard]] static auto Code49(); + [[nodiscard]] static auto Aztec(); + [[nodiscard]] static auto DataCode(); + [[nodiscard]] static auto DataMatrix(); + [[nodiscard]] static auto HanXin(); + [[nodiscard]] static auto Maxicode(); + [[nodiscard]] static auto MicroPdf417(); + [[nodiscard]] static auto MicroQr(); + [[nodiscard]] static auto Pdf417(); + [[nodiscard]] static auto Qr(); + [[nodiscard]] static auto MsTag(); + [[nodiscard]] static auto Ccab(); + [[nodiscard]] static auto Ccc(); + [[nodiscard]] static auto Tlc39(); + [[nodiscard]] static auto AusPost(); + [[nodiscard]] static auto CanPost(); + [[nodiscard]] static auto ChinaPost(); + [[nodiscard]] static auto DutchKix(); + [[nodiscard]] static auto InfoMail(); + [[nodiscard]] static auto ItalianPost25(); + [[nodiscard]] static auto ItalianPost39(); + [[nodiscard]] static auto JapanPost(); + [[nodiscard]] static auto KoreanPost(); + [[nodiscard]] static auto SwedenPost(); + [[nodiscard]] static auto UkPost(); + [[nodiscard]] static auto UsIntelligent(); + [[nodiscard]] static auto UsIntelligentPkg(); + [[nodiscard]] static auto UsPlanet(); + [[nodiscard]] static auto UsPostNet(); + [[nodiscard]] static auto Us4StateFics(); + [[nodiscard]] static auto OcrA(); + [[nodiscard]] static auto OcrB(); + [[nodiscard]] static auto Micr(); + [[nodiscard]] static auto ExtendedBase(); + static auto GetName(uint32_t scanDataType); + [[nodiscard]] static auto Gs1DWCode(); + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeSymbologyAttributes : winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes + { + BarcodeSymbologyAttributes(std::nullptr_t) noexcept {} + BarcodeSymbologyAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawer : winrt::Windows::Devices::PointOfService::ICashDrawer, + impl::require + { + CashDrawer(std::nullptr_t) noexcept {} + CashDrawer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawer(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerCapabilities : winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities + { + CashDrawerCapabilities(std::nullptr_t) noexcept {} + CashDrawerCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerCloseAlarm : winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm + { + CashDrawerCloseAlarm(std::nullptr_t) noexcept {} + CashDrawerCloseAlarm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerClosedEventArgs : winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs + { + CashDrawerClosedEventArgs(std::nullptr_t) noexcept {} + CashDrawerClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerEventSource : winrt::Windows::Devices::PointOfService::ICashDrawerEventSource + { + CashDrawerEventSource(std::nullptr_t) noexcept {} + CashDrawerEventSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerEventSource(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerOpenedEventArgs : winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs + { + CashDrawerOpenedEventArgs(std::nullptr_t) noexcept {} + CashDrawerOpenedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerStatus : winrt::Windows::Devices::PointOfService::ICashDrawerStatus + { + CashDrawerStatus(std::nullptr_t) noexcept {} + CashDrawerStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CashDrawerStatusUpdatedEventArgs : winrt::Windows::Devices::PointOfService::ICashDrawerStatusUpdatedEventArgs + { + CashDrawerStatusUpdatedEventArgs(std::nullptr_t) noexcept {} + CashDrawerStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ICashDrawerStatusUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedBarcodeScanner : winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, + impl::require + { + ClaimedBarcodeScanner(std::nullptr_t) noexcept {} + ClaimedBarcodeScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedBarcodeScannerClosedEventArgs : winrt::Windows::Devices::PointOfService::IClaimedBarcodeScannerClosedEventArgs + { + ClaimedBarcodeScannerClosedEventArgs(std::nullptr_t) noexcept {} + ClaimedBarcodeScannerClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedBarcodeScannerClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedCashDrawer : winrt::Windows::Devices::PointOfService::IClaimedCashDrawer, + impl::require + { + ClaimedCashDrawer(std::nullptr_t) noexcept {} + ClaimedCashDrawer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedCashDrawer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedCashDrawerClosedEventArgs : winrt::Windows::Devices::PointOfService::IClaimedCashDrawerClosedEventArgs + { + ClaimedCashDrawerClosedEventArgs(std::nullptr_t) noexcept {} + ClaimedCashDrawerClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedCashDrawerClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedJournalPrinter : winrt::Windows::Devices::PointOfService::IClaimedJournalPrinter, + impl::require + { + ClaimedJournalPrinter(std::nullptr_t) noexcept {} + ClaimedJournalPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedJournalPrinter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedLineDisplay : winrt::Windows::Devices::PointOfService::IClaimedLineDisplay, + impl::require + { + ClaimedLineDisplay(std::nullptr_t) noexcept {} + ClaimedLineDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedLineDisplay(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedLineDisplayClosedEventArgs : winrt::Windows::Devices::PointOfService::IClaimedLineDisplayClosedEventArgs + { + ClaimedLineDisplayClosedEventArgs(std::nullptr_t) noexcept {} + ClaimedLineDisplayClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedLineDisplayClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedMagneticStripeReader : winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, + impl::require + { + ClaimedMagneticStripeReader(std::nullptr_t) noexcept {} + ClaimedMagneticStripeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedMagneticStripeReaderClosedEventArgs : winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReaderClosedEventArgs + { + ClaimedMagneticStripeReaderClosedEventArgs(std::nullptr_t) noexcept {} + ClaimedMagneticStripeReaderClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReaderClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedPosPrinter : winrt::Windows::Devices::PointOfService::IClaimedPosPrinter, + impl::require + { + ClaimedPosPrinter(std::nullptr_t) noexcept {} + ClaimedPosPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedPosPrinter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedPosPrinterClosedEventArgs : winrt::Windows::Devices::PointOfService::IClaimedPosPrinterClosedEventArgs + { + ClaimedPosPrinterClosedEventArgs(std::nullptr_t) noexcept {} + ClaimedPosPrinterClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedPosPrinterClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedReceiptPrinter : winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter, + impl::require + { + ClaimedReceiptPrinter(std::nullptr_t) noexcept {} + ClaimedReceiptPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ClaimedSlipPrinter : winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter, + impl::require + { + ClaimedSlipPrinter(std::nullptr_t) noexcept {} + ClaimedSlipPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES JournalPrintJob : winrt::Windows::Devices::PointOfService::IPosPrinterJob, + impl::require + { + JournalPrintJob(std::nullptr_t) noexcept {} + JournalPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterJob(ptr, take_ownership_from_abi) {} + using impl::consume_t::Print; + using winrt::Windows::Devices::PointOfService::IPosPrinterJob::Print; + }; + struct WINRT_IMPL_EMPTY_BASES JournalPrinterCapabilities : winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities, + impl::require + { + JournalPrinterCapabilities(std::nullptr_t) noexcept {} + JournalPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplay : winrt::Windows::Devices::PointOfService::ILineDisplay, + impl::require + { + LineDisplay(std::nullptr_t) noexcept {} + LineDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplay(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + [[nodiscard]] static auto StatisticsCategorySelector(); + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayAttributes : winrt::Windows::Devices::PointOfService::ILineDisplayAttributes + { + LineDisplayAttributes(std::nullptr_t) noexcept {} + LineDisplayAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayAttributes(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayCapabilities : winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities + { + LineDisplayCapabilities(std::nullptr_t) noexcept {} + LineDisplayCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayCursor : winrt::Windows::Devices::PointOfService::ILineDisplayCursor + { + LineDisplayCursor(std::nullptr_t) noexcept {} + LineDisplayCursor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayCursor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayCursorAttributes : winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes + { + LineDisplayCursorAttributes(std::nullptr_t) noexcept {} + LineDisplayCursorAttributes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayCustomGlyphs : winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs + { + LineDisplayCustomGlyphs(std::nullptr_t) noexcept {} + LineDisplayCustomGlyphs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayMarquee : winrt::Windows::Devices::PointOfService::ILineDisplayMarquee + { + LineDisplayMarquee(std::nullptr_t) noexcept {} + LineDisplayMarquee(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayMarquee(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayStatisticsCategorySelector : winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector + { + LineDisplayStatisticsCategorySelector(std::nullptr_t) noexcept {} + LineDisplayStatisticsCategorySelector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayStatusUpdatedEventArgs : winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs + { + LineDisplayStatusUpdatedEventArgs(std::nullptr_t) noexcept {} + LineDisplayStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayStoredBitmap : winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap + { + LineDisplayStoredBitmap(std::nullptr_t) noexcept {} + LineDisplayStoredBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LineDisplayWindow : winrt::Windows::Devices::PointOfService::ILineDisplayWindow, + impl::require + { + LineDisplayWindow(std::nullptr_t) noexcept {} + LineDisplayWindow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ILineDisplayWindow(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReader : winrt::Windows::Devices::PointOfService::IMagneticStripeReader, + impl::require + { + MagneticStripeReader(std::nullptr_t) noexcept {} + MagneticStripeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReader(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderAamvaCardDataReceivedEventArgs : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs + { + MagneticStripeReaderAamvaCardDataReceivedEventArgs(std::nullptr_t) noexcept {} + MagneticStripeReaderAamvaCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderBankCardDataReceivedEventArgs : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs + { + MagneticStripeReaderBankCardDataReceivedEventArgs(std::nullptr_t) noexcept {} + MagneticStripeReaderBankCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderCapabilities : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities + { + MagneticStripeReaderCapabilities(std::nullptr_t) noexcept {} + MagneticStripeReaderCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities(ptr, take_ownership_from_abi) {} + }; + struct MagneticStripeReaderCardTypes + { + MagneticStripeReaderCardTypes() = delete; + [[nodiscard]] static auto Unknown(); + [[nodiscard]] static auto Bank(); + [[nodiscard]] static auto Aamva(); + [[nodiscard]] static auto ExtendedBase(); + }; + struct MagneticStripeReaderEncryptionAlgorithms + { + MagneticStripeReaderEncryptionAlgorithms() = delete; + [[nodiscard]] static auto None(); + [[nodiscard]] static auto TripleDesDukpt(); + [[nodiscard]] static auto ExtendedBase(); + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderErrorOccurredEventArgs : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs + { + MagneticStripeReaderErrorOccurredEventArgs(std::nullptr_t) noexcept {} + MagneticStripeReaderErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderReport : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport + { + MagneticStripeReaderReport(std::nullptr_t) noexcept {} + MagneticStripeReaderReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderStatusUpdatedEventArgs : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs + { + MagneticStripeReaderStatusUpdatedEventArgs(std::nullptr_t) noexcept {} + MagneticStripeReaderStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderTrackData : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData + { + MagneticStripeReaderTrackData(std::nullptr_t) noexcept {} + MagneticStripeReaderTrackData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs + { + MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(std::nullptr_t) noexcept {} + MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinter : winrt::Windows::Devices::PointOfService::IPosPrinter, + impl::require + { + PosPrinter(std::nullptr_t) noexcept {} + PosPrinter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinter(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes); + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterCapabilities : winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities + { + PosPrinterCapabilities(std::nullptr_t) noexcept {} + PosPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities(ptr, take_ownership_from_abi) {} + }; + struct PosPrinterCharacterSetIds + { + PosPrinterCharacterSetIds() = delete; + [[nodiscard]] static auto Utf16LE(); + [[nodiscard]] static auto Ascii(); + [[nodiscard]] static auto Ansi(); + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterFontProperty : winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty + { + PosPrinterFontProperty(std::nullptr_t) noexcept {} + PosPrinterFontProperty(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterPrintOptions : winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions + { + PosPrinterPrintOptions(std::nullptr_t) noexcept {} + PosPrinterPrintOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions(ptr, take_ownership_from_abi) {} + PosPrinterPrintOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterReleaseDeviceRequestedEventArgs : winrt::Windows::Devices::PointOfService::IPosPrinterReleaseDeviceRequestedEventArgs + { + PosPrinterReleaseDeviceRequestedEventArgs(std::nullptr_t) noexcept {} + PosPrinterReleaseDeviceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterReleaseDeviceRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterStatus : winrt::Windows::Devices::PointOfService::IPosPrinterStatus + { + PosPrinterStatus(std::nullptr_t) noexcept {} + PosPrinterStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PosPrinterStatusUpdatedEventArgs : winrt::Windows::Devices::PointOfService::IPosPrinterStatusUpdatedEventArgs + { + PosPrinterStatusUpdatedEventArgs(std::nullptr_t) noexcept {} + PosPrinterStatusUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IPosPrinterStatusUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ReceiptPrintJob : winrt::Windows::Devices::PointOfService::IReceiptPrintJob, + impl::require + { + ReceiptPrintJob(std::nullptr_t) noexcept {} + ReceiptPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IReceiptPrintJob(ptr, take_ownership_from_abi) {} + using impl::consume_t::Print; + using impl::consume_t::Print; + }; + struct WINRT_IMPL_EMPTY_BASES ReceiptPrinterCapabilities : winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities, + impl::require + { + ReceiptPrinterCapabilities(std::nullptr_t) noexcept {} + ReceiptPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SlipPrintJob : winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob, + impl::require + { + SlipPrintJob(std::nullptr_t) noexcept {} + SlipPrintJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob::Print; + using impl::consume_t::Print; + }; + struct WINRT_IMPL_EMPTY_BASES SlipPrinterCapabilities : winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities, + impl::require + { + SlipPrinterCapabilities(std::nullptr_t) noexcept {} + SlipPrinterCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UnifiedPosErrorData : winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData + { + UnifiedPosErrorData(std::nullptr_t) noexcept {} + UnifiedPosErrorData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData(ptr, take_ownership_from_abi) {} + UnifiedPosErrorData(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..5fcbd85be9dee45abd7fd07a7b7225c262807899 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.0.h @@ -0,0 +1,916 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_Provider_0_H +#define WINRT_Windows_Devices_PointOfService_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService +{ + struct BarcodeScannerReport; + struct BarcodeSymbologyAttributes; + struct UnifiedPosErrorData; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapPixelFormat : int32_t; + struct BitmapSize; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService::Provider +{ + enum class BarcodeScannerTriggerState : int32_t + { + Released = 0, + Pressed = 1, + }; + struct IBarcodeScannerDisableScannerRequest; + struct IBarcodeScannerDisableScannerRequest2; + struct IBarcodeScannerDisableScannerRequestEventArgs; + struct IBarcodeScannerEnableScannerRequest; + struct IBarcodeScannerEnableScannerRequest2; + struct IBarcodeScannerEnableScannerRequestEventArgs; + struct IBarcodeScannerFrameReader; + struct IBarcodeScannerFrameReaderFrameArrivedEventArgs; + struct IBarcodeScannerGetSymbologyAttributesRequest; + struct IBarcodeScannerGetSymbologyAttributesRequest2; + struct IBarcodeScannerGetSymbologyAttributesRequestEventArgs; + struct IBarcodeScannerHideVideoPreviewRequest; + struct IBarcodeScannerHideVideoPreviewRequest2; + struct IBarcodeScannerHideVideoPreviewRequestEventArgs; + struct IBarcodeScannerProviderConnection; + struct IBarcodeScannerProviderConnection2; + struct IBarcodeScannerProviderTriggerDetails; + struct IBarcodeScannerSetActiveSymbologiesRequest; + struct IBarcodeScannerSetActiveSymbologiesRequest2; + struct IBarcodeScannerSetActiveSymbologiesRequestEventArgs; + struct IBarcodeScannerSetSymbologyAttributesRequest; + struct IBarcodeScannerSetSymbologyAttributesRequest2; + struct IBarcodeScannerSetSymbologyAttributesRequestEventArgs; + struct IBarcodeScannerStartSoftwareTriggerRequest; + struct IBarcodeScannerStartSoftwareTriggerRequest2; + struct IBarcodeScannerStartSoftwareTriggerRequestEventArgs; + struct IBarcodeScannerStopSoftwareTriggerRequest; + struct IBarcodeScannerStopSoftwareTriggerRequest2; + struct IBarcodeScannerStopSoftwareTriggerRequestEventArgs; + struct IBarcodeScannerVideoFrame; + struct IBarcodeSymbologyAttributesBuilder; + struct BarcodeScannerDisableScannerRequest; + struct BarcodeScannerDisableScannerRequestEventArgs; + struct BarcodeScannerEnableScannerRequest; + struct BarcodeScannerEnableScannerRequestEventArgs; + struct BarcodeScannerFrameReader; + struct BarcodeScannerFrameReaderFrameArrivedEventArgs; + struct BarcodeScannerGetSymbologyAttributesRequest; + struct BarcodeScannerGetSymbologyAttributesRequestEventArgs; + struct BarcodeScannerHideVideoPreviewRequest; + struct BarcodeScannerHideVideoPreviewRequestEventArgs; + struct BarcodeScannerProviderConnection; + struct BarcodeScannerProviderTriggerDetails; + struct BarcodeScannerSetActiveSymbologiesRequest; + struct BarcodeScannerSetActiveSymbologiesRequestEventArgs; + struct BarcodeScannerSetSymbologyAttributesRequest; + struct BarcodeScannerSetSymbologyAttributesRequestEventArgs; + struct BarcodeScannerStartSoftwareTriggerRequest; + struct BarcodeScannerStartSoftwareTriggerRequestEventArgs; + struct BarcodeScannerStopSoftwareTriggerRequest; + struct BarcodeScannerStopSoftwareTriggerRequestEventArgs; + struct BarcodeScannerVideoFrame; + struct BarcodeSymbologyAttributesBuilder; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReaderFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeSymbologyAttributesBuilder"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.BarcodeScannerTriggerState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerDisableScannerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerDisableScannerRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerDisableScannerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerEnableScannerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerEnableScannerRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerEnableScannerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerFrameReaderFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerGetSymbologyAttributesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerGetSymbologyAttributesRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerGetSymbologyAttributesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerHideVideoPreviewRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerHideVideoPreviewRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerHideVideoPreviewRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerProviderConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerProviderConnection2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetActiveSymbologiesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetActiveSymbologiesRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetActiveSymbologiesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetSymbologyAttributesRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetSymbologyAttributesRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerSetSymbologyAttributesRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStartSoftwareTriggerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStartSoftwareTriggerRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStartSoftwareTriggerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStopSoftwareTriggerRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStopSoftwareTriggerRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerStopSoftwareTriggerRequestEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeScannerVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Devices.PointOfService.Provider.IBarcodeSymbologyAttributesBuilder"; + template <> inline constexpr guid guid_v{ 0x88ECF7C0,0x37B9,0x4275,{ 0x8E,0x77,0xC8,0xE5,0x2A,0xE5,0xA9,0xC8 } }; // 88ECF7C0-37B9-4275-8E77-C8E52AE5A9C8 + template <> inline constexpr guid guid_v{ 0xCCDFE625,0x65C3,0x4CCC,{ 0xB4,0x57,0xF3,0x9C,0x7A,0x9E,0xA6,0x0D } }; // CCDFE625-65C3-4CCC-B457-F39C7A9EA60D + template <> inline constexpr guid guid_v{ 0x7006E142,0xE802,0x46F5,{ 0xB6,0x04,0x35,0x2A,0x15,0xCE,0x92,0x32 } }; // 7006E142-E802-46F5-B604-352A15CE9232 + template <> inline constexpr guid guid_v{ 0xC0B3E9BA,0x816A,0x452B,{ 0xBD,0x77,0xB7,0xE4,0x53,0xEC,0x44,0x6D } }; // C0B3E9BA-816A-452B-BD77-B7E453EC446D + template <> inline constexpr guid guid_v{ 0x71A4F2A8,0x9905,0x41AC,{ 0x91,0x21,0xB6,0x45,0x91,0x6A,0x84,0xA1 } }; // 71A4F2A8-9905-41AC-9121-B645916A84A1 + template <> inline constexpr guid guid_v{ 0x956C9419,0x7B4E,0x4451,{ 0x8C,0x41,0x8E,0x10,0xCF,0xBC,0x5B,0x41 } }; // 956C9419-7B4E-4451-8C41-8E10CFBC5B41 + template <> inline constexpr guid guid_v{ 0xDBC72B07,0x64C3,0x482B,{ 0x93,0xC8,0x65,0xFB,0x33,0xC2,0x22,0x08 } }; // DBC72B07-64C3-482B-93C8-65FB33C22208 + template <> inline constexpr guid guid_v{ 0xB0BBD604,0x54FD,0x436D,{ 0x86,0x29,0x71,0x2E,0x78,0x72,0x23,0xDD } }; // B0BBD604-54FD-436D-8629-712E787223DD + template <> inline constexpr guid guid_v{ 0x9774C46A,0x58E4,0x4C5F,{ 0xB8,0xE9,0xE4,0x14,0x67,0x63,0x27,0x00 } }; // 9774C46A-58E4-4C5F-B8E9-E41467632700 + template <> inline constexpr guid guid_v{ 0x6A6A2B13,0x75A8,0x49FB,{ 0xB8,0x52,0xBF,0xB9,0x3D,0x76,0x0A,0xF7 } }; // 6A6A2B13-75A8-49FB-B852-BFB93D760AF7 + template <> inline constexpr guid guid_v{ 0x7F89DE3E,0xFB5D,0x493C,{ 0xB4,0x02,0x35,0x6B,0x24,0xD5,0x74,0xA6 } }; // 7F89DE3E-FB5D-493C-B402-356B24D574A6 + template <> inline constexpr guid guid_v{ 0xFA4EBE7F,0x6670,0x40E1,{ 0xB9,0x0B,0xBB,0x10,0xD8,0xD4,0x25,0xFA } }; // FA4EBE7F-6670-40E1-B90B-BB10D8D425FA + template <> inline constexpr guid guid_v{ 0x7E28435D,0x9814,0x431D,{ 0xA2,0xF2,0xD6,0x24,0x8C,0x5A,0xD4,0xB5 } }; // 7E28435D-9814-431D-A2F2-D6248C5AD4B5 + template <> inline constexpr guid guid_v{ 0x16A281FC,0xD6BE,0x4BC7,{ 0x9D,0xF1,0x33,0x74,0x1F,0x3E,0xAD,0xEA } }; // 16A281FC-D6BE-4BC7-9DF1-33741F3EADEA + template <> inline constexpr guid guid_v{ 0xB44ACBED,0x0B3A,0x4FA3,{ 0x86,0xC5,0x49,0x1E,0xA3,0x07,0x80,0xEB } }; // B44ACBED-0B3A-4FA3-86C5-491EA30780EB + template <> inline constexpr guid guid_v{ 0xBE9B53CD,0x1134,0x418C,{ 0xA0,0x6B,0x04,0x42,0x3A,0x73,0xF3,0xD7 } }; // BE9B53CD-1134-418C-A06B-04423A73F3D7 + template <> inline constexpr guid guid_v{ 0x50856D82,0x24E3,0x48CE,{ 0x99,0xC7,0x70,0xAA,0xC1,0xCB,0xC9,0xF7 } }; // 50856D82-24E3-48CE-99C7-70AAC1CBC9F7 + template <> inline constexpr guid guid_v{ 0xDB3F32B9,0xF7DA,0x41A1,{ 0x9F,0x79,0x07,0xBC,0xD9,0x5F,0x0B,0xDF } }; // DB3F32B9-F7DA-41A1-9F79-07BCD95F0BDF + template <> inline constexpr guid guid_v{ 0xF5FF6EDF,0xFA9A,0x4749,{ 0xB1,0x1B,0xE8,0xFC,0xCB,0x75,0xBC,0x6B } }; // F5FF6EDF-FA9A-4749-B11B-E8FCCB75BC6B + template <> inline constexpr guid guid_v{ 0x06305AFA,0x7BF6,0x4D52,{ 0x80,0x1A,0x33,0x02,0x72,0xF6,0x0A,0xE1 } }; // 06305AFA-7BF6-4D52-801A-330272F60AE1 + template <> inline constexpr guid guid_v{ 0x32FB814F,0xA37F,0x48B0,{ 0xAC,0xEA,0xDC,0xE1,0x48,0x0F,0x12,0xAE } }; // 32FB814F-A37F-48B0-ACEA-DCE1480F12AE + template <> inline constexpr guid guid_v{ 0xDFFBBFC1,0xDBA8,0x4B77,{ 0xBE,0x1E,0xB5,0x6C,0xD7,0x2F,0x65,0xB3 } }; // DFFBBFC1-DBA8-4B77-BE1E-B56CD72F65B3 + template <> inline constexpr guid guid_v{ 0xB2B89809,0x9824,0x47D4,{ 0x85,0xBD,0xD0,0x07,0x7B,0xAA,0x7B,0xD2 } }; // B2B89809-9824-47D4-85BD-D0077BAA7BD2 + template <> inline constexpr guid guid_v{ 0xE3FA7B27,0xFF62,0x4454,{ 0xAF,0x4A,0xCB,0x61,0x44,0xA3,0xE3,0xF7 } }; // E3FA7B27-FF62-4454-AF4A-CB6144A3E3F7 + template <> inline constexpr guid guid_v{ 0xEB72A25C,0x6658,0x4765,{ 0xA6,0x8E,0x32,0x74,0x82,0x65,0x3D,0xEB } }; // EB72A25C-6658-4765-A68E-327482653DEB + template <> inline constexpr guid guid_v{ 0x2305D843,0xC88F,0x4F3B,{ 0x8C,0x3B,0xD3,0xDF,0x07,0x10,0x51,0xEC } }; // 2305D843-C88F-4F3B-8C3B-D3DF071051EC + template <> inline constexpr guid guid_v{ 0x6F9FAF35,0xE287,0x4CA8,{ 0xB7,0x0D,0x5A,0x91,0xD6,0x94,0xF6,0x68 } }; // 6F9FAF35-E287-4CA8-B70D-5A91D694F668 + template <> inline constexpr guid guid_v{ 0xCB57C5DD,0xFE50,0x49F8,{ 0xA0,0xB4,0xBD,0xC2,0x30,0x81,0x4D,0xA2 } }; // CB57C5DD-FE50-49F8-A0B4-BDC230814DA2 + template <> inline constexpr guid guid_v{ 0xEAC34450,0x4EB7,0x481A,{ 0x92,0x73,0x14,0x7A,0x27,0x3B,0x99,0xB8 } }; // EAC34450-4EB7-481A-9273-147A273B99B8 + template <> inline constexpr guid guid_v{ 0x7E585248,0x9DF7,0x4121,{ 0xA1,0x75,0x80,0x1D,0x80,0x00,0x11,0x2E } }; // 7E585248-9DF7-4121-A175-801D8000112E + template <> inline constexpr guid guid_v{ 0xC57B0CBF,0xE4F5,0x40B9,{ 0x84,0xCF,0xE6,0x3F,0xBA,0xEA,0x42,0xB4 } }; // C57B0CBF-E4F5-40B9-84CF-E63FBAEA42B4 + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReaderFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryAcquireLatestFrameAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Symbology(uint32_t*) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedSymbologies(void**) noexcept = 0; + virtual int32_t __stdcall get_CompanyName(void**) noexcept = 0; + virtual int32_t __stdcall put_CompanyName(void*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Version(void**) noexcept = 0; + virtual int32_t __stdcall put_Version(void*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall ReportScannedDataAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportTriggerStateAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportErrorAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportErrorAsyncWithScanReport(void*, bool, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_EnableScannerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnableScannerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DisableScannerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisableScannerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SetActiveSymbologiesRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SetActiveSymbologiesRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StartSoftwareTriggerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StartSoftwareTriggerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StopSoftwareTriggerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StopSoftwareTriggerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GetBarcodeSymbologyAttributesRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GetBarcodeSymbologyAttributesRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SetBarcodeSymbologyAttributesRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SetBarcodeSymbologyAttributesRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_HideVideoPreviewRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HideVideoPreviewRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFrameReaderAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameReaderWithFormatAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameReaderWithFormatAndSizeAsync(int32_t, struct struct_Windows_Graphics_Imaging_BitmapSize, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Symbologies(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Symbology(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Attributes(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportFailedWithFailedReasonAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ReportFailedWithFailedReasonAndDescriptionAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PixelData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCheckDigitValidationSupported(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCheckDigitValidationSupported(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCheckDigitTransmissionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCheckDigitTransmissionSupported(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDecodeLengthSupported(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDecodeLengthSupported(bool) noexcept = 0; + virtual int32_t __stdcall CreateAttributes(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest + { + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest + { + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader + { + auto StartAsync() const; + auto StopAsync() const; + auto TryAcquireLatestFrameAsync() const; + [[nodiscard]] auto Connection() const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs + { + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest + { + [[nodiscard]] auto Symbology() const; + auto ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest + { + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto SupportedSymbologies() const; + [[nodiscard]] auto CompanyName() const; + auto CompanyName(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; + auto Start() const; + auto ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const; + auto ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const; + auto ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const; + auto ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const; + auto EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnableScannerRequested_revoker = impl::event_revoker::remove_EnableScannerRequested>; + [[nodiscard]] auto EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnableScannerRequested(winrt::event_token const& token) const noexcept; + auto DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DisableScannerRequested_revoker = impl::event_revoker::remove_DisableScannerRequested>; + [[nodiscard]] auto DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisableScannerRequested(winrt::event_token const& token) const noexcept; + auto SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SetActiveSymbologiesRequested_revoker = impl::event_revoker::remove_SetActiveSymbologiesRequested>; + [[nodiscard]] auto SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept; + auto StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StartSoftwareTriggerRequested_revoker = impl::event_revoker::remove_StartSoftwareTriggerRequested>; + [[nodiscard]] auto StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; + auto StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StopSoftwareTriggerRequested_revoker = impl::event_revoker::remove_StopSoftwareTriggerRequested>; + [[nodiscard]] auto StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; + auto GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using GetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker::remove_GetBarcodeSymbologyAttributesRequested>; + [[nodiscard]] auto GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; + auto SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker::remove_SetBarcodeSymbologyAttributesRequested>; + [[nodiscard]] auto SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; + auto HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using HideVideoPreviewRequested_revoker = impl::event_revoker::remove_HideVideoPreviewRequested>; + [[nodiscard]] auto HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HideVideoPreviewRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2 + { + auto CreateFrameReaderAsync() const; + auto CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const; + auto CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails + { + [[nodiscard]] auto Connection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest + { + [[nodiscard]] auto Symbologies() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest + { + [[nodiscard]] auto Symbology() const; + [[nodiscard]] auto Attributes() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest + { + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest + { + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2 + { + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs + { + [[nodiscard]] auto Request() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame + { + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto PixelData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame; + }; + template + struct consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder + { + [[nodiscard]] auto IsCheckDigitValidationSupported() const; + auto IsCheckDigitValidationSupported(bool value) const; + [[nodiscard]] auto IsCheckDigitTransmissionSupported() const; + auto IsCheckDigitTransmissionSupported(bool value) const; + [[nodiscard]] auto IsDecodeLengthSupported() const; + auto IsDecodeLengthSupported(bool value) const; + auto CreateAttributes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..9d3aab51deeeb6527cba4f1181bb9f493df824cd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.1.h @@ -0,0 +1,230 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_Provider_1_H +#define WINRT_Windows_Devices_PointOfService_Provider_1_H +#include "winrt/impl/Windows.Devices.PointOfService.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerDisableScannerRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerDisableScannerRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerDisableScannerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerDisableScannerRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerDisableScannerRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerDisableScannerRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerDisableScannerRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerDisableScannerRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerDisableScannerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerEnableScannerRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerEnableScannerRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerEnableScannerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerEnableScannerRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerEnableScannerRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerEnableScannerRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerEnableScannerRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerEnableScannerRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerEnableScannerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerFrameReader(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerFrameReaderFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerFrameReaderFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerFrameReaderFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerGetSymbologyAttributesRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerGetSymbologyAttributesRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerGetSymbologyAttributesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerGetSymbologyAttributesRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerGetSymbologyAttributesRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerGetSymbologyAttributesRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerGetSymbologyAttributesRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerGetSymbologyAttributesRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerGetSymbologyAttributesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerHideVideoPreviewRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerHideVideoPreviewRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerHideVideoPreviewRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerHideVideoPreviewRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerHideVideoPreviewRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerHideVideoPreviewRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerHideVideoPreviewRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerHideVideoPreviewRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerHideVideoPreviewRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerProviderConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerProviderConnection(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerProviderConnection2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerProviderConnection2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerProviderConnection2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerProviderTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerProviderTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetActiveSymbologiesRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetActiveSymbologiesRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetActiveSymbologiesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetActiveSymbologiesRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetActiveSymbologiesRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetActiveSymbologiesRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetActiveSymbologiesRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetActiveSymbologiesRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetActiveSymbologiesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetSymbologyAttributesRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetSymbologyAttributesRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetSymbologyAttributesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetSymbologyAttributesRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetSymbologyAttributesRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetSymbologyAttributesRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerSetSymbologyAttributesRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerSetSymbologyAttributesRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerSetSymbologyAttributesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStartSoftwareTriggerRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStartSoftwareTriggerRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStartSoftwareTriggerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStartSoftwareTriggerRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStartSoftwareTriggerRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStartSoftwareTriggerRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStartSoftwareTriggerRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStartSoftwareTriggerRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStartSoftwareTriggerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStopSoftwareTriggerRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStopSoftwareTriggerRequest(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStopSoftwareTriggerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStopSoftwareTriggerRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStopSoftwareTriggerRequest2(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStopSoftwareTriggerRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerStopSoftwareTriggerRequestEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerStopSoftwareTriggerRequestEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerStopSoftwareTriggerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeScannerVideoFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeScannerVideoFrame(std::nullptr_t = nullptr) noexcept {} + IBarcodeScannerVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarcodeSymbologyAttributesBuilder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarcodeSymbologyAttributesBuilder(std::nullptr_t = nullptr) noexcept {} + IBarcodeSymbologyAttributesBuilder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7b3568975bb659d489f3473921a1612df87ba475 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pointofservice.provider.2.h @@ -0,0 +1,152 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_PointOfService_Provider_2_H +#define WINRT_Windows_Devices_PointOfService_Provider_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.PointOfService.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::PointOfService::Provider +{ + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerDisableScannerRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest, + impl::require + { + BarcodeScannerDisableScannerRequest(std::nullptr_t) noexcept {} + BarcodeScannerDisableScannerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerDisableScannerRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs + { + BarcodeScannerDisableScannerRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerDisableScannerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerEnableScannerRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest, + impl::require + { + BarcodeScannerEnableScannerRequest(std::nullptr_t) noexcept {} + BarcodeScannerEnableScannerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerEnableScannerRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs + { + BarcodeScannerEnableScannerRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerEnableScannerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerFrameReader : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader, + impl::require + { + BarcodeScannerFrameReader(std::nullptr_t) noexcept {} + BarcodeScannerFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerFrameReaderFrameArrivedEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReaderFrameArrivedEventArgs + { + BarcodeScannerFrameReaderFrameArrivedEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerFrameReaderFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReaderFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerGetSymbologyAttributesRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest, + impl::require + { + BarcodeScannerGetSymbologyAttributesRequest(std::nullptr_t) noexcept {} + BarcodeScannerGetSymbologyAttributesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerGetSymbologyAttributesRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs + { + BarcodeScannerGetSymbologyAttributesRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerGetSymbologyAttributesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerHideVideoPreviewRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest, + impl::require + { + BarcodeScannerHideVideoPreviewRequest(std::nullptr_t) noexcept {} + BarcodeScannerHideVideoPreviewRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerHideVideoPreviewRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs + { + BarcodeScannerHideVideoPreviewRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerHideVideoPreviewRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerProviderConnection : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, + impl::require + { + BarcodeScannerProviderConnection(std::nullptr_t) noexcept {} + BarcodeScannerProviderConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerProviderTriggerDetails : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderTriggerDetails + { + BarcodeScannerProviderTriggerDetails(std::nullptr_t) noexcept {} + BarcodeScannerProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerSetActiveSymbologiesRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest, + impl::require + { + BarcodeScannerSetActiveSymbologiesRequest(std::nullptr_t) noexcept {} + BarcodeScannerSetActiveSymbologiesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerSetActiveSymbologiesRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs + { + BarcodeScannerSetActiveSymbologiesRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerSetActiveSymbologiesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerSetSymbologyAttributesRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest, + impl::require + { + BarcodeScannerSetSymbologyAttributesRequest(std::nullptr_t) noexcept {} + BarcodeScannerSetSymbologyAttributesRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerSetSymbologyAttributesRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs + { + BarcodeScannerSetSymbologyAttributesRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerSetSymbologyAttributesRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerStartSoftwareTriggerRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest, + impl::require + { + BarcodeScannerStartSoftwareTriggerRequest(std::nullptr_t) noexcept {} + BarcodeScannerStartSoftwareTriggerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerStartSoftwareTriggerRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs + { + BarcodeScannerStartSoftwareTriggerRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerStartSoftwareTriggerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerStopSoftwareTriggerRequest : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest, + impl::require + { + BarcodeScannerStopSoftwareTriggerRequest(std::nullptr_t) noexcept {} + BarcodeScannerStopSoftwareTriggerRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest::ReportFailedAsync; + using impl::consume_t::ReportFailedAsync; + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerStopSoftwareTriggerRequestEventArgs : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs + { + BarcodeScannerStopSoftwareTriggerRequestEventArgs(std::nullptr_t) noexcept {} + BarcodeScannerStopSoftwareTriggerRequestEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeScannerVideoFrame : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame, + impl::require + { + BarcodeScannerVideoFrame(std::nullptr_t) noexcept {} + BarcodeScannerVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarcodeSymbologyAttributesBuilder : winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder + { + BarcodeSymbologyAttributesBuilder(std::nullptr_t) noexcept {} + BarcodeSymbologyAttributesBuilder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder(ptr, take_ownership_from_abi) {} + BarcodeSymbologyAttributesBuilder(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4d48baebdfe2852f099cf7b053a5bcf264a179cf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.0.h @@ -0,0 +1,83 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Portable_0_H +#define WINRT_Windows_Devices_Portable_0_H +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Portable +{ + enum class ServiceDeviceType : int32_t + { + CalendarService = 0, + ContactsService = 1, + DeviceStatusService = 2, + NotesService = 3, + RingtonesService = 4, + SmsService = 5, + TasksService = 6, + }; + struct IServiceDeviceStatics; + struct IStorageDeviceStatics; + struct ServiceDevice; + struct StorageDevice; + struct PortableDeviceContract; +} +namespace winrt::impl +{ + 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 <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.ServiceDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.StorageDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.ServiceDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.IServiceDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.IStorageDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Portable.PortableDeviceContract"; + template <> inline constexpr guid guid_v{ 0xA88214E1,0x59C7,0x4A20,{ 0xAB,0xA6,0x9F,0x67,0x07,0x93,0x72,0x30 } }; // A88214E1-59C7-4A20-ABA6-9F6707937230 + template <> inline constexpr guid guid_v{ 0x5ECE44EE,0x1B23,0x4DD2,{ 0x86,0x52,0xBC,0x16,0x4F,0x00,0x31,0x28 } }; // 5ECE44EE-1B23-4DD2-8652-BC164F003128 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromServiceId(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Portable_IServiceDeviceStatics + { + auto GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const; + auto GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Portable_IServiceDeviceStatics; + }; + template + struct consume_Windows_Devices_Portable_IStorageDeviceStatics + { + auto FromId(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Portable_IStorageDeviceStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a4416c9295134afc70aa3a56962c843792b10b47 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Portable_1_H +#define WINRT_Windows_Devices_Portable_1_H +#include "winrt/impl/Windows.Devices.Portable.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Portable +{ + struct WINRT_IMPL_EMPTY_BASES IServiceDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServiceDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IServiceDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStorageDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IStorageDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.2.h new file mode 100644 index 0000000000000000000000000000000000000000..db3d1f96134e41d0c55e1bf72f2fabc1469b1c12 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.portable.2.h @@ -0,0 +1,25 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Portable_2_H +#define WINRT_Windows_Devices_Portable_2_H +#include "winrt/impl/Windows.Devices.Portable.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Portable +{ + struct ServiceDevice + { + ServiceDevice() = delete; + static auto GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType); + static auto GetDeviceSelectorFromServiceId(winrt::guid const& serviceId); + }; + struct StorageDevice + { + StorageDevice() = delete; + static auto FromId(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.0.h new file mode 100644 index 0000000000000000000000000000000000000000..eb1550cf9633fb44789c9fd91da8917e8d3c9384 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.0.h @@ -0,0 +1,195 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Power_0_H +#define WINRT_Windows_Devices_Power_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::System::Power +{ + enum class BatteryStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Power +{ + struct IBattery; + struct IBatteryReport; + struct IBatteryStatics; + struct IPowerGridData; + struct IPowerGridForecast; + struct IPowerGridForecastStatics; + struct Battery; + struct BatteryReport; + struct PowerGridData; + struct PowerGridForecast; + struct PowerGridApiContract; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.Battery"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.BatteryReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.PowerGridData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.PowerGridForecast"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IBattery"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IBatteryReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IBatteryStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IPowerGridData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IPowerGridForecast"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.IPowerGridForecastStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Power.PowerGridApiContract"; + template <> inline constexpr guid guid_v{ 0xBC894FC6,0x0072,0x47C8,{ 0x8B,0x5D,0x61,0x4A,0xAA,0x7A,0x43,0x7E } }; // BC894FC6-0072-47C8-8B5D-614AAA7A437E + template <> inline constexpr guid guid_v{ 0xC9858C3A,0x4E13,0x420A,{ 0xA8,0xD0,0x24,0xF1,0x8F,0x39,0x54,0x01 } }; // C9858C3A-4E13-420A-A8D0-24F18F395401 + template <> inline constexpr guid guid_v{ 0x79CD72B6,0x9E5E,0x4452,{ 0xBE,0xA6,0xDF,0xCD,0x54,0x1E,0x59,0x7F } }; // 79CD72B6-9E5E-4452-BEA6-DFCD541E597F + template <> inline constexpr guid guid_v{ 0xC360FB17,0xFC92,0x5F6E,{ 0x99,0x9D,0x16,0xA4,0xCF,0x9D,0x6C,0x40 } }; // C360FB17-FC92-5F6E-999D-16A4CF9D6C40 + template <> inline constexpr guid guid_v{ 0x077E4DE9,0xED60,0x58BB,{ 0xA8,0x50,0x00,0x3C,0x6A,0x13,0x86,0x85 } }; // 077E4DE9-ED60-58BB-A850-003C6A138685 + template <> inline constexpr guid guid_v{ 0x5B78C806,0x2E4E,0x5BCC,{ 0xBB,0x34,0xCB,0x81,0xC6,0x0F,0x9E,0x12 } }; // 5B78C806-2E4E-5BCC-BB34-CB81C60F9E12 + template <> struct default_interface{ using type = winrt::Windows::Devices::Power::IBattery; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Power::IBatteryReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Power::IPowerGridData; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Power::IPowerGridForecast; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall GetReport(void**) noexcept = 0; + virtual int32_t __stdcall add_ReportUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReportUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChargeRateInMilliwatts(void**) noexcept = 0; + virtual int32_t __stdcall get_DesignCapacityInMilliwattHours(void**) noexcept = 0; + virtual int32_t __stdcall get_FullChargeCapacityInMilliwattHours(void**) noexcept = 0; + virtual int32_t __stdcall get_RemainingCapacityInMilliwattHours(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AggregateBattery(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Severity(double*) noexcept = 0; + virtual int32_t __stdcall get_IsLowUserExperienceImpact(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_BlockDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Forecast(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForecast(void**) noexcept = 0; + virtual int32_t __stdcall add_ForecastUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ForecastUpdated(winrt::event_token) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Power_IBattery + { + [[nodiscard]] auto DeviceId() const; + auto GetReport() const; + auto ReportUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReportUpdated_revoker = impl::event_revoker::remove_ReportUpdated>; + [[nodiscard]] auto ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReportUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IBattery; + }; + template + struct consume_Windows_Devices_Power_IBatteryReport + { + [[nodiscard]] auto ChargeRateInMilliwatts() const; + [[nodiscard]] auto DesignCapacityInMilliwattHours() const; + [[nodiscard]] auto FullChargeCapacityInMilliwattHours() const; + [[nodiscard]] auto RemainingCapacityInMilliwattHours() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IBatteryReport; + }; + template + struct consume_Windows_Devices_Power_IBatteryStatics + { + [[nodiscard]] auto AggregateBattery() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IBatteryStatics; + }; + template + struct consume_Windows_Devices_Power_IPowerGridData + { + [[nodiscard]] auto Severity() const; + [[nodiscard]] auto IsLowUserExperienceImpact() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IPowerGridData; + }; + template + struct consume_Windows_Devices_Power_IPowerGridForecast + { + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto BlockDuration() const; + [[nodiscard]] auto Forecast() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IPowerGridForecast; + }; + template + struct consume_Windows_Devices_Power_IPowerGridForecastStatics + { + auto GetForecast() const; + auto ForecastUpdated(winrt::Windows::Foundation::EventHandler const& handler) const; + using ForecastUpdated_revoker = impl::event_revoker::remove_ForecastUpdated>; + [[nodiscard]] auto ForecastUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ForecastUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Power_IPowerGridForecastStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1e1e493d1c344cb81bcaecd8dce228c2da042656 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Power_1_H +#define WINRT_Windows_Devices_Power_1_H +#include "winrt/impl/Windows.Devices.Power.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Power +{ + struct WINRT_IMPL_EMPTY_BASES IBattery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBattery(std::nullptr_t = nullptr) noexcept {} + IBattery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBatteryReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBatteryReport(std::nullptr_t = nullptr) noexcept {} + IBatteryReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBatteryStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBatteryStatics(std::nullptr_t = nullptr) noexcept {} + IBatteryStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPowerGridData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPowerGridData(std::nullptr_t = nullptr) noexcept {} + IPowerGridData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPowerGridForecast : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPowerGridForecast(std::nullptr_t = nullptr) noexcept {} + IPowerGridForecast(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPowerGridForecastStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPowerGridForecastStatics(std::nullptr_t = nullptr) noexcept {} + IPowerGridForecastStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5339608f67908ce3443d554357c533339dac9a39 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.power.2.h @@ -0,0 +1,42 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Power_2_H +#define WINRT_Windows_Devices_Power_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Power.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Power +{ + struct WINRT_IMPL_EMPTY_BASES Battery : winrt::Windows::Devices::Power::IBattery + { + Battery(std::nullptr_t) noexcept {} + Battery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IBattery(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto AggregateBattery(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES BatteryReport : winrt::Windows::Devices::Power::IBatteryReport + { + BatteryReport(std::nullptr_t) noexcept {} + BatteryReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IBatteryReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PowerGridData : winrt::Windows::Devices::Power::IPowerGridData + { + PowerGridData(std::nullptr_t) noexcept {} + PowerGridData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IPowerGridData(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PowerGridForecast : winrt::Windows::Devices::Power::IPowerGridForecast + { + PowerGridForecast(std::nullptr_t) noexcept {} + PowerGridForecast(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IPowerGridForecast(ptr, take_ownership_from_abi) {} + static auto GetForecast(); + static auto ForecastUpdated(winrt::Windows::Foundation::EventHandler const& handler); + using ForecastUpdated_revoker = impl::factory_event_revoker::remove_ForecastUpdated>; + [[nodiscard]] static auto ForecastUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ForecastUpdated(winrt::event_token const& token); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.0.h new file mode 100644 index 0000000000000000000000000000000000000000..1825d43429ee4161936e90a640310e109f3a8972 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.0.h @@ -0,0 +1,1044 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_0_H +#define WINRT_Windows_Devices_Printers_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + struct PrintTaskOptions; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + struct WorkflowPrintTicket; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Printers +{ + enum class IppAttributeErrorReason : int32_t + { + RequestEntityTooLarge = 0, + AttributeNotSupported = 1, + AttributeValuesNotSupported = 2, + AttributeNotSettable = 3, + ConflictingAttributes = 4, + }; + enum class IppAttributeValueKind : int32_t + { + Unsupported = 0, + Unknown = 1, + NoValue = 2, + Integer = 3, + Boolean = 4, + Enum = 5, + OctetString = 6, + DateTime = 7, + Resolution = 8, + RangeOfInteger = 9, + Collection = 10, + TextWithLanguage = 11, + NameWithLanguage = 12, + TextWithoutLanguage = 13, + NameWithoutLanguage = 14, + Keyword = 15, + Uri = 16, + UriSchema = 17, + Charset = 18, + NaturalLanguage = 19, + MimeMediaType = 20, + }; + enum class IppPrintDeviceInstallationStatus : int32_t + { + InstallationSucceeded = 0, + PrinterAlreadyInstalled = 1, + CommunicationError = 2, + OtherFailure = 3, + }; + enum class IppPrintDeviceKind : int32_t + { + Printer = 0, + FaxOut = 1, + VirtualPrinter = 2, + }; + enum class IppResolutionUnit : int32_t + { + DotsPerInch = 0, + DotsPerCentimeter = 1, + }; + enum class PageConfigurationSource : int32_t + { + PrintJobConfiguration = 0, + PdlContent = 1, + }; + enum class ReplaceDevicePropertiesStatus : int32_t + { + Succeeded = 0, + AccessDenied = 1, + OtherFailure = 2, + }; + enum class VirtualPrinterInstallationStatus : int32_t + { + InstallationSucceeded = 0, + PrinterAlreadyInstalled = 1, + PrinterInstallationAccessDenied = 2, + PrinterInstallationFailed = 3, + }; + enum class VirtualPrinterPreferredInputFormat : int32_t + { + OpenXps = 0, + PostScript = 1, + }; + struct IIppAttributeError; + struct IIppAttributeValue; + struct IIppAttributeValueStatics; + struct IIppIntegerRange; + struct IIppIntegerRangeFactory; + struct IIppPrintDevice; + struct IIppPrintDevice2; + struct IIppPrintDevice3; + struct IIppPrintDevice4; + struct IIppPrintDevice5; + struct IIppPrintDeviceInstallationResult; + struct IIppPrintDeviceManagerStatics; + struct IIppPrintDeviceStatics; + struct IIppResolution; + struct IIppResolutionFactory; + struct IIppSetAttributesResult; + struct IIppTextWithLanguage; + struct IIppTextWithLanguageFactory; + struct IPageConfigurationSettings; + struct IPdlPassthroughProvider; + struct IPdlPassthroughTarget; + struct IPrint3DDevice; + struct IPrint3DDeviceStatics; + struct IPrintSchema; + struct IReplaceDevicePropertiesResult; + struct IVirtualPrinterInstallationParameters; + struct IVirtualPrinterInstallationResult; + struct IVirtualPrinterManagerStatics; + struct IVirtualPrinterSupportedFormat; + struct IVirtualPrinterSupportedFormatFactory; + struct IppAttributeError; + struct IppAttributeValue; + struct IppIntegerRange; + struct IppPrintDevice; + struct IppPrintDeviceInstallationResult; + struct IppPrintDeviceManager; + struct IppResolution; + struct IppSetAttributesResult; + struct IppTextWithLanguage; + struct PageConfigurationSettings; + struct PdlPassthroughProvider; + struct PdlPassthroughTarget; + struct Print3DDevice; + struct PrintSchema; + struct ReplaceDevicePropertiesResult; + struct VirtualPrinterInstallationParameters; + struct VirtualPrinterInstallationResult; + struct VirtualPrinterManager; + struct VirtualPrinterSupportedFormat; + struct PrintersContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppAttributeError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppAttributeValue"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppIntegerRange"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppPrintDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppPrintDeviceInstallationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppPrintDeviceManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppResolution"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppSetAttributesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppTextWithLanguage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PageConfigurationSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PdlPassthroughProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PdlPassthroughTarget"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Print3DDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PrintSchema"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.ReplaceDevicePropertiesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterInstallationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterInstallationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterManager"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterSupportedFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppAttributeErrorReason"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppAttributeValueKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppPrintDeviceInstallationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppPrintDeviceKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IppResolutionUnit"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PageConfigurationSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.ReplaceDevicePropertiesStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterInstallationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.VirtualPrinterPreferredInputFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppAttributeError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppAttributeValue"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppAttributeValueStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppIntegerRange"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppIntegerRangeFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDevice3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDevice4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDevice5"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDeviceInstallationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDeviceManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppPrintDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppResolution"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppResolutionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppSetAttributesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppTextWithLanguage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IIppTextWithLanguageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPageConfigurationSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPdlPassthroughProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPdlPassthroughTarget"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPrint3DDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPrint3DDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IPrintSchema"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IReplaceDevicePropertiesResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IVirtualPrinterInstallationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IVirtualPrinterInstallationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IVirtualPrinterManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IVirtualPrinterSupportedFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.IVirtualPrinterSupportedFormatFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.PrintersContract"; + template <> inline constexpr guid guid_v{ 0x750FEDA1,0x9EEF,0x5C39,{ 0x93,0xE4,0x46,0x14,0x9B,0xBC,0xEF,0x27 } }; // 750FEDA1-9EEF-5C39-93E4-46149BBCEF27 + template <> inline constexpr guid guid_v{ 0x99407FED,0xE2BB,0x59A3,{ 0x98,0x8B,0x28,0xA9,0x74,0x05,0x2A,0x26 } }; // 99407FED-E2BB-59A3-988B-28A974052A26 + template <> inline constexpr guid guid_v{ 0x10D43942,0xDD94,0x5998,{ 0xB2,0x35,0xAF,0xAF,0xB6,0xFA,0x79,0x35 } }; // 10D43942-DD94-5998-B235-AFAFB6FA7935 + template <> inline constexpr guid guid_v{ 0x92907346,0xC3EA,0x5ED6,{ 0xBD,0xB1,0x37,0x52,0xC6,0x2C,0x6F,0x7F } }; // 92907346-C3EA-5ED6-BDB1-3752C62C6F7F + template <> inline constexpr guid guid_v{ 0x75D4ECAE,0xF87E,0x54AD,{ 0xB5,0xD0,0x46,0x52,0x04,0xDB,0x75,0x53 } }; // 75D4ECAE-F87E-54AD-B5D0-465204DB7553 + template <> inline constexpr guid guid_v{ 0xD748AC56,0x76F3,0x5DC6,{ 0xAF,0xD4,0xC2,0xA8,0x68,0x6B,0x93,0x59 } }; // D748AC56-76F3-5DC6-AFD4-C2A8686B9359 + template <> inline constexpr guid guid_v{ 0xF7C844C9,0x9D21,0x5C63,{ 0xAC,0x20,0x36,0x76,0x91,0x5B,0xE2,0xD7 } }; // F7C844C9-9D21-5C63-AC20-3676915BE2D7 + template <> inline constexpr guid guid_v{ 0xB6258F6D,0xA46D,0x5E37,{ 0x80,0xCE,0x5F,0x69,0xD5,0x54,0x47,0x12 } }; // B6258F6D-A46D-5E37-80CE-5F69D5544712 + template <> inline constexpr guid guid_v{ 0x8C48247E,0xE869,0x59FB,{ 0xBC,0x6D,0xDA,0xEA,0x06,0x14,0xF9,0x3E } }; // 8C48247E-E869-59FB-BC6D-DAEA0614F93E + template <> inline constexpr guid guid_v{ 0xEA927FCA,0xE073,0x5DB4,{ 0x9A,0xEE,0x13,0xDF,0x71,0x4E,0x85,0x3A } }; // EA927FCA-E073-5DB4-9AEE-13DF714E853A + template <> inline constexpr guid guid_v{ 0xFB102FCC,0x87BE,0x57FF,{ 0xA0,0x86,0x92,0x27,0x21,0x48,0xA2,0x56 } }; // FB102FCC-87BE-57FF-A086-92272148A256 + template <> inline constexpr guid guid_v{ 0x8F711A45,0xC1B9,0x51BB,{ 0x80,0xC8,0x38,0x96,0x9C,0x81,0xF8,0x00 } }; // 8F711A45-C1B9-51BB-80C8-38969C81F800 + template <> inline constexpr guid guid_v{ 0x7DC19F08,0x7F20,0x52AB,{ 0x94,0xA7,0x89,0x4B,0x83,0xB2,0xA1,0x7E } }; // 7DC19F08-7F20-52AB-94A7-894B83B2A17E + template <> inline constexpr guid guid_v{ 0xCB493F86,0x6BF3,0x56F5,{ 0x86,0xCE,0x26,0x3D,0x08,0xAE,0xAD,0x63 } }; // CB493F86-6BF3-56F5-86CE-263D08AEAD63 + template <> inline constexpr guid guid_v{ 0xE481C2AE,0x251A,0x5326,{ 0xB1,0x73,0x95,0x54,0x3E,0xD9,0x9A,0x35 } }; // E481C2AE-251A-5326-B173-95543ED99A35 + template <> inline constexpr guid guid_v{ 0x7D1C7F55,0xAA9D,0x58A3,{ 0x90,0xE9,0x17,0xBD,0xC5,0x28,0x1F,0x07 } }; // 7D1C7F55-AA9D-58A3-90E9-17BDC5281F07 + template <> inline constexpr guid guid_v{ 0x326447A6,0x5149,0x5936,{ 0x90,0xE8,0x0C,0x73,0x60,0x36,0xBF,0x77 } }; // 326447A6-5149-5936-90E8-0C736036BF77 + template <> inline constexpr guid guid_v{ 0xCA4A1E8D,0x2968,0x5775,{ 0x99,0x7C,0x8A,0x46,0xF1,0xA5,0x74,0xED } }; // CA4A1E8D-2968-5775-997C-8A46F1A574ED + template <> inline constexpr guid guid_v{ 0xB6FC1E02,0x5331,0x54FF,{ 0x95,0xA0,0x1F,0xCB,0x76,0xBB,0x97,0xA9 } }; // B6FC1E02-5331-54FF-95A0-1FCB76BB97A9 + template <> inline constexpr guid guid_v{ 0x23C71DD2,0x6117,0x553F,{ 0x93,0x78,0x18,0x0A,0xF5,0x84,0x9A,0x49 } }; // 23C71DD2-6117-553F-9378-180AF5849A49 + template <> inline constexpr guid guid_v{ 0x9840BE79,0x67F8,0x5385,{ 0xA5,0xB9,0xE8,0xC9,0x6E,0x0F,0xCA,0x76 } }; // 9840BE79-67F8-5385-A5B9-E8C96E0FCA76 + template <> inline constexpr guid guid_v{ 0x041C3D19,0x9713,0x42A2,{ 0x98,0x13,0x7D,0xC3,0x33,0x74,0x28,0xD3 } }; // 041C3D19-9713-42A2-9813-7DC3337428D3 + template <> inline constexpr guid guid_v{ 0xFDE3620A,0x67CD,0x41B7,{ 0xA3,0x44,0x51,0x50,0xA1,0xFD,0x75,0xB5 } }; // FDE3620A-67CD-41B7-A344-5150A1FD75B5 + template <> inline constexpr guid guid_v{ 0xC2B98316,0x26B8,0x4BFB,{ 0x81,0x38,0x9F,0x96,0x2C,0x22,0xA3,0x5B } }; // C2B98316-26B8-4BFB-8138-9F962C22A35B + template <> inline constexpr guid guid_v{ 0x12FECA4B,0xD973,0x57E1,{ 0x82,0x6B,0xF7,0x5B,0x95,0x18,0xA9,0xF1 } }; // 12FECA4B-D973-57E1-826B-F75B9518A9F1 + template <> inline constexpr guid guid_v{ 0xBBC159B3,0x12F3,0x584C,{ 0x8D,0x26,0xB2,0x2C,0x0D,0xC8,0x32,0x41 } }; // BBC159B3-12F3-584C-8D26-B22C0DC83241 + template <> inline constexpr guid guid_v{ 0x82DEFD78,0x1601,0x5657,{ 0x85,0xDF,0x75,0xEB,0x69,0x16,0x04,0xBD } }; // 82DEFD78-1601-5657-85DF-75EB691604BD + template <> inline constexpr guid guid_v{ 0x141084B6,0x6702,0x5B5F,{ 0x83,0xDA,0xC7,0x58,0x91,0x65,0x75,0x54 } }; // 141084B6-6702-5B5F-83DA-C75891657554 + template <> inline constexpr guid guid_v{ 0x3801FA17,0x22B5,0x5DAB,{ 0xAD,0x38,0x39,0xE4,0x7D,0x60,0x71,0xAF } }; // 3801FA17-22B5-5DAB-AD38-39E47D6071AF + template <> inline constexpr guid guid_v{ 0x6DAAED44,0x97A6,0x57F4,{ 0xBE,0x8B,0x9D,0xBA,0xBC,0x58,0x7F,0x2D } }; // 6DAAED44-97A6-57F4-BE8B-9DBABC587F2D + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppAttributeError; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppAttributeValue; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppIntegerRange; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppPrintDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppPrintDeviceInstallationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppResolution; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppSetAttributesResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IIppTextWithLanguage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IPageConfigurationSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IPdlPassthroughProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IPdlPassthroughTarget; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IPrint3DDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IPrintSchema; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IReplaceDevicePropertiesResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IVirtualPrinterInstallationParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IVirtualPrinterInstallationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::IVirtualPrinterSupportedFormat; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall GetUnsupportedValues(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetIntegerArray(void**) noexcept = 0; + virtual int32_t __stdcall GetBooleanArray(void**) noexcept = 0; + virtual int32_t __stdcall GetEnumArray(void**) noexcept = 0; + virtual int32_t __stdcall GetOctetStringArray(void**) noexcept = 0; + virtual int32_t __stdcall GetDateTimeArray(void**) noexcept = 0; + virtual int32_t __stdcall GetResolutionArray(void**) noexcept = 0; + virtual int32_t __stdcall GetRangeOfIntegerArray(void**) noexcept = 0; + virtual int32_t __stdcall GetCollectionArray(void**) noexcept = 0; + virtual int32_t __stdcall GetTextWithLanguageArray(void**) noexcept = 0; + virtual int32_t __stdcall GetNameWithLanguageArray(void**) noexcept = 0; + virtual int32_t __stdcall GetTextWithoutLanguageArray(void**) noexcept = 0; + virtual int32_t __stdcall GetNameWithoutLanguageArray(void**) noexcept = 0; + virtual int32_t __stdcall GetKeywordArray(void**) noexcept = 0; + virtual int32_t __stdcall GetUriArray(void**) noexcept = 0; + virtual int32_t __stdcall GetUriSchemaArray(void**) noexcept = 0; + virtual int32_t __stdcall GetCharsetArray(void**) noexcept = 0; + virtual int32_t __stdcall GetNaturalLanguageArray(void**) noexcept = 0; + virtual int32_t __stdcall GetMimeMediaTypeArray(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateUnsupported(void**) noexcept = 0; + virtual int32_t __stdcall CreateUnknown(void**) noexcept = 0; + virtual int32_t __stdcall CreateNoValue(void**) noexcept = 0; + virtual int32_t __stdcall CreateInteger(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateIntegerArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateBoolean(bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateBooleanArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEnum(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateEnumArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateOctetString(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateOctetStringArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTime(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateResolution(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateResolutionArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateRangeOfInteger(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateRangeOfIntegerArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCollection(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCollectionArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTextWithLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTextWithLanguageArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNameWithLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNameWithLanguageArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTextWithoutLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTextWithoutLanguageArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNameWithoutLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNameWithoutLanguageArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateKeyword(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateKeywordArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUri(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUriArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUriSchema(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUriSchemaArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCharset(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCharsetArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNaturalLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateNaturalLanguageArray(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateMimeMedia(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateMimeMediaArray(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Start(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_End(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrinterName(void**) noexcept = 0; + virtual int32_t __stdcall get_PrinterUri(void**) noexcept = 0; + virtual int32_t __stdcall GetPrinterAttributesAsBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPrinterAttributes(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPrinterAttributesFromBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPrinterAttributes(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetMaxSupportedPdfSize(uint64_t*) noexcept = 0; + virtual int32_t __stdcall GetMaxSupportedPdfVersion(void**) noexcept = 0; + virtual int32_t __stdcall IsPdlPassthroughSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall GetPdlPassthroughProvider(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsIppFaxOutPrinter(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanModifyUserDefaultPrintTicket(bool*) noexcept = 0; + virtual int32_t __stdcall get_UserDefaultPrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall put_UserDefaultPrintTicket(void*) noexcept = 0; + virtual int32_t __stdcall RefreshPrintDeviceCapabilities() noexcept = 0; + virtual int32_t __stdcall GetMaxSupportedPdlVersion(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceProperties(void**) noexcept = 0; + virtual int32_t __stdcall ReplaceDeviceProperties(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_InstalledPrinterName(void**) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CanInstallIppPrintDevice(bool*) noexcept = 0; + virtual int32_t __stdcall InstallIppPrintDeviceAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromPrinterName(void*, void**) noexcept = 0; + virtual int32_t __stdcall IsIppPrinter(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Width(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Unit(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_AttributeErrors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OrientationSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OrientationSource(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SizeSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SizeSource(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedPdlContentTypes(void**) noexcept = 0; + virtual int32_t __stdcall StartPrintJobWithTaskOptions(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartPrintJobWithPrintTicket(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintJobId(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetOutputStream(void**) noexcept = 0; + virtual int32_t __stdcall Submit() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintSchema(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultPrintTicketAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCapabilitiesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall MergeAndValidateWithDefaultPrintTicketAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrinterName(void**) noexcept = 0; + virtual int32_t __stdcall put_PrinterName(void*) noexcept = 0; + virtual int32_t __stdcall get_OutputFileExtensions(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedInputFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_PrintDeviceCapabilitiesPackageRelativeFilePath(void**) noexcept = 0; + virtual int32_t __stdcall put_PrintDeviceCapabilitiesPackageRelativeFilePath(void*) noexcept = 0; + virtual int32_t __stdcall get_PrintDeviceResourcesPackageRelativeFilePath(void**) noexcept = 0; + virtual int32_t __stdcall put_PrintDeviceResourcesPackageRelativeFilePath(void*) noexcept = 0; + virtual int32_t __stdcall get_PreferredInputFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PreferredInputFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PrinterUri(void**) noexcept = 0; + virtual int32_t __stdcall put_PrinterUri(void*) noexcept = 0; + virtual int32_t __stdcall get_EntryPoint(void**) noexcept = 0; + virtual int32_t __stdcall put_EntryPoint(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall InstallVirtualPrinterAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall InstallVirtualPrinterAsync2(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall InstallVirtualPrinterForAllUsersAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall InstallVirtualPrinterForAllUsersAsync2(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllVirtualPrinters(void**) noexcept = 0; + virtual int32_t __stdcall FindAllVirtualPrinters2(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveVirtualPrinterAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveVirtualPrinterForAllUsersAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentType(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentType(void*) noexcept = 0; + virtual int32_t __stdcall get_MaxSupportedVersion(void**) noexcept = 0; + virtual int32_t __stdcall put_MaxSupportedVersion(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Printers_IIppAttributeError + { + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto ExtendedError() const; + auto GetUnsupportedValues() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppAttributeError; + }; + template + struct consume_Windows_Devices_Printers_IIppAttributeValue + { + [[nodiscard]] auto Kind() const; + auto GetIntegerArray() const; + auto GetBooleanArray() const; + auto GetEnumArray() const; + auto GetOctetStringArray() const; + auto GetDateTimeArray() const; + auto GetResolutionArray() const; + auto GetRangeOfIntegerArray() const; + auto GetCollectionArray() const; + auto GetTextWithLanguageArray() const; + auto GetNameWithLanguageArray() const; + auto GetTextWithoutLanguageArray() const; + auto GetNameWithoutLanguageArray() const; + auto GetKeywordArray() const; + auto GetUriArray() const; + auto GetUriSchemaArray() const; + auto GetCharsetArray() const; + auto GetNaturalLanguageArray() const; + auto GetMimeMediaTypeArray() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppAttributeValue; + }; + template + struct consume_Windows_Devices_Printers_IIppAttributeValueStatics + { + auto CreateUnsupported() const; + auto CreateUnknown() const; + auto CreateNoValue() const; + auto CreateInteger(int32_t value) const; + auto CreateIntegerArray(param::iterable const& values) const; + auto CreateBoolean(bool value) const; + auto CreateBooleanArray(param::iterable const& values) const; + auto CreateEnum(int32_t value) const; + auto CreateEnumArray(param::iterable const& values) const; + auto CreateOctetString(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CreateOctetStringArray(param::iterable const& values) const; + auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto CreateDateTimeArray(param::iterable const& values) const; + auto CreateResolution(winrt::Windows::Devices::Printers::IppResolution const& value) const; + auto CreateResolutionArray(param::iterable const& values) const; + auto CreateRangeOfInteger(winrt::Windows::Devices::Printers::IppIntegerRange const& value) const; + auto CreateRangeOfIntegerArray(param::iterable const& values) const; + auto CreateCollection(param::iterable> const& memberAttributes) const; + auto CreateCollectionArray(param::iterable>> const& memberAttributesArray) const; + auto CreateTextWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value) const; + auto CreateTextWithLanguageArray(param::iterable const& values) const; + auto CreateNameWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value) const; + auto CreateNameWithLanguageArray(param::iterable const& values) const; + auto CreateTextWithoutLanguage(param::hstring const& value) const; + auto CreateTextWithoutLanguageArray(param::iterable const& values) const; + auto CreateNameWithoutLanguage(param::hstring const& value) const; + auto CreateNameWithoutLanguageArray(param::iterable const& values) const; + auto CreateKeyword(param::hstring const& value) const; + auto CreateKeywordArray(param::iterable const& values) const; + auto CreateUri(winrt::Windows::Foundation::Uri const& value) const; + auto CreateUriArray(param::iterable const& values) const; + auto CreateUriSchema(param::hstring const& value) const; + auto CreateUriSchemaArray(param::iterable const& values) const; + auto CreateCharset(param::hstring const& value) const; + auto CreateCharsetArray(param::iterable const& values) const; + auto CreateNaturalLanguage(param::hstring const& value) const; + auto CreateNaturalLanguageArray(param::iterable const& values) const; + auto CreateMimeMedia(param::hstring const& value) const; + auto CreateMimeMediaArray(param::iterable const& values) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppAttributeValueStatics; + }; + template + struct consume_Windows_Devices_Printers_IIppIntegerRange + { + [[nodiscard]] auto Start() const; + [[nodiscard]] auto End() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppIntegerRange; + }; + template + struct consume_Windows_Devices_Printers_IIppIntegerRangeFactory + { + auto CreateInstance(int32_t start, int32_t end) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppIntegerRangeFactory; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDevice + { + [[nodiscard]] auto PrinterName() const; + [[nodiscard]] auto PrinterUri() const; + auto GetPrinterAttributesAsBuffer(param::iterable const& attributeNames) const; + auto GetPrinterAttributes(param::iterable const& attributeNames) const; + auto SetPrinterAttributesFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& printerAttributesBuffer) const; + auto SetPrinterAttributes(param::iterable> const& printerAttributes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDevice; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDevice2 + { + auto GetMaxSupportedPdfSize() const; + auto GetMaxSupportedPdfVersion() const; + auto IsPdlPassthroughSupported(param::hstring const& pdlContentType) const; + auto GetPdlPassthroughProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDevice2; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDevice3 + { + [[nodiscard]] auto IsIppFaxOutPrinter() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDevice3; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDevice4 + { + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto CanModifyUserDefaultPrintTicket() const; + [[nodiscard]] auto UserDefaultPrintTicket() const; + auto UserDefaultPrintTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& value) const; + auto RefreshPrintDeviceCapabilities() const; + auto GetMaxSupportedPdlVersion(param::hstring const& pdlContentType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDevice4; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDevice5 + { + auto GetDeviceProperties() const; + auto ReplaceDeviceProperties(param::iterable> const& deviceProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDevice5; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDeviceInstallationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto InstalledPrinterName() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDeviceInstallationResult; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDeviceManagerStatics + { + auto CanInstallIppPrintDevice() const; + auto InstallIppPrintDeviceAsync(winrt::Windows::Foundation::Uri const& printerUri, param::hstring const& printerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDeviceManagerStatics; + }; + template + struct consume_Windows_Devices_Printers_IIppPrintDeviceStatics + { + auto GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto FromPrinterName(param::hstring const& printerName) const; + auto IsIppPrinter(param::hstring const& printerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppPrintDeviceStatics; + }; + template + struct consume_Windows_Devices_Printers_IIppResolution + { + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Unit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppResolution; + }; + template + struct consume_Windows_Devices_Printers_IIppResolutionFactory + { + auto CreateInstance(int32_t width, int32_t height, winrt::Windows::Devices::Printers::IppResolutionUnit const& unit) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppResolutionFactory; + }; + template + struct consume_Windows_Devices_Printers_IIppSetAttributesResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto AttributeErrors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppSetAttributesResult; + }; + template + struct consume_Windows_Devices_Printers_IIppTextWithLanguage + { + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppTextWithLanguage; + }; + template + struct consume_Windows_Devices_Printers_IIppTextWithLanguageFactory + { + auto CreateInstance(param::hstring const& language, param::hstring const& text) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IIppTextWithLanguageFactory; + }; + template + struct consume_Windows_Devices_Printers_IPageConfigurationSettings + { + [[nodiscard]] auto OrientationSource() const; + auto OrientationSource(winrt::Windows::Devices::Printers::PageConfigurationSource const& value) const; + [[nodiscard]] auto SizeSource() const; + auto SizeSource(winrt::Windows::Devices::Printers::PageConfigurationSource const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPageConfigurationSettings; + }; + template + struct consume_Windows_Devices_Printers_IPdlPassthroughProvider + { + [[nodiscard]] auto SupportedPdlContentTypes() const; + auto StartPrintJobWithTaskOptions(param::hstring const& jobName, param::hstring const& pdlContentType, winrt::Windows::Graphics::Printing::PrintTaskOptions const& taskOptions, winrt::Windows::Devices::Printers::PageConfigurationSettings const& pageConfigurationSettings) const; + auto StartPrintJobWithPrintTicket(param::hstring const& jobName, param::hstring const& pdlContentType, winrt::Windows::Storage::Streams::IInputStream const& printTicket, winrt::Windows::Devices::Printers::PageConfigurationSettings const& pageConfigurationSettings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPdlPassthroughProvider; + }; + template + struct consume_Windows_Devices_Printers_IPdlPassthroughTarget + { + [[nodiscard]] auto PrintJobId() const; + auto GetOutputStream() const; + auto Submit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPdlPassthroughTarget; + }; + template + struct consume_Windows_Devices_Printers_IPrint3DDevice + { + [[nodiscard]] auto PrintSchema() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPrint3DDevice; + }; + template + struct consume_Windows_Devices_Printers_IPrint3DDeviceStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPrint3DDeviceStatics; + }; + template + struct consume_Windows_Devices_Printers_IPrintSchema + { + auto GetDefaultPrintTicketAsync() const; + auto GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const; + auto MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IPrintSchema; + }; + template + struct consume_Windows_Devices_Printers_IReplaceDevicePropertiesResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IReplaceDevicePropertiesResult; + }; + template + struct consume_Windows_Devices_Printers_IVirtualPrinterInstallationParameters + { + [[nodiscard]] auto PrinterName() const; + auto PrinterName(param::hstring const& value) const; + [[nodiscard]] auto OutputFileExtensions() const; + [[nodiscard]] auto SupportedInputFormats() const; + [[nodiscard]] auto PrintDeviceCapabilitiesPackageRelativeFilePath() const; + auto PrintDeviceCapabilitiesPackageRelativeFilePath(param::hstring const& value) const; + [[nodiscard]] auto PrintDeviceResourcesPackageRelativeFilePath() const; + auto PrintDeviceResourcesPackageRelativeFilePath(param::hstring const& value) const; + [[nodiscard]] auto PreferredInputFormat() const; + auto PreferredInputFormat(winrt::Windows::Devices::Printers::VirtualPrinterPreferredInputFormat const& value) const; + [[nodiscard]] auto PrinterUri() const; + auto PrinterUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto EntryPoint() const; + auto EntryPoint(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IVirtualPrinterInstallationParameters; + }; + template + struct consume_Windows_Devices_Printers_IVirtualPrinterInstallationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IVirtualPrinterInstallationResult; + }; + template + struct consume_Windows_Devices_Printers_IVirtualPrinterManagerStatics + { + auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters) const; + auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName) const; + auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters) const; + auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName) const; + auto FindAllVirtualPrinters() const; + auto FindAllVirtualPrinters(param::hstring const& appPackageFamilyName) const; + auto RemoveVirtualPrinterAsync(param::hstring const& printerName) const; + auto RemoveVirtualPrinterForAllUsersAsync(param::hstring const& printerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IVirtualPrinterManagerStatics; + }; + template + struct consume_Windows_Devices_Printers_IVirtualPrinterSupportedFormat + { + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; + [[nodiscard]] auto MaxSupportedVersion() const; + auto MaxSupportedVersion(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IVirtualPrinterSupportedFormat; + }; + template + struct consume_Windows_Devices_Printers_IVirtualPrinterSupportedFormatFactory + { + auto CreateInstance(param::hstring const& contentType, param::hstring const& maxSupportedVersion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_IVirtualPrinterSupportedFormatFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c41aadc52490ee7518e7d055b5a281526253a28d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.1.h @@ -0,0 +1,223 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_1_H +#define WINRT_Windows_Devices_Printers_1_H +#include "winrt/impl/Windows.Devices.Printers.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Printers +{ + struct WINRT_IMPL_EMPTY_BASES IIppAttributeError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppAttributeError(std::nullptr_t = nullptr) noexcept {} + IIppAttributeError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppAttributeValue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppAttributeValue(std::nullptr_t = nullptr) noexcept {} + IIppAttributeValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppAttributeValueStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppAttributeValueStatics(std::nullptr_t = nullptr) noexcept {} + IIppAttributeValueStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppIntegerRange : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppIntegerRange(std::nullptr_t = nullptr) noexcept {} + IIppIntegerRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppIntegerRangeFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppIntegerRangeFactory(std::nullptr_t = nullptr) noexcept {} + IIppIntegerRangeFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDevice(std::nullptr_t = nullptr) noexcept {} + IIppPrintDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDevice2(std::nullptr_t = nullptr) noexcept {} + IIppPrintDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDevice3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDevice3(std::nullptr_t = nullptr) noexcept {} + IIppPrintDevice3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDevice4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDevice4(std::nullptr_t = nullptr) noexcept {} + IIppPrintDevice4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDevice5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDevice5(std::nullptr_t = nullptr) noexcept {} + IIppPrintDevice5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDeviceInstallationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDeviceInstallationResult(std::nullptr_t = nullptr) noexcept {} + IIppPrintDeviceInstallationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDeviceManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDeviceManagerStatics(std::nullptr_t = nullptr) noexcept {} + IIppPrintDeviceManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppPrintDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppPrintDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IIppPrintDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppResolution : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppResolution(std::nullptr_t = nullptr) noexcept {} + IIppResolution(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppResolutionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppResolutionFactory(std::nullptr_t = nullptr) noexcept {} + IIppResolutionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppSetAttributesResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppSetAttributesResult(std::nullptr_t = nullptr) noexcept {} + IIppSetAttributesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppTextWithLanguage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppTextWithLanguage(std::nullptr_t = nullptr) noexcept {} + IIppTextWithLanguage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIppTextWithLanguageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIppTextWithLanguageFactory(std::nullptr_t = nullptr) noexcept {} + IIppTextWithLanguageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPageConfigurationSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPageConfigurationSettings(std::nullptr_t = nullptr) noexcept {} + IPageConfigurationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdlPassthroughProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdlPassthroughProvider(std::nullptr_t = nullptr) noexcept {} + IPdlPassthroughProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPdlPassthroughTarget : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPdlPassthroughTarget(std::nullptr_t = nullptr) noexcept {} + IPdlPassthroughTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DDevice(std::nullptr_t = nullptr) noexcept {} + IPrint3DDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IPrint3DDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSchema : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSchema(std::nullptr_t = nullptr) noexcept {} + IPrintSchema(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReplaceDevicePropertiesResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReplaceDevicePropertiesResult(std::nullptr_t = nullptr) noexcept {} + IReplaceDevicePropertiesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVirtualPrinterInstallationParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVirtualPrinterInstallationParameters(std::nullptr_t = nullptr) noexcept {} + IVirtualPrinterInstallationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVirtualPrinterInstallationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVirtualPrinterInstallationResult(std::nullptr_t = nullptr) noexcept {} + IVirtualPrinterInstallationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVirtualPrinterManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVirtualPrinterManagerStatics(std::nullptr_t = nullptr) noexcept {} + IVirtualPrinterManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVirtualPrinterSupportedFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVirtualPrinterSupportedFormat(std::nullptr_t = nullptr) noexcept {} + IVirtualPrinterSupportedFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVirtualPrinterSupportedFormatFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVirtualPrinterSupportedFormatFactory(std::nullptr_t = nullptr) noexcept {} + IVirtualPrinterSupportedFormatFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.2.h new file mode 100644 index 0000000000000000000000000000000000000000..938eeb0c9285a4ccf22eb02a0c8e0a27aae97b7f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.2.h @@ -0,0 +1,172 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_2_H +#define WINRT_Windows_Devices_Printers_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.Printers.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Printers +{ + struct WINRT_IMPL_EMPTY_BASES IppAttributeError : winrt::Windows::Devices::Printers::IIppAttributeError + { + IppAttributeError(std::nullptr_t) noexcept {} + IppAttributeError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppAttributeError(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IppAttributeValue : winrt::Windows::Devices::Printers::IIppAttributeValue + { + IppAttributeValue(std::nullptr_t) noexcept {} + IppAttributeValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppAttributeValue(ptr, take_ownership_from_abi) {} + static auto CreateUnsupported(); + static auto CreateUnknown(); + static auto CreateNoValue(); + static auto CreateInteger(int32_t value); + static auto CreateIntegerArray(param::iterable const& values); + static auto CreateBoolean(bool value); + static auto CreateBooleanArray(param::iterable const& values); + static auto CreateEnum(int32_t value); + static auto CreateEnumArray(param::iterable const& values); + static auto CreateOctetString(winrt::Windows::Storage::Streams::IBuffer const& value); + static auto CreateOctetStringArray(param::iterable const& values); + static auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value); + static auto CreateDateTimeArray(param::iterable const& values); + static auto CreateResolution(winrt::Windows::Devices::Printers::IppResolution const& value); + static auto CreateResolutionArray(param::iterable const& values); + static auto CreateRangeOfInteger(winrt::Windows::Devices::Printers::IppIntegerRange const& value); + static auto CreateRangeOfIntegerArray(param::iterable const& values); + static auto CreateCollection(param::iterable> const& memberAttributes); + static auto CreateCollectionArray(param::iterable>> const& memberAttributesArray); + static auto CreateTextWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value); + static auto CreateTextWithLanguageArray(param::iterable const& values); + static auto CreateNameWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value); + static auto CreateNameWithLanguageArray(param::iterable const& values); + static auto CreateTextWithoutLanguage(param::hstring const& value); + static auto CreateTextWithoutLanguageArray(param::iterable const& values); + static auto CreateNameWithoutLanguage(param::hstring const& value); + static auto CreateNameWithoutLanguageArray(param::iterable const& values); + static auto CreateKeyword(param::hstring const& value); + static auto CreateKeywordArray(param::iterable const& values); + static auto CreateUri(winrt::Windows::Foundation::Uri const& value); + static auto CreateUriArray(param::iterable const& values); + static auto CreateUriSchema(param::hstring const& value); + static auto CreateUriSchemaArray(param::iterable const& values); + static auto CreateCharset(param::hstring const& value); + static auto CreateCharsetArray(param::iterable const& values); + static auto CreateNaturalLanguage(param::hstring const& value); + static auto CreateNaturalLanguageArray(param::iterable const& values); + static auto CreateMimeMedia(param::hstring const& value); + static auto CreateMimeMediaArray(param::iterable const& values); + }; + struct WINRT_IMPL_EMPTY_BASES IppIntegerRange : winrt::Windows::Devices::Printers::IIppIntegerRange + { + IppIntegerRange(std::nullptr_t) noexcept {} + IppIntegerRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppIntegerRange(ptr, take_ownership_from_abi) {} + IppIntegerRange(int32_t start, int32_t end); + }; + struct WINRT_IMPL_EMPTY_BASES IppPrintDevice : winrt::Windows::Devices::Printers::IIppPrintDevice, + impl::require + { + IppPrintDevice(std::nullptr_t) noexcept {} + IppPrintDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppPrintDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromId(param::hstring const& deviceId); + static auto FromPrinterName(param::hstring const& printerName); + static auto IsIppPrinter(param::hstring const& printerName); + }; + struct WINRT_IMPL_EMPTY_BASES IppPrintDeviceInstallationResult : winrt::Windows::Devices::Printers::IIppPrintDeviceInstallationResult + { + IppPrintDeviceInstallationResult(std::nullptr_t) noexcept {} + IppPrintDeviceInstallationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppPrintDeviceInstallationResult(ptr, take_ownership_from_abi) {} + }; + struct IppPrintDeviceManager + { + IppPrintDeviceManager() = delete; + static auto CanInstallIppPrintDevice(); + static auto InstallIppPrintDeviceAsync(winrt::Windows::Foundation::Uri const& printerUri, param::hstring const& printerName); + }; + struct WINRT_IMPL_EMPTY_BASES IppResolution : winrt::Windows::Devices::Printers::IIppResolution + { + IppResolution(std::nullptr_t) noexcept {} + IppResolution(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppResolution(ptr, take_ownership_from_abi) {} + IppResolution(int32_t width, int32_t height, winrt::Windows::Devices::Printers::IppResolutionUnit const& unit); + }; + struct WINRT_IMPL_EMPTY_BASES IppSetAttributesResult : winrt::Windows::Devices::Printers::IIppSetAttributesResult + { + IppSetAttributesResult(std::nullptr_t) noexcept {} + IppSetAttributesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppSetAttributesResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IppTextWithLanguage : winrt::Windows::Devices::Printers::IIppTextWithLanguage + { + IppTextWithLanguage(std::nullptr_t) noexcept {} + IppTextWithLanguage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppTextWithLanguage(ptr, take_ownership_from_abi) {} + IppTextWithLanguage(param::hstring const& language, param::hstring const& text); + }; + struct WINRT_IMPL_EMPTY_BASES PageConfigurationSettings : winrt::Windows::Devices::Printers::IPageConfigurationSettings + { + PageConfigurationSettings(std::nullptr_t) noexcept {} + PageConfigurationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPageConfigurationSettings(ptr, take_ownership_from_abi) {} + PageConfigurationSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES PdlPassthroughProvider : winrt::Windows::Devices::Printers::IPdlPassthroughProvider + { + PdlPassthroughProvider(std::nullptr_t) noexcept {} + PdlPassthroughProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPdlPassthroughProvider(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PdlPassthroughTarget : winrt::Windows::Devices::Printers::IPdlPassthroughTarget, + impl::require + { + PdlPassthroughTarget(std::nullptr_t) noexcept {} + PdlPassthroughTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPdlPassthroughTarget(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DDevice : winrt::Windows::Devices::Printers::IPrint3DDevice + { + Print3DDevice(std::nullptr_t) noexcept {} + Print3DDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPrint3DDevice(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES PrintSchema : winrt::Windows::Devices::Printers::IPrintSchema + { + PrintSchema(std::nullptr_t) noexcept {} + PrintSchema(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPrintSchema(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ReplaceDevicePropertiesResult : winrt::Windows::Devices::Printers::IReplaceDevicePropertiesResult + { + ReplaceDevicePropertiesResult(std::nullptr_t) noexcept {} + ReplaceDevicePropertiesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IReplaceDevicePropertiesResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VirtualPrinterInstallationParameters : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationParameters + { + VirtualPrinterInstallationParameters(std::nullptr_t) noexcept {} + VirtualPrinterInstallationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationParameters(ptr, take_ownership_from_abi) {} + VirtualPrinterInstallationParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES VirtualPrinterInstallationResult : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationResult + { + VirtualPrinterInstallationResult(std::nullptr_t) noexcept {} + VirtualPrinterInstallationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationResult(ptr, take_ownership_from_abi) {} + }; + struct VirtualPrinterManager + { + VirtualPrinterManager() = delete; + static auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters); + static auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName); + static auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters); + static auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName); + static auto FindAllVirtualPrinters(); + static auto FindAllVirtualPrinters(param::hstring const& appPackageFamilyName); + static auto RemoveVirtualPrinterAsync(param::hstring const& printerName); + static auto RemoveVirtualPrinterForAllUsersAsync(param::hstring const& printerName); + }; + struct WINRT_IMPL_EMPTY_BASES VirtualPrinterSupportedFormat : winrt::Windows::Devices::Printers::IVirtualPrinterSupportedFormat + { + VirtualPrinterSupportedFormat(std::nullptr_t) noexcept {} + VirtualPrinterSupportedFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterSupportedFormat(ptr, take_ownership_from_abi) {} + VirtualPrinterSupportedFormat(param::hstring const& contentType, param::hstring const& maxSupportedVersion); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.0.h new file mode 100644 index 0000000000000000000000000000000000000000..db61010e1f8020e18e7ac78ad846a789302aa02d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.0.h @@ -0,0 +1,317 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_Extensions_0_H +#define WINRT_Windows_Devices_Printers_Extensions_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Printers::Extensions +{ + enum class Print3DWorkflowDetail : int32_t + { + Unknown = 0, + ModelExceedsPrintBed = 1, + UploadFailed = 2, + InvalidMaterialSelection = 3, + InvalidModel = 4, + ModelNotManifold = 5, + InvalidPrintTicket = 6, + }; + enum class Print3DWorkflowStatus : int32_t + { + Abandoned = 0, + Canceled = 1, + Failed = 2, + Slicing = 3, + Submitted = 4, + }; + struct IPrint3DWorkflow; + struct IPrint3DWorkflow2; + struct IPrint3DWorkflowPrintRequestedEventArgs; + struct IPrint3DWorkflowPrinterChangedEventArgs; + struct IPrintExtensionContextStatic; + struct IPrintNotificationEventDetails; + struct IPrintTaskConfiguration; + struct IPrintTaskConfigurationSaveRequest; + struct IPrintTaskConfigurationSaveRequestedDeferral; + struct IPrintTaskConfigurationSaveRequestedEventArgs; + struct Print3DWorkflow; + struct Print3DWorkflowPrintRequestedEventArgs; + struct Print3DWorkflowPrinterChangedEventArgs; + struct PrintExtensionContext; + struct PrintNotificationEventDetails; + struct PrintTaskConfiguration; + struct PrintTaskConfigurationSaveRequest; + struct PrintTaskConfigurationSaveRequestedDeferral; + struct PrintTaskConfigurationSaveRequestedEventArgs; + struct ExtensionsContract; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.Print3DWorkflow"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.Print3DWorkflowPrintRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.Print3DWorkflowPrinterChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintExtensionContext"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintNotificationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintTaskConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.Print3DWorkflowDetail"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.Print3DWorkflowStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrint3DWorkflow"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrint3DWorkflow2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrint3DWorkflowPrintRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrint3DWorkflowPrinterChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintExtensionContextStatic"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintNotificationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintTaskConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintTaskConfigurationSaveRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintTaskConfigurationSaveRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.IPrintTaskConfigurationSaveRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Printers.Extensions.ExtensionsContract"; + template <> inline constexpr guid guid_v{ 0xC56F74BD,0x3669,0x4A66,{ 0xAB,0x42,0xC8,0x15,0x19,0x30,0xCD,0x34 } }; // C56F74BD-3669-4A66-AB42-C8151930CD34 + template <> inline constexpr guid guid_v{ 0xA2A6C54F,0x8AC1,0x4918,{ 0x97,0x41,0xE3,0x4F,0x30,0x04,0x23,0x9E } }; // A2A6C54F-8AC1-4918-9741-E34F3004239E + template <> inline constexpr guid guid_v{ 0x19F8C858,0x5AC8,0x4B55,{ 0x8A,0x5F,0xE6,0x15,0x67,0xDA,0xFB,0x4D } }; // 19F8C858-5AC8-4B55-8A5F-E61567DAFB4D + template <> inline constexpr guid guid_v{ 0x45226402,0x95FC,0x4847,{ 0x93,0xB3,0x13,0x4D,0xBF,0x5C,0x60,0xF7 } }; // 45226402-95FC-4847-93B3-134DBF5C60F7 + template <> inline constexpr guid guid_v{ 0xE70D9FC1,0xFF79,0x4AA4,{ 0x8C,0x9B,0x0C,0x93,0xAE,0xDF,0xDE,0x8A } }; // E70D9FC1-FF79-4AA4-8C9B-0C93AEDFDE8A + template <> inline constexpr guid guid_v{ 0xE00E4C8A,0x4828,0x4DA1,{ 0x8B,0xB8,0x86,0x72,0xDF,0x85,0x15,0xE7 } }; // E00E4C8A-4828-4DA1-8BB8-8672DF8515E7 + template <> inline constexpr guid guid_v{ 0xE3C22451,0x3AA4,0x4885,{ 0x92,0x40,0x31,0x1F,0x5F,0x8F,0xBE,0x9D } }; // E3C22451-3AA4-4885-9240-311F5F8FBE9D + template <> inline constexpr guid guid_v{ 0xEEAF2FCB,0x621E,0x4B62,{ 0xAC,0x77,0xB2,0x81,0xCC,0xE0,0x8D,0x60 } }; // EEAF2FCB-621E-4B62-AC77-B281CCE08D60 + template <> inline constexpr guid guid_v{ 0xE959D568,0xF729,0x44A4,{ 0x87,0x1D,0xBD,0x06,0x28,0x69,0x6A,0x33 } }; // E959D568-F729-44A4-871D-BD0628696A33 + template <> inline constexpr guid guid_v{ 0xE06C2879,0x0D61,0x4938,{ 0x91,0xD0,0x96,0xA4,0x5B,0xEE,0x84,0x79 } }; // E06C2879-0D61-4938-91D0-96A45BEE8479 + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrinterChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceID(void**) noexcept = 0; + virtual int32_t __stdcall GetPrintModelPackage(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPrintReady(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPrintReady(bool) noexcept = 0; + virtual int32_t __stdcall add_PrintRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrintRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PrinterChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrinterChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetExtendedStatus(int32_t) noexcept = 0; + virtual int32_t __stdcall SetSource(void*) noexcept = 0; + virtual int32_t __stdcall SetSourceChanged(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NewDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromDeviceId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrinterName(void**) noexcept = 0; + virtual int32_t __stdcall get_EventData(void**) noexcept = 0; + virtual int32_t __stdcall put_EventData(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrinterExtensionContext(void**) noexcept = 0; + virtual int32_t __stdcall add_SaveRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SaveRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Cancel() noexcept = 0; + virtual int32_t __stdcall Save(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow + { + [[nodiscard]] auto DeviceID() const; + auto GetPrintModelPackage() const; + [[nodiscard]] auto IsPrintReady() const; + auto IsPrintReady(bool value) const; + auto PrintRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using PrintRequested_revoker = impl::event_revoker::remove_PrintRequested>; + [[nodiscard]] auto PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrintRequested(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2 + { + auto PrinterChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using PrinterChanged_revoker = impl::event_revoker::remove_PrinterChanged>; + [[nodiscard]] auto PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrinterChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs + { + [[nodiscard]] auto Status() const; + auto SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const; + auto SetSource(winrt::Windows::Foundation::IInspectable const& source) const; + auto SetSourceChanged(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs + { + [[nodiscard]] auto NewDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic + { + auto FromDeviceId(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails + { + [[nodiscard]] auto PrinterName() const; + [[nodiscard]] auto EventData() const; + auto EventData(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration + { + [[nodiscard]] auto PrinterExtensionContext() const; + auto SaveRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using SaveRequested_revoker = impl::event_revoker::remove_SaveRequested>; + [[nodiscard]] auto SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto SaveRequested(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest + { + auto Cancel() const; + auto Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral; + }; + template + struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3346613fbf738fdf84fc005d85c1b33cb16b3846 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.1.h @@ -0,0 +1,83 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_Extensions_1_H +#define WINRT_Windows_Devices_Printers_Extensions_1_H +#include "winrt/impl/Windows.Devices.Printers.Extensions.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Printers::Extensions +{ + struct WINRT_IMPL_EMPTY_BASES IPrint3DWorkflow : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DWorkflow(std::nullptr_t = nullptr) noexcept {} + IPrint3DWorkflow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DWorkflow2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DWorkflow2(std::nullptr_t = nullptr) noexcept {} + IPrint3DWorkflow2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DWorkflowPrintRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DWorkflowPrintRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DWorkflowPrintRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DWorkflowPrinterChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DWorkflowPrinterChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DWorkflowPrinterChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintExtensionContextStatic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintExtensionContextStatic(std::nullptr_t = nullptr) noexcept {} + IPrintExtensionContextStatic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintNotificationEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintNotificationEventDetails(std::nullptr_t = nullptr) noexcept {} + IPrintNotificationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskConfiguration(std::nullptr_t = nullptr) noexcept {} + IPrintTaskConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskConfigurationSaveRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskConfigurationSaveRequest(std::nullptr_t = nullptr) noexcept {} + IPrintTaskConfigurationSaveRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskConfigurationSaveRequestedDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskConfigurationSaveRequestedDeferral(std::nullptr_t = nullptr) noexcept {} + IPrintTaskConfigurationSaveRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskConfigurationSaveRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskConfigurationSaveRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskConfigurationSaveRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.2.h new file mode 100644 index 0000000000000000000000000000000000000000..edf22762cb9c998ea1ec90e3bc0089f7411290a6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.printers.extensions.2.h @@ -0,0 +1,59 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Printers_Extensions_2_H +#define WINRT_Windows_Devices_Printers_Extensions_2_H +#include "winrt/impl/Windows.Devices.Printers.Extensions.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Printers::Extensions +{ + struct WINRT_IMPL_EMPTY_BASES Print3DWorkflow : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow, + impl::require + { + Print3DWorkflow(std::nullptr_t) noexcept {} + Print3DWorkflow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DWorkflowPrintRequestedEventArgs : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs + { + Print3DWorkflowPrintRequestedEventArgs(std::nullptr_t) noexcept {} + Print3DWorkflowPrintRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DWorkflowPrinterChangedEventArgs : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrinterChangedEventArgs + { + Print3DWorkflowPrinterChangedEventArgs(std::nullptr_t) noexcept {} + Print3DWorkflowPrinterChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrinterChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct PrintExtensionContext + { + PrintExtensionContext() = delete; + static auto FromDeviceId(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES PrintNotificationEventDetails : winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails + { + PrintNotificationEventDetails(std::nullptr_t) noexcept {} + PrintNotificationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskConfiguration : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration + { + PrintTaskConfiguration(std::nullptr_t) noexcept {} + PrintTaskConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskConfigurationSaveRequest : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest + { + PrintTaskConfigurationSaveRequest(std::nullptr_t) noexcept {} + PrintTaskConfigurationSaveRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskConfigurationSaveRequestedDeferral : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral + { + PrintTaskConfigurationSaveRequestedDeferral(std::nullptr_t) noexcept {} + PrintTaskConfigurationSaveRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskConfigurationSaveRequestedEventArgs : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs + { + PrintTaskConfigurationSaveRequestedEventArgs(std::nullptr_t) noexcept {} + PrintTaskConfigurationSaveRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a4587f98585e1965bd2c51fb83fe09d11fe03896 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.0.h @@ -0,0 +1,162 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_0_H +#define WINRT_Windows_Devices_Pwm_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider +{ + struct IPwmProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm +{ + enum class PwmPulsePolarity : int32_t + { + ActiveHigh = 0, + ActiveLow = 1, + }; + struct IPwmController; + struct IPwmControllerStatics; + struct IPwmControllerStatics2; + struct IPwmControllerStatics3; + struct IPwmPin; + struct PwmController; + struct PwmPin; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.PwmController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.PwmPin"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.PwmPulsePolarity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.IPwmController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.IPwmControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.IPwmControllerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.IPwmControllerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.IPwmPin"; + template <> inline constexpr guid guid_v{ 0xC45F5C85,0xD2E8,0x42CF,{ 0x9B,0xD6,0xCF,0x5E,0xD0,0x29,0xE6,0xA7 } }; // C45F5C85-D2E8-42CF-9BD6-CF5ED029E6A7 + template <> inline constexpr guid guid_v{ 0x4263BDA1,0x8946,0x4404,{ 0xBD,0x48,0x81,0xDD,0x12,0x4A,0xF4,0xD9 } }; // 4263BDA1-8946-4404-BD48-81DD124AF4D9 + template <> inline constexpr guid guid_v{ 0x44FC5B1F,0xF119,0x4BDD,{ 0x97,0xAD,0xF7,0x6E,0xF9,0x86,0x73,0x6D } }; // 44FC5B1F-F119-4BDD-97AD-F76EF986736D + template <> inline constexpr guid guid_v{ 0xB2581871,0x0229,0x4344,{ 0xAE,0x3F,0x9B,0x7C,0xD0,0xE6,0x6B,0x94 } }; // B2581871-0229-4344-AE3F-9B7CD0E66B94 + template <> inline constexpr guid guid_v{ 0x22972DC8,0xC6CF,0x4821,{ 0xB7,0xF9,0xC6,0x45,0x4F,0xB6,0xAF,0x79 } }; // 22972DC8-C6CF-4821-B7F9-C6454FB6AF79 + template <> struct default_interface{ using type = winrt::Windows::Devices::Pwm::IPwmController; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Pwm::IPwmPin; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ActualFrequency(double*) noexcept = 0; + virtual int32_t __stdcall SetDesiredFrequency(double, double*) noexcept = 0; + virtual int32_t __stdcall get_MinFrequency(double*) noexcept = 0; + virtual int32_t __stdcall get_MaxFrequency(double*) noexcept = 0; + virtual int32_t __stdcall OpenPin(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromFriendlyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Controller(void**) noexcept = 0; + virtual int32_t __stdcall GetActiveDutyCyclePercentage(double*) noexcept = 0; + virtual int32_t __stdcall SetActiveDutyCyclePercentage(double) noexcept = 0; + virtual int32_t __stdcall get_Polarity(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Polarity(int32_t) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall get_IsStarted(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Pwm_IPwmController + { + [[nodiscard]] auto PinCount() const; + [[nodiscard]] auto ActualFrequency() const; + auto SetDesiredFrequency(double desiredFrequency) const; + [[nodiscard]] auto MinFrequency() const; + [[nodiscard]] auto MaxFrequency() const; + auto OpenPin(int32_t pinNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_IPwmController; + }; + template + struct consume_Windows_Devices_Pwm_IPwmControllerStatics + { + auto GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_IPwmControllerStatics; + }; + template + struct consume_Windows_Devices_Pwm_IPwmControllerStatics2 + { + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_IPwmControllerStatics2; + }; + template + struct consume_Windows_Devices_Pwm_IPwmControllerStatics3 + { + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_IPwmControllerStatics3; + }; + template + struct consume_Windows_Devices_Pwm_IPwmPin + { + [[nodiscard]] auto Controller() const; + auto GetActiveDutyCyclePercentage() const; + auto SetActiveDutyCyclePercentage(double dutyCyclePercentage) const; + [[nodiscard]] auto Polarity() const; + auto Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const; + auto Start() const; + auto Stop() const; + [[nodiscard]] auto IsStarted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_IPwmPin; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2f7fce1060937c1c080b2e5773087d7a82c21b57 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.1.h @@ -0,0 +1,50 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_1_H +#define WINRT_Windows_Devices_Pwm_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Pwm.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm +{ + struct WINRT_IMPL_EMPTY_BASES IPwmController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmController(std::nullptr_t = nullptr) noexcept {} + IPwmController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPwmControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmControllerStatics(std::nullptr_t = nullptr) noexcept {} + IPwmControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPwmControllerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmControllerStatics2(std::nullptr_t = nullptr) noexcept {} + IPwmControllerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPwmControllerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmControllerStatics3(std::nullptr_t = nullptr) noexcept {} + IPwmControllerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPwmPin : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPwmPin(std::nullptr_t = nullptr) noexcept {} + IPwmPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a9c4ca1d01707660f5d1b64d5d1aff29f0c17fb3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.2.h @@ -0,0 +1,30 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_2_H +#define WINRT_Windows_Devices_Pwm_2_H +#include "winrt/impl/Windows.Devices.Pwm.Provider.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Pwm.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm +{ + struct WINRT_IMPL_EMPTY_BASES PwmController : winrt::Windows::Devices::Pwm::IPwmController + { + PwmController(std::nullptr_t) noexcept {} + PwmController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Pwm::IPwmController(ptr, take_ownership_from_abi) {} + static auto GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider); + static auto GetDefaultAsync(); + static auto GetDeviceSelector(); + static auto GetDeviceSelector(param::hstring const& friendlyName); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES PwmPin : winrt::Windows::Devices::Pwm::IPwmPin + { + PwmPin(std::nullptr_t) noexcept {} + PwmPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Pwm::IPwmPin(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..33f8b251caea25f136ef2a7d210e437177968d4b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.0.h @@ -0,0 +1,73 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_Provider_0_H +#define WINRT_Windows_Devices_Pwm_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider +{ + struct IPwmControllerProvider; + struct IPwmProvider; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.Provider.IPwmControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Pwm.Provider.IPwmProvider"; + template <> inline constexpr guid guid_v{ 0x1300593B,0xE2E3,0x40A4,{ 0xB7,0xD9,0x48,0xDF,0xF0,0x37,0x7A,0x52 } }; // 1300593B-E2E3-40A4-B7D9-48DFF0377A52 + template <> inline constexpr guid guid_v{ 0xA3301228,0x52F1,0x47B0,{ 0x93,0x49,0x66,0xBA,0x43,0xD2,0x59,0x02 } }; // A3301228-52F1-47B0-9349-66BA43D25902 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ActualFrequency(double*) noexcept = 0; + virtual int32_t __stdcall SetDesiredFrequency(double, double*) noexcept = 0; + virtual int32_t __stdcall get_MaxFrequency(double*) noexcept = 0; + virtual int32_t __stdcall get_MinFrequency(double*) noexcept = 0; + virtual int32_t __stdcall AcquirePin(int32_t) noexcept = 0; + virtual int32_t __stdcall ReleasePin(int32_t) noexcept = 0; + virtual int32_t __stdcall EnablePin(int32_t) noexcept = 0; + virtual int32_t __stdcall DisablePin(int32_t) noexcept = 0; + virtual int32_t __stdcall SetPulseParameters(int32_t, double, bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllers(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider + { + [[nodiscard]] auto PinCount() const; + [[nodiscard]] auto ActualFrequency() const; + auto SetDesiredFrequency(double frequency) const; + [[nodiscard]] auto MaxFrequency() const; + [[nodiscard]] auto MinFrequency() const; + auto AcquirePin(int32_t pin) const; + auto ReleasePin(int32_t pin) const; + auto EnablePin(int32_t pin) const; + auto DisablePin(int32_t pin) const; + auto SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider; + }; + template + struct consume_Windows_Devices_Pwm_Provider_IPwmProvider + { + auto GetControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Pwm_Provider_IPwmProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7f7035ccc07ce051ab33c7a3db00d43fb7db1a80 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_Provider_1_H +#define WINRT_Windows_Devices_Pwm_Provider_1_H +#include "winrt/impl/Windows.Devices.Pwm.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IPwmControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmControllerProvider(std::nullptr_t = nullptr) noexcept {} + IPwmControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPwmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPwmProvider(std::nullptr_t = nullptr) noexcept {} + IPwmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..648c130d323c02db178890df31d8d6dccecb6889 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.pwm.provider.2.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Pwm_Provider_2_H +#define WINRT_Windows_Devices_Pwm_Provider_2_H +#include "winrt/impl/Windows.Devices.Pwm.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ea922e65de951b04e3ad0b8ddee5869f193ecfa5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.0.h @@ -0,0 +1,110 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Radios_0_H +#define WINRT_Windows_Devices_Radios_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Radios +{ + enum class RadioAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + DeniedByUser = 2, + DeniedBySystem = 3, + }; + enum class RadioKind : int32_t + { + Other = 0, + WiFi = 1, + MobileBroadband = 2, + Bluetooth = 3, + FM = 4, + }; + enum class RadioState : int32_t + { + Unknown = 0, + On = 1, + Off = 2, + Disabled = 3, + }; + struct IRadio; + struct IRadioStatics; + struct Radio; +} +namespace winrt::impl +{ + 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 = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.Radio"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.RadioAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.RadioKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.RadioState"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.IRadio"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Radios.IRadioStatics"; + template <> inline constexpr guid guid_v{ 0x252118DF,0xB33E,0x416A,{ 0x87,0x5F,0x1C,0xF3,0x8A,0xE2,0xD8,0x3E } }; // 252118DF-B33E-416A-875F-1CF38AE2D83E + template <> inline constexpr guid guid_v{ 0x5FB6A12E,0x67CB,0x46AE,{ 0xAA,0xE9,0x65,0x91,0x9F,0x86,0xEF,0xF4 } }; // 5FB6A12E-67CB-46AE-AAE9-65919F86EFF4 + template <> struct default_interface{ using type = winrt::Windows::Devices::Radios::IRadio; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetStateAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetRadiosAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Radios_IRadio + { + auto SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Radios_IRadio; + }; + template + struct consume_Windows_Devices_Radios_IRadioStatics + { + auto GetRadiosAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Radios_IRadioStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0c407891dbc51a8560fb8af737f54297ec4fa681 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Radios_1_H +#define WINRT_Windows_Devices_Radios_1_H +#include "winrt/impl/Windows.Devices.Radios.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Radios +{ + struct WINRT_IMPL_EMPTY_BASES IRadio : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRadio(std::nullptr_t = nullptr) noexcept {} + IRadio(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRadioStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRadioStatics(std::nullptr_t = nullptr) noexcept {} + IRadioStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.2.h new file mode 100644 index 0000000000000000000000000000000000000000..74d12fe24d958c87144da417d40875ef6287c26f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.radios.2.h @@ -0,0 +1,22 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Radios_2_H +#define WINRT_Windows_Devices_Radios_2_H +#include "winrt/impl/Windows.Devices.Radios.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Radios +{ + struct WINRT_IMPL_EMPTY_BASES Radio : winrt::Windows::Devices::Radios::IRadio + { + Radio(std::nullptr_t) noexcept {} + Radio(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Radios::IRadio(ptr, take_ownership_from_abi) {} + static auto GetRadiosAsync(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto RequestAccessAsync(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d694f3f3a7bfdda2d83e35f0dd553eda0d6568b0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.0.h @@ -0,0 +1,363 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Scanners_0_H +#define WINRT_Windows_Devices_Scanners_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Rect; + struct Size; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + enum class PrintMediaSize : int32_t; + enum class PrintOrientation : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Scanners +{ + enum class ImageScannerAutoCroppingMode : int32_t + { + Disabled = 0, + SingleRegion = 1, + MultipleRegion = 2, + }; + enum class ImageScannerColorMode : int32_t + { + Color = 0, + Grayscale = 1, + Monochrome = 2, + AutoColor = 3, + }; + enum class ImageScannerFormat : int32_t + { + Jpeg = 0, + Png = 1, + DeviceIndependentBitmap = 2, + Tiff = 3, + Xps = 4, + OpenXps = 5, + Pdf = 6, + }; + enum class ImageScannerScanSource : int32_t + { + Default = 0, + Flatbed = 1, + Feeder = 2, + AutoConfigured = 3, + }; + struct IImageScanner; + struct IImageScannerFeederConfiguration; + struct IImageScannerFormatConfiguration; + struct IImageScannerPreviewResult; + struct IImageScannerScanResult; + struct IImageScannerSourceConfiguration; + struct IImageScannerStatics; + struct ImageScanner; + struct ImageScannerAutoConfiguration; + struct ImageScannerFeederConfiguration; + struct ImageScannerFlatbedConfiguration; + struct ImageScannerPreviewResult; + struct ImageScannerScanResult; + struct ImageScannerResolution; + struct ScannerDeviceContract; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerAutoConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerFeederConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerFlatbedConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerPreviewResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerScanResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerAutoCroppingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerColorMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerScanSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ImageScannerResolution"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScanner"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerFeederConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerFormatConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerPreviewResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerScanResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerSourceConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.IImageScannerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Scanners.ScannerDeviceContract"; + template <> inline constexpr guid guid_v{ 0x53A88F78,0x5298,0x48A0,{ 0x8D,0xA3,0x80,0x87,0x51,0x96,0x65,0xE0 } }; // 53A88F78-5298-48A0-8DA3-8087519665E0 + template <> inline constexpr guid guid_v{ 0x74BDACEE,0xFA97,0x4C17,{ 0x82,0x80,0x40,0xE3,0x9C,0x6D,0xCC,0x67 } }; // 74BDACEE-FA97-4C17-8280-40E39C6DCC67 + template <> inline constexpr guid guid_v{ 0xAE275D11,0xDADF,0x4010,{ 0xBF,0x10,0xCC,0xA5,0xC8,0x3D,0xCB,0xB0 } }; // AE275D11-DADF-4010-BF10-CCA5C83DCBB0 + template <> inline constexpr guid guid_v{ 0x08B7FE8E,0x8891,0x441D,{ 0xBE,0x9C,0x17,0x6F,0xA1,0x09,0xC8,0xBB } }; // 08B7FE8E-8891-441D-BE9C-176FA109C8BB + template <> inline constexpr guid guid_v{ 0xC91624CD,0x9037,0x4E48,{ 0x84,0xC1,0xAC,0x09,0x75,0x07,0x6B,0xC5 } }; // C91624CD-9037-4E48-84C1-AC0975076BC5 + template <> inline constexpr guid guid_v{ 0xBFB50055,0x0B44,0x4C82,{ 0x9E,0x89,0x20,0x5F,0x9C,0x23,0x4E,0x59 } }; // BFB50055-0B44-4C82-9E89-205F9C234E59 + template <> inline constexpr guid guid_v{ 0xBC57E70E,0xD804,0x4477,{ 0x9F,0xB5,0xB9,0x11,0xB5,0x47,0x38,0x97 } }; // BC57E70E-D804-4477-9FB5-B911B5473897 + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScanner; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScannerPreviewResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Scanners::IImageScannerScanResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultScanSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall IsScanSourceSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_FlatbedConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall get_FeederConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall IsPreviewSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ScanPreviewToStreamAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ScanFilesToFolderAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanAutoDetectPageSize(bool*) noexcept = 0; + virtual int32_t __stdcall get_AutoDetectPageSize(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoDetectPageSize(bool) noexcept = 0; + virtual int32_t __stdcall get_PageSize(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PageSize(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PageOrientation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PageOrientation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PageSizeDimensions(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall IsPageSizeSupported(int32_t, int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxNumberOfPages(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxNumberOfPages(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CanScanDuplex(bool*) noexcept = 0; + virtual int32_t __stdcall get_Duplex(bool*) noexcept = 0; + virtual int32_t __stdcall put_Duplex(bool) noexcept = 0; + virtual int32_t __stdcall get_CanScanAhead(bool*) noexcept = 0; + virtual int32_t __stdcall get_ScanAhead(bool*) noexcept = 0; + virtual int32_t __stdcall put_ScanAhead(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DefaultFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall IsFormatSupported(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ScannedFiles(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinScanArea(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_MaxScanArea(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_SelectedScanRegion(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_SelectedScanRegion(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall get_AutoCroppingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoCroppingMode(int32_t) noexcept = 0; + virtual int32_t __stdcall IsAutoCroppingModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_MinResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution*) noexcept = 0; + virtual int32_t __stdcall get_MaxResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution*) noexcept = 0; + virtual int32_t __stdcall get_OpticalResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution*) noexcept = 0; + virtual int32_t __stdcall get_DesiredResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution*) noexcept = 0; + virtual int32_t __stdcall put_DesiredResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution) noexcept = 0; + virtual int32_t __stdcall get_ActualResolution(struct struct_Windows_Devices_Scanners_ImageScannerResolution*) noexcept = 0; + virtual int32_t __stdcall get_DefaultColorMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ColorMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ColorMode(int32_t) noexcept = 0; + virtual int32_t __stdcall IsColorModeSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_MinBrightness(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBrightness(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BrightnessStep(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DefaultBrightness(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Brightness(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Brightness(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MinContrast(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxContrast(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ContrastStep(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DefaultContrast(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Contrast(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Contrast(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Scanners_IImageScanner + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DefaultScanSource() const; + auto IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const; + [[nodiscard]] auto FlatbedConfiguration() const; + [[nodiscard]] auto FeederConfiguration() const; + [[nodiscard]] auto AutoConfiguration() const; + auto IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const; + auto ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const; + auto ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScanner; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration + { + [[nodiscard]] auto CanAutoDetectPageSize() const; + [[nodiscard]] auto AutoDetectPageSize() const; + auto AutoDetectPageSize(bool value) const; + [[nodiscard]] auto PageSize() const; + auto PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto PageOrientation() const; + auto PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto PageSizeDimensions() const; + auto IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const; + [[nodiscard]] auto MaxNumberOfPages() const; + auto MaxNumberOfPages(uint32_t value) const; + [[nodiscard]] auto CanScanDuplex() const; + [[nodiscard]] auto Duplex() const; + auto Duplex(bool value) const; + [[nodiscard]] auto CanScanAhead() const; + [[nodiscard]] auto ScanAhead() const; + auto ScanAhead(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration + { + [[nodiscard]] auto DefaultFormat() const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; + auto IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerPreviewResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Format() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerPreviewResult; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerScanResult + { + [[nodiscard]] auto ScannedFiles() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerScanResult; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration + { + [[nodiscard]] auto MinScanArea() const; + [[nodiscard]] auto MaxScanArea() const; + [[nodiscard]] auto SelectedScanRegion() const; + auto SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto AutoCroppingMode() const; + auto AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; + auto IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; + [[nodiscard]] auto MinResolution() const; + [[nodiscard]] auto MaxResolution() const; + [[nodiscard]] auto OpticalResolution() const; + [[nodiscard]] auto DesiredResolution() const; + auto DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const; + [[nodiscard]] auto ActualResolution() const; + [[nodiscard]] auto DefaultColorMode() const; + [[nodiscard]] auto ColorMode() const; + auto ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; + auto IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; + [[nodiscard]] auto MinBrightness() const; + [[nodiscard]] auto MaxBrightness() const; + [[nodiscard]] auto BrightnessStep() const; + [[nodiscard]] auto DefaultBrightness() const; + [[nodiscard]] auto Brightness() const; + auto Brightness(int32_t value) const; + [[nodiscard]] auto MinContrast() const; + [[nodiscard]] auto MaxContrast() const; + [[nodiscard]] auto ContrastStep() const; + [[nodiscard]] auto DefaultContrast() const; + [[nodiscard]] auto Contrast() const; + auto Contrast(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration; + }; + template + struct consume_Windows_Devices_Scanners_IImageScannerStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Scanners_IImageScannerStatics; + }; + struct struct_Windows_Devices_Scanners_ImageScannerResolution + { + float DpiX; + float DpiY; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Scanners_ImageScannerResolution; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8d69b18bd885ecff4d740932da65757cd311e358 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.1.h @@ -0,0 +1,64 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Scanners_1_H +#define WINRT_Windows_Devices_Scanners_1_H +#include "winrt/impl/Windows.Devices.Scanners.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Scanners +{ + struct WINRT_IMPL_EMPTY_BASES IImageScanner : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageScanner(std::nullptr_t = nullptr) noexcept {} + IImageScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerFeederConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IImageScannerFeederConfiguration(std::nullptr_t = nullptr) noexcept {} + IImageScannerFeederConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerFormatConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageScannerFormatConfiguration(std::nullptr_t = nullptr) noexcept {} + IImageScannerFormatConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerPreviewResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageScannerPreviewResult(std::nullptr_t = nullptr) noexcept {} + IImageScannerPreviewResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerScanResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageScannerScanResult(std::nullptr_t = nullptr) noexcept {} + IImageScannerScanResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerSourceConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IImageScannerSourceConfiguration(std::nullptr_t = nullptr) noexcept {} + IImageScannerSourceConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageScannerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageScannerStatics(std::nullptr_t = nullptr) noexcept {} + IImageScannerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1e9b63e41cf37a50e9ebc22d111f9321bb2dc0fc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.scanners.2.h @@ -0,0 +1,60 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Scanners_2_H +#define WINRT_Windows_Devices_Scanners_2_H +#include "winrt/impl/Windows.Devices.Scanners.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Scanners +{ + struct ImageScannerResolution + { + float DpiX {}; + float DpiY {}; + }; + inline bool operator==(ImageScannerResolution const& left, ImageScannerResolution const& right) noexcept + { + return left.DpiX == right.DpiX && left.DpiY == right.DpiY; + } + inline bool operator!=(ImageScannerResolution const& left, ImageScannerResolution const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES ImageScanner : winrt::Windows::Devices::Scanners::IImageScanner + { + ImageScanner(std::nullptr_t) noexcept {} + ImageScanner(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScanner(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES ImageScannerAutoConfiguration : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration + { + ImageScannerAutoConfiguration(std::nullptr_t) noexcept {} + ImageScannerAutoConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageScannerFeederConfiguration : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration, + impl::require + { + ImageScannerFeederConfiguration(std::nullptr_t) noexcept {} + ImageScannerFeederConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageScannerFlatbedConfiguration : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration, + impl::require + { + ImageScannerFlatbedConfiguration(std::nullptr_t) noexcept {} + ImageScannerFlatbedConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageScannerPreviewResult : winrt::Windows::Devices::Scanners::IImageScannerPreviewResult + { + ImageScannerPreviewResult(std::nullptr_t) noexcept {} + ImageScannerPreviewResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScannerPreviewResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageScannerScanResult : winrt::Windows::Devices::Scanners::IImageScannerScanResult + { + ImageScannerScanResult(std::nullptr_t) noexcept {} + ImageScannerScanResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Scanners::IImageScannerScanResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.0.h new file mode 100644 index 0000000000000000000000000000000000000000..52d7f1e0315104ffae5dfc093fde8d69e1cf6df9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.0.h @@ -0,0 +1,4254 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_0_H +#define WINRT_Windows_Devices_Sensors_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct IAsyncAction; + struct IClosable; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Display +{ + enum class DisplayOrientations : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors +{ + enum class AccelerometerReadingType : int32_t + { + Standard = 0, + Linear = 1, + Gravity = 2, + }; + enum class ActivitySensorReadingConfidence : int32_t + { + High = 0, + Low = 1, + }; + enum class ActivityType : int32_t + { + Unknown = 0, + Idle = 1, + Stationary = 2, + Fidgeting = 3, + Walking = 4, + Running = 5, + InVehicle = 6, + Biking = 7, + }; + enum class HumanEngagement : int32_t + { + Unknown = 0, + Engaged = 1, + Unengaged = 2, + }; + enum class HumanPresence : int32_t + { + Unknown = 0, + Present = 1, + NotPresent = 2, + }; + enum class MagnetometerAccuracy : int32_t + { + Unknown = 0, + Unreliable = 1, + Approximate = 2, + High = 3, + }; + enum class OnlookerDetectionAction : int32_t + { + Dim = 0, + Notify = 1, + DimAndNotify = 2, + }; + enum class OnlookerDetectionBackOnMode : int32_t + { + Manually = 0, + OneHour = 1, + FourHours = 2, + OneDay = 3, + }; + enum class PedometerStepKind : int32_t + { + Unknown = 0, + Walking = 1, + Running = 2, + }; + enum class SensorOptimizationGoal : int32_t + { + Precision = 0, + PowerEfficiency = 1, + }; + enum class SensorReadingType : int32_t + { + Absolute = 0, + Relative = 1, + }; + enum class SensorType : int32_t + { + Accelerometer = 0, + ActivitySensor = 1, + Barometer = 2, + Compass = 3, + CustomSensor = 4, + Gyroscope = 5, + ProximitySensor = 6, + Inclinometer = 7, + LightSensor = 8, + OrientationSensor = 9, + Pedometer = 10, + RelativeInclinometer = 11, + RelativeOrientationSensor = 12, + SimpleOrientationSensor = 13, + }; + enum class SimpleOrientation : int32_t + { + NotRotated = 0, + Rotated90DegreesCounterclockwise = 1, + Rotated180DegreesCounterclockwise = 2, + Rotated270DegreesCounterclockwise = 3, + Faceup = 4, + Facedown = 5, + }; + struct IAccelerometer; + struct IAccelerometer2; + struct IAccelerometer3; + struct IAccelerometer4; + struct IAccelerometer5; + struct IAccelerometerDataThreshold; + struct IAccelerometerDeviceId; + struct IAccelerometerReading; + struct IAccelerometerReading2; + struct IAccelerometerReadingChangedEventArgs; + struct IAccelerometerShakenEventArgs; + struct IAccelerometerStatics; + struct IAccelerometerStatics2; + struct IAccelerometerStatics3; + struct IActivitySensor; + struct IActivitySensorReading; + struct IActivitySensorReadingChangeReport; + struct IActivitySensorReadingChangedEventArgs; + struct IActivitySensorStatics; + struct IActivitySensorTriggerDetails; + struct IAdaptiveDimmingOptions; + struct IAltimeter; + struct IAltimeter2; + struct IAltimeterReading; + struct IAltimeterReading2; + struct IAltimeterReadingChangedEventArgs; + struct IAltimeterStatics; + struct IBarometer; + struct IBarometer2; + struct IBarometer3; + struct IBarometerDataThreshold; + struct IBarometerReading; + struct IBarometerReading2; + struct IBarometerReadingChangedEventArgs; + struct IBarometerStatics; + struct IBarometerStatics2; + struct ICompass; + struct ICompass2; + struct ICompass3; + struct ICompass4; + struct ICompassDataThreshold; + struct ICompassDeviceId; + struct ICompassReading; + struct ICompassReading2; + struct ICompassReadingChangedEventArgs; + struct ICompassReadingHeadingAccuracy; + struct ICompassStatics; + struct ICompassStatics2; + struct IDetectedPerson; + struct IGyrometer; + struct IGyrometer2; + struct IGyrometer3; + struct IGyrometer4; + struct IGyrometerDataThreshold; + struct IGyrometerDeviceId; + struct IGyrometerReading; + struct IGyrometerReading2; + struct IGyrometerReadingChangedEventArgs; + struct IGyrometerStatics; + struct IGyrometerStatics2; + struct IHeadOrientation; + struct IHeadPosition; + struct IHingeAngleReading; + struct IHingeAngleSensor; + struct IHingeAngleSensorReadingChangedEventArgs; + struct IHingeAngleSensorStatics; + struct IHumanPresenceFeatures; + struct IHumanPresenceFeatures2; + struct IHumanPresenceFeatures3; + struct IHumanPresenceSensor; + struct IHumanPresenceSensor2; + struct IHumanPresenceSensor3; + struct IHumanPresenceSensorExtension; + struct IHumanPresenceSensorReading; + struct IHumanPresenceSensorReading2; + struct IHumanPresenceSensorReading3; + struct IHumanPresenceSensorReadingChangedEventArgs; + struct IHumanPresenceSensorReadingUpdate; + struct IHumanPresenceSensorReadingUpdate2; + struct IHumanPresenceSensorStatics; + struct IHumanPresenceSensorStatics2; + struct IHumanPresenceSettings; + struct IHumanPresenceSettings2; + struct IHumanPresenceSettings3; + struct IHumanPresenceSettingsStatics; + struct IInclinometer; + struct IInclinometer2; + struct IInclinometer3; + struct IInclinometer4; + struct IInclinometerDataThreshold; + struct IInclinometerDeviceId; + struct IInclinometerReading; + struct IInclinometerReading2; + struct IInclinometerReadingChangedEventArgs; + struct IInclinometerReadingYawAccuracy; + struct IInclinometerStatics; + struct IInclinometerStatics2; + struct IInclinometerStatics3; + struct IInclinometerStatics4; + struct ILightSensor; + struct ILightSensor2; + struct ILightSensor3; + struct ILightSensor4; + struct ILightSensorDataThreshold; + struct ILightSensorDataThreshold2; + struct ILightSensorDeviceId; + struct ILightSensorReading; + struct ILightSensorReading2; + struct ILightSensorReading3; + struct ILightSensorReadingChangedEventArgs; + struct ILightSensorStatics; + struct ILightSensorStatics2; + struct ILockOnLeaveOptions; + struct IMagnetometer; + struct IMagnetometer2; + struct IMagnetometer3; + struct IMagnetometer4; + struct IMagnetometerDataThreshold; + struct IMagnetometerDeviceId; + struct IMagnetometerReading; + struct IMagnetometerReading2; + struct IMagnetometerReadingChangedEventArgs; + struct IMagnetometerStatics; + struct IMagnetometerStatics2; + struct IOnlookerDetectionOptions; + struct IOrientationSensor; + struct IOrientationSensor2; + struct IOrientationSensor3; + struct IOrientationSensorDeviceId; + struct IOrientationSensorReading; + struct IOrientationSensorReading2; + struct IOrientationSensorReadingChangedEventArgs; + struct IOrientationSensorReadingYawAccuracy; + struct IOrientationSensorStatics; + struct IOrientationSensorStatics2; + struct IOrientationSensorStatics3; + struct IOrientationSensorStatics4; + struct IPedometer; + struct IPedometer2; + struct IPedometerDataThresholdFactory; + struct IPedometerReading; + struct IPedometerReadingChangedEventArgs; + struct IPedometerStatics; + struct IPedometerStatics2; + struct IProximitySensor; + struct IProximitySensorDataThresholdFactory; + struct IProximitySensorReading; + struct IProximitySensorReadingChangedEventArgs; + struct IProximitySensorStatics; + struct IProximitySensorStatics2; + struct ISensorDataThreshold; + struct ISensorDataThresholdTriggerDetails; + struct ISensorQuaternion; + struct ISensorRotationMatrix; + struct ISimpleOrientationSensor; + struct ISimpleOrientationSensor2; + struct ISimpleOrientationSensorDeviceId; + struct ISimpleOrientationSensorOrientationChangedEventArgs; + struct ISimpleOrientationSensorStatics; + struct ISimpleOrientationSensorStatics2; + struct IWakeOnApproachOptions; + struct Accelerometer; + struct AccelerometerDataThreshold; + struct AccelerometerReading; + struct AccelerometerReadingChangedEventArgs; + struct AccelerometerShakenEventArgs; + struct ActivitySensor; + struct ActivitySensorReading; + struct ActivitySensorReadingChangeReport; + struct ActivitySensorReadingChangedEventArgs; + struct ActivitySensorTriggerDetails; + struct AdaptiveDimmingOptions; + struct Altimeter; + struct AltimeterReading; + struct AltimeterReadingChangedEventArgs; + struct Barometer; + struct BarometerDataThreshold; + struct BarometerReading; + struct BarometerReadingChangedEventArgs; + struct Compass; + struct CompassDataThreshold; + struct CompassReading; + struct CompassReadingChangedEventArgs; + struct DetectedPerson; + struct Gyrometer; + struct GyrometerDataThreshold; + struct GyrometerReading; + struct GyrometerReadingChangedEventArgs; + struct HeadOrientation; + struct HeadPosition; + struct HingeAngleReading; + struct HingeAngleSensor; + struct HingeAngleSensorReadingChangedEventArgs; + struct HumanPresenceFeatures; + struct HumanPresenceSensor; + struct HumanPresenceSensorReading; + struct HumanPresenceSensorReadingChangedEventArgs; + struct HumanPresenceSensorReadingUpdate; + struct HumanPresenceSettings; + struct Inclinometer; + struct InclinometerDataThreshold; + struct InclinometerReading; + struct InclinometerReadingChangedEventArgs; + struct LightSensor; + struct LightSensorDataThreshold; + struct LightSensorReading; + struct LightSensorReadingChangedEventArgs; + struct LockOnLeaveOptions; + struct Magnetometer; + struct MagnetometerDataThreshold; + struct MagnetometerReading; + struct MagnetometerReadingChangedEventArgs; + struct OnlookerDetectionOptions; + struct OrientationSensor; + struct OrientationSensorReading; + struct OrientationSensorReadingChangedEventArgs; + struct Pedometer; + struct PedometerDataThreshold; + struct PedometerReading; + struct PedometerReadingChangedEventArgs; + struct ProximitySensor; + struct ProximitySensorDataThreshold; + struct ProximitySensorDisplayOnOffController; + struct ProximitySensorReading; + struct ProximitySensorReadingChangedEventArgs; + struct SensorDataThresholdTriggerDetails; + struct SensorQuaternion; + struct SensorRotationMatrix; + struct SimpleOrientationSensor; + struct SimpleOrientationSensorOrientationChangedEventArgs; + struct WakeOnApproachOptions; + struct LightSensorChromaticity; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Accelerometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AccelerometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AccelerometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AccelerometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AccelerometerShakenEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensorReadingChangeReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensorTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AdaptiveDimmingOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Altimeter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AltimeterReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AltimeterReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Barometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.BarometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.BarometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.BarometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Compass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.CompassDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.CompassReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.CompassReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.DetectedPerson"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Gyrometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.GyrometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.GyrometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.GyrometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HeadOrientation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HeadPosition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HingeAngleReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HingeAngleSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HingeAngleSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceFeatures"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceSensorReadingUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresenceSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Inclinometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.InclinometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.InclinometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.InclinometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LightSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LightSensorDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LightSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LightSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LockOnLeaveOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Magnetometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.MagnetometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.MagnetometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.MagnetometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OnlookerDetectionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OrientationSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OrientationSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OrientationSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Pedometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.PedometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.PedometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.PedometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ProximitySensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ProximitySensorDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ProximitySensorDisplayOnOffController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ProximitySensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ProximitySensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorDataThresholdTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorQuaternion"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorRotationMatrix"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SimpleOrientationSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SimpleOrientationSensorOrientationChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.WakeOnApproachOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.AccelerometerReadingType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivitySensorReadingConfidence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ActivityType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanEngagement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.HumanPresence"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.MagnetometerAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OnlookerDetectionAction"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.OnlookerDetectionBackOnMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.PedometerStepKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorOptimizationGoal"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorReadingType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SensorType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.SimpleOrientation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.LightSensorChromaticity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometer3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometer4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometer5"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerShakenEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAccelerometerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensorReadingChangeReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IActivitySensorTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAdaptiveDimmingOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeterReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeterReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeterReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IAltimeterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometer3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IBarometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompass2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompass3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompass4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassReadingHeadingAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ICompassStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IDetectedPerson"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometer3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometer4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IGyrometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHeadOrientation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHeadPosition"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHingeAngleReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHingeAngleSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHingeAngleSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHingeAngleSensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceFeatures"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceFeatures2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceFeatures3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensor3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorExtension"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReading3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReadingUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorReadingUpdate2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSensorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSettings2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSettings3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IHumanPresenceSettingsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometer3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometer4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerReadingYawAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IInclinometerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensor3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensor4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorDataThreshold2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorReading3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILightSensorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ILockOnLeaveOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometer3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometer4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IMagnetometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOnlookerDetectionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensor3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorReadingYawAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IOrientationSensorStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometer"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometer2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometerDataThresholdFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometerReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometerReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IPedometerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensorDataThresholdFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IProximitySensorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISensorDataThreshold"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISensorDataThresholdTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISensorQuaternion"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISensorRotationMatrix"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensorDeviceId"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensorOrientationChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.ISimpleOrientationSensorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.IWakeOnApproachOptions"; + template <> inline constexpr guid guid_v{ 0xDF184548,0x2711,0x4DA7,{ 0x80,0x98,0x4B,0x82,0x20,0x5D,0x3C,0x7D } }; // DF184548-2711-4DA7-8098-4B82205D3C7D + template <> inline constexpr guid guid_v{ 0xE8F092EE,0x4964,0x401A,{ 0xB6,0x02,0x22,0x0D,0x71,0x53,0xC6,0x0A } }; // E8F092EE-4964-401A-B602-220D7153C60A + template <> inline constexpr guid guid_v{ 0x87E0022A,0xED80,0x49EB,{ 0xBF,0x8A,0xA4,0xEA,0x31,0xE5,0xCD,0x84 } }; // 87E0022A-ED80-49EB-BF8A-A4EA31E5CD84 + template <> inline constexpr guid guid_v{ 0x1D373C4F,0x42D3,0x45B2,{ 0x81,0x44,0xAB,0x7F,0xB6,0x65,0xEB,0x59 } }; // 1D373C4F-42D3-45B2-8144-AB7FB665EB59 + template <> inline constexpr guid guid_v{ 0x7E7E7021,0xDEF4,0x53A6,{ 0xAF,0x43,0x80,0x6F,0xD5,0x38,0xED,0xF6 } }; // 7E7E7021-DEF4-53A6-AF43-806FD538EDF6 + template <> inline constexpr guid guid_v{ 0xF92C1B68,0x6320,0x5577,{ 0x87,0x9E,0x99,0x42,0x62,0x1C,0x3D,0xD9 } }; // F92C1B68-6320-5577-879E-9942621C3DD9 + template <> inline constexpr guid guid_v{ 0x7EAC64A9,0x97D5,0x446D,{ 0xAB,0x5A,0x91,0x7D,0xF9,0xB9,0x6A,0x2C } }; // 7EAC64A9-97D5-446D-AB5A-917DF9B96A2C + template <> inline constexpr guid guid_v{ 0xB9FE7ACB,0xD351,0x40AF,{ 0x8B,0xB6,0x7A,0xA9,0xAE,0x64,0x1F,0xB7 } }; // B9FE7ACB-D351-40AF-8BB6-7AA9AE641FB7 + template <> inline constexpr guid guid_v{ 0x0A864AA2,0x15AE,0x4A40,{ 0xBE,0x55,0xDB,0x58,0xD7,0xDE,0x73,0x89 } }; // 0A864AA2-15AE-4A40-BE55-DB58D7DE7389 + template <> inline constexpr guid guid_v{ 0x0095C65B,0xB6AC,0x475A,{ 0x9F,0x44,0x8B,0x32,0xD3,0x5A,0x3F,0x25 } }; // 0095C65B-B6AC-475A-9F44-8B32D35A3F25 + template <> inline constexpr guid guid_v{ 0x95FF01D1,0x4A28,0x4F35,{ 0x98,0xE8,0x81,0x78,0xAA,0xE4,0x08,0x4A } }; // 95FF01D1-4A28-4F35-98E8-8178AAE4084A + template <> inline constexpr guid guid_v{ 0xA5E28B74,0x5A87,0x4A2D,{ 0xBE,0xCC,0x0F,0x90,0x6E,0xA0,0x61,0xDD } }; // A5E28B74-5A87-4A2D-BECC-0F906EA061DD + template <> inline constexpr guid guid_v{ 0xC4C4842F,0xD86B,0x4685,{ 0xB2,0xD7,0x33,0x96,0xF7,0x98,0xD5,0x7B } }; // C4C4842F-D86B-4685-B2D7-3396F798D57B + template <> inline constexpr guid guid_v{ 0x9DE218CF,0x455D,0x4CF3,{ 0x82,0x00,0x70,0xE1,0x41,0x03,0x40,0xF8 } }; // 9DE218CF-455D-4CF3-8200-70E1410340F8 + template <> inline constexpr guid guid_v{ 0xCD7A630C,0xFB5F,0x48EB,{ 0xB0,0x9B,0xA2,0x70,0x8D,0x1C,0x61,0xEF } }; // CD7A630C-FB5F-48EB-B09B-A2708D1C61EF + template <> inline constexpr guid guid_v{ 0x85125A96,0x1472,0x40A2,{ 0xB2,0xAE,0xE1,0xEF,0x29,0x22,0x6C,0x78 } }; // 85125A96-1472-40A2-B2AE-E1EF29226C78 + template <> inline constexpr guid guid_v{ 0x4F3C2915,0xD93B,0x47BD,{ 0x96,0x0A,0xF2,0x0F,0xB2,0xF3,0x22,0xB9 } }; // 4F3C2915-D93B-47BD-960A-F20FB2F322B9 + template <> inline constexpr guid guid_v{ 0xDE386717,0xAEB6,0x4EC7,{ 0x94,0x6A,0xD9,0xCC,0x19,0xB9,0x51,0xEC } }; // DE386717-AEB6-4EC7-946A-D9CC19B951EC + template <> inline constexpr guid guid_v{ 0xA71E0E9D,0xEE8B,0x45D1,{ 0xB2,0x5B,0x08,0xCC,0x0D,0xF9,0x2A,0xB6 } }; // A71E0E9D-EE8B-45D1-B25B-08CC0DF92AB6 + template <> inline constexpr guid guid_v{ 0x2C9E6612,0xB9CA,0x4677,{ 0xB2,0x63,0x24,0x32,0x97,0xF7,0x9D,0x3A } }; // 2C9E6612-B9CA-4677-B263-243297F79D3A + template <> inline constexpr guid guid_v{ 0xD3213CF7,0x89B5,0x5732,{ 0xB2,0xA0,0xAE,0xFE,0x32,0x4F,0x54,0xE6 } }; // D3213CF7-89B5-5732-B2A0-AEFE324F54E6 + template <> inline constexpr guid guid_v{ 0x72F057FD,0x8F04,0x49F1,{ 0xB4,0xA7,0xF4,0xE3,0x63,0xB7,0x01,0xA2 } }; // 72F057FD-8F04-49F1-B4A7-F4E363B701A2 + template <> inline constexpr guid guid_v{ 0xC9471BF9,0x2ADD,0x48F5,{ 0x9F,0x08,0x3D,0x0C,0x76,0x60,0xD9,0x38 } }; // C9471BF9-2ADD-48F5-9F08-3D0C7660D938 + template <> inline constexpr guid guid_v{ 0xFBE8EF73,0x7F5E,0x48C8,{ 0xAA,0x1A,0xF1,0xF3,0xBE,0xFC,0x11,0x44 } }; // FBE8EF73-7F5E-48C8-AA1A-F1F3BEFC1144 + template <> inline constexpr guid guid_v{ 0x543A1BD9,0x6D0B,0x42B2,{ 0xBD,0x69,0xBC,0x8F,0xAE,0x0F,0x78,0x2C } }; // 543A1BD9-6D0B-42B2-BD69-BC8FAE0F782C + template <> inline constexpr guid guid_v{ 0x7069D077,0x446D,0x47F7,{ 0x99,0x8C,0xEB,0xC2,0x3B,0x45,0xE4,0xA2 } }; // 7069D077-446D-47F7-998C-EBC23B45E4A2 + template <> inline constexpr guid guid_v{ 0x9EB4D7C3,0xE5AC,0x47CE,{ 0x8E,0xEF,0xD3,0x71,0x81,0x68,0xC0,0x1F } }; // 9EB4D7C3-E5AC-47CE-8EEF-D3718168C01F + template <> inline constexpr guid guid_v{ 0x934475A8,0x78BF,0x452F,{ 0xB0,0x17,0xF0,0x20,0x9C,0xE6,0xDA,0xB4 } }; // 934475A8-78BF-452F-B017-F0209CE6DAB4 + template <> inline constexpr guid guid_v{ 0x32BCC418,0x3EEB,0x4D04,{ 0x95,0x74,0x76,0x33,0xA8,0x78,0x1F,0x9F } }; // 32BCC418-3EEB-4D04-9574-7633A8781F9F + template <> inline constexpr guid guid_v{ 0x0E35F0EA,0x02B5,0x5A04,{ 0xB0,0x3D,0x82,0x20,0x84,0x86,0x3A,0x54 } }; // 0E35F0EA-02B5-5A04-B03D-822084863A54 + template <> inline constexpr guid guid_v{ 0x076B952C,0xCB62,0x5A90,{ 0xA0,0xD1,0xF8,0x5E,0x4A,0x93,0x63,0x94 } }; // 076B952C-CB62-5A90-A0D1-F85E4A936394 + template <> inline constexpr guid guid_v{ 0xF5B9D2E6,0x1DF6,0x4A1A,{ 0xA7,0xAD,0x32,0x1D,0x4F,0x5D,0xB2,0x47 } }; // F5B9D2E6-1DF6-4A1A-A7AD-321D4F5DB247 + template <> inline constexpr guid guid_v{ 0x85A244EB,0x90C5,0x4875,{ 0x89,0x1C,0x38,0x65,0xB4,0xC3,0x57,0xE7 } }; // 85A244EB-90C5-4875-891C-3865B4C357E7 + template <> inline constexpr guid guid_v{ 0x3D84945F,0x037B,0x404F,{ 0x9B,0xBB,0x62,0x32,0xD6,0x95,0x43,0xC3 } }; // 3D84945F-037B-404F-9BBB-6232D69543C3 + template <> inline constexpr guid guid_v{ 0x286B270A,0x02E3,0x4F86,{ 0x84,0xFC,0xFD,0xD8,0x92,0xB5,0x94,0x0F } }; // 286B270A-02E3-4F86-84FC-FDD892B5940F + template <> inline constexpr guid guid_v{ 0x8FC6B1E7,0x95FF,0x44AC,{ 0x87,0x8E,0xD6,0x5C,0x83,0x08,0xC3,0x4C } }; // 8FC6B1E7-95FF-44AC-878E-D65C8308C34C + template <> inline constexpr guid guid_v{ 0x292FFA94,0x1B45,0x403C,{ 0xBA,0x06,0xB1,0x06,0xDB,0xA6,0x9A,0x64 } }; // 292FFA94-1B45-403C-BA06-B106DBA69A64 + template <> inline constexpr guid guid_v{ 0x36F26D09,0xC7D7,0x434F,{ 0xB4,0x61,0x97,0x9D,0xDF,0xC2,0x32,0x2F } }; // 36F26D09-C7D7-434F-B461-979DDFC2322F + template <> inline constexpr guid guid_v{ 0xA424801B,0xC5EA,0x4D45,{ 0xA0,0xEC,0x4B,0x79,0x1F,0x04,0x1A,0x89 } }; // A424801B-C5EA-4D45-A0EC-4B791F041A89 + template <> inline constexpr guid guid_v{ 0x291E7F11,0xEC32,0x5DCC,{ 0xBF,0xCB,0x0B,0xB3,0x9E,0xBA,0x57,0x74 } }; // 291E7F11-EC32-5DCC-BFCB-0BB39EBA5774 + template <> inline constexpr guid guid_v{ 0xD15B52B3,0xD39D,0x5EC8,{ 0xB2,0xE4,0xF1,0x93,0xE6,0xAB,0x34,0xED } }; // D15B52B3-D39D-5EC8-B2E4-F193E6AB34ED + template <> inline constexpr guid guid_v{ 0xD181CA29,0xB085,0x4B1D,{ 0x87,0x0A,0x4F,0xF5,0x7B,0xA7,0x4F,0xD4 } }; // D181CA29-B085-4B1D-870A-4FF57BA74FD4 + template <> inline constexpr guid guid_v{ 0x82911128,0x513D,0x4DC9,{ 0xB7,0x81,0x5E,0xED,0xFB,0xF0,0x2D,0x0C } }; // 82911128-513D-4DC9-B781-5EEDFBF02D0C + template <> inline constexpr guid guid_v{ 0xB13A661E,0x51BB,0x4A12,{ 0xBE,0xDD,0xAD,0x47,0xFF,0x87,0xD2,0xE8 } }; // B13A661E-51BB-4A12-BEDD-AD47FF87D2E8 + template <> inline constexpr guid guid_v{ 0x8F1549B0,0xE8BC,0x4C7E,{ 0xB0,0x09,0x4E,0x41,0xDF,0x13,0x70,0x72 } }; // 8F1549B0-E8BC-4C7E-B009-4E41DF137072 + template <> inline constexpr guid guid_v{ 0xE761354E,0x8911,0x40F7,{ 0x9E,0x16,0x6E,0xCC,0x7D,0xAE,0xC5,0xDE } }; // E761354E-8911-40F7-9E16-6ECC7DAEC5DE + template <> inline constexpr guid guid_v{ 0x9ABC97DF,0x56EC,0x4C25,{ 0xB5,0x4D,0x40,0xA6,0x8B,0xB5,0xB2,0x69 } }; // 9ABC97DF-56EC-4C25-B54D-40A68BB5B269 + template <> inline constexpr guid guid_v{ 0x0ACE0EAD,0x3BAA,0x4990,{ 0x9C,0xE4,0xBE,0x09,0x13,0x75,0x4E,0xD2 } }; // 0ACE0EAD-3BAA-4990-9CE4-BE0913754ED2 + template <> inline constexpr guid guid_v{ 0x168CC0D9,0x3F05,0x5029,{ 0xA0,0xBF,0xCD,0xCA,0xB4,0xBE,0x3F,0x9E } }; // 168CC0D9-3F05-5029-A0BF-CDCAB4BE3F9E + template <> inline constexpr guid guid_v{ 0xFDB9A9C4,0x84B1,0x4CA2,{ 0x97,0x63,0x9B,0x58,0x95,0x06,0xC7,0x0C } }; // FDB9A9C4-84B1-4CA2-9763-9B589506C70C + template <> inline constexpr guid guid_v{ 0x63DF2443,0x8CE8,0x41C3,{ 0xAC,0x44,0x86,0x98,0x81,0x0B,0x55,0x7F } }; // 63DF2443-8CE8-41C3-AC44-8698810B557F + template <> inline constexpr guid guid_v{ 0x5D6F88D5,0x8FBC,0x4484,{ 0x91,0x4B,0x52,0x8A,0xDF,0xD9,0x47,0xB1 } }; // 5D6F88D5-8FBC-4484-914B-528ADFD947B1 + template <> inline constexpr guid guid_v{ 0x0628A60C,0x4C4B,0x5096,{ 0x94,0xE6,0xC3,0x56,0xDF,0x68,0xBE,0xF7 } }; // 0628A60C-4C4B-5096-94E6-C356DF68BEF7 + template <> inline constexpr guid guid_v{ 0x8648B31E,0x6E52,0x5259,{ 0xBB,0xAD,0x24,0x2A,0x69,0xDC,0x38,0xC8 } }; // 8648B31E-6E52-5259-BBAD-242A69DC38C8 + template <> inline constexpr guid guid_v{ 0x1EE5E978,0x89A2,0x4275,{ 0x9E,0x95,0x71,0x26,0xF4,0x70,0x87,0x60 } }; // 1EE5E978-89A2-4275-9E95-7126F4708760 + template <> inline constexpr guid guid_v{ 0xB3D6DE5C,0x1EE4,0x456F,{ 0x9D,0xE7,0xE2,0x49,0x3B,0x5C,0x8E,0x03 } }; // B3D6DE5C-1EE4-456F-9DE7-E2493B5C8E03 + template <> inline constexpr guid guid_v{ 0x16AFE13C,0x2B89,0x44BB,{ 0x82,0x2B,0xD1,0xE1,0x55,0x6F,0xF0,0x9B } }; // 16AFE13C-2B89-44BB-822B-D1E1556FF09B + template <> inline constexpr guid guid_v{ 0x0FDF1895,0x6F9E,0x42CE,{ 0x8D,0x58,0x38,0x8C,0x0A,0xB8,0x35,0x6D } }; // 0FDF1895-6F9E-42CE-8D58-388C0AB8356D + template <> inline constexpr guid guid_v{ 0x83B6E7C9,0xE49D,0x4B39,{ 0x86,0xE6,0xCD,0x55,0x4B,0xE4,0xC5,0xC1 } }; // 83B6E7C9-E49D-4B39-86E6-CD554BE4C5C1 + template <> inline constexpr guid guid_v{ 0xEF83F7A1,0xD700,0x4204,{ 0x96,0x13,0x79,0xC6,0xB1,0x61,0xDF,0x4E } }; // EF83F7A1-D700-4204-9613-79C6B161DF4E + template <> inline constexpr guid guid_v{ 0x519F54A9,0x513E,0x55E8,{ 0x9C,0x35,0x3E,0x8D,0xA2,0x1D,0xEE,0x69 } }; // 519F54A9-513E-55E8-9C35-3E8DA21DEE69 + template <> inline constexpr guid guid_v{ 0x585AEB65,0xCF35,0x5E6D,{ 0xA7,0x6A,0x37,0xDB,0x13,0x1E,0x17,0xDE } }; // 585AEB65-CF35-5E6D-A76A-37DB131E17DE + template <> inline constexpr guid guid_v{ 0xA3CD45B9,0x1BF1,0x4F65,{ 0xA7,0x04,0xE2,0xDA,0x04,0xF1,0x82,0xC0 } }; // A3CD45B9-1BF1-4F65-A704-E2DA04F182C0 + template <> inline constexpr guid guid_v{ 0xE9D3BE02,0xBFDF,0x437F,{ 0x8C,0x29,0x88,0xC7,0x73,0x93,0xD3,0x09 } }; // E9D3BE02-BFDF-437F-8C29-88C77393D309 + template <> inline constexpr guid guid_v{ 0x24D9558B,0xFAD0,0x42B8,{ 0xA8,0x54,0x78,0x92,0x30,0x49,0xA1,0xBA } }; // 24D9558B-FAD0-42B8-A854-78923049A1BA + template <> inline constexpr guid guid_v{ 0xB7B63910,0xFBB1,0x4123,{ 0x89,0xCE,0x4E,0xA3,0x4E,0xB0,0xDF,0xCA } }; // B7B63910-FBB1-4123-89CE-4EA34EB0DFCA + template <> inline constexpr guid guid_v{ 0xBDB09FDA,0x3244,0x557A,{ 0xBD,0x29,0x8B,0x00,0x4F,0x59,0xF2,0xCC } }; // BDB09FDA-3244-557A-BD29-8B004F59F2CC + template <> inline constexpr guid guid_v{ 0x08A9CDDA,0xD929,0x5EC2,{ 0x81,0xE2,0x94,0x0B,0xAF,0xA0,0x89,0xCF } }; // 08A9CDDA-D929-5EC2-81E2-940BAFA089CF + template <> inline constexpr guid guid_v{ 0xED4E03AA,0x5CA2,0x5C02,{ 0xB7,0x83,0x26,0x2E,0x91,0x29,0x56,0x19 } }; // ED4E03AA-5CA2-5C02-B783-262E91295619 + template <> inline constexpr guid guid_v{ 0x2116788B,0xE389,0x5CC3,{ 0x9A,0x97,0xCB,0x17,0xBE,0x10,0x08,0xBD } }; // 2116788B-E389-5CC3-9A97-CB17BE1008BD + template <> inline constexpr guid guid_v{ 0xF8833779,0x65FE,0x541A,{ 0xB9,0xD6,0x1E,0x47,0x4A,0x48,0x5E,0x7A } }; // F8833779-65FE-541A-B9D6-1E474A485E7A + template <> inline constexpr guid guid_v{ 0x963F006D,0x090D,0x532C,{ 0x9E,0xAF,0x80,0x3A,0x9F,0x69,0x28,0x5B } }; // 963F006D-090D-532C-9EAF-803A9F69285B + template <> inline constexpr guid guid_v{ 0x3E526A71,0x2D1D,0x5D43,{ 0x8A,0x8E,0xA4,0x34,0xA8,0x24,0x2E,0xF0 } }; // 3E526A71-2D1D-5D43-8A8E-A434A8242EF0 + template <> inline constexpr guid guid_v{ 0x83533BF5,0xA85A,0x5D50,{ 0x8B,0xE4,0x60,0x72,0xD7,0x45,0xA3,0xBB } }; // 83533BF5-A85A-5D50-8BE4-6072D745A3BB + template <> inline constexpr guid guid_v{ 0xC4F0E950,0x3BFF,0x53D6,{ 0xA0,0xF8,0x51,0x4E,0xA3,0x70,0x5C,0x66 } }; // C4F0E950-3BFF-53D6-A0F8-514EA3705C66 + template <> inline constexpr guid guid_v{ 0xB876D918,0xF069,0x586F,{ 0x90,0xE3,0x7C,0x6F,0xA5,0xC5,0xD3,0x3A } }; // B876D918-F069-586F-90E3-7C6FA5C5D33A + template <> inline constexpr guid guid_v{ 0xA9DC4583,0xFD69,0x5C5E,{ 0xAB,0x1F,0x94,0x22,0x04,0xEA,0xE2,0xDB } }; // A9DC4583-FD69-5C5E-AB1F-942204EAE2DB + template <> inline constexpr guid guid_v{ 0x42419C77,0x6D2F,0x55A0,{ 0x9E,0x01,0xC9,0xCB,0xE7,0xB2,0xD6,0xDF } }; // 42419C77-6D2F-55A0-9E01-C9CBE7B2D6DF + template <> inline constexpr guid guid_v{ 0xBB95A033,0xC688,0x546A,{ 0x8E,0x2D,0xB1,0x26,0x42,0xE7,0xEF,0xEB } }; // BB95A033-C688-546A-8E2D-B12642E7EFEB + template <> inline constexpr guid guid_v{ 0x2AE89842,0xDBA9,0x56B2,{ 0x9F,0x27,0xEA,0xC6,0x9D,0x62,0x10,0x04 } }; // 2AE89842-DBA9-56B2-9F27-EAC69D621004 + template <> inline constexpr guid guid_v{ 0x5DE35843,0xD260,0x5A87,{ 0x99,0x5E,0xAC,0xE9,0x13,0x26,0xE1,0xC4 } }; // 5DE35843-D260-5A87-995E-ACE91326E1C4 + template <> inline constexpr guid guid_v{ 0xEF4DAF5B,0x07B7,0x5EB6,{ 0x86,0xBB,0xB7,0xFF,0x49,0xCE,0x44,0xFB } }; // EF4DAF5B-07B7-5EB6-86BB-B7FF49CE44FB + template <> inline constexpr guid guid_v{ 0xA26F705E,0x8696,0x5EB4,{ 0xB9,0xE1,0x26,0xA5,0x08,0xDE,0x1C,0xD4 } }; // A26F705E-8696-5EB4-B9E1-26A508DE1CD4 + template <> inline constexpr guid guid_v{ 0x89757226,0xACC1,0x4F58,{ 0x81,0xDF,0x47,0xF1,0xD6,0x95,0x37,0xF2 } }; // 89757226-ACC1-4F58-81DF-47F1D69537F2 + template <> inline constexpr guid guid_v{ 0x7F343202,0xE010,0x52C4,{ 0xAF,0x0C,0x04,0xA8,0xF1,0xE0,0x33,0xDA } }; // 7F343202-E010-52C4-AF0C-04A8F1E033DA + template <> inline constexpr guid guid_v{ 0x2648CA6F,0x2286,0x406F,{ 0x91,0x61,0xF0,0xC4,0xBD,0x80,0x6E,0xBF } }; // 2648CA6F-2286-406F-9161-F0C4BD806EBF + template <> inline constexpr guid guid_v{ 0x029F3393,0x28B2,0x45F8,{ 0xBB,0x16,0x61,0xE8,0x6A,0x7F,0xAE,0x6E } }; // 029F3393-28B2-45F8-BB16-61E86A7FAE6E + template <> inline constexpr guid guid_v{ 0x3A095004,0xD765,0x4384,{ 0xA3,0xD7,0x02,0x83,0xF3,0xAB,0xE6,0xAE } }; // 3A095004-D765-4384-A3D7-0283F3ABE6AE + template <> inline constexpr guid guid_v{ 0x43852618,0x8FCA,0x548E,{ 0xBB,0xF5,0x5C,0x50,0x41,0x2B,0x6A,0xA4 } }; // 43852618-8FCA-548E-BBF5-5C50412B6AA4 + template <> inline constexpr guid guid_v{ 0xF80A4783,0x7BFE,0x545E,{ 0xBB,0x60,0xA0,0xEB,0xC4,0x7B,0xD2,0xFB } }; // F80A4783-7BFE-545E-BB60-A0EBC47BD2FB + template <> inline constexpr guid guid_v{ 0x01E91982,0x41FF,0x4406,{ 0xAE,0x83,0x62,0x21,0x0F,0xF1,0x6F,0xE3 } }; // 01E91982-41FF-4406-AE83-62210FF16FE3 + template <> inline constexpr guid guid_v{ 0x9F44F055,0xB6F6,0x497F,{ 0xB1,0x27,0x1A,0x77,0x5E,0x50,0x14,0x58 } }; // 9F44F055-B6F6-497F-B127-1A775E501458 + template <> inline constexpr guid guid_v{ 0x4F164781,0xE90B,0x4658,{ 0x89,0x15,0x01,0x03,0xE0,0x8A,0x80,0x5A } }; // 4F164781-E90B-4658-8915-0103E08A805A + template <> inline constexpr guid guid_v{ 0x4AE91DC1,0xE7EB,0x4938,{ 0x85,0x11,0xAE,0x0D,0x6B,0x44,0x04,0x38 } }; // 4AE91DC1-E7EB-4938-8511-AE0D6B440438 + template <> inline constexpr guid guid_v{ 0xB453E880,0x1FE3,0x4986,{ 0xA2,0x57,0xE6,0xEC,0xE2,0x72,0x39,0x49 } }; // B453E880-1FE3-4986-A257-E6ECE2723949 + template <> inline constexpr guid guid_v{ 0xF22EC551,0x9C30,0x453A,{ 0x8B,0x49,0x3C,0x3E,0xEB,0x33,0xCB,0x61 } }; // F22EC551-9C30-453A-8B49-3C3EEB33CB61 + template <> inline constexpr guid guid_v{ 0x043F9775,0x6A1E,0x499C,{ 0x86,0xE0,0x63,0x8C,0x1A,0x86,0x4B,0x00 } }; // 043F9775-6A1E-499C-86E0-638C1A864B00 + template <> inline constexpr guid guid_v{ 0xBD9A4280,0xB91A,0x4829,{ 0x93,0x92,0xAB,0xC0,0xB6,0xBD,0xF2,0xB4 } }; // BD9A4280-B91A-4829-9392-ABC0B6BDF2B4 + template <> inline constexpr guid guid_v{ 0xE8BA96F9,0x6E85,0x4A83,{ 0xAE,0xD0,0xD7,0xCD,0xCC,0x98,0x56,0xC8 } }; // E8BA96F9-6E85-4A83-AED0-D7CDCC9856C8 + template <> inline constexpr guid guid_v{ 0xF84C0718,0x0C54,0x47AE,{ 0x92,0x2E,0x78,0x9F,0x57,0xFB,0x03,0xA0 } }; // F84C0718-0C54-47AE-922E-789F57FB03A0 + template <> inline constexpr guid guid_v{ 0x486B24E8,0xA94C,0x4090,{ 0x8F,0x48,0x09,0xF7,0x82,0xA9,0xF7,0xD5 } }; // 486B24E8-A94C-4090-8F48-09F782A9F7D5 + template <> inline constexpr guid guid_v{ 0x4876D0FF,0x9F4C,0x5F72,{ 0xAD,0xBD,0xA3,0x47,0x1B,0x06,0x3C,0x00 } }; // 4876D0FF-9F4C-5F72-ADBD-A3471B063C00 + template <> inline constexpr guid guid_v{ 0x6167BE97,0x6390,0x404C,{ 0x9C,0x19,0x44,0x53,0x11,0xC6,0xA1,0xD3 } }; // 6167BE97-6390-404C-9C19-445311C6A1D3 + template <> inline constexpr guid guid_v{ 0xB160AFD1,0x878F,0x5492,{ 0x9F,0x2C,0x33,0xDC,0x3A,0xE5,0x84,0xA3 } }; // B160AFD1-878F-5492-9F2C-33DC3AE584A3 + template <> inline constexpr guid guid_v{ 0x6F040FBD,0xE08B,0x5B97,{ 0x8F,0x61,0xDD,0x4E,0xE6,0x6B,0x17,0x33 } }; // 6F040FBD-E08B-5B97-8F61-DD4EE66B1733 + template <> inline constexpr guid guid_v{ 0x7FEE49F8,0x0AFB,0x4F51,{ 0x87,0xF0,0x6C,0x26,0x37,0x5C,0xE9,0x4F } }; // 7FEE49F8-0AFB-4F51-87F0-6C26375CE94F + template <> inline constexpr guid guid_v{ 0xFFDF6300,0x227C,0x4D2B,{ 0xB3,0x02,0xFC,0x01,0x42,0x48,0x5C,0x68 } }; // FFDF6300-227C-4D2B-B302-FC0142485C68 + template <> inline constexpr guid guid_v{ 0xB7512185,0x44A3,0x44C9,{ 0x81,0x90,0x9E,0xF6,0xDE,0x0A,0x8A,0x74 } }; // B7512185-44A3-44C9-8190-9EF6DE0A8A74 + template <> inline constexpr guid guid_v{ 0xF338EE06,0x96AF,0x4029,{ 0xB5,0x30,0x61,0xAC,0xC0,0x5B,0x7C,0xFE } }; // F338EE06-96AF-4029-B530-61ACC05B7CFE + template <> inline constexpr guid guid_v{ 0xA3A2F4CF,0x258B,0x420C,{ 0xB8,0xAB,0x8E,0xDD,0x60,0x1E,0xCF,0x50 } }; // A3A2F4CF-258B-420C-B8AB-8EDD601ECF50 + template <> inline constexpr guid guid_v{ 0x45DB8C84,0xC3A8,0x471E,{ 0x9A,0x53,0x64,0x57,0xFA,0xD8,0x7C,0x0E } }; // 45DB8C84-C3A8-471E-9A53-6457FAD87C0E + template <> inline constexpr guid guid_v{ 0x0EC0A650,0xDDC6,0x40AB,{ 0xAC,0xE3,0xEC,0x33,0x59,0xD4,0x2C,0x51 } }; // 0EC0A650-DDC6-40AB-ACE3-EC3359D42C51 + template <> inline constexpr guid guid_v{ 0x3C6BF8BD,0x04C1,0x5829,{ 0x8D,0x4E,0x70,0x52,0x17,0x55,0xB8,0xBE } }; // 3C6BF8BD-04C1-5829-8D4E-70521755B8BE + template <> inline constexpr guid guid_v{ 0x484F626E,0xD3C9,0x4111,{ 0xB3,0xF6,0x2C,0xF1,0xFA,0xA4,0x18,0xD5 } }; // 484F626E-D3C9-4111-B3F6-2CF1FAA418D5 + template <> inline constexpr guid guid_v{ 0xB4656C85,0x26F6,0x444B,{ 0xA9,0xE2,0xA2,0x3F,0x96,0x6C,0xD3,0x68 } }; // B4656C85-26F6-444B-A9E2-A23F966CD368 + template <> inline constexpr guid guid_v{ 0xBE93DB7C,0xA625,0x48EF,{ 0xAC,0xF7,0xFA,0xC1,0x04,0x83,0x26,0x71 } }; // BE93DB7C-A625-48EF-ACF7-FAC104832671 + template <> inline constexpr guid guid_v{ 0xDFB17901,0x3E0F,0x508F,{ 0xB2,0x4B,0xF2,0xBB,0x75,0x01,0x5F,0x40 } }; // DFB17901-3E0F-508F-B24B-F2BB75015F40 + template <> inline constexpr guid guid_v{ 0xD177CB01,0x9063,0x5FA5,{ 0xB5,0x96,0xB4,0x45,0xE9,0xDC,0x34,0x01 } }; // D177CB01-9063-5FA5-B596-B445E9DC3401 + template <> inline constexpr guid guid_v{ 0x58B498C2,0x7E4B,0x404C,{ 0x9F,0xC5,0x5D,0xE8,0xB4,0x0E,0xBA,0xE3 } }; // 58B498C2-7E4B-404C-9FC5-5DE8B40EBAE3 + template <> inline constexpr guid guid_v{ 0x0C2CC40D,0xEBFD,0x4E5C,{ 0xBB,0x11,0xAF,0xC2,0x9B,0x3C,0xAE,0x61 } }; // 0C2CC40D-EBFD-4E5C-BB11-AFC29B3CAE61 + template <> inline constexpr guid guid_v{ 0xD4C95C61,0x61D9,0x404B,{ 0xA3,0x28,0x06,0x6F,0x17,0x7A,0x14,0x09 } }; // D4C95C61-61D9-404B-A328-066F177A1409 + template <> inline constexpr guid guid_v{ 0x17EAE872,0x2EB9,0x4EE7,{ 0x8A,0xD0,0x31,0x27,0x53,0x7D,0x94,0x9B } }; // 17EAE872-2EB9-4EE7-8AD0-3127537D949B + template <> inline constexpr guid guid_v{ 0x853C64CC,0x0698,0x4DDA,{ 0xA6,0xDF,0x9C,0xB9,0xCC,0x4A,0xB4,0x0A } }; // 853C64CC-0698-4DDA-A6DF-9CB9CC4AB40A + template <> inline constexpr guid guid_v{ 0x2C0819F0,0xFFC6,0x4F89,{ 0xA0,0x6F,0x18,0xFA,0x10,0x79,0x29,0x33 } }; // 2C0819F0-FFC6-4F89-A06F-18FA10792933 + template <> inline constexpr guid guid_v{ 0x0412B36F,0x36E6,0x51E2,{ 0x87,0x6E,0x65,0x19,0x7C,0xC5,0x3C,0x12 } }; // 0412B36F-36E6-51E2-876E-65197CC53C12 + template <> inline constexpr guid guid_v{ 0x5E354635,0xCF6B,0x4C63,{ 0xAB,0xD8,0x10,0x25,0x2B,0x0B,0xF6,0xEC } }; // 5E354635-CF6B-4C63-ABD8-10252B0BF6EC + template <> inline constexpr guid guid_v{ 0x0D924CF9,0x2F1F,0x49C9,{ 0x80,0x42,0x4A,0x18,0x13,0xD6,0x77,0x60 } }; // 0D924CF9-2F1F-49C9-8042-4A1813D67760 + template <> inline constexpr guid guid_v{ 0x2CCE578D,0x646B,0x48C5,{ 0xB7,0xEE,0x44,0xFD,0xC4,0xC6,0xAA,0xFD } }; // 2CCE578D-646B-48C5-B7EE-44FDC4C6AAFD + template <> inline constexpr guid guid_v{ 0x5A69B648,0x4C29,0x49EC,{ 0xB2,0x8F,0xEA,0x1D,0x11,0x7B,0x66,0xF0 } }; // 5A69B648-4C29-49EC-B28F-EA1D117B66F0 + template <> inline constexpr guid guid_v{ 0x4756C993,0x6595,0x4897,{ 0xBC,0xC6,0xD5,0x37,0xEE,0x75,0x75,0x64 } }; // 4756C993-6595-4897-BCC6-D537EE757564 + template <> inline constexpr guid guid_v{ 0x00576E5F,0x49F8,0x4C05,{ 0x9E,0x07,0x24,0xFA,0xC7,0x94,0x08,0xC3 } }; // 00576E5F-49F8-4C05-9E07-24FAC79408C3 + template <> inline constexpr guid guid_v{ 0x012C1186,0xC3BA,0x46BC,{ 0xAE,0x65,0x7A,0x98,0x99,0x6C,0xBF,0xB8 } }; // 012C1186-C3BA-46BC-AE65-7A98996CBFB8 + template <> inline constexpr guid guid_v{ 0xD1AC9824,0x3F5A,0x49A2,{ 0xBC,0x7B,0x11,0x80,0xBC,0x38,0xCD,0x2B } }; // D1AC9824-3F5A-49A2-BC7B-1180BC38CD2B + template <> inline constexpr guid guid_v{ 0x10EF8712,0xFB4C,0x428A,{ 0x89,0x8B,0x27,0x65,0xE4,0x09,0xE6,0x69 } }; // 10EF8712-FB4C-428A-898B-2765E409E669 + template <> inline constexpr guid guid_v{ 0x59DA0D0B,0xD40A,0x4C71,{ 0x92,0x76,0x8A,0x27,0x2A,0x0A,0x66,0x19 } }; // 59DA0D0B-D40A-4C71-9276-8A272A0A6619 + template <> inline constexpr guid guid_v{ 0xD82CE920,0x2777,0x40FF,{ 0x9F,0x59,0xD6,0x54,0xB0,0x85,0xF1,0x2F } }; // D82CE920-2777-40FF-9F59-D654B085F12F + template <> inline constexpr guid guid_v{ 0xA67FEB55,0x2C85,0x4B28,{ 0xA0,0xFE,0x58,0xC4,0xB2,0x04,0x95,0xF5 } }; // A67FEB55-2C85-4B28-A0FE-58C4B20495F5 + template <> inline constexpr guid guid_v{ 0x9A1E013D,0x3D98,0x45F8,{ 0x89,0x20,0x8E,0x4E,0xCA,0xCA,0x5F,0x97 } }; // 9A1E013D-3D98-45F8-8920-8E4ECACA5F97 + template <> inline constexpr guid guid_v{ 0xE5A406DF,0x2B81,0x4ADD,{ 0xB2,0xFF,0x77,0xAB,0x6C,0x98,0xBA,0x19 } }; // E5A406DF-2B81-4ADD-B2FF-77AB6C98BA19 + template <> inline constexpr guid guid_v{ 0xCBAD8F50,0x7A54,0x466B,{ 0x90,0x10,0x77,0xA1,0x62,0xFC,0xA5,0xD7 } }; // CBAD8F50-7A54-466B-9010-77A162FCA5D7 + template <> inline constexpr guid guid_v{ 0x2245DCF4,0xA8E1,0x432F,{ 0x89,0x6A,0xBE,0x0D,0xD9,0xB0,0x2D,0x24 } }; // 2245DCF4-A8E1-432F-896A-BE0DD9B02D24 + template <> inline constexpr guid guid_v{ 0xF855E47E,0xABBC,0x4456,{ 0x86,0xA8,0x25,0xCF,0x2B,0x33,0x37,0x42 } }; // F855E47E-ABBC-4456-86A8-25CF2B333742 + template <> inline constexpr guid guid_v{ 0x82980A2F,0x4083,0x4DFB,{ 0xB4,0x11,0x93,0x8E,0xA0,0xF4,0xB9,0x46 } }; // 82980A2F-4083-4DFB-B411-938EA0F4B946 + template <> inline constexpr guid guid_v{ 0x79F5C6BB,0xCE0E,0x4133,{ 0xB4,0x7E,0x86,0x27,0xEA,0x72,0xF6,0x77 } }; // 79F5C6BB-CE0E-4133-B47E-8627EA72F677 + template <> inline constexpr guid guid_v{ 0x54C076B8,0xECFB,0x4944,{ 0xB9,0x28,0x74,0xFC,0x50,0x4D,0x47,0xEE } }; // 54C076B8-ECFB-4944-B928-74FC504D47EE + template <> inline constexpr guid guid_v{ 0x905AC121,0x6D27,0x4AD3,{ 0x9D,0xB5,0x64,0x67,0xF2,0xA5,0xAD,0x9D } }; // 905AC121-6D27-4AD3-9DB5-6467F2A5AD9D + template <> inline constexpr guid guid_v{ 0x71228D59,0x132D,0x4D5F,{ 0x8F,0xF9,0x2F,0x0D,0xB8,0x75,0x1C,0xED } }; // 71228D59-132D-4D5F-8FF9-2F0DB8751CED + template <> inline constexpr guid guid_v{ 0xCFC2F366,0xC3E8,0x40FD,{ 0x8C,0xC3,0x67,0xE2,0x89,0x00,0x49,0x38 } }; // CFC2F366-C3E8-40FD-8CC3-67E289004938 + template <> inline constexpr guid guid_v{ 0x29186649,0x6269,0x4E57,{ 0xA5,0xAD,0x82,0xBE,0x80,0x81,0x33,0x92 } }; // 29186649-6269-4E57-A5AD-82BE80813392 + template <> inline constexpr guid guid_v{ 0xCBF473AE,0xE9CA,0x422F,{ 0xAD,0x67,0x4C,0x3D,0x25,0xDF,0x35,0x0C } }; // CBF473AE-E9CA-422F-AD67-4C3D25DF350C + template <> inline constexpr guid guid_v{ 0x54DAEC61,0xFE4B,0x4E07,{ 0xB2,0x60,0x3A,0x4C,0xDF,0xBE,0x39,0x6E } }; // 54DAEC61-FE4B-4E07-B260-3A4CDFBE396E + template <> inline constexpr guid guid_v{ 0x9106F1B7,0xE88D,0x48B1,{ 0xBC,0x90,0x61,0x9C,0x7B,0x34,0x93,0x91 } }; // 9106F1B7-E88D-48B1-BC90-619C7B349391 + template <> inline constexpr guid guid_v{ 0xC9C5C827,0xC71C,0x46E7,{ 0x9D,0xA3,0x36,0xA1,0x93,0xB2,0x32,0xBC } }; // C9C5C827-C71C-46E7-9DA3-36A193B232BC + template <> inline constexpr guid guid_v{ 0x0A3D5A67,0x22F4,0x4392,{ 0x95,0x38,0x65,0xD0,0xBD,0x06,0x4A,0xA6 } }; // 0A3D5A67-22F4-4392-9538-65D0BD064AA6 + template <> inline constexpr guid guid_v{ 0x5FF53856,0x214A,0x4DEE,{ 0xA3,0xF9,0x61,0x6F,0x1A,0xB0,0x6F,0xFD } }; // 5FF53856-214A-4DEE-A3F9-616F1AB06FFD + template <> inline constexpr guid guid_v{ 0xA277A798,0x8870,0x453E,{ 0x8B,0xD6,0xB8,0xF5,0xD8,0xD7,0x94,0x1B } }; // A277A798-8870-453E-8BD6-B8F5D8D7941B + template <> inline constexpr guid guid_v{ 0xFBC00ACB,0x3B76,0x41F6,{ 0x80,0x91,0x30,0xEF,0xE6,0x46,0xD3,0xCF } }; // FBC00ACB-3B76-41F6-8091-30EFE646D3CF + template <> inline constexpr guid guid_v{ 0xBCD5C660,0x23D4,0x4B4C,{ 0xA2,0x2E,0xBA,0x81,0xAD,0xE0,0xC6,0x01 } }; // BCD5C660-23D4-4B4C-A22E-BA81ADE0C601 + template <> inline constexpr guid guid_v{ 0x72ED066F,0x70AA,0x40C6,{ 0x9B,0x1B,0x34,0x33,0xF7,0x45,0x9B,0x4E } }; // 72ED066F-70AA-40C6-9B1B-3433F7459B4E + template <> inline constexpr guid guid_v{ 0x848F9C7F,0xB138,0x4E11,{ 0x89,0x10,0xA2,0xA2,0xA3,0xB5,0x6D,0x83 } }; // 848F9C7F-B138-4E11-8910-A2A2A3B56D83 + template <> inline constexpr guid guid_v{ 0xF0B87AE7,0x7E1F,0x5EA5,{ 0x81,0x4D,0x6B,0x7E,0x07,0xDE,0xFC,0x2B } }; // F0B87AE7-7E1F-5EA5-814D-6B7E07DEFC2B + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAccelerometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAccelerometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAccelerometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAccelerometerShakenEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IActivitySensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IActivitySensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IActivitySensorReadingChangeReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IActivitySensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAdaptiveDimmingOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAltimeter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAltimeterReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IAltimeterReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IBarometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IBarometerDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IBarometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IBarometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ICompass; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ICompassDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ICompassReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ICompassReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IDetectedPerson; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IGyrometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IGyrometerDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IGyrometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IGyrometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHeadOrientation; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHeadPosition; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHingeAngleReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHingeAngleSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHingeAngleSensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceFeatures; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceSensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingUpdate; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IHumanPresenceSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IInclinometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IInclinometerDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IInclinometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IInclinometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ILightSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ILightSensorDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ILightSensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ILightSensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ILockOnLeaveOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IMagnetometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IMagnetometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IMagnetometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IOnlookerDetectionOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IOrientationSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IOrientationSensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IOrientationSensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IPedometer; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISensorDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IPedometerReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IPedometerReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IProximitySensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISensorDataThreshold; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IClosable; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IProximitySensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IProximitySensorReadingChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISensorQuaternion; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISensorRotationMatrix; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISimpleOrientationSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::IWakeOnApproachOptions; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Shaken(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Shaken(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReadingType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_XAxisInGForce(double*) noexcept = 0; + virtual int32_t __stdcall put_XAxisInGForce(double) noexcept = 0; + virtual int32_t __stdcall get_YAxisInGForce(double*) noexcept = 0; + virtual int32_t __stdcall put_YAxisInGForce(double) noexcept = 0; + virtual int32_t __stdcall get_ZAxisInGForce(double*) noexcept = 0; + virtual int32_t __stdcall put_ZAxisInGForce(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AccelerationX(double*) noexcept = 0; + virtual int32_t __stdcall get_AccelerationY(double*) noexcept = 0; + virtual int32_t __stdcall get_AccelerationZ(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultWithAccelerometerReadingType(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReadingAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_SubscribedActivities(void**) noexcept = 0; + virtual int32_t __stdcall get_PowerInMilliwatts(double*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedActivities(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Activity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Confidence(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSystemHistoryAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSystemHistoryWithDurationAsync(int64_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReadReports(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWhenExternalDisplayConnected(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWhenExternalDisplayConnected(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AltitudeChangeInMeters(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Hectopascals(double*) noexcept = 0; + virtual int32_t __stdcall put_Hectopascals(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_StationPressureInHectopascals(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Degrees(double*) noexcept = 0; + virtual int32_t __stdcall put_Degrees(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_HeadingMagneticNorth(double*) noexcept = 0; + virtual int32_t __stdcall get_HeadingTrueNorth(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HeadingAccuracy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Engagement(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall get_HeadOrientation(void**) noexcept = 0; + virtual int32_t __stdcall get_HeadPosition(void**) noexcept = 0; + virtual int32_t __stdcall get_PersonId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_XAxisInDegreesPerSecond(double*) noexcept = 0; + virtual int32_t __stdcall put_XAxisInDegreesPerSecond(double) noexcept = 0; + virtual int32_t __stdcall get_YAxisInDegreesPerSecond(double*) noexcept = 0; + virtual int32_t __stdcall put_YAxisInDegreesPerSecond(double) noexcept = 0; + virtual int32_t __stdcall get_ZAxisInDegreesPerSecond(double*) noexcept = 0; + virtual int32_t __stdcall put_ZAxisInDegreesPerSecond(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AngularVelocityX(double*) noexcept = 0; + virtual int32_t __stdcall get_AngularVelocityY(double*) noexcept = 0; + virtual int32_t __stdcall get_AngularVelocityZ(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RollInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_PitchInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_YawInDegrees(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AzimuthInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_AltitudeInDegrees(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AngleInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReadingAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MinReportThresholdInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall get_ReportThresholdInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall put_ReportThresholdInDegrees(double) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetRelatedToAdjacentPanelsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SensorId(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedWakeOrLockDistancesInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall get_IsWakeOnApproachSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLockOnLeaveSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAttentionAwareDimmingSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAdaptiveDimmingSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsOnlookerDetectionSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDetectableDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall get_MinDetectableDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPresenceSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsEngagementSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxDetectablePersons(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinDetectableAzimuthInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDetectableAzimuthInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_MinDetectableAltitudeInDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDetectableAltitudeInDegrees(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Initialize(void*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall ProcessReading(void*, void**) noexcept = 0; + virtual int32_t __stdcall ProcessReadingTimeoutExpired(void*) noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall Uninitialize() noexcept = 0; + virtual int32_t __stdcall Reset() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Presence(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Engagement(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DistanceInMillimeters(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OnlookerPresence(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DetectedPersons(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(void**) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(void*) noexcept = 0; + virtual int32_t __stdcall get_Presence(void**) noexcept = 0; + virtual int32_t __stdcall put_Presence(void*) noexcept = 0; + virtual int32_t __stdcall get_Engagement(void**) noexcept = 0; + virtual int32_t __stdcall put_Engagement(void*) noexcept = 0; + virtual int32_t __stdcall get_DistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall put_DistanceInMillimeters(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OnlookerPresence(void**) noexcept = 0; + virtual int32_t __stdcall put_OnlookerPresence(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SensorId(void**) noexcept = 0; + virtual int32_t __stdcall put_SensorId(void*) noexcept = 0; + virtual int32_t __stdcall get_IsWakeOnApproachEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsWakeOnApproachEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_WakeOnApproachDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall put_WakeOnApproachDistanceInMillimeters(void*) noexcept = 0; + virtual int32_t __stdcall get_IsLockOnLeaveEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsLockOnLeaveEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_LockOnLeaveDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall put_LockOnLeaveDistanceInMillimeters(void*) noexcept = 0; + virtual int32_t __stdcall get_LockOnLeaveTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_LockOnLeaveTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_IsAttentionAwareDimmingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAttentionAwareDimmingEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAdaptiveDimmingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAdaptiveDimmingEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_WakeOptions(void**) noexcept = 0; + virtual int32_t __stdcall get_DimmingOptions(void**) noexcept = 0; + virtual int32_t __stdcall get_LockOptions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsOnlookerDetectionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsOnlookerDetectionEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_OnlookerDetectionOptions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentSettingsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentSettings(void**) noexcept = 0; + virtual int32_t __stdcall UpdateSettingsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateSettings(void*) noexcept = 0; + virtual int32_t __stdcall GetSupportedFeaturesForSensorIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedFeaturesForSensorId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedLockOnLeaveTimeouts(void**) noexcept = 0; + virtual int32_t __stdcall add_SettingsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SettingsChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReadingType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PitchInDegrees(float*) noexcept = 0; + virtual int32_t __stdcall put_PitchInDegrees(float) noexcept = 0; + virtual int32_t __stdcall get_RollInDegrees(float*) noexcept = 0; + virtual int32_t __stdcall put_RollInDegrees(float) noexcept = 0; + virtual int32_t __stdcall get_YawInDegrees(float*) noexcept = 0; + virtual int32_t __stdcall put_YawInDegrees(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_PitchDegrees(float*) noexcept = 0; + virtual int32_t __stdcall get_RollDegrees(float*) noexcept = 0; + virtual int32_t __stdcall get_YawDegrees(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_YawAccuracy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultForRelativeReadings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultWithSensorReadingType(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsChromaticitySupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LuxPercentage(float*) noexcept = 0; + virtual int32_t __stdcall put_LuxPercentage(float) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteLux(float*) noexcept = 0; + virtual int32_t __stdcall put_AbsoluteLux(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Chromaticity(struct struct_Windows_Devices_Sensors_LightSensorChromaticity*) noexcept = 0; + virtual int32_t __stdcall put_Chromaticity(struct struct_Windows_Devices_Sensors_LightSensorChromaticity) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IlluminanceInLux(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Chromaticity(struct struct_Windows_Devices_Sensors_LightSensorChromaticity*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWhenExternalDisplayConnected(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWhenExternalDisplayConnected(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReportThreshold(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_XAxisMicroteslas(float*) noexcept = 0; + virtual int32_t __stdcall put_XAxisMicroteslas(float) noexcept = 0; + virtual int32_t __stdcall get_YAxisMicroteslas(float*) noexcept = 0; + virtual int32_t __stdcall put_YAxisMicroteslas(float) noexcept = 0; + virtual int32_t __stdcall get_ZAxisMicroteslas(float*) noexcept = 0; + virtual int32_t __stdcall put_ZAxisMicroteslas(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MagneticFieldX(float*) noexcept = 0; + virtual int32_t __stdcall get_MagneticFieldY(float*) noexcept = 0; + virtual int32_t __stdcall get_MagneticFieldZ(float*) noexcept = 0; + virtual int32_t __stdcall get_DirectionalAccuracy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Action(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Action(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BackOnMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_BackOnMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReadingType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_RotationMatrix(void**) noexcept = 0; + virtual int32_t __stdcall get_Quaternion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_YawAccuracy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultForRelativeReadings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultWithSensorReadingType(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_PowerInMilliwatts(double*) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReadings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StepKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CumulativeSteps(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_CumulativeStepsDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetSystemHistoryAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSystemHistoryWithDurationAsync(int64_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetReadingsFromTriggerDetails(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall get_MinDistanceInMillimeters(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateDisplayOnOffController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsDetected(bool*) noexcept = 0; + virtual int32_t __stdcall get_DistanceInMillimeters(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetReadingsFromTriggerDetails(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_SensorType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_W(float*) noexcept = 0; + virtual int32_t __stdcall get_X(float*) noexcept = 0; + virtual int32_t __stdcall get_Y(float*) noexcept = 0; + virtual int32_t __stdcall get_Z(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_M11(float*) noexcept = 0; + virtual int32_t __stdcall get_M12(float*) noexcept = 0; + virtual int32_t __stdcall get_M13(float*) noexcept = 0; + virtual int32_t __stdcall get_M21(float*) noexcept = 0; + virtual int32_t __stdcall get_M22(float*) noexcept = 0; + virtual int32_t __stdcall get_M23(float*) noexcept = 0; + virtual int32_t __stdcall get_M31(float*) noexcept = 0; + virtual int32_t __stdcall get_M32(float*) noexcept = 0; + virtual int32_t __stdcall get_M33(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentOrientation(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_OrientationChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OrientationChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReadingTransform(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadingTransform(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Orientation(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWhenExternalDisplayConnected(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWhenExternalDisplayConnected(bool) noexcept = 0; + virtual int32_t __stdcall get_DisableWhenBatterySaverOn(bool*) noexcept = 0; + virtual int32_t __stdcall put_DisableWhenBatterySaverOn(bool) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometer + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + auto Shaken(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Shaken_revoker = impl::event_revoker::remove_Shaken>; + [[nodiscard]] auto Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Shaken(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometer; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometer2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometer2; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometer3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometer3; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometer4 + { + [[nodiscard]] auto ReadingType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometer4; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometer5 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometer5; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerDataThreshold + { + [[nodiscard]] auto XAxisInGForce() const; + auto XAxisInGForce(double value) const; + [[nodiscard]] auto YAxisInGForce() const; + auto YAxisInGForce(double value) const; + [[nodiscard]] auto ZAxisInGForce() const; + auto ZAxisInGForce(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AccelerationX() const; + [[nodiscard]] auto AccelerationY() const; + [[nodiscard]] auto AccelerationZ() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerReading2; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs + { + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerStatics2 + { + auto GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IAccelerometerStatics3 + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAccelerometerStatics3; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensor + { + auto GetCurrentReadingAsync() const; + [[nodiscard]] auto SubscribedActivities() const; + [[nodiscard]] auto PowerInMilliwatts() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto SupportedActivities() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensor; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Activity() const; + [[nodiscard]] auto Confidence() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensorReading; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensorStatics + { + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails + { + auto ReadReports() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails; + }; + template + struct consume_Windows_Devices_Sensors_IAdaptiveDimmingOptions + { + [[nodiscard]] auto AllowWhenExternalDisplayConnected() const; + auto AllowWhenExternalDisplayConnected(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAdaptiveDimmingOptions; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeter + { + auto GetCurrentReading() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeter; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeter2 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeter2; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeterReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AltitudeChangeInMeters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeterReading; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeterReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeterReading2; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IAltimeterStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IAltimeterStatics; + }; + template + struct consume_Windows_Devices_Sensors_IBarometer + { + auto GetCurrentReading() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometer; + }; + template + struct consume_Windows_Devices_Sensors_IBarometer2 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometer2; + }; + template + struct consume_Windows_Devices_Sensors_IBarometer3 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometer3; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerDataThreshold + { + [[nodiscard]] auto Hectopascals() const; + auto Hectopascals(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto StationPressureInHectopascals() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerReading2; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IBarometerStatics2 + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IBarometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_ICompass + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompass; + }; + template + struct consume_Windows_Devices_Sensors_ICompass2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompass2; + }; + template + struct consume_Windows_Devices_Sensors_ICompass3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompass3; + }; + template + struct consume_Windows_Devices_Sensors_ICompass4 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompass4; + }; + template + struct consume_Windows_Devices_Sensors_ICompassDataThreshold + { + [[nodiscard]] auto Degrees() const; + auto Degrees(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_ICompassDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_ICompassReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto HeadingMagneticNorth() const; + [[nodiscard]] auto HeadingTrueNorth() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassReading; + }; + template + struct consume_Windows_Devices_Sensors_ICompassReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassReading2; + }; + template + struct consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy + { + [[nodiscard]] auto HeadingAccuracy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy; + }; + template + struct consume_Windows_Devices_Sensors_ICompassStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassStatics; + }; + template + struct consume_Windows_Devices_Sensors_ICompassStatics2 + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ICompassStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IDetectedPerson + { + [[nodiscard]] auto Engagement() const; + [[nodiscard]] auto DistanceInMillimeters() const; + [[nodiscard]] auto HeadOrientation() const; + [[nodiscard]] auto HeadPosition() const; + [[nodiscard]] auto PersonId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IDetectedPerson; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometer + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometer; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometer2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometer2; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometer3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometer3; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometer4 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometer4; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerDataThreshold + { + [[nodiscard]] auto XAxisInDegreesPerSecond() const; + auto XAxisInDegreesPerSecond(double value) const; + [[nodiscard]] auto YAxisInDegreesPerSecond() const; + auto YAxisInDegreesPerSecond(double value) const; + [[nodiscard]] auto ZAxisInDegreesPerSecond() const; + auto ZAxisInDegreesPerSecond(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AngularVelocityX() const; + [[nodiscard]] auto AngularVelocityY() const; + [[nodiscard]] auto AngularVelocityZ() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerReading2; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IGyrometerStatics2 + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IGyrometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IHeadOrientation + { + [[nodiscard]] auto RollInDegrees() const; + [[nodiscard]] auto PitchInDegrees() const; + [[nodiscard]] auto YawInDegrees() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHeadOrientation; + }; + template + struct consume_Windows_Devices_Sensors_IHeadPosition + { + [[nodiscard]] auto AzimuthInDegrees() const; + [[nodiscard]] auto AltitudeInDegrees() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHeadPosition; + }; + template + struct consume_Windows_Devices_Sensors_IHingeAngleReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AngleInDegrees() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHingeAngleReading; + }; + template + struct consume_Windows_Devices_Sensors_IHingeAngleSensor + { + auto GetCurrentReadingAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinReportThresholdInDegrees() const; + [[nodiscard]] auto ReportThresholdInDegrees() const; + auto ReportThresholdInDegrees(double value) const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHingeAngleSensor; + }; + template + struct consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IHingeAngleSensorStatics + { + auto GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHingeAngleSensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceFeatures + { + [[nodiscard]] auto SensorId() const; + [[nodiscard]] auto SupportedWakeOrLockDistancesInMillimeters() const; + [[nodiscard]] auto IsWakeOnApproachSupported() const; + [[nodiscard]] auto IsLockOnLeaveSupported() const; + [[nodiscard]] auto IsAttentionAwareDimmingSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceFeatures; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceFeatures2 + { + [[nodiscard]] auto IsAdaptiveDimmingSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceFeatures2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceFeatures3 + { + [[nodiscard]] auto IsOnlookerDetectionSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceFeatures3; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensor + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MaxDetectableDistanceInMillimeters() const; + [[nodiscard]] auto MinDetectableDistanceInMillimeters() const; + auto GetCurrentReading() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensor; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensor2 + { + [[nodiscard]] auto IsPresenceSupported() const; + [[nodiscard]] auto IsEngagementSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensor2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensor3 + { + [[nodiscard]] auto MaxDetectablePersons() const; + [[nodiscard]] auto MinDetectableAzimuthInDegrees() const; + [[nodiscard]] auto MaxDetectableAzimuthInDegrees() const; + [[nodiscard]] auto MinDetectableAltitudeInDegrees() const; + [[nodiscard]] auto MaxDetectableAltitudeInDegrees() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensor3; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorExtension + { + auto Initialize(param::hstring const& deviceInterface) const; + auto Start() const; + auto ProcessReading(winrt::Windows::Devices::Sensors::HumanPresenceSensorReading const& reading) const; + auto ProcessReadingTimeoutExpired(winrt::Windows::Devices::Sensors::HumanPresenceSensorReading const& reading) const; + auto Stop() const; + auto Uninitialize() const; + auto Reset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorExtension; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Presence() const; + [[nodiscard]] auto Engagement() const; + [[nodiscard]] auto DistanceInMillimeters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReading; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReading2 + { + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReading2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReading3 + { + [[nodiscard]] auto OnlookerPresence() const; + [[nodiscard]] auto DetectedPersons() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReading3; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingUpdate + { + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Presence() const; + auto Presence(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Engagement() const; + auto Engagement(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DistanceInMillimeters() const; + auto DistanceInMillimeters(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingUpdate; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingUpdate2 + { + [[nodiscard]] auto OnlookerPresence() const; + auto OnlookerPresence(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorReadingUpdate2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& sensorId) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSensorStatics2 + { + auto FromId(param::hstring const& sensorId) const; + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSensorStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSettings + { + [[nodiscard]] auto SensorId() const; + auto SensorId(param::hstring const& value) const; + [[nodiscard]] auto IsWakeOnApproachEnabled() const; + auto IsWakeOnApproachEnabled(bool value) const; + [[nodiscard]] auto WakeOnApproachDistanceInMillimeters() const; + auto WakeOnApproachDistanceInMillimeters(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsLockOnLeaveEnabled() const; + auto IsLockOnLeaveEnabled(bool value) const; + [[nodiscard]] auto LockOnLeaveDistanceInMillimeters() const; + auto LockOnLeaveDistanceInMillimeters(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LockOnLeaveTimeout() const; + auto LockOnLeaveTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IsAttentionAwareDimmingEnabled() const; + auto IsAttentionAwareDimmingEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSettings; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSettings2 + { + [[nodiscard]] auto IsAdaptiveDimmingEnabled() const; + auto IsAdaptiveDimmingEnabled(bool value) const; + [[nodiscard]] auto WakeOptions() const; + [[nodiscard]] auto DimmingOptions() const; + [[nodiscard]] auto LockOptions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSettings2; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSettings3 + { + [[nodiscard]] auto IsOnlookerDetectionEnabled() const; + auto IsOnlookerDetectionEnabled(bool value) const; + [[nodiscard]] auto OnlookerDetectionOptions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSettings3; + }; + template + struct consume_Windows_Devices_Sensors_IHumanPresenceSettingsStatics + { + auto GetCurrentSettingsAsync() const; + auto GetCurrentSettings() const; + auto UpdateSettingsAsync(winrt::Windows::Devices::Sensors::HumanPresenceSettings const& settings) const; + auto UpdateSettings(winrt::Windows::Devices::Sensors::HumanPresenceSettings const& settings) const; + auto GetSupportedFeaturesForSensorIdAsync(param::hstring const& sensorId) const; + auto GetSupportedFeaturesForSensorId(param::hstring const& sensorId) const; + auto GetSupportedLockOnLeaveTimeouts() const; + auto SettingsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using SettingsChanged_revoker = impl::event_revoker::remove_SettingsChanged>; + [[nodiscard]] auto SettingsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SettingsChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IHumanPresenceSettingsStatics; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometer + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometer; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometer2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + [[nodiscard]] auto ReadingType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometer2; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometer3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometer3; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometer4 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometer4; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerDataThreshold + { + [[nodiscard]] auto PitchInDegrees() const; + auto PitchInDegrees(float value) const; + [[nodiscard]] auto RollInDegrees() const; + auto RollInDegrees(float value) const; + [[nodiscard]] auto YawInDegrees() const; + auto YawInDegrees(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PitchDegrees() const; + [[nodiscard]] auto RollDegrees() const; + [[nodiscard]] auto YawDegrees() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerReading2; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy + { + [[nodiscard]] auto YawAccuracy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerStatics2 + { + auto GetDefaultForRelativeReadings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerStatics3 + { + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerStatics3; + }; + template + struct consume_Windows_Devices_Sensors_IInclinometerStatics4 + { + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IInclinometerStatics4; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensor + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensor; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensor2 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensor2; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensor3 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensor3; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensor4 + { + auto IsChromaticitySupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensor4; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorDataThreshold + { + [[nodiscard]] auto LuxPercentage() const; + auto LuxPercentage(float value) const; + [[nodiscard]] auto AbsoluteLux() const; + auto AbsoluteLux(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorDataThreshold2 + { + [[nodiscard]] auto Chromaticity() const; + auto Chromaticity(winrt::Windows::Devices::Sensors::LightSensorChromaticity const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorDataThreshold2; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IlluminanceInLux() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorReading; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorReading2; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorReading3 + { + [[nodiscard]] auto Chromaticity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorReading3; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_ILightSensorStatics2 + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILightSensorStatics2; + }; + template + struct consume_Windows_Devices_Sensors_ILockOnLeaveOptions + { + [[nodiscard]] auto AllowWhenExternalDisplayConnected() const; + auto AllowWhenExternalDisplayConnected(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ILockOnLeaveOptions; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometer + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometer; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometer2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometer2; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometer3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometer3; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometer4 + { + [[nodiscard]] auto ReportThreshold() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometer4; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerDataThreshold + { + [[nodiscard]] auto XAxisMicroteslas() const; + auto XAxisMicroteslas(float value) const; + [[nodiscard]] auto YAxisMicroteslas() const; + auto YAxisMicroteslas(float value) const; + [[nodiscard]] auto ZAxisMicroteslas() const; + auto ZAxisMicroteslas(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto MagneticFieldX() const; + [[nodiscard]] auto MagneticFieldY() const; + [[nodiscard]] auto MagneticFieldZ() const; + [[nodiscard]] auto DirectionalAccuracy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerReading2; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IMagnetometerStatics2 + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IMagnetometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IOnlookerDetectionOptions + { + [[nodiscard]] auto Action() const; + auto Action(winrt::Windows::Devices::Sensors::OnlookerDetectionAction const& value) const; + [[nodiscard]] auto BackOnMode() const; + auto BackOnMode(winrt::Windows::Devices::Sensors::OnlookerDetectionBackOnMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOnlookerDetectionOptions; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensor + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensor; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensor2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + [[nodiscard]] auto ReadingType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensor2; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensor3 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensor3; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto RotationMatrix() const; + [[nodiscard]] auto Quaternion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorReading; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorReading2 + { + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorReading2; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy + { + [[nodiscard]] auto YawAccuracy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorStatics2 + { + auto GetDefaultForRelativeReadings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorStatics3 + { + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorStatics3; + }; + template + struct consume_Windows_Devices_Sensors_IOrientationSensorStatics4 + { + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IOrientationSensorStatics4; + }; + template + struct consume_Windows_Devices_Sensors_IPedometer + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto PowerInMilliwatts() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometer; + }; + template + struct consume_Windows_Devices_Sensors_IPedometer2 + { + auto GetCurrentReadings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometer2; + }; + template + struct consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory + { + auto Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory; + }; + template + struct consume_Windows_Devices_Sensors_IPedometerReading + { + [[nodiscard]] auto StepKind() const; + [[nodiscard]] auto CumulativeSteps() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto CumulativeStepsDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometerReading; + }; + template + struct consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IPedometerStatics + { + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometerStatics; + }; + template + struct consume_Windows_Devices_Sensors_IPedometerStatics2 + { + auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IPedometerStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensor + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MaxDistanceInMillimeters() const; + [[nodiscard]] auto MinDistanceInMillimeters() const; + auto GetCurrentReading() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + auto CreateDisplayOnOffController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensor; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory + { + auto Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IsDetected() const; + [[nodiscard]] auto DistanceInMillimeters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensorReading; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensorStatics + { + auto GetDeviceSelector() const; + auto FromId(param::hstring const& sensorId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_IProximitySensorStatics2 + { + auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IProximitySensorStatics2; + }; + template + struct consume_Windows_Devices_Sensors_ISensorDataThreshold + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISensorDataThreshold; + }; + template + struct consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto SensorType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails; + }; + template + struct consume_Windows_Devices_Sensors_ISensorQuaternion + { + [[nodiscard]] auto W() const; + [[nodiscard]] auto X() const; + [[nodiscard]] auto Y() const; + [[nodiscard]] auto Z() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISensorQuaternion; + }; + template + struct consume_Windows_Devices_Sensors_ISensorRotationMatrix + { + [[nodiscard]] auto M11() const; + [[nodiscard]] auto M12() const; + [[nodiscard]] auto M13() const; + [[nodiscard]] auto M21() const; + [[nodiscard]] auto M22() const; + [[nodiscard]] auto M23() const; + [[nodiscard]] auto M31() const; + [[nodiscard]] auto M32() const; + [[nodiscard]] auto M33() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISensorRotationMatrix; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensor + { + auto GetCurrentOrientation() const; + auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensor; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensor2 + { + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensor2; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId + { + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Orientation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics; + }; + template + struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2 + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2; + }; + template + struct consume_Windows_Devices_Sensors_IWakeOnApproachOptions + { + [[nodiscard]] auto AllowWhenExternalDisplayConnected() const; + auto AllowWhenExternalDisplayConnected(bool value) const; + [[nodiscard]] auto DisableWhenBatterySaverOn() const; + auto DisableWhenBatterySaverOn(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_IWakeOnApproachOptions; + }; + struct struct_Windows_Devices_Sensors_LightSensorChromaticity + { + double X; + double Y; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Sensors_LightSensorChromaticity; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.1.h new file mode 100644 index 0000000000000000000000000000000000000000..044161d4764a16ca9d08a5a544017f29e0f933b5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.1.h @@ -0,0 +1,1140 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_1_H +#define WINRT_Windows_Devices_Sensors_1_H +#include "winrt/impl/Windows.Devices.Sensors.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors +{ + struct WINRT_IMPL_EMPTY_BASES IAccelerometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometer(std::nullptr_t = nullptr) noexcept {} + IAccelerometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometer2(std::nullptr_t = nullptr) noexcept {} + IAccelerometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometer3(std::nullptr_t = nullptr) noexcept {} + IAccelerometer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometer4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometer4(std::nullptr_t = nullptr) noexcept {} + IAccelerometer4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometer5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometer5(std::nullptr_t = nullptr) noexcept {} + IAccelerometer5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerDataThreshold(std::nullptr_t = nullptr) noexcept {} + IAccelerometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerDeviceId(std::nullptr_t = nullptr) noexcept {} + IAccelerometerDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerReading(std::nullptr_t = nullptr) noexcept {} + IAccelerometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerReading2(std::nullptr_t = nullptr) noexcept {} + IAccelerometerReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAccelerometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerShakenEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerShakenEventArgs(std::nullptr_t = nullptr) noexcept {} + IAccelerometerShakenEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerStatics(std::nullptr_t = nullptr) noexcept {} + IAccelerometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerStatics2(std::nullptr_t = nullptr) noexcept {} + IAccelerometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAccelerometerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAccelerometerStatics3(std::nullptr_t = nullptr) noexcept {} + IAccelerometerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensor(std::nullptr_t = nullptr) noexcept {} + IActivitySensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensorReading(std::nullptr_t = nullptr) noexcept {} + IActivitySensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensorReadingChangeReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensorReadingChangeReport(std::nullptr_t = nullptr) noexcept {} + IActivitySensorReadingChangeReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IActivitySensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensorStatics(std::nullptr_t = nullptr) noexcept {} + IActivitySensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IActivitySensorTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IActivitySensorTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IActivitySensorTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveDimmingOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveDimmingOptions(std::nullptr_t = nullptr) noexcept {} + IAdaptiveDimmingOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeter(std::nullptr_t = nullptr) noexcept {} + IAltimeter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeter2(std::nullptr_t = nullptr) noexcept {} + IAltimeter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeterReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeterReading(std::nullptr_t = nullptr) noexcept {} + IAltimeterReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeterReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeterReading2(std::nullptr_t = nullptr) noexcept {} + IAltimeterReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeterReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeterReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAltimeterReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAltimeterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAltimeterStatics(std::nullptr_t = nullptr) noexcept {} + IAltimeterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometer(std::nullptr_t = nullptr) noexcept {} + IBarometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometer2(std::nullptr_t = nullptr) noexcept {} + IBarometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometer3(std::nullptr_t = nullptr) noexcept {} + IBarometer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerDataThreshold(std::nullptr_t = nullptr) noexcept {} + IBarometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerReading(std::nullptr_t = nullptr) noexcept {} + IBarometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerReading2(std::nullptr_t = nullptr) noexcept {} + IBarometerReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBarometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerStatics(std::nullptr_t = nullptr) noexcept {} + IBarometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBarometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBarometerStatics2(std::nullptr_t = nullptr) noexcept {} + IBarometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompass : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompass(std::nullptr_t = nullptr) noexcept {} + ICompass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompass2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompass2(std::nullptr_t = nullptr) noexcept {} + ICompass2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompass3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompass3(std::nullptr_t = nullptr) noexcept {} + ICompass3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompass4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompass4(std::nullptr_t = nullptr) noexcept {} + ICompass4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassDataThreshold(std::nullptr_t = nullptr) noexcept {} + ICompassDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassDeviceId(std::nullptr_t = nullptr) noexcept {} + ICompassDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassReading(std::nullptr_t = nullptr) noexcept {} + ICompassReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassReading2(std::nullptr_t = nullptr) noexcept {} + ICompassReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICompassReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassReadingHeadingAccuracy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassReadingHeadingAccuracy(std::nullptr_t = nullptr) noexcept {} + ICompassReadingHeadingAccuracy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassStatics(std::nullptr_t = nullptr) noexcept {} + ICompassStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompassStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompassStatics2(std::nullptr_t = nullptr) noexcept {} + ICompassStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDetectedPerson : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDetectedPerson(std::nullptr_t = nullptr) noexcept {} + IDetectedPerson(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometer(std::nullptr_t = nullptr) noexcept {} + IGyrometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometer2(std::nullptr_t = nullptr) noexcept {} + IGyrometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometer3(std::nullptr_t = nullptr) noexcept {} + IGyrometer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometer4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometer4(std::nullptr_t = nullptr) noexcept {} + IGyrometer4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerDataThreshold(std::nullptr_t = nullptr) noexcept {} + IGyrometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerDeviceId(std::nullptr_t = nullptr) noexcept {} + IGyrometerDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerReading(std::nullptr_t = nullptr) noexcept {} + IGyrometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerReading2(std::nullptr_t = nullptr) noexcept {} + IGyrometerReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGyrometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerStatics(std::nullptr_t = nullptr) noexcept {} + IGyrometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGyrometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGyrometerStatics2(std::nullptr_t = nullptr) noexcept {} + IGyrometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHeadOrientation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHeadOrientation(std::nullptr_t = nullptr) noexcept {} + IHeadOrientation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHeadPosition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHeadPosition(std::nullptr_t = nullptr) noexcept {} + IHeadPosition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHingeAngleReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHingeAngleReading(std::nullptr_t = nullptr) noexcept {} + IHingeAngleReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHingeAngleSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHingeAngleSensor(std::nullptr_t = nullptr) noexcept {} + IHingeAngleSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHingeAngleSensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHingeAngleSensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHingeAngleSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHingeAngleSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHingeAngleSensorStatics(std::nullptr_t = nullptr) noexcept {} + IHingeAngleSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceFeatures : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceFeatures(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceFeatures(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceFeatures2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceFeatures2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceFeatures2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceFeatures3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceFeatures3(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceFeatures3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensor(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensor2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensor3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensor3(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensor3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorExtension : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorExtension(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReading(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReading2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReading3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReading3(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReading3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReadingUpdate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReadingUpdate(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReadingUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorReadingUpdate2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorReadingUpdate2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorReadingUpdate2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorStatics(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSensorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSensorStatics2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSensorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSettings(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSettings2(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSettings3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSettings3(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSettings3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHumanPresenceSettingsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHumanPresenceSettingsStatics(std::nullptr_t = nullptr) noexcept {} + IHumanPresenceSettingsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometer(std::nullptr_t = nullptr) noexcept {} + IInclinometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometer2(std::nullptr_t = nullptr) noexcept {} + IInclinometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometer3(std::nullptr_t = nullptr) noexcept {} + IInclinometer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometer4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometer4(std::nullptr_t = nullptr) noexcept {} + IInclinometer4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerDataThreshold(std::nullptr_t = nullptr) noexcept {} + IInclinometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerDeviceId(std::nullptr_t = nullptr) noexcept {} + IInclinometerDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerReading(std::nullptr_t = nullptr) noexcept {} + IInclinometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerReading2(std::nullptr_t = nullptr) noexcept {} + IInclinometerReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IInclinometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerReadingYawAccuracy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerReadingYawAccuracy(std::nullptr_t = nullptr) noexcept {} + IInclinometerReadingYawAccuracy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerStatics(std::nullptr_t = nullptr) noexcept {} + IInclinometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerStatics2(std::nullptr_t = nullptr) noexcept {} + IInclinometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerStatics3(std::nullptr_t = nullptr) noexcept {} + IInclinometerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInclinometerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInclinometerStatics4(std::nullptr_t = nullptr) noexcept {} + IInclinometerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensor(std::nullptr_t = nullptr) noexcept {} + ILightSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensor2(std::nullptr_t = nullptr) noexcept {} + ILightSensor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensor3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensor3(std::nullptr_t = nullptr) noexcept {} + ILightSensor3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensor4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensor4(std::nullptr_t = nullptr) noexcept {} + ILightSensor4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorDataThreshold(std::nullptr_t = nullptr) noexcept {} + ILightSensorDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorDataThreshold2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorDataThreshold2(std::nullptr_t = nullptr) noexcept {} + ILightSensorDataThreshold2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorDeviceId(std::nullptr_t = nullptr) noexcept {} + ILightSensorDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorReading(std::nullptr_t = nullptr) noexcept {} + ILightSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorReading2(std::nullptr_t = nullptr) noexcept {} + ILightSensorReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorReading3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorReading3(std::nullptr_t = nullptr) noexcept {} + ILightSensorReading3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILightSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorStatics(std::nullptr_t = nullptr) noexcept {} + ILightSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILightSensorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILightSensorStatics2(std::nullptr_t = nullptr) noexcept {} + ILightSensorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILockOnLeaveOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILockOnLeaveOptions(std::nullptr_t = nullptr) noexcept {} + ILockOnLeaveOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometer(std::nullptr_t = nullptr) noexcept {} + IMagnetometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometer2(std::nullptr_t = nullptr) noexcept {} + IMagnetometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometer3(std::nullptr_t = nullptr) noexcept {} + IMagnetometer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometer4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometer4(std::nullptr_t = nullptr) noexcept {} + IMagnetometer4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerDataThreshold(std::nullptr_t = nullptr) noexcept {} + IMagnetometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerDeviceId(std::nullptr_t = nullptr) noexcept {} + IMagnetometerDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerReading(std::nullptr_t = nullptr) noexcept {} + IMagnetometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerReading2(std::nullptr_t = nullptr) noexcept {} + IMagnetometerReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMagnetometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerStatics(std::nullptr_t = nullptr) noexcept {} + IMagnetometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMagnetometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMagnetometerStatics2(std::nullptr_t = nullptr) noexcept {} + IMagnetometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlookerDetectionOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlookerDetectionOptions(std::nullptr_t = nullptr) noexcept {} + IOnlookerDetectionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensor(std::nullptr_t = nullptr) noexcept {} + IOrientationSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensor2(std::nullptr_t = nullptr) noexcept {} + IOrientationSensor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensor3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensor3(std::nullptr_t = nullptr) noexcept {} + IOrientationSensor3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorDeviceId(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorReading(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorReading2(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorReadingYawAccuracy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorReadingYawAccuracy(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorReadingYawAccuracy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorStatics(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorStatics2(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorStatics3(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOrientationSensorStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOrientationSensorStatics4(std::nullptr_t = nullptr) noexcept {} + IOrientationSensorStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometer(std::nullptr_t = nullptr) noexcept {} + IPedometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometer2(std::nullptr_t = nullptr) noexcept {} + IPedometer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometerDataThresholdFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometerDataThresholdFactory(std::nullptr_t = nullptr) noexcept {} + IPedometerDataThresholdFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometerReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometerReading(std::nullptr_t = nullptr) noexcept {} + IPedometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometerReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometerReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPedometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometerStatics(std::nullptr_t = nullptr) noexcept {} + IPedometerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPedometerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPedometerStatics2(std::nullptr_t = nullptr) noexcept {} + IPedometerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensor(std::nullptr_t = nullptr) noexcept {} + IProximitySensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensorDataThresholdFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensorDataThresholdFactory(std::nullptr_t = nullptr) noexcept {} + IProximitySensorDataThresholdFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensorReading(std::nullptr_t = nullptr) noexcept {} + IProximitySensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IProximitySensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensorStatics(std::nullptr_t = nullptr) noexcept {} + IProximitySensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximitySensorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximitySensorStatics2(std::nullptr_t = nullptr) noexcept {} + IProximitySensorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISensorDataThreshold : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISensorDataThreshold(std::nullptr_t = nullptr) noexcept {} + ISensorDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISensorDataThresholdTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISensorDataThresholdTriggerDetails(std::nullptr_t = nullptr) noexcept {} + ISensorDataThresholdTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISensorQuaternion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISensorQuaternion(std::nullptr_t = nullptr) noexcept {} + ISensorQuaternion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISensorRotationMatrix : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISensorRotationMatrix(std::nullptr_t = nullptr) noexcept {} + ISensorRotationMatrix(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensor(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensor2(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensorDeviceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensorDeviceId(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensorDeviceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensorOrientationChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensorOrientationChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensorOrientationChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensorStatics(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISimpleOrientationSensorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISimpleOrientationSensorStatics2(std::nullptr_t = nullptr) noexcept {} + ISimpleOrientationSensorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWakeOnApproachOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWakeOnApproachOptions(std::nullptr_t = nullptr) noexcept {} + IWakeOnApproachOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b8a3b7bb67a82da96aadcc99ecc197d8bfbc7fc0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.2.h @@ -0,0 +1,475 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_2_H +#define WINRT_Windows_Devices_Sensors_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Sensors.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors +{ + struct LightSensorChromaticity + { + double X {}; + double Y {}; + }; + inline bool operator==(LightSensorChromaticity const& left, LightSensorChromaticity const& right) noexcept + { + return left.X == right.X && left.Y == right.Y; + } + inline bool operator!=(LightSensorChromaticity const& left, LightSensorChromaticity const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES Accelerometer : winrt::Windows::Devices::Sensors::IAccelerometer, + impl::require + { + Accelerometer(std::nullptr_t) noexcept {} + Accelerometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAccelerometer(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType); + }; + struct WINRT_IMPL_EMPTY_BASES AccelerometerDataThreshold : winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold + { + AccelerometerDataThreshold(std::nullptr_t) noexcept {} + AccelerometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AccelerometerReading : winrt::Windows::Devices::Sensors::IAccelerometerReading, + impl::require + { + AccelerometerReading(std::nullptr_t) noexcept {} + AccelerometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAccelerometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AccelerometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IAccelerometerReadingChangedEventArgs + { + AccelerometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + AccelerometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAccelerometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AccelerometerShakenEventArgs : winrt::Windows::Devices::Sensors::IAccelerometerShakenEventArgs + { + AccelerometerShakenEventArgs(std::nullptr_t) noexcept {} + AccelerometerShakenEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAccelerometerShakenEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ActivitySensor : winrt::Windows::Devices::Sensors::IActivitySensor + { + ActivitySensor(std::nullptr_t) noexcept {} + ActivitySensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IActivitySensor(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime); + static auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration); + }; + struct WINRT_IMPL_EMPTY_BASES ActivitySensorReading : winrt::Windows::Devices::Sensors::IActivitySensorReading + { + ActivitySensorReading(std::nullptr_t) noexcept {} + ActivitySensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IActivitySensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ActivitySensorReadingChangeReport : winrt::Windows::Devices::Sensors::IActivitySensorReadingChangeReport + { + ActivitySensorReadingChangeReport(std::nullptr_t) noexcept {} + ActivitySensorReadingChangeReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IActivitySensorReadingChangeReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ActivitySensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IActivitySensorReadingChangedEventArgs + { + ActivitySensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + ActivitySensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IActivitySensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ActivitySensorTriggerDetails : winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails + { + ActivitySensorTriggerDetails(std::nullptr_t) noexcept {} + ActivitySensorTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveDimmingOptions : winrt::Windows::Devices::Sensors::IAdaptiveDimmingOptions + { + AdaptiveDimmingOptions(std::nullptr_t) noexcept {} + AdaptiveDimmingOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAdaptiveDimmingOptions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Altimeter : winrt::Windows::Devices::Sensors::IAltimeter, + impl::require + { + Altimeter(std::nullptr_t) noexcept {} + Altimeter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAltimeter(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES AltimeterReading : winrt::Windows::Devices::Sensors::IAltimeterReading, + impl::require + { + AltimeterReading(std::nullptr_t) noexcept {} + AltimeterReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAltimeterReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AltimeterReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IAltimeterReadingChangedEventArgs + { + AltimeterReadingChangedEventArgs(std::nullptr_t) noexcept {} + AltimeterReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IAltimeterReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Barometer : winrt::Windows::Devices::Sensors::IBarometer, + impl::require + { + Barometer(std::nullptr_t) noexcept {} + Barometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IBarometer(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES BarometerDataThreshold : winrt::Windows::Devices::Sensors::IBarometerDataThreshold + { + BarometerDataThreshold(std::nullptr_t) noexcept {} + BarometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IBarometerDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarometerReading : winrt::Windows::Devices::Sensors::IBarometerReading, + impl::require + { + BarometerReading(std::nullptr_t) noexcept {} + BarometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IBarometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BarometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IBarometerReadingChangedEventArgs + { + BarometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + BarometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IBarometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Compass : winrt::Windows::Devices::Sensors::ICompass, + impl::require + { + Compass(std::nullptr_t) noexcept {} + Compass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ICompass(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES CompassDataThreshold : winrt::Windows::Devices::Sensors::ICompassDataThreshold + { + CompassDataThreshold(std::nullptr_t) noexcept {} + CompassDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ICompassDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CompassReading : winrt::Windows::Devices::Sensors::ICompassReading, + impl::require + { + CompassReading(std::nullptr_t) noexcept {} + CompassReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ICompassReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CompassReadingChangedEventArgs : winrt::Windows::Devices::Sensors::ICompassReadingChangedEventArgs + { + CompassReadingChangedEventArgs(std::nullptr_t) noexcept {} + CompassReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ICompassReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DetectedPerson : winrt::Windows::Devices::Sensors::IDetectedPerson + { + DetectedPerson(std::nullptr_t) noexcept {} + DetectedPerson(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IDetectedPerson(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Gyrometer : winrt::Windows::Devices::Sensors::IGyrometer, + impl::require + { + Gyrometer(std::nullptr_t) noexcept {} + Gyrometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IGyrometer(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES GyrometerDataThreshold : winrt::Windows::Devices::Sensors::IGyrometerDataThreshold + { + GyrometerDataThreshold(std::nullptr_t) noexcept {} + GyrometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IGyrometerDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GyrometerReading : winrt::Windows::Devices::Sensors::IGyrometerReading, + impl::require + { + GyrometerReading(std::nullptr_t) noexcept {} + GyrometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IGyrometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GyrometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IGyrometerReadingChangedEventArgs + { + GyrometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + GyrometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IGyrometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HeadOrientation : winrt::Windows::Devices::Sensors::IHeadOrientation + { + HeadOrientation(std::nullptr_t) noexcept {} + HeadOrientation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHeadOrientation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HeadPosition : winrt::Windows::Devices::Sensors::IHeadPosition + { + HeadPosition(std::nullptr_t) noexcept {} + HeadPosition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHeadPosition(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HingeAngleReading : winrt::Windows::Devices::Sensors::IHingeAngleReading + { + HingeAngleReading(std::nullptr_t) noexcept {} + HingeAngleReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHingeAngleReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HingeAngleSensor : winrt::Windows::Devices::Sensors::IHingeAngleSensor + { + HingeAngleSensor(std::nullptr_t) noexcept {} + HingeAngleSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHingeAngleSensor(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDefaultAsync(); + static auto GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES HingeAngleSensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IHingeAngleSensorReadingChangedEventArgs + { + HingeAngleSensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + HingeAngleSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHingeAngleSensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceFeatures : winrt::Windows::Devices::Sensors::IHumanPresenceFeatures, + impl::require + { + HumanPresenceFeatures(std::nullptr_t) noexcept {} + HumanPresenceFeatures(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceFeatures(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceSensor : winrt::Windows::Devices::Sensors::IHumanPresenceSensor, + impl::require + { + HumanPresenceSensor(std::nullptr_t) noexcept {} + HumanPresenceSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceSensor(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& sensorId); + static auto GetDefaultAsync(); + static auto FromId(param::hstring const& sensorId); + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceSensorReading : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReading, + impl::require + { + HumanPresenceSensorReading(std::nullptr_t) noexcept {} + HumanPresenceSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceSensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingChangedEventArgs + { + HumanPresenceSensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + HumanPresenceSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceSensorReadingUpdate : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingUpdate, + impl::require + { + HumanPresenceSensorReadingUpdate(std::nullptr_t) noexcept {} + HumanPresenceSensorReadingUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceSensorReadingUpdate(ptr, take_ownership_from_abi) {} + HumanPresenceSensorReadingUpdate(); + }; + struct WINRT_IMPL_EMPTY_BASES HumanPresenceSettings : winrt::Windows::Devices::Sensors::IHumanPresenceSettings, + impl::require + { + HumanPresenceSettings(std::nullptr_t) noexcept {} + HumanPresenceSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IHumanPresenceSettings(ptr, take_ownership_from_abi) {} + static auto GetCurrentSettingsAsync(); + static auto GetCurrentSettings(); + static auto UpdateSettingsAsync(winrt::Windows::Devices::Sensors::HumanPresenceSettings const& settings); + static auto UpdateSettings(winrt::Windows::Devices::Sensors::HumanPresenceSettings const& settings); + static auto GetSupportedFeaturesForSensorIdAsync(param::hstring const& sensorId); + static auto GetSupportedFeaturesForSensorId(param::hstring const& sensorId); + static auto GetSupportedLockOnLeaveTimeouts(); + static auto SettingsChanged(winrt::Windows::Foundation::EventHandler const& handler); + using SettingsChanged_revoker = impl::factory_event_revoker::remove_SettingsChanged>; + [[nodiscard]] static auto SettingsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto SettingsChanged(winrt::event_token const& token); + }; + struct WINRT_IMPL_EMPTY_BASES Inclinometer : winrt::Windows::Devices::Sensors::IInclinometer, + impl::require + { + Inclinometer(std::nullptr_t) noexcept {} + Inclinometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IInclinometer(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDefaultForRelativeReadings(); + static auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype); + static auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES InclinometerDataThreshold : winrt::Windows::Devices::Sensors::IInclinometerDataThreshold + { + InclinometerDataThreshold(std::nullptr_t) noexcept {} + InclinometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IInclinometerDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES InclinometerReading : winrt::Windows::Devices::Sensors::IInclinometerReading, + impl::require + { + InclinometerReading(std::nullptr_t) noexcept {} + InclinometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IInclinometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES InclinometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IInclinometerReadingChangedEventArgs + { + InclinometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + InclinometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IInclinometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LightSensor : winrt::Windows::Devices::Sensors::ILightSensor, + impl::require + { + LightSensor(std::nullptr_t) noexcept {} + LightSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ILightSensor(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES LightSensorDataThreshold : winrt::Windows::Devices::Sensors::ILightSensorDataThreshold, + impl::require + { + LightSensorDataThreshold(std::nullptr_t) noexcept {} + LightSensorDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ILightSensorDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LightSensorReading : winrt::Windows::Devices::Sensors::ILightSensorReading, + impl::require + { + LightSensorReading(std::nullptr_t) noexcept {} + LightSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ILightSensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LightSensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::ILightSensorReadingChangedEventArgs + { + LightSensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + LightSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ILightSensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LockOnLeaveOptions : winrt::Windows::Devices::Sensors::ILockOnLeaveOptions + { + LockOnLeaveOptions(std::nullptr_t) noexcept {} + LockOnLeaveOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ILockOnLeaveOptions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Magnetometer : winrt::Windows::Devices::Sensors::IMagnetometer, + impl::require + { + Magnetometer(std::nullptr_t) noexcept {} + Magnetometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IMagnetometer(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES MagnetometerDataThreshold : winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold + { + MagnetometerDataThreshold(std::nullptr_t) noexcept {} + MagnetometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagnetometerReading : winrt::Windows::Devices::Sensors::IMagnetometerReading, + impl::require + { + MagnetometerReading(std::nullptr_t) noexcept {} + MagnetometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IMagnetometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MagnetometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IMagnetometerReadingChangedEventArgs + { + MagnetometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + MagnetometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IMagnetometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OnlookerDetectionOptions : winrt::Windows::Devices::Sensors::IOnlookerDetectionOptions + { + OnlookerDetectionOptions(std::nullptr_t) noexcept {} + OnlookerDetectionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IOnlookerDetectionOptions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OrientationSensor : winrt::Windows::Devices::Sensors::IOrientationSensor, + impl::require + { + OrientationSensor(std::nullptr_t) noexcept {} + OrientationSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IOrientationSensor(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDefaultForRelativeReadings(); + static auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype); + static auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal); + static auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType); + static auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES OrientationSensorReading : winrt::Windows::Devices::Sensors::IOrientationSensorReading, + impl::require + { + OrientationSensorReading(std::nullptr_t) noexcept {} + OrientationSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IOrientationSensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OrientationSensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IOrientationSensorReadingChangedEventArgs + { + OrientationSensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + OrientationSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IOrientationSensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Pedometer : winrt::Windows::Devices::Sensors::IPedometer, + impl::require + { + Pedometer(std::nullptr_t) noexcept {} + Pedometer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IPedometer(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + static auto GetDeviceSelector(); + static auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime); + static auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration); + static auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails); + }; + struct WINRT_IMPL_EMPTY_BASES PedometerDataThreshold : winrt::Windows::Devices::Sensors::ISensorDataThreshold + { + PedometerDataThreshold(std::nullptr_t) noexcept {} + PedometerDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISensorDataThreshold(ptr, take_ownership_from_abi) {} + PedometerDataThreshold(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal); + }; + struct WINRT_IMPL_EMPTY_BASES PedometerReading : winrt::Windows::Devices::Sensors::IPedometerReading + { + PedometerReading(std::nullptr_t) noexcept {} + PedometerReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IPedometerReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PedometerReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IPedometerReadingChangedEventArgs + { + PedometerReadingChangedEventArgs(std::nullptr_t) noexcept {} + PedometerReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IPedometerReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProximitySensor : winrt::Windows::Devices::Sensors::IProximitySensor + { + ProximitySensor(std::nullptr_t) noexcept {} + ProximitySensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IProximitySensor(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromId(param::hstring const& sensorId); + static auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails); + }; + struct WINRT_IMPL_EMPTY_BASES ProximitySensorDataThreshold : winrt::Windows::Devices::Sensors::ISensorDataThreshold + { + ProximitySensorDataThreshold(std::nullptr_t) noexcept {} + ProximitySensorDataThreshold(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISensorDataThreshold(ptr, take_ownership_from_abi) {} + explicit ProximitySensorDataThreshold(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor); + }; + struct WINRT_IMPL_EMPTY_BASES ProximitySensorDisplayOnOffController : winrt::Windows::Foundation::IClosable + { + ProximitySensorDisplayOnOffController(std::nullptr_t) noexcept {} + ProximitySensorDisplayOnOffController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IClosable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProximitySensorReading : winrt::Windows::Devices::Sensors::IProximitySensorReading + { + ProximitySensorReading(std::nullptr_t) noexcept {} + ProximitySensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IProximitySensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProximitySensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::IProximitySensorReadingChangedEventArgs + { + ProximitySensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + ProximitySensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IProximitySensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SensorDataThresholdTriggerDetails : winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails + { + SensorDataThresholdTriggerDetails(std::nullptr_t) noexcept {} + SensorDataThresholdTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SensorQuaternion : winrt::Windows::Devices::Sensors::ISensorQuaternion + { + SensorQuaternion(std::nullptr_t) noexcept {} + SensorQuaternion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISensorQuaternion(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SensorRotationMatrix : winrt::Windows::Devices::Sensors::ISensorRotationMatrix + { + SensorRotationMatrix(std::nullptr_t) noexcept {} + SensorRotationMatrix(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISensorRotationMatrix(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SimpleOrientationSensor : winrt::Windows::Devices::Sensors::ISimpleOrientationSensor, + impl::require + { + SimpleOrientationSensor(std::nullptr_t) noexcept {} + SimpleOrientationSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISimpleOrientationSensor(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES SimpleOrientationSensorOrientationChangedEventArgs : winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs + { + SimpleOrientationSensorOrientationChangedEventArgs(std::nullptr_t) noexcept {} + SimpleOrientationSensorOrientationChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WakeOnApproachOptions : winrt::Windows::Devices::Sensors::IWakeOnApproachOptions + { + WakeOnApproachOptions(std::nullptr_t) noexcept {} + WakeOnApproachOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::IWakeOnApproachOptions(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d13d05352692af98913663a5078779ab93acf240 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.0.h @@ -0,0 +1,174 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_Custom_0_H +#define WINRT_Windows_Devices_Sensors_Custom_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors::Custom +{ + struct ICustomSensor; + struct ICustomSensor2; + struct ICustomSensorReading; + struct ICustomSensorReading2; + struct ICustomSensorReadingChangedEventArgs; + struct ICustomSensorStatics; + struct CustomSensor; + struct CustomSensorReading; + struct CustomSensorReadingChangedEventArgs; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.CustomSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.CustomSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.CustomSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensor2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensorReading"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensorReading2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensorReadingChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sensors.Custom.ICustomSensorStatics"; + template <> inline constexpr guid guid_v{ 0xA136F9AD,0x4034,0x4B4D,{ 0x99,0xDD,0x53,0x1A,0xAC,0x64,0x9C,0x09 } }; // A136F9AD-4034-4B4D-99DD-531AAC649C09 + template <> inline constexpr guid guid_v{ 0x20DB3111,0xEC58,0x4D9F,{ 0xBF,0xBD,0xE7,0x78,0x25,0x08,0x85,0x10 } }; // 20DB3111-EC58-4D9F-BFBD-E77825088510 + template <> inline constexpr guid guid_v{ 0x64004F4D,0x446A,0x4366,{ 0xA8,0x7A,0x5F,0x96,0x32,0x68,0xEC,0x53 } }; // 64004F4D-446A-4366-A87A-5F963268EC53 + template <> inline constexpr guid guid_v{ 0x223C98EA,0xBF73,0x4992,{ 0x9A,0x48,0xD3,0xC8,0x97,0x59,0x4C,0xCB } }; // 223C98EA-BF73-4992-9A48-D3C897594CCB + template <> inline constexpr guid guid_v{ 0x6B202023,0xCFFD,0x4CC1,{ 0x8F,0xF0,0xE2,0x18,0x23,0xD7,0x6F,0xCC } }; // 6B202023-CFFD-4CC1-8FF0-E21823D76FCC + template <> inline constexpr guid guid_v{ 0x992052CF,0xF422,0x4C7D,{ 0x83,0x6B,0xE7,0xDC,0x74,0xA7,0x12,0x4B } }; // 992052CF-F422-4C7D-836B-E7DC74A7124B + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::Custom::ICustomSensor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sensors::Custom::ICustomSensorReadingChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(void**) noexcept = 0; + virtual int32_t __stdcall get_MinimumReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReportInterval(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportInterval(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall add_ReadingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReadingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ReportLatency(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReportLatency(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxBatchSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PerformanceCount(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reading(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensor + { + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + [[nodiscard]] auto DeviceId() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensor; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensor2 + { + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensor2; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReading + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensorReading; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2 + { + [[nodiscard]] auto PerformanceCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs + { + [[nodiscard]] auto Reading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs; + }; + template + struct consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics + { + auto GetDeviceSelector(winrt::guid const& interfaceId) const; + auto FromIdAsync(param::hstring const& sensorId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.1.h new file mode 100644 index 0000000000000000000000000000000000000000..d99b4659adcb608b74e67d3db24e78cf6e71aeb6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_Custom_1_H +#define WINRT_Windows_Devices_Sensors_Custom_1_H +#include "winrt/impl/Windows.Devices.Sensors.Custom.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors::Custom +{ + struct WINRT_IMPL_EMPTY_BASES ICustomSensor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensor(std::nullptr_t = nullptr) noexcept {} + ICustomSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomSensor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensor2(std::nullptr_t = nullptr) noexcept {} + ICustomSensor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomSensorReading : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensorReading(std::nullptr_t = nullptr) noexcept {} + ICustomSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomSensorReading2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensorReading2(std::nullptr_t = nullptr) noexcept {} + ICustomSensorReading2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomSensorReadingChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensorReadingChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICustomSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICustomSensorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomSensorStatics(std::nullptr_t = nullptr) noexcept {} + ICustomSensorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.2.h new file mode 100644 index 0000000000000000000000000000000000000000..43a61bb7d6b450a5751dc62078dcc8f278cb097d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sensors.custom.2.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sensors_Custom_2_H +#define WINRT_Windows_Devices_Sensors_Custom_2_H +#include "winrt/impl/Windows.Devices.Sensors.Custom.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sensors::Custom +{ + struct WINRT_IMPL_EMPTY_BASES CustomSensor : winrt::Windows::Devices::Sensors::Custom::ICustomSensor, + impl::require + { + CustomSensor(std::nullptr_t) noexcept {} + CustomSensor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::Custom::ICustomSensor(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(winrt::guid const& interfaceId); + static auto FromIdAsync(param::hstring const& sensorId); + }; + struct WINRT_IMPL_EMPTY_BASES CustomSensorReading : winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading, + impl::require + { + CustomSensorReading(std::nullptr_t) noexcept {} + CustomSensorReading(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CustomSensorReadingChangedEventArgs : winrt::Windows::Devices::Sensors::Custom::ICustomSensorReadingChangedEventArgs + { + CustomSensorReadingChangedEventArgs(std::nullptr_t) noexcept {} + CustomSensorReadingChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sensors::Custom::ICustomSensorReadingChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f31f100666f97cde6d0097b7431b178517114150 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.0.h @@ -0,0 +1,238 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SerialCommunication_0_H +#define WINRT_Windows_Devices_SerialCommunication_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Devices::SerialCommunication +{ + enum class SerialError : int32_t + { + Frame = 0, + BufferOverrun = 1, + ReceiveFull = 2, + ReceiveParity = 3, + TransmitFull = 4, + }; + enum class SerialHandshake : int32_t + { + None = 0, + RequestToSend = 1, + XOnXOff = 2, + RequestToSendXOnXOff = 3, + }; + enum class SerialParity : int32_t + { + None = 0, + Odd = 1, + Even = 2, + Mark = 3, + Space = 4, + }; + enum class SerialPinChange : int32_t + { + BreakSignal = 0, + CarrierDetect = 1, + ClearToSend = 2, + DataSetReady = 3, + RingIndicator = 4, + }; + enum class SerialStopBitCount : int32_t + { + One = 0, + OnePointFive = 1, + Two = 2, + }; + struct IErrorReceivedEventArgs; + struct IPinChangedEventArgs; + struct ISerialDevice; + struct ISerialDeviceStatics; + struct ErrorReceivedEventArgs; + struct PinChangedEventArgs; + struct SerialDevice; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.ErrorReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.PinChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialHandshake"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialParity"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialPinChange"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.SerialStopBitCount"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.IErrorReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.IPinChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.ISerialDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SerialCommunication.ISerialDeviceStatics"; + template <> inline constexpr guid guid_v{ 0xFCC6BF59,0x1283,0x4D8A,{ 0xBF,0xDF,0x56,0x6B,0x33,0xDD,0xB2,0x8F } }; // FCC6BF59-1283-4D8A-BFDF-566B33DDB28F + template <> inline constexpr guid guid_v{ 0xA2BF1DB0,0xFC9C,0x4607,{ 0x93,0xD0,0xFA,0x5E,0x83,0x43,0xEE,0x22 } }; // A2BF1DB0-FC9C-4607-93D0-FA5E8343EE22 + template <> inline constexpr guid guid_v{ 0xE187CCC6,0x2210,0x414F,{ 0xB6,0x5A,0xF5,0x55,0x3A,0x03,0x37,0x2A } }; // E187CCC6-2210-414F-B65A-F5553A03372A + template <> inline constexpr guid guid_v{ 0x058C4A70,0x0836,0x4993,{ 0xAE,0x1A,0xB6,0x1A,0xE3,0xBE,0x05,0x6B } }; // 058C4A70-0836-4993-AE1A-B61AE3BE056B + template <> struct default_interface{ using type = winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SerialCommunication::ISerialDevice; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinChange(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BaudRate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_BaudRate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BreakSignalState(bool*) noexcept = 0; + virtual int32_t __stdcall put_BreakSignalState(bool) noexcept = 0; + virtual int32_t __stdcall get_BytesReceived(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CarrierDetectState(bool*) noexcept = 0; + virtual int32_t __stdcall get_ClearToSendState(bool*) noexcept = 0; + virtual int32_t __stdcall get_DataBits(uint16_t*) noexcept = 0; + virtual int32_t __stdcall put_DataBits(uint16_t) noexcept = 0; + virtual int32_t __stdcall get_DataSetReadyState(bool*) noexcept = 0; + virtual int32_t __stdcall get_Handshake(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Handshake(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsDataTerminalReadyEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDataTerminalReadyEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsRequestToSendEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsRequestToSendEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Parity(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Parity(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PortName(void**) noexcept = 0; + virtual int32_t __stdcall get_ReadTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ReadTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StopBits(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StopBits(int32_t) noexcept = 0; + virtual int32_t __stdcall get_UsbVendorId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsbProductId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_WriteTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_WriteTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall add_ErrorReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ErrorReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PinChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PinChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromPortName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromUsbVidPid(uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs + { + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs; + }; + template + struct consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs + { + [[nodiscard]] auto PinChange() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs; + }; + template + struct consume_Windows_Devices_SerialCommunication_ISerialDevice + { + [[nodiscard]] auto BaudRate() const; + auto BaudRate(uint32_t value) const; + [[nodiscard]] auto BreakSignalState() const; + auto BreakSignalState(bool value) const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto CarrierDetectState() const; + [[nodiscard]] auto ClearToSendState() const; + [[nodiscard]] auto DataBits() const; + auto DataBits(uint16_t value) const; + [[nodiscard]] auto DataSetReadyState() const; + [[nodiscard]] auto Handshake() const; + auto Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const; + [[nodiscard]] auto IsDataTerminalReadyEnabled() const; + auto IsDataTerminalReadyEnabled(bool value) const; + [[nodiscard]] auto IsRequestToSendEnabled() const; + auto IsRequestToSendEnabled(bool value) const; + [[nodiscard]] auto Parity() const; + auto Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const; + [[nodiscard]] auto PortName() const; + [[nodiscard]] auto ReadTimeout() const; + auto ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StopBits() const; + auto StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const; + [[nodiscard]] auto UsbVendorId() const; + [[nodiscard]] auto UsbProductId() const; + [[nodiscard]] auto WriteTimeout() const; + auto WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto ErrorReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + using ErrorReceived_revoker = impl::event_revoker::remove_ErrorReceived>; + [[nodiscard]] auto ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto ErrorReceived(winrt::event_token const& token) const noexcept; + auto PinChanged(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + using PinChanged_revoker = impl::event_revoker::remove_PinChanged>; + [[nodiscard]] auto PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto PinChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SerialCommunication_ISerialDevice; + }; + template + struct consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics + { + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& portName) const; + auto GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.1.h new file mode 100644 index 0000000000000000000000000000000000000000..66de19cdde7805539105a6d7314978589f11f44b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.1.h @@ -0,0 +1,43 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SerialCommunication_1_H +#define WINRT_Windows_Devices_SerialCommunication_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.SerialCommunication.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::SerialCommunication +{ + struct WINRT_IMPL_EMPTY_BASES IErrorReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IErrorReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IErrorReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPinChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPinChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPinChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISerialDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISerialDevice(std::nullptr_t = nullptr) noexcept {} + ISerialDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISerialDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISerialDeviceStatics(std::nullptr_t = nullptr) noexcept {} + ISerialDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3ac809c180d9e268bd1efad475eb460a78c86961 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.serialcommunication.2.h @@ -0,0 +1,33 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SerialCommunication_2_H +#define WINRT_Windows_Devices_SerialCommunication_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.SerialCommunication.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::SerialCommunication +{ + struct WINRT_IMPL_EMPTY_BASES ErrorReceivedEventArgs : winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs + { + ErrorReceivedEventArgs(std::nullptr_t) noexcept {} + ErrorReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PinChangedEventArgs : winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs + { + PinChangedEventArgs(std::nullptr_t) noexcept {} + PinChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SerialDevice : winrt::Windows::Devices::SerialCommunication::ISerialDevice + { + SerialDevice(std::nullptr_t) noexcept {} + SerialDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SerialCommunication::ISerialDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDeviceSelector(param::hstring const& portName); + static auto GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId); + static auto FromIdAsync(param::hstring const& deviceId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a3f7cd0c29d30e166b060cd381d67f1f4c177af2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.0.h @@ -0,0 +1,1751 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SmartCards_0_H +#define WINRT_Windows_Devices_SmartCards_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVector; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core +{ + enum class CryptographicPublicKeyBlobType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Devices::SmartCards +{ + enum class SmartCardActivationPolicyChangeResult : int32_t + { + Denied = 0, + Allowed = 1, + }; + enum class SmartCardAppletIdGroupActivationPolicy : int32_t + { + Disabled = 0, + ForegroundOverride = 1, + Enabled = 2, + }; + enum class SmartCardAutomaticResponseStatus : int32_t + { + None = 0, + Success = 1, + UnknownError = 2, + }; + enum class SmartCardCryptogramAlgorithm : int32_t + { + None = 0, + CbcMac = 1, + Cvc3Umd = 2, + DecimalizedMsd = 3, + Cvc3MD = 4, + Sha1 = 5, + SignedDynamicApplicationData = 6, + RsaPkcs1 = 7, + Sha256Hmac = 8, + }; + enum class SmartCardCryptogramGeneratorOperationStatus : int32_t + { + Success = 0, + AuthorizationFailed = 1, + AuthorizationCanceled = 2, + AuthorizationRequired = 3, + CryptogramMaterialPackageStorageKeyExists = 4, + NoCryptogramMaterialPackageStorageKey = 5, + NoCryptogramMaterialPackage = 6, + UnsupportedCryptogramMaterialPackage = 7, + UnknownCryptogramMaterialName = 8, + InvalidCryptogramMaterialUsage = 9, + ApduResponseNotSent = 10, + OtherError = 11, + ValidationFailed = 12, + NotSupported = 13, + }; + enum class SmartCardCryptogramMaterialPackageConfirmationResponseFormat : int32_t + { + None = 0, + VisaHmac = 1, + }; + enum class SmartCardCryptogramMaterialPackageFormat : int32_t + { + None = 0, + JweRsaPki = 1, + }; + enum class SmartCardCryptogramMaterialProtectionMethod : int32_t + { + None = 0, + WhiteBoxing = 1, + }; + enum class SmartCardCryptogramMaterialType : int32_t + { + None = 0, + StaticDataAuthentication = 1, + TripleDes112 = 2, + Aes = 3, + RsaPkcs1 = 4, + }; + enum class SmartCardCryptogramPlacementOptions : uint32_t + { + None = 0, + UnitsAreInNibbles = 0x1, + ChainOutput = 0x2, + }; + enum class SmartCardCryptogramStorageKeyAlgorithm : int32_t + { + None = 0, + Rsa2048 = 1, + }; + enum class SmartCardCryptogramStorageKeyCapabilities : uint32_t + { + None = 0, + HardwareProtection = 0x1, + UnlockPrompt = 0x2, + }; + enum class SmartCardCryptographicKeyAttestationStatus : int32_t + { + NoAttestation = 0, + SoftwareKeyWithoutTpm = 1, + SoftwareKeyWithTpm = 2, + TpmKeyUnknownAttestationStatus = 3, + TpmKeyWithoutAttestationCapability = 4, + TpmKeyWithTemporaryAttestationFailure = 5, + TpmKeyWithLongTermAttestationFailure = 6, + TpmKeyWithAttestation = 7, + }; + enum class SmartCardEmulationCategory : int32_t + { + Other = 0, + Payment = 1, + }; + enum class SmartCardEmulationType : int32_t + { + Host = 0, + Uicc = 1, + EmbeddedSE = 2, + }; + enum class SmartCardEmulatorConnectionDeactivatedReason : int32_t + { + ConnectionLost = 0, + ConnectionRedirected = 1, + }; + enum class SmartCardEmulatorConnectionSource : int32_t + { + Unknown = 0, + NfcReader = 1, + }; + enum class SmartCardEmulatorEnablementPolicy : int32_t + { + Never = 0, + Always = 1, + ScreenOn = 2, + ScreenUnlocked = 3, + }; + enum class SmartCardLaunchBehavior : int32_t + { + Default = 0, + AboveLock = 1, + }; + enum class SmartCardPinCharacterPolicyOption : int32_t + { + Allow = 0, + RequireAtLeastOne = 1, + Disallow = 2, + }; + enum class SmartCardReaderKind : int32_t + { + Any = 0, + Generic = 1, + Tpm = 2, + Nfc = 3, + Uicc = 4, + EmbeddedSE = 5, + }; + enum class SmartCardReaderStatus : int32_t + { + Disconnected = 0, + Ready = 1, + Exclusive = 2, + }; + enum class SmartCardStatus : int32_t + { + Disconnected = 0, + Ready = 1, + Shared = 2, + Exclusive = 3, + Unresponsive = 4, + }; + enum class SmartCardTriggerType : int32_t + { + EmulatorTransaction = 0, + EmulatorNearFieldEntry = 1, + EmulatorNearFieldExit = 2, + EmulatorHostApplicationActivated = 3, + EmulatorAppletIdGroupRegistrationChanged = 4, + ReaderCardAdded = 5, + }; + enum class SmartCardUnlockPromptingBehavior : int32_t + { + AllowUnlockPrompt = 0, + RequireUnlockPrompt = 1, + PreventUnlockPrompt = 2, + }; + struct ICardAddedEventArgs; + struct ICardRemovedEventArgs; + struct IKnownSmartCardAppletIds; + struct ISmartCard; + struct ISmartCardAppletIdGroup; + struct ISmartCardAppletIdGroup2; + struct ISmartCardAppletIdGroupFactory; + struct ISmartCardAppletIdGroupRegistration; + struct ISmartCardAppletIdGroupRegistration2; + struct ISmartCardAppletIdGroupStatics; + struct ISmartCardAutomaticResponseApdu; + struct ISmartCardAutomaticResponseApdu2; + struct ISmartCardAutomaticResponseApdu3; + struct ISmartCardAutomaticResponseApduFactory; + struct ISmartCardChallengeContext; + struct ISmartCardConnect; + struct ISmartCardConnection; + struct ISmartCardCryptogramGenerator; + struct ISmartCardCryptogramGenerator2; + struct ISmartCardCryptogramGeneratorStatics; + struct ISmartCardCryptogramGeneratorStatics2; + struct ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult; + struct ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult; + struct ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult; + struct ISmartCardCryptogramMaterialCharacteristics; + struct ISmartCardCryptogramMaterialPackageCharacteristics; + struct ISmartCardCryptogramMaterialPossessionProof; + struct ISmartCardCryptogramPlacementStep; + struct ISmartCardCryptogramStorageKeyCharacteristics; + struct ISmartCardCryptogramStorageKeyInfo; + struct ISmartCardCryptogramStorageKeyInfo2; + struct ISmartCardEmulator; + struct ISmartCardEmulator2; + struct ISmartCardEmulatorApduReceivedEventArgs; + struct ISmartCardEmulatorApduReceivedEventArgs2; + struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms; + struct ISmartCardEmulatorConnectionDeactivatedEventArgs; + struct ISmartCardEmulatorConnectionProperties; + struct ISmartCardEmulatorStatics; + struct ISmartCardEmulatorStatics2; + struct ISmartCardEmulatorStatics3; + struct ISmartCardPinPolicy; + struct ISmartCardPinResetDeferral; + struct ISmartCardPinResetRequest; + struct ISmartCardProvisioning; + struct ISmartCardProvisioning2; + struct ISmartCardProvisioningStatics; + struct ISmartCardProvisioningStatics2; + struct ISmartCardReader; + struct ISmartCardReaderStatics; + struct ISmartCardTriggerDetails; + struct ISmartCardTriggerDetails2; + struct ISmartCardTriggerDetails3; + struct CardAddedEventArgs; + struct CardRemovedEventArgs; + struct KnownSmartCardAppletIds; + struct SmartCard; + struct SmartCardAppletIdGroup; + struct SmartCardAppletIdGroupRegistration; + struct SmartCardAutomaticResponseApdu; + struct SmartCardChallengeContext; + struct SmartCardConnection; + struct SmartCardCryptogramGenerator; + struct SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult; + struct SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult; + struct SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult; + struct SmartCardCryptogramMaterialCharacteristics; + struct SmartCardCryptogramMaterialPackageCharacteristics; + struct SmartCardCryptogramMaterialPossessionProof; + struct SmartCardCryptogramPlacementStep; + struct SmartCardCryptogramStorageKeyCharacteristics; + struct SmartCardCryptogramStorageKeyInfo; + struct SmartCardEmulator; + struct SmartCardEmulatorApduReceivedEventArgs; + struct SmartCardEmulatorConnectionDeactivatedEventArgs; + struct SmartCardEmulatorConnectionProperties; + struct SmartCardPinPolicy; + struct SmartCardPinResetDeferral; + struct SmartCardPinResetRequest; + struct SmartCardProvisioning; + struct SmartCardReader; + struct SmartCardTriggerDetails; + struct SmartCardPinResetHandler; + struct SmartCardBackgroundTriggerContract; + struct SmartCardEmulatorContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.CardAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.CardRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.KnownSmartCardAppletIds"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCard"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardAppletIdGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardAppletIdGroupRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardAutomaticResponseApdu"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardChallengeContext"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialPossessionProof"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramPlacementStep"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorApduReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorConnectionProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardPinPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardPinResetDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardPinResetRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardProvisioning"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardActivationPolicyChangeResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardAppletIdGroupActivationPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardAutomaticResponseStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramGeneratorOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageConfirmationResponseFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialProtectionMethod"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramMaterialType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramPlacementOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardCryptographicKeyAttestationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulationCategory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulationType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedReason"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorConnectionSource"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorEnablementPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardLaunchBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardPinCharacterPolicyOption"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardReaderKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardReaderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardTriggerType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardUnlockPromptingBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ICardAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ICardRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.IKnownSmartCardAppletIds"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCard"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroup"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroup2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroupRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroupRegistration2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAppletIdGroupStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAutomaticResponseApdu"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAutomaticResponseApdu2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAutomaticResponseApdu3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardChallengeContext"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardConnect"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardConnection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGenerator2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGeneratorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGeneratorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramMaterialCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramMaterialPackageCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramMaterialPossessionProof"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramPlacementStep"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramStorageKeyCharacteristics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramStorageKeyInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardCryptogramStorageKeyInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulator"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulator2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorApduReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorApduReceivedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorApduReceivedEventArgsWithCryptograms"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorConnectionDeactivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorConnectionProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardEmulatorStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardPinPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardPinResetDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardPinResetRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardProvisioning"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardProvisioning2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardProvisioningStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardProvisioningStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardReader"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardReaderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardTriggerDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.ISmartCardTriggerDetails3"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardPinResetHandler"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract"; + template <> inline constexpr auto& name_v = L"Windows.Devices.SmartCards.SmartCardEmulatorContract"; + template <> inline constexpr guid guid_v{ 0x18BBEF98,0xF18B,0x4DD3,{ 0xB1,0x18,0xDF,0xB2,0xC8,0xE2,0x3C,0xC6 } }; // 18BBEF98-F18B-4DD3-B118-DFB2C8E23CC6 + template <> inline constexpr guid guid_v{ 0x15331AAF,0x22D7,0x4945,{ 0xAF,0xC9,0x03,0xB4,0x6F,0x42,0xA6,0xCD } }; // 15331AAF-22D7-4945-AFC9-03B46F42A6CD + template <> inline constexpr guid guid_v{ 0x7B04D8D8,0x95B4,0x4C88,{ 0x8C,0xEA,0x41,0x1E,0x55,0x51,0x1E,0xFC } }; // 7B04D8D8-95B4-4C88-8CEA-411E55511EFC + template <> inline constexpr guid guid_v{ 0x1B718871,0x6434,0x43F4,{ 0xB5,0x5A,0x6A,0x29,0x62,0x38,0x70,0xAA } }; // 1B718871-6434-43F4-B55A-6A29623870AA + template <> inline constexpr guid guid_v{ 0x7DB165E6,0x6264,0x56F4,{ 0x5E,0x03,0xC8,0x63,0x85,0x39,0x5E,0xB1 } }; // 7DB165E6-6264-56F4-5E03-C86385395EB1 + template <> inline constexpr guid guid_v{ 0x6B0EF9DC,0x9956,0x4A62,{ 0x8D,0x4E,0xD3,0x7A,0x68,0xEB,0xC3,0xA6 } }; // 6B0EF9DC-9956-4A62-8D4E-D37A68EBC3A6 + template <> inline constexpr guid guid_v{ 0x9105EB4D,0x4A65,0x4E41,{ 0x80,0x61,0xCB,0xE8,0x3F,0x36,0x95,0xE5 } }; // 9105EB4D-4A65-4E41-8061-CBE83F3695E5 + template <> inline constexpr guid guid_v{ 0xDF1208D1,0x31BB,0x5596,{ 0x43,0xB1,0x6D,0x69,0xA0,0x25,0x7B,0x3A } }; // DF1208D1-31BB-5596-43B1-6D69A0257B3A + template <> inline constexpr guid guid_v{ 0x5F5508D8,0x98A7,0x4F2E,{ 0x91,0xD9,0x6C,0xFC,0xCE,0xDA,0x40,0x7F } }; // 5F5508D8-98A7-4F2E-91D9-6CFCCEDA407F + template <> inline constexpr guid guid_v{ 0xAB2899A9,0xE76C,0x45CF,{ 0xBF,0x1D,0x90,0xEA,0xA6,0x20,0x59,0x27 } }; // AB2899A9-E76C-45CF-BF1D-90EAA6205927 + template <> inline constexpr guid guid_v{ 0x52152BAB,0xC63E,0x4531,{ 0xA8,0x57,0xD7,0x56,0xD9,0x9B,0x98,0x6A } }; // 52152BAB-C63E-4531-A857-D756D99B986A + template <> inline constexpr guid guid_v{ 0x44AEBB14,0x559D,0x4531,{ 0x4E,0x51,0x89,0xDB,0x6F,0xA8,0xA5,0x7A } }; // 44AEBB14-559D-4531-4E51-89DB6FA8A57A + template <> inline constexpr guid guid_v{ 0xBF43DA74,0x6576,0x4392,{ 0x93,0x67,0xFE,0x3B,0xC9,0xE2,0xD4,0x96 } }; // BF43DA74-6576-4392-9367-FE3BC9E2D496 + template <> inline constexpr guid guid_v{ 0xE97EA2FA,0xD02C,0x4C55,{ 0xB0,0x2A,0x8C,0xFF,0x7F,0xA9,0xF0,0x5B } }; // E97EA2FA-D02C-4C55-B02A-8CFF7FA9F05B + template <> inline constexpr guid guid_v{ 0x192A5319,0xC9C4,0x4947,{ 0x81,0xCC,0x44,0x79,0x4A,0x61,0xEF,0x91 } }; // 192A5319-C9C4-4947-81CC-44794A61EF91 + template <> inline constexpr guid guid_v{ 0x2FDF87E5,0x028D,0x491E,{ 0xA0,0x58,0x33,0x82,0xC3,0x98,0x6F,0x40 } }; // 2FDF87E5-028D-491E-A058-3382C3986F40 + template <> inline constexpr guid guid_v{ 0x7EDB991A,0xA81A,0x47BC,{ 0xA6,0x49,0x15,0x6B,0xE6,0xB7,0xF2,0x31 } }; // 7EDB991A-A81A-47BC-A649-156BE6B7F231 + template <> inline constexpr guid guid_v{ 0xE39F587B,0xEDD3,0x4E49,{ 0xB5,0x94,0x0F,0xF5,0xE4,0xD0,0xC7,0x6F } }; // E39F587B-EDD3-4E49-B594-0FF5E4D0C76F + template <> inline constexpr guid guid_v{ 0x7116AA34,0x5D6D,0x4B4A,{ 0x96,0xA3,0xEF,0xA4,0x7D,0x2A,0x7E,0x25 } }; // 7116AA34-5D6D-4B4A-96A3-EFA47D2A7E25 + template <> inline constexpr guid guid_v{ 0x09933910,0xCB9C,0x4015,{ 0x96,0x7D,0x52,0x34,0xF3,0xB0,0x29,0x00 } }; // 09933910-CB9C-4015-967D-5234F3B02900 + template <> inline constexpr guid guid_v{ 0x09BDF5E5,0xB4BD,0x4E23,{ 0xA5,0x88,0x74,0x46,0x92,0x04,0xC1,0x28 } }; // 09BDF5E5-B4BD-4E23-A588-74469204C128 + template <> inline constexpr guid guid_v{ 0x2798E029,0xD687,0x4C92,{ 0x86,0xC6,0x39,0x9E,0x9A,0x0E,0xCB,0x09 } }; // 2798E029-D687-4C92-86C6-399E9A0ECB09 + template <> inline constexpr guid guid_v{ 0x4E6A8A5C,0x9773,0x46C4,{ 0xA3,0x2F,0xB1,0xE5,0x43,0x15,0x9E,0x04 } }; // 4E6A8A5C-9773-46C4-A32F-B1E543159E04 + template <> inline constexpr guid guid_v{ 0x8C7CE857,0xA7E7,0x489D,{ 0xB9,0xD6,0x36,0x80,0x61,0x51,0x50,0x12 } }; // 8C7CE857-A7E7-489D-B9D6-368061515012 + template <> inline constexpr guid guid_v{ 0xFC9AC5CC,0xC1D7,0x4153,{ 0x92,0x3B,0xA2,0xD4,0x3C,0x6C,0x8D,0x49 } }; // FC9AC5CC-C1D7-4153-923B-A2D43C6C8D49 + template <> inline constexpr guid guid_v{ 0xFFB58E1F,0x0692,0x4C47,{ 0x93,0xCF,0x34,0xD9,0x1F,0x9D,0xCD,0x00 } }; // FFB58E1F-0692-4C47-93CF-34D91F9DCD00 + template <> inline constexpr guid guid_v{ 0xE5B9AB8C,0xA141,0x4135,{ 0x9A,0xDD,0xB0,0xD2,0xE3,0xAA,0x1F,0xC9 } }; // E5B9AB8C-A141-4135-9ADD-B0D2E3AA1FC9 + template <> inline constexpr guid guid_v{ 0x947B03EB,0x8342,0x4792,{ 0xA2,0xE5,0x92,0x56,0x36,0x37,0x8A,0x53 } }; // 947B03EB-8342-4792-A2E5-925636378A53 + template <> inline constexpr guid guid_v{ 0x8552546E,0x4457,0x4825,{ 0xB4,0x64,0x63,0x54,0x71,0xA3,0x9F,0x5C } }; // 8552546E-4457-4825-B464-635471A39F5C + template <> inline constexpr guid guid_v{ 0x77B0F00D,0xB097,0x4F61,{ 0xA2,0x6A,0x95,0x61,0x63,0x9C,0x9C,0x3A } }; // 77B0F00D-B097-4F61-A26A-9561639C9C3A + template <> inline constexpr guid guid_v{ 0x000440F9,0xF7FD,0x417D,{ 0x89,0xE1,0xFB,0xB0,0x38,0x2A,0xDC,0x4D } }; // 000440F9-F7FD-417D-89E1-FBB0382ADC4D + template <> inline constexpr guid guid_v{ 0xDFB906B2,0x875E,0x47E5,{ 0x80,0x77,0xE8,0xBF,0xF1,0xB1,0xC6,0xFB } }; // DFB906B2-875E-47E5-8077-E8BFF1B1C6FB + template <> inline constexpr guid guid_v{ 0xFE3FC0B8,0x8529,0x411A,{ 0x80,0x7B,0x48,0xED,0xC2,0xA0,0xAB,0x44 } }; // FE3FC0B8-8529-411A-807B-48EDC2A0AB44 + template <> inline constexpr guid guid_v{ 0xD55D1576,0x69D2,0x5333,{ 0x5B,0x5F,0xF8,0xC0,0xD6,0xE9,0xF0,0x9F } }; // D55D1576-69D2-5333-5B5F-F8C0D6E9F09F + template <> inline constexpr guid guid_v{ 0x8BF93DF0,0x22E1,0x4238,{ 0x86,0x10,0x94,0xCE,0x4A,0x96,0x54,0x25 } }; // 8BF93DF0-22E1-4238-8610-94CE4A965425 + template <> inline constexpr guid guid_v{ 0xD550BAC7,0xB7BF,0x4E29,{ 0x92,0x94,0x0C,0x4A,0xC3,0xC9,0x41,0xBD } }; // D550BAC7-B7BF-4E29-9294-0C4AC3C941BD + template <> inline constexpr guid guid_v{ 0x2186D8D3,0xC5EB,0x5262,{ 0x43,0xDF,0x62,0xA0,0xA1,0xB5,0x55,0x57 } }; // 2186D8D3-C5EB-5262-43DF-62A0A1B55557 + template <> inline constexpr guid guid_v{ 0x4E2CA5EE,0xF969,0x507D,{ 0x6C,0xF9,0x34,0xE2,0xD1,0x8D,0xF3,0x11 } }; // 4E2CA5EE-F969-507D-6CF9-34E2D18DF311 + template <> inline constexpr guid guid_v{ 0x7A9BFC4B,0xC4D3,0x494F,{ 0xB8,0xA2,0x62,0x15,0xD8,0x1E,0x85,0xB2 } }; // 7A9BFC4B-C4D3-494F-B8A2-6215D81E85B2 + template <> inline constexpr guid guid_v{ 0x69AE9F8A,0xB775,0x488B,{ 0x84,0x36,0x6C,0x1E,0x28,0xED,0x73,0x1F } }; // 69AE9F8A-B775-488B-8436-6C1E28ED731F + template <> inline constexpr guid guid_v{ 0x59EA142A,0x9F09,0x43F5,{ 0x85,0x65,0xCF,0xA8,0x14,0x8E,0x4C,0xB2 } }; // 59EA142A-9F09-43F5-8565-CFA8148E4CB2 + template <> inline constexpr guid guid_v{ 0x183CE184,0x4DB6,0x4841,{ 0xAC,0x9E,0x2A,0xC1,0xF3,0x9B,0x73,0x04 } }; // 183CE184-4DB6-4841-AC9E-2AC1F39B7304 + template <> inline constexpr guid guid_v{ 0x18C94AAC,0x7805,0x4004,{ 0x85,0xE4,0xBB,0xEF,0xAC,0x8F,0x68,0x84 } }; // 18C94AAC-7805-4004-85E4-BBEFAC8F6884 + template <> inline constexpr guid guid_v{ 0x12FE3C4D,0x5FB9,0x4E8E,{ 0x9F,0xF6,0x61,0xF4,0x75,0x12,0x4F,0xEF } }; // 12FE3C4D-5FB9-4E8E-9FF6-61F475124FEF + template <> inline constexpr guid guid_v{ 0x19EEEDBD,0x1FAB,0x477C,{ 0xB7,0x12,0x1A,0x2C,0x5A,0xF1,0xFD,0x6E } }; // 19EEEDBD-1FAB-477C-B712-1A2C5AF1FD6E + template <> inline constexpr guid guid_v{ 0x10FD28EB,0x3F79,0x4B66,{ 0x9B,0x7C,0x11,0xC1,0x49,0xB7,0xD0,0xBC } }; // 10FD28EB-3F79-4B66-9B7C-11C149B7D0BC + template <> inline constexpr guid guid_v{ 0x13882848,0x0D13,0x4E70,{ 0x97,0x35,0x51,0xDA,0xEC,0xA5,0x25,0x4F } }; // 13882848-0D13-4E70-9735-51DAECA5254F + template <> inline constexpr guid guid_v{ 0x3447C6A8,0xC9A0,0x4BD6,{ 0xB5,0x0D,0x25,0x1F,0x4E,0x8D,0x3A,0x62 } }; // 3447C6A8-C9A0-4BD6-B50D-251F4E8D3A62 + template <> inline constexpr guid guid_v{ 0x1074B4E0,0x54C2,0x4DF0,{ 0x81,0x7A,0x14,0xC1,0x43,0x78,0xF0,0x6C } }; // 1074B4E0-54C2-4DF0-817A-14C14378F06C + template <> inline constexpr guid guid_v{ 0x103C04E1,0xA1CA,0x48F2,{ 0xA2,0x81,0x5B,0x6F,0x66,0x9A,0xF1,0x07 } }; // 103C04E1-A1CA-48F2-A281-5B6F669AF107 + template <> inline constexpr guid guid_v{ 0x5F9BF11E,0x39EF,0x4F2B,{ 0xB4,0x4F,0x0A,0x91,0x55,0xB1,0x77,0xBC } }; // 5F9BF11E-39EF-4F2B-B44F-0A9155B177BC + template <> inline constexpr guid guid_v{ 0x2945C569,0x8975,0x4A51,{ 0x9E,0x1A,0x5F,0x8A,0x76,0xEE,0x51,0xAF } }; // 2945C569-8975-4A51-9E1A-5F8A76EE51AF + template <> inline constexpr guid guid_v{ 0xB3E2C27D,0x18C6,0x4BA8,{ 0x83,0x76,0xEF,0x03,0xD4,0x91,0x26,0x66 } }; // B3E2C27D-18C6-4BA8-8376-EF03D4912666 + template <> inline constexpr guid guid_v{ 0x138D5E40,0xF3BC,0x4A5C,{ 0xB4,0x1D,0x4B,0x4E,0xF6,0x84,0xE2,0x37 } }; // 138D5E40-F3BC-4A5C-B41D-4B4EF684E237 + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ICardAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ICardRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCard; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardEmulator; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardProvisioning; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardReader; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartCard(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartCard(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PaymentSystemEnvironment(void**) noexcept = 0; + virtual int32_t __stdcall get_ProximityPaymentSystemEnvironment(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reader(void**) noexcept = 0; + virtual int32_t __stdcall GetStatusAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAnswerToResetAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_AppletIds(void**) noexcept = 0; + virtual int32_t __stdcall get_SmartCardEmulationCategory(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SmartCardEmulationCategory(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SmartCardEmulationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SmartCardEmulationType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AutomaticEnablement(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutomaticEnablement(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Logo(void**) noexcept = 0; + virtual int32_t __stdcall put_Logo(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_SecureUserAuthenticationRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_SecureUserAuthenticationRequired(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivationPolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AppletIdGroup(void**) noexcept = 0; + virtual int32_t __stdcall RequestActivationPolicyChangeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall SetAutomaticResponseApdusAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartCardReaderId(void**) noexcept = 0; + virtual int32_t __stdcall SetPropertiesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxAppletIds(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommandApdu(void**) noexcept = 0; + virtual int32_t __stdcall put_CommandApdu(void*) noexcept = 0; + virtual int32_t __stdcall get_CommandApduBitMask(void**) noexcept = 0; + virtual int32_t __stdcall put_CommandApduBitMask(void*) noexcept = 0; + virtual int32_t __stdcall get_ShouldMatchLength(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShouldMatchLength(bool) noexcept = 0; + virtual int32_t __stdcall get_AppletId(void**) noexcept = 0; + virtual int32_t __stdcall put_AppletId(void*) noexcept = 0; + virtual int32_t __stdcall get_ResponseApdu(void**) noexcept = 0; + virtual int32_t __stdcall put_ResponseApdu(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputState(void**) noexcept = 0; + virtual int32_t __stdcall put_InputState(void*) noexcept = 0; + virtual int32_t __stdcall get_OutputState(void**) noexcept = 0; + virtual int32_t __stdcall put_OutputState(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWhenCryptogramGeneratorNotPrepared(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWhenCryptogramGeneratorNotPrepared(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Challenge(void**) noexcept = 0; + virtual int32_t __stdcall VerifyResponseAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ProvisionAsync(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall ProvisionAsyncWithNewCardId(void*, bool, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall ChangeAdministrativeKeyAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConnectAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TransmitAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedCryptogramMaterialTypes(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedCryptogramAlgorithms(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedCryptogramMaterialPackageFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedCryptogramMaterialPackageConfirmationResponseFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedSmartCardCryptogramStorageKeyCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall DeleteCryptogramMaterialStorageKeyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCryptogramMaterialStorageKeyAsync(int32_t, void*, int32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestCryptogramMaterialStorageKeyInfoAsync(int32_t, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportCryptogramMaterialPackageAsync(int32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TryProvePossessionOfCryptogramMaterialPackageAsync(int32_t, int32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestUnlockCryptogramMaterialForUseAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall DeleteCryptogramMaterialPackageAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ValidateRequestApduAsync(int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAllCryptogramStorageKeyCharacteristicsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAllCryptogramMaterialPackageCharacteristicsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAllCryptogramMaterialCharacteristicsAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSmartCardCryptogramGeneratorAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Characteristics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Characteristics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Characteristics(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaterialName(void**) noexcept = 0; + virtual int32_t __stdcall get_AllowedAlgorithms(void**) noexcept = 0; + virtual int32_t __stdcall get_AllowedProofOfPossessionAlgorithms(void**) noexcept = 0; + virtual int32_t __stdcall get_AllowedValidations(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtectionMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtectionVersion(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaterialLength(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageName(void**) noexcept = 0; + virtual int32_t __stdcall get_StorageKeyName(void**) noexcept = 0; + virtual int32_t __stdcall get_DateImported(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_PackageFormat(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Proof(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Algorithm(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Algorithm(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SourceData(void**) noexcept = 0; + virtual int32_t __stdcall put_SourceData(void*) noexcept = 0; + virtual int32_t __stdcall get_CryptogramMaterialPackageName(void**) noexcept = 0; + virtual int32_t __stdcall put_CryptogramMaterialPackageName(void*) noexcept = 0; + virtual int32_t __stdcall get_CryptogramMaterialName(void**) noexcept = 0; + virtual int32_t __stdcall put_CryptogramMaterialName(void*) noexcept = 0; + virtual int32_t __stdcall get_TemplateOffset(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TemplateOffset(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CryptogramOffset(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CryptogramOffset(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CryptogramLength(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CryptogramLength(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CryptogramPlacementOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CryptogramPlacementOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ChainedOutputStep(void**) noexcept = 0; + virtual int32_t __stdcall put_ChainedOutputStep(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StorageKeyName(void**) noexcept = 0; + virtual int32_t __stdcall get_DateCreated(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Algorithm(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PublicKeyBlobType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PublicKey(void**) noexcept = 0; + virtual int32_t __stdcall get_AttestationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Attestation(void**) noexcept = 0; + virtual int32_t __stdcall get_AttestationCertificateChain(void**) noexcept = 0; + virtual int32_t __stdcall get_Capabilities(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OperationalRequirements(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnablementPolicy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ApduReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ApduReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ConnectionDeactivated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionDeactivated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall IsHostCardEmulationSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommandApdu(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionProperties(void**) noexcept = 0; + virtual int32_t __stdcall TryRespondAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_AutomaticResponseStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(uint32_t*) noexcept = 0; + virtual int32_t __stdcall TryRespondWithStateAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryRespondWithCryptogramsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TryRespondWithCryptogramsAndStateAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Source(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAppletIdGroupRegistrationsAsync(void**) noexcept = 0; + virtual int32_t __stdcall RegisterAppletIdGroupAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UnregisterAppletIdGroupAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_MaxAppletIdGroupRegistrations(uint16_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MinLength(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxLength(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_UppercaseLetters(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_UppercaseLetters(int32_t) noexcept = 0; + virtual int32_t __stdcall get_LowercaseLetters(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_LowercaseLetters(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Digits(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Digits(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SpecialCharacters(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SpecialCharacters(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Challenge(void**) noexcept = 0; + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall SetResponse(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartCard(void**) noexcept = 0; + virtual int32_t __stdcall GetIdAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetNameAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetChallengeContextAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestPinChangeAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestPinResetAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAuthorityKeyContainerNameAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromSmartCardAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestVirtualSmartCardCreationAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestVirtualSmartCardCreationAsyncWithCardId(void*, void*, void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall RequestVirtualSmartCardDeletionAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAttestedVirtualSmartCardCreationAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAttestedVirtualSmartCardCreationAsyncWithCardId(void*, void*, void*, winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllCardsAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_CardAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CardAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CardRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CardRemoved(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorWithKind(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TriggerType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceAppletId(void**) noexcept = 0; + virtual int32_t __stdcall get_TriggerData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Emulator(void**) noexcept = 0; + virtual int32_t __stdcall TryLaunchCurrentAppAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryLaunchCurrentAppWithBehaviorAsync(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartCard(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_SmartCards_ICardAddedEventArgs + { + [[nodiscard]] auto SmartCard() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ICardAddedEventArgs; + }; + template + struct consume_Windows_Devices_SmartCards_ICardRemovedEventArgs + { + [[nodiscard]] auto SmartCard() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ICardRemovedEventArgs; + }; + template + struct consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds + { + [[nodiscard]] auto PaymentSystemEnvironment() const; + [[nodiscard]] auto ProximityPaymentSystemEnvironment() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCard + { + [[nodiscard]] auto Reader() const; + auto GetStatusAsync() const; + auto GetAnswerToResetAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCard; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup + { + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto AppletIds() const; + [[nodiscard]] auto SmartCardEmulationCategory() const; + auto SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const; + [[nodiscard]] auto SmartCardEmulationType() const; + auto SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const; + [[nodiscard]] auto AutomaticEnablement() const; + auto AutomaticEnablement(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2 + { + [[nodiscard]] auto Logo() const; + auto Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SecureUserAuthenticationRequired() const; + auto SecureUserAuthenticationRequired(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory + { + auto Create(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration + { + [[nodiscard]] auto ActivationPolicy() const; + [[nodiscard]] auto AppletIdGroup() const; + auto RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const; + [[nodiscard]] auto Id() const; + auto SetAutomaticResponseApdusAsync(param::async_iterable const& apdus) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2 + { + [[nodiscard]] auto SmartCardReaderId() const; + auto SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics + { + [[nodiscard]] auto MaxAppletIds() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu + { + [[nodiscard]] auto CommandApdu() const; + auto CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CommandApduBitMask() const; + auto CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ShouldMatchLength() const; + auto ShouldMatchLength(bool value) const; + [[nodiscard]] auto AppletId() const; + auto AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ResponseApdu() const; + auto ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2 + { + [[nodiscard]] auto InputState() const; + auto InputState(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutputState() const; + auto OutputState(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3 + { + [[nodiscard]] auto AllowWhenCryptogramGeneratorNotPrepared() const; + auto AllowWhenCryptogramGeneratorNotPrepared(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory + { + auto Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardChallengeContext + { + [[nodiscard]] auto Challenge() const; + auto VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const; + auto ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const; + auto ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const; + auto ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardChallengeContext; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardConnect + { + auto ConnectAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardConnect; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardConnection + { + auto TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardConnection; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator + { + [[nodiscard]] auto SupportedCryptogramMaterialTypes() const; + [[nodiscard]] auto SupportedCryptogramAlgorithms() const; + [[nodiscard]] auto SupportedCryptogramMaterialPackageFormats() const; + [[nodiscard]] auto SupportedCryptogramMaterialPackageConfirmationResponseFormats() const; + [[nodiscard]] auto SupportedSmartCardCryptogramStorageKeyCapabilities() const; + auto DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const; + auto CreateCryptogramMaterialStorageKeyAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm const& algorithm, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities const& capabilities) const; + auto RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const; + auto ImportCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat const& format, param::hstring const& storageKeyName, param::hstring const& materialPackageName, winrt::Windows::Storage::Streams::IBuffer const& cryptogramMaterialPackage) const; + auto TryProvePossessionOfCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, param::hstring const& materialPackageName, param::hstring const& materialName, winrt::Windows::Storage::Streams::IBuffer const& challenge) const; + auto RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const; + auto DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2 + { + auto ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable const& cryptogramPlacementSteps) const; + auto GetAllCryptogramStorageKeyCharacteristicsAsync() const; + auto GetAllCryptogramMaterialPackageCharacteristicsAsync() const; + auto GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const; + auto GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics + { + auto GetSmartCardCryptogramGeneratorAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2 + { + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult + { + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult + { + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult + { + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics + { + [[nodiscard]] auto MaterialName() const; + [[nodiscard]] auto AllowedAlgorithms() const; + [[nodiscard]] auto AllowedProofOfPossessionAlgorithms() const; + [[nodiscard]] auto AllowedValidations() const; + [[nodiscard]] auto MaterialType() const; + [[nodiscard]] auto ProtectionMethod() const; + [[nodiscard]] auto ProtectionVersion() const; + [[nodiscard]] auto MaterialLength() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics + { + [[nodiscard]] auto PackageName() const; + [[nodiscard]] auto StorageKeyName() const; + [[nodiscard]] auto DateImported() const; + [[nodiscard]] auto PackageFormat() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof + { + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Proof() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep + { + [[nodiscard]] auto Algorithm() const; + auto Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const; + [[nodiscard]] auto SourceData() const; + auto SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CryptogramMaterialPackageName() const; + auto CryptogramMaterialPackageName(param::hstring const& value) const; + [[nodiscard]] auto CryptogramMaterialName() const; + auto CryptogramMaterialName(param::hstring const& value) const; + [[nodiscard]] auto TemplateOffset() const; + auto TemplateOffset(int32_t value) const; + [[nodiscard]] auto CryptogramOffset() const; + auto CryptogramOffset(int32_t value) const; + [[nodiscard]] auto CryptogramLength() const; + auto CryptogramLength(int32_t value) const; + [[nodiscard]] auto CryptogramPlacementOptions() const; + auto CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const; + [[nodiscard]] auto ChainedOutputStep() const; + auto ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics + { + [[nodiscard]] auto StorageKeyName() const; + [[nodiscard]] auto DateCreated() const; + [[nodiscard]] auto Algorithm() const; + [[nodiscard]] auto Capabilities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo + { + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto PublicKeyBlobType() const; + [[nodiscard]] auto PublicKey() const; + [[nodiscard]] auto AttestationStatus() const; + [[nodiscard]] auto Attestation() const; + [[nodiscard]] auto AttestationCertificateChain() const; + [[nodiscard]] auto Capabilities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2 + { + [[nodiscard]] auto OperationalRequirements() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulator + { + [[nodiscard]] auto EnablementPolicy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulator; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulator2 + { + auto ApduReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using ApduReceived_revoker = impl::event_revoker::remove_ApduReceived>; + [[nodiscard]] auto ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ApduReceived(winrt::event_token const& value) const noexcept; + auto ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using ConnectionDeactivated_revoker = impl::event_revoker::remove_ConnectionDeactivated>; + [[nodiscard]] auto ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ConnectionDeactivated(winrt::event_token const& value) const noexcept; + auto Start() const; + auto IsHostCardEmulationSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulator2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs + { + [[nodiscard]] auto CommandApdu() const; + [[nodiscard]] auto ConnectionProperties() const; + auto TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; + [[nodiscard]] auto AutomaticResponseStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2 + { + [[nodiscard]] auto State() const; + auto TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference const& nextState) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms + { + auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps) const; + auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference const& nextState) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs + { + [[nodiscard]] auto ConnectionProperties() const; + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Source() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics + { + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2 + { + auto GetAppletIdGroupRegistrationsAsync() const; + auto RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const; + auto UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const; + [[nodiscard]] auto MaxAppletIdGroupRegistrations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3 + { + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardPinPolicy + { + [[nodiscard]] auto MinLength() const; + auto MinLength(uint32_t value) const; + [[nodiscard]] auto MaxLength() const; + auto MaxLength(uint32_t value) const; + [[nodiscard]] auto UppercaseLetters() const; + auto UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto LowercaseLetters() const; + auto LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto Digits() const; + auto Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto SpecialCharacters() const; + auto SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardPinPolicy; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest + { + [[nodiscard]] auto Challenge() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; + auto SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning + { + [[nodiscard]] auto SmartCard() const; + auto GetIdAsync() const; + auto GetNameAsync() const; + auto GetChallengeContextAsync() const; + auto RequestPinChangeAsync() const; + auto RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardProvisioning; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning2 + { + auto GetAuthorityKeyContainerNameAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardProvisioning2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics + { + auto FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; + auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; + auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; + auto RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2 + { + auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; + auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardReader + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; + auto GetStatusAsync() const; + auto FindAllCardsAsync() const; + auto CardAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CardAdded_revoker = impl::event_revoker::remove_CardAdded>; + [[nodiscard]] auto CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CardAdded(winrt::event_token const& token) const noexcept; + auto CardRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CardRemoved_revoker = impl::event_revoker::remove_CardRemoved>; + [[nodiscard]] auto CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CardRemoved(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardReader; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardReaderStatics + { + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardReaderStatics; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails + { + [[nodiscard]] auto TriggerType() const; + [[nodiscard]] auto SourceAppletId() const; + [[nodiscard]] auto TriggerData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2 + { + [[nodiscard]] auto Emulator() const; + auto TryLaunchCurrentAppAsync(param::hstring const& arguments) const; + auto TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2; + }; + template + struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3 + { + [[nodiscard]] auto SmartCard() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0313131d4f1e7632143c5def7ab41157f7d498e6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.1.h @@ -0,0 +1,387 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SmartCards_1_H +#define WINRT_Windows_Devices_SmartCards_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.SmartCards.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::SmartCards +{ + struct WINRT_IMPL_EMPTY_BASES ICardAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICardAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICardAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICardRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICardRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICardRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownSmartCardAppletIds : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownSmartCardAppletIds(std::nullptr_t = nullptr) noexcept {} + IKnownSmartCardAppletIds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCard : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCard(std::nullptr_t = nullptr) noexcept {} + ISmartCard(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroup(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroup2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroup2(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroup2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroupFactory(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroupRegistration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroupRegistration(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroupRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroupRegistration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroupRegistration2(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroupRegistration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAppletIdGroupStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAppletIdGroupStatics(std::nullptr_t = nullptr) noexcept {} + ISmartCardAppletIdGroupStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAutomaticResponseApdu : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAutomaticResponseApdu(std::nullptr_t = nullptr) noexcept {} + ISmartCardAutomaticResponseApdu(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAutomaticResponseApdu2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAutomaticResponseApdu2(std::nullptr_t = nullptr) noexcept {} + ISmartCardAutomaticResponseApdu2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAutomaticResponseApdu3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAutomaticResponseApdu3(std::nullptr_t = nullptr) noexcept {} + ISmartCardAutomaticResponseApdu3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardAutomaticResponseApduFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardAutomaticResponseApduFactory(std::nullptr_t = nullptr) noexcept {} + ISmartCardAutomaticResponseApduFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardChallengeContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmartCardChallengeContext(std::nullptr_t = nullptr) noexcept {} + ISmartCardChallengeContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardConnect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardConnect(std::nullptr_t = nullptr) noexcept {} + ISmartCardConnect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmartCardConnection(std::nullptr_t = nullptr) noexcept {} + ISmartCardConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGenerator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGenerator(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGenerator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGenerator2(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGenerator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGeneratorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGeneratorStatics(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGeneratorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGeneratorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGeneratorStatics2(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGeneratorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramMaterialCharacteristics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramMaterialCharacteristics(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramMaterialCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramMaterialPackageCharacteristics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramMaterialPackageCharacteristics(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramMaterialPackageCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramMaterialPossessionProof : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramMaterialPossessionProof(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramMaterialPossessionProof(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramPlacementStep : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramPlacementStep(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramPlacementStep(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramStorageKeyCharacteristics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramStorageKeyCharacteristics(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramStorageKeyCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramStorageKeyInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramStorageKeyInfo(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramStorageKeyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardCryptogramStorageKeyInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardCryptogramStorageKeyInfo2(std::nullptr_t = nullptr) noexcept {} + ISmartCardCryptogramStorageKeyInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulator(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulator2(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorApduReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorApduReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorApduReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorApduReceivedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorApduReceivedEventArgs2(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorApduReceivedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorApduReceivedEventArgsWithCryptograms : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorApduReceivedEventArgsWithCryptograms(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorApduReceivedEventArgsWithCryptograms(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorConnectionDeactivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorConnectionDeactivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorConnectionDeactivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorConnectionProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorConnectionProperties(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorConnectionProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorStatics(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorStatics2(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardEmulatorStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardEmulatorStatics3(std::nullptr_t = nullptr) noexcept {} + ISmartCardEmulatorStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardPinPolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardPinPolicy(std::nullptr_t = nullptr) noexcept {} + ISmartCardPinPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardPinResetDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardPinResetDeferral(std::nullptr_t = nullptr) noexcept {} + ISmartCardPinResetDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardPinResetRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardPinResetRequest(std::nullptr_t = nullptr) noexcept {} + ISmartCardPinResetRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardProvisioning : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardProvisioning(std::nullptr_t = nullptr) noexcept {} + ISmartCardProvisioning(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardProvisioning2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardProvisioning2(std::nullptr_t = nullptr) noexcept {} + ISmartCardProvisioning2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardProvisioningStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardProvisioningStatics(std::nullptr_t = nullptr) noexcept {} + ISmartCardProvisioningStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardProvisioningStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardProvisioningStatics2(std::nullptr_t = nullptr) noexcept {} + ISmartCardProvisioningStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardReader(std::nullptr_t = nullptr) noexcept {} + ISmartCardReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardReaderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardReaderStatics(std::nullptr_t = nullptr) noexcept {} + ISmartCardReaderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardTriggerDetails(std::nullptr_t = nullptr) noexcept {} + ISmartCardTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardTriggerDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardTriggerDetails2(std::nullptr_t = nullptr) noexcept {} + ISmartCardTriggerDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmartCardTriggerDetails3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmartCardTriggerDetails3(std::nullptr_t = nullptr) noexcept {} + ISmartCardTriggerDetails3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.2.h new file mode 100644 index 0000000000000000000000000000000000000000..918d31cda9bd1fe50e37b499fb5294332cbd8220 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.smartcards.2.h @@ -0,0 +1,216 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_SmartCards_2_H +#define WINRT_Windows_Devices_SmartCards_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.SmartCards.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::SmartCards +{ + struct SmartCardPinResetHandler : winrt::Windows::Foundation::IUnknown + { + SmartCardPinResetHandler(std::nullptr_t = nullptr) noexcept {} + SmartCardPinResetHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template SmartCardPinResetHandler(L lambda); + template SmartCardPinResetHandler(F* function); + template SmartCardPinResetHandler(O* object, M method); + template SmartCardPinResetHandler(com_ptr&& object, M method); + template SmartCardPinResetHandler(weak_ref&& object, LM&& lambda_or_method); + template SmartCardPinResetHandler(std::shared_ptr&& object, M method); + template SmartCardPinResetHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Devices::SmartCards::SmartCardProvisioning const& sender, winrt::Windows::Devices::SmartCards::SmartCardPinResetRequest const& request) const; + }; + struct WINRT_IMPL_EMPTY_BASES CardAddedEventArgs : winrt::Windows::Devices::SmartCards::ICardAddedEventArgs + { + CardAddedEventArgs(std::nullptr_t) noexcept {} + CardAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ICardAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CardRemovedEventArgs : winrt::Windows::Devices::SmartCards::ICardRemovedEventArgs + { + CardRemovedEventArgs(std::nullptr_t) noexcept {} + CardRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ICardRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct KnownSmartCardAppletIds + { + KnownSmartCardAppletIds() = delete; + [[nodiscard]] static auto PaymentSystemEnvironment(); + [[nodiscard]] static auto ProximityPaymentSystemEnvironment(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCard : winrt::Windows::Devices::SmartCards::ISmartCard, + impl::require + { + SmartCard(std::nullptr_t) noexcept {} + SmartCard(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCard(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardAppletIdGroup : winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup, + impl::require + { + SmartCardAppletIdGroup(std::nullptr_t) noexcept {} + SmartCardAppletIdGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup(ptr, take_ownership_from_abi) {} + SmartCardAppletIdGroup(); + SmartCardAppletIdGroup(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType); + [[nodiscard]] static auto MaxAppletIds(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardAppletIdGroupRegistration : winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration, + impl::require + { + SmartCardAppletIdGroupRegistration(std::nullptr_t) noexcept {} + SmartCardAppletIdGroupRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardAutomaticResponseApdu : winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu, + impl::require + { + SmartCardAutomaticResponseApdu(std::nullptr_t) noexcept {} + SmartCardAutomaticResponseApdu(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu(ptr, take_ownership_from_abi) {} + SmartCardAutomaticResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardChallengeContext : winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext + { + SmartCardChallengeContext(std::nullptr_t) noexcept {} + SmartCardChallengeContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardConnection : winrt::Windows::Devices::SmartCards::ISmartCardConnection + { + SmartCardConnection(std::nullptr_t) noexcept {} + SmartCardConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramGenerator : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator, + impl::require + { + SmartCardCryptogramGenerator(std::nullptr_t) noexcept {} + SmartCardCryptogramGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator(ptr, take_ownership_from_abi) {} + static auto GetSmartCardCryptogramGeneratorAsync(); + static auto IsSupported(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult + { + SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(std::nullptr_t) noexcept {} + SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(ptr, take_ownership_from_abi) {} + SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult + { + SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(std::nullptr_t) noexcept {} + SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(ptr, take_ownership_from_abi) {} + SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult + { + SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(std::nullptr_t) noexcept {} + SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(ptr, take_ownership_from_abi) {} + SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramMaterialCharacteristics : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics + { + SmartCardCryptogramMaterialCharacteristics(std::nullptr_t) noexcept {} + SmartCardCryptogramMaterialCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics(ptr, take_ownership_from_abi) {} + SmartCardCryptogramMaterialCharacteristics(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramMaterialPackageCharacteristics : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics + { + SmartCardCryptogramMaterialPackageCharacteristics(std::nullptr_t) noexcept {} + SmartCardCryptogramMaterialPackageCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics(ptr, take_ownership_from_abi) {} + SmartCardCryptogramMaterialPackageCharacteristics(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramMaterialPossessionProof : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof + { + SmartCardCryptogramMaterialPossessionProof(std::nullptr_t) noexcept {} + SmartCardCryptogramMaterialPossessionProof(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramPlacementStep : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep + { + SmartCardCryptogramPlacementStep(std::nullptr_t) noexcept {} + SmartCardCryptogramPlacementStep(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep(ptr, take_ownership_from_abi) {} + SmartCardCryptogramPlacementStep(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramStorageKeyCharacteristics : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics + { + SmartCardCryptogramStorageKeyCharacteristics(std::nullptr_t) noexcept {} + SmartCardCryptogramStorageKeyCharacteristics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics(ptr, take_ownership_from_abi) {} + SmartCardCryptogramStorageKeyCharacteristics(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardCryptogramStorageKeyInfo : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo, + impl::require + { + SmartCardCryptogramStorageKeyInfo(std::nullptr_t) noexcept {} + SmartCardCryptogramStorageKeyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardEmulator : winrt::Windows::Devices::SmartCards::ISmartCardEmulator, + impl::require + { + SmartCardEmulator(std::nullptr_t) noexcept {} + SmartCardEmulator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardEmulator(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto GetAppletIdGroupRegistrationsAsync(); + static auto RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup); + static auto UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration); + [[nodiscard]] static auto MaxAppletIdGroupRegistrations(); + static auto IsSupported(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardEmulatorApduReceivedEventArgs : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs, + impl::require + { + SmartCardEmulatorApduReceivedEventArgs(std::nullptr_t) noexcept {} + SmartCardEmulatorApduReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs::TryRespondAsync; + using impl::consume_t::TryRespondAsync; + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardEmulatorConnectionDeactivatedEventArgs : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs + { + SmartCardEmulatorConnectionDeactivatedEventArgs(std::nullptr_t) noexcept {} + SmartCardEmulatorConnectionDeactivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardEmulatorConnectionProperties : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties + { + SmartCardEmulatorConnectionProperties(std::nullptr_t) noexcept {} + SmartCardEmulatorConnectionProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardPinPolicy : winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy + { + SmartCardPinPolicy(std::nullptr_t) noexcept {} + SmartCardPinPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy(ptr, take_ownership_from_abi) {} + SmartCardPinPolicy(); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardPinResetDeferral : winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral + { + SmartCardPinResetDeferral(std::nullptr_t) noexcept {} + SmartCardPinResetDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardPinResetRequest : winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest + { + SmartCardPinResetRequest(std::nullptr_t) noexcept {} + SmartCardPinResetRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardProvisioning : winrt::Windows::Devices::SmartCards::ISmartCardProvisioning, + impl::require + { + SmartCardProvisioning(std::nullptr_t) noexcept {} + SmartCardProvisioning(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardProvisioning(ptr, take_ownership_from_abi) {} + static auto FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card); + static auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy); + static auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId); + static auto RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card); + static auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy); + static auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardReader : winrt::Windows::Devices::SmartCards::ISmartCardReader + { + SmartCardReader(std::nullptr_t) noexcept {} + SmartCardReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardReader(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES SmartCardTriggerDetails : winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails, + impl::require + { + SmartCardTriggerDetails(std::nullptr_t) noexcept {} + SmartCardTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2c6d6700d5893d8c5f59260bae2fd15317a5fece --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.0.h @@ -0,0 +1,1157 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sms_0_H +#define WINRT_Windows_Devices_Sms_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IAsyncOperationWithProgress; + template struct WINRT_IMPL_EMPTY_BASES IAsyncOperation; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Sms +{ + enum class CellularClass : int32_t + { + None = 0, + Gsm = 1, + Cdma = 2, + }; + enum class SmsBroadcastType : int32_t + { + Other = 0, + CmasPresidential = 1, + CmasExtreme = 2, + CmasSevere = 3, + CmasAmber = 4, + CmasTest = 5, + EUAlert1 = 6, + EUAlert2 = 7, + EUAlert3 = 8, + EUAlertAmber = 9, + EUAlertInfo = 10, + EtwsEarthquake = 11, + EtwsTsunami = 12, + EtwsTsunamiAndEarthquake = 13, + LatAlertLocal = 14, + }; + enum class SmsDataFormat : int32_t + { + Unknown = 0, + CdmaSubmit = 1, + GsmSubmit = 2, + CdmaDeliver = 3, + GsmDeliver = 4, + }; + enum class SmsDeviceStatus : int32_t + { + Off = 0, + Ready = 1, + SimNotInserted = 2, + BadSim = 3, + DeviceFailure = 4, + SubscriptionNotActivated = 5, + DeviceLocked = 6, + DeviceBlocked = 7, + }; + enum class SmsEncoding : int32_t + { + Unknown = 0, + Optimal = 1, + SevenBitAscii = 2, + Unicode = 3, + GsmSevenBit = 4, + EightBit = 5, + Latin = 6, + Korean = 7, + IA5 = 8, + ShiftJis = 9, + LatinHebrew = 10, + }; + enum class SmsFilterActionType : int32_t + { + AcceptImmediately = 0, + Drop = 1, + Peek = 2, + Accept = 3, + }; + enum class SmsGeographicalScope : int32_t + { + None = 0, + CellWithImmediateDisplay = 1, + LocationArea = 2, + Plmn = 3, + Cell = 4, + }; + enum class SmsMessageClass : int32_t + { + None = 0, + Class0 = 1, + Class1 = 2, + Class2 = 3, + Class3 = 4, + }; + enum class SmsMessageFilter : int32_t + { + All = 0, + Unread = 1, + Read = 2, + Sent = 3, + Draft = 4, + }; + enum class SmsMessageType : int32_t + { + Binary = 0, + Text = 1, + Wap = 2, + App = 3, + Broadcast = 4, + Voicemail = 5, + Status = 6, + }; + enum class SmsModemErrorCode : int32_t + { + Other = 0, + MessagingNetworkError = 1, + SmsOperationNotSupportedByDevice = 2, + SmsServiceNotSupportedByNetwork = 3, + DeviceFailure = 4, + MessageNotEncodedProperly = 5, + MessageTooLarge = 6, + DeviceNotReady = 7, + NetworkNotReady = 8, + InvalidSmscAddress = 9, + NetworkFailure = 10, + FixedDialingNumberRestricted = 11, + }; + struct ISmsAppMessage; + struct ISmsBinaryMessage; + struct ISmsBroadcastMessage; + struct ISmsDevice; + struct ISmsDevice2; + struct ISmsDevice2Statics; + struct ISmsDeviceMessageStore; + struct ISmsDeviceStatics; + struct ISmsDeviceStatics2; + struct ISmsFilterRule; + struct ISmsFilterRuleFactory; + struct ISmsFilterRules; + struct ISmsFilterRulesFactory; + struct ISmsMessage; + struct ISmsMessageBase; + struct ISmsMessageReceivedEventArgs; + struct ISmsMessageReceivedTriggerDetails; + struct ISmsMessageRegistration; + struct ISmsMessageRegistrationStatics; + struct ISmsReceivedEventDetails; + struct ISmsReceivedEventDetails2; + struct ISmsSendMessageResult; + struct ISmsStatusMessage; + struct ISmsTextMessage; + struct ISmsTextMessage2; + struct ISmsTextMessageStatics; + struct ISmsVoicemailMessage; + struct ISmsWapMessage; + struct DeleteSmsMessageOperation; + struct DeleteSmsMessagesOperation; + struct GetSmsDeviceOperation; + struct GetSmsMessageOperation; + struct GetSmsMessagesOperation; + struct SendSmsMessageOperation; + struct SmsAppMessage; + struct SmsBinaryMessage; + struct SmsBroadcastMessage; + struct SmsDevice; + struct SmsDevice2; + struct SmsDeviceMessageStore; + struct SmsFilterRule; + struct SmsFilterRules; + struct SmsMessageReceivedEventArgs; + struct SmsMessageReceivedTriggerDetails; + struct SmsMessageRegistration; + struct SmsReceivedEventDetails; + struct SmsSendMessageResult; + struct SmsStatusMessage; + struct SmsTextMessage; + struct SmsTextMessage2; + struct SmsVoicemailMessage; + struct SmsWapMessage; + struct SmsEncodedLength; + struct SmsDeviceStatusChangedEventHandler; + struct SmsMessageReceivedEventHandler; + struct LegacySmsApiContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.DeleteSmsMessageOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.DeleteSmsMessagesOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.GetSmsDeviceOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.GetSmsMessageOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.GetSmsMessagesOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SendSmsMessageOperation"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsAppMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsBinaryMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsBroadcastMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDeviceMessageStore"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsFilterRule"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsFilterRules"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageReceivedTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsReceivedEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsSendMessageResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsStatusMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsTextMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsTextMessage2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsVoicemailMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsWapMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.CellularClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsBroadcastType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDataFormat"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDeviceStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsEncoding"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsFilterActionType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsGeographicalScope"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageFilter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsModemErrorCode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsEncodedLength"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsAppMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsBinaryMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsBroadcastMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDevice2Statics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDeviceMessageStore"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsDeviceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsFilterRule"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsFilterRuleFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsFilterRules"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsFilterRulesFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessageBase"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessageReceivedTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessageRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsMessageRegistrationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsReceivedEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsReceivedEventDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsSendMessageResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsStatusMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsTextMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsTextMessage2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsTextMessageStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsVoicemailMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.ISmsWapMessage"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsDeviceStatusChangedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.SmsMessageReceivedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Sms.LegacySmsApiContract"; + template <> inline constexpr guid guid_v{ 0xE8BB8494,0xD3A0,0x4A0A,{ 0x86,0xD7,0x29,0x10,0x33,0xA8,0xCF,0x54 } }; // E8BB8494-D3A0-4A0A-86D7-291033A8CF54 + template <> inline constexpr guid guid_v{ 0x5BF4E813,0x3B53,0x4C6E,{ 0xB6,0x1A,0xD8,0x6A,0x63,0x75,0x56,0x50 } }; // 5BF4E813-3B53-4C6E-B61A-D86A63755650 + template <> inline constexpr guid guid_v{ 0x75AEBBF1,0xE4B7,0x4874,{ 0xA0,0x9C,0x29,0x56,0xE5,0x92,0xF9,0x57 } }; // 75AEBBF1-E4B7-4874-A09C-2956E592F957 + template <> inline constexpr guid guid_v{ 0x091791ED,0x872B,0x4EEC,{ 0x9C,0x72,0xAB,0x11,0x62,0x7B,0x34,0xEC } }; // 091791ED-872B-4EEC-9C72-AB11627B34EC + template <> inline constexpr guid guid_v{ 0xBD8A5C13,0xE522,0x46CB,{ 0xB8,0xD5,0x9E,0xAD,0x30,0xFB,0x6C,0x47 } }; // BD8A5C13-E522-46CB-B8D5-9EAD30FB6C47 + template <> inline constexpr guid guid_v{ 0x65C78325,0x1031,0x491E,{ 0x8F,0xB6,0xEF,0x99,0x91,0xAF,0xE3,0x63 } }; // 65C78325-1031-491E-8FB6-EF9991AFE363 + template <> inline constexpr guid guid_v{ 0x9889F253,0xF188,0x4427,{ 0x8D,0x54,0xCE,0x0C,0x24,0x23,0xC5,0xC1 } }; // 9889F253-F188-4427-8D54-CE0C2423C5C1 + template <> inline constexpr guid guid_v{ 0xF88D07EA,0xD815,0x4DD1,{ 0xA2,0x34,0x45,0x20,0xCE,0x46,0x04,0xA4 } }; // F88D07EA-D815-4DD1-A234-4520CE4604A4 + template <> inline constexpr guid guid_v{ 0x2CA11C87,0x0873,0x4CAF,{ 0x8A,0x7D,0xBD,0x47,0x1E,0x85,0x86,0xD1 } }; // 2CA11C87-0873-4CAF-8A7D-BD471E8586D1 + template <> inline constexpr guid guid_v{ 0x40E32FAE,0xB049,0x4FBC,{ 0xAF,0xE9,0xE2,0xA6,0x10,0xEF,0xF5,0x5C } }; // 40E32FAE-B049-4FBC-AFE9-E2A610EFF55C + template <> inline constexpr guid guid_v{ 0x00C36508,0x6296,0x4F29,{ 0x9A,0xAD,0x89,0x20,0xCE,0xBA,0x3C,0xE8 } }; // 00C36508-6296-4F29-9AAD-8920CEBA3CE8 + template <> inline constexpr guid guid_v{ 0x4E47EAFB,0x79CD,0x4881,{ 0x98,0x94,0x55,0xA4,0x13,0x5B,0x23,0xFA } }; // 4E47EAFB-79CD-4881-9894-55A4135B23FA + template <> inline constexpr guid guid_v{ 0xA09924ED,0x6E2E,0x4530,{ 0x9F,0xDE,0x46,0x5D,0x02,0xEE,0xD0,0x0E } }; // A09924ED-6E2E-4530-9FDE-465D02EED00E + template <> inline constexpr guid guid_v{ 0xED3C5E28,0x6984,0x4B07,{ 0x81,0x1D,0x8D,0x59,0x06,0xED,0x3C,0xEA } }; // ED3C5E28-6984-4B07-811D-8D5906ED3CEA + template <> inline constexpr guid guid_v{ 0x2CF0FE30,0xFE50,0x4FC6,{ 0xAA,0x88,0x4C,0xCF,0xE2,0x7A,0x29,0xEA } }; // 2CF0FE30-FE50-4FC6-AA88-4CCFE27A29EA + template <> inline constexpr guid guid_v{ 0x08E80A98,0xB8E5,0x41C1,{ 0xA3,0xD8,0xD3,0xAB,0xFA,0xE2,0x26,0x75 } }; // 08E80A98-B8E5-41C1-A3D8-D3ABFAE22675 + template <> inline constexpr guid guid_v{ 0x2BCFCBD4,0x2657,0x4128,{ 0xAD,0x5F,0xE3,0x87,0x71,0x32,0xBD,0xB1 } }; // 2BCFCBD4-2657-4128-AD5F-E3877132BDB1 + template <> inline constexpr guid guid_v{ 0x1720503E,0xF34F,0x446B,{ 0x83,0xB3,0x0F,0xF1,0x99,0x23,0xB4,0x09 } }; // 1720503E-F34F-446B-83B3-0FF19923B409 + template <> inline constexpr guid guid_v{ 0x63A05464,0x2898,0x4778,{ 0xA0,0x3C,0x6F,0x99,0x49,0x07,0xD6,0x3A } }; // 63A05464-2898-4778-A03C-6F994907D63A + template <> inline constexpr guid guid_v{ 0x5BB50F15,0xE46D,0x4C82,{ 0x84,0x7D,0x5A,0x03,0x04,0xC1,0xD5,0x3D } }; // 5BB50F15-E46D-4C82-847D-5A0304C1D53D + template <> inline constexpr guid guid_v{ 0x40E05C86,0xA7B4,0x4771,{ 0x9A,0xE7,0x0B,0x5F,0xFB,0x12,0xC0,0x3A } }; // 40E05C86-A7B4-4771-9AE7-0B5FFB12C03A + template <> inline constexpr guid guid_v{ 0xDB139AF2,0x78C9,0x4FEB,{ 0x96,0x22,0x45,0x23,0x28,0x08,0x8D,0x62 } }; // DB139AF2-78C9-4FEB-9622-452328088D62 + template <> inline constexpr guid guid_v{ 0xE6D28342,0xB70B,0x4677,{ 0x93,0x79,0xC9,0x78,0x3F,0xDF,0xF8,0xF4 } }; // E6D28342-B70B-4677-9379-C9783FDFF8F4 + template <> inline constexpr guid guid_v{ 0xD61C904C,0xA495,0x487F,{ 0x9A,0x6F,0x97,0x15,0x48,0xC5,0xBC,0x9F } }; // D61C904C-A495-487F-9A6F-971548C5BC9F + template <> inline constexpr guid guid_v{ 0x22A0D893,0x4555,0x4755,{ 0xB5,0xA1,0xE7,0xFD,0x84,0x95,0x5F,0x8D } }; // 22A0D893-4555-4755-B5A1-E7FD84955F8D + template <> inline constexpr guid guid_v{ 0x7F68C5ED,0x3CCC,0x47A3,{ 0x8C,0x55,0x38,0x0D,0x3B,0x01,0x08,0x92 } }; // 7F68C5ED-3CCC-47A3-8C55-380D3B010892 + template <> inline constexpr guid guid_v{ 0x271AA0A6,0x95B1,0x44FF,{ 0xBC,0xB8,0xB8,0xFD,0xD7,0xE0,0x8B,0xC3 } }; // 271AA0A6-95B1-44FF-BCB8-B8FDD7E08BC3 + template <> inline constexpr guid guid_v{ 0xCD937743,0x7A55,0x4D3B,{ 0x90,0x21,0xF2,0x2E,0x02,0x2D,0x09,0xC5 } }; // CD937743-7A55-4D3B-9021-F22E022D09C5 + template <> inline constexpr guid guid_v{ 0x982B1162,0x3DD7,0x4618,{ 0xAF,0x89,0x0C,0x27,0x2D,0x5D,0x06,0xD8 } }; // 982B1162-3DD7-4618-AF89-0C272D5D06D8 + template <> inline constexpr guid guid_v{ 0x0B7AD409,0xEC2D,0x47CE,{ 0xA2,0x53,0x73,0x2B,0xEE,0xEB,0xCA,0xCD } }; // 0B7AD409-EC2D-47CE-A253-732BEEEBCACD + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncAction; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncAction; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t>; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncAction; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsAppMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsBinaryMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsBroadcastMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsDevice2; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsDeviceMessageStore; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsFilterRule; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsFilterRules; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsMessageRegistration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsReceivedEventDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsSendMessageResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsStatusMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsTextMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsTextMessage2; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsVoicemailMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Sms::ISmsWapMessage; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall put_To(void*) noexcept = 0; + virtual int32_t __stdcall get_From(void**) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall put_Body(void*) noexcept = 0; + virtual int32_t __stdcall get_CallbackNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_CallbackNumber(void*) noexcept = 0; + virtual int32_t __stdcall get_IsDeliveryNotificationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDeliveryNotificationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_RetryAttemptCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RetryAttemptCount(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Encoding(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Encoding(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PortNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PortNumber(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TeleserviceId(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TeleserviceId(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProtocolId(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ProtocolId(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BinaryBody(void**) noexcept = 0; + virtual int32_t __stdcall put_BinaryBody(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall GetData(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall SetData(uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall get_Channel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_GeographicalScope(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UpdateNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BroadcastType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsEmergencyAlert(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUserPopupRequested(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendMessageAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CalculateLength(void*, struct struct_Windows_Devices_Sms_SmsEncodedLength*) noexcept = 0; + virtual int32_t __stdcall get_AccountPhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageStore(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_SmsMessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SmsMessageReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SmsDeviceStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SmsDeviceStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmscAddress(void**) noexcept = 0; + virtual int32_t __stdcall put_SmscAddress(void*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_ParentDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_AccountPhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall CalculateLength(void*, struct struct_Windows_Devices_Sms_SmsEncodedLength*) noexcept = 0; + virtual int32_t __stdcall SendMessageAndGetResultAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_DeviceStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DeviceStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall FromParentId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DeleteMessageAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall DeleteMessagesAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetMessageAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetMessagesAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_MaxMessages(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromNetworkAccountIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ImsiPrefixes(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceIds(void**) noexcept = 0; + virtual int32_t __stdcall get_SenderNumbers(void**) noexcept = 0; + virtual int32_t __stdcall get_TextMessagePrefixes(void**) noexcept = 0; + virtual int32_t __stdcall get_PortNumbers(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CellularClass(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProtocolIds(void**) noexcept = 0; + virtual int32_t __stdcall get_TeleserviceIds(void**) noexcept = 0; + virtual int32_t __stdcall get_WapApplicationIds(void**) noexcept = 0; + virtual int32_t __stdcall get_WapContentTypes(void**) noexcept = 0; + virtual int32_t __stdcall get_BroadcastTypes(void**) noexcept = 0; + virtual int32_t __stdcall get_BroadcastChannels(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFilterRule(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActionType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Rules(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFilterRules(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageClass(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SimIccId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TextMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_BinaryMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TextMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_WapMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_AppMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_BroadcastMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_VoicemailMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_StatusMessage(void**) noexcept = 0; + virtual int32_t __stdcall Drop() noexcept = 0; + virtual int32_t __stdcall Accept() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall Unregister() noexcept = 0; + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllRegistrations(void**) noexcept = 0; + virtual int32_t __stdcall Register(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MessageIndex(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BinaryMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSuccessful(bool*) noexcept = 0; + virtual int32_t __stdcall get_MessageReferenceNumbers(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ModemErrorCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsErrorTransient(bool*) noexcept = 0; + virtual int32_t __stdcall get_NetworkCauseCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TransportFailureCause(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall get_From(void**) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageReferenceNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceCenterTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_DischargeTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_PartReferenceId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PartNumber(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PartCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall put_To(void*) noexcept = 0; + virtual int32_t __stdcall get_From(void**) noexcept = 0; + virtual int32_t __stdcall put_From(void*) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall put_Body(void*) noexcept = 0; + virtual int32_t __stdcall get_Encoding(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Encoding(int32_t) noexcept = 0; + virtual int32_t __stdcall ToBinaryMessages(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall put_To(void*) noexcept = 0; + virtual int32_t __stdcall get_From(void**) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall put_Body(void*) noexcept = 0; + virtual int32_t __stdcall get_Encoding(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Encoding(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CallbackNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_CallbackNumber(void*) noexcept = 0; + virtual int32_t __stdcall get_IsDeliveryNotificationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDeliveryNotificationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_RetryAttemptCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RetryAttemptCount(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TeleserviceId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolId(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromBinaryMessage(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromBinaryData(int32_t, uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall get_Body(void**) noexcept = 0; + virtual int32_t __stdcall get_MessageCount(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_To(void**) noexcept = 0; + virtual int32_t __stdcall get_From(void**) noexcept = 0; + virtual int32_t __stdcall get_ApplicationId(void**) noexcept = 0; + virtual int32_t __stdcall get_ContentType(void**) noexcept = 0; + virtual int32_t __stdcall get_BinaryBody(void**) noexcept = 0; + virtual int32_t __stdcall get_Headers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Sms_ISmsAppMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto CallbackNumber() const; + auto CallbackNumber(param::hstring const& value) const; + [[nodiscard]] auto IsDeliveryNotificationEnabled() const; + auto IsDeliveryNotificationEnabled(bool value) const; + [[nodiscard]] auto RetryAttemptCount() const; + auto RetryAttemptCount(int32_t value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + [[nodiscard]] auto PortNumber() const; + auto PortNumber(int32_t value) const; + [[nodiscard]] auto TeleserviceId() const; + auto TeleserviceId(int32_t value) const; + [[nodiscard]] auto ProtocolId() const; + auto ProtocolId(int32_t value) const; + [[nodiscard]] auto BinaryBody() const; + auto BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsAppMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsBinaryMessage + { + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const; + auto GetData() const; + auto SetData(array_view value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsBinaryMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsBroadcastMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto GeographicalScope() const; + [[nodiscard]] auto MessageCode() const; + [[nodiscard]] auto UpdateNumber() const; + [[nodiscard]] auto BroadcastType() const; + [[nodiscard]] auto IsEmergencyAlert() const; + [[nodiscard]] auto IsUserPopupRequested() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsBroadcastMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsDevice + { + auto SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const; + auto CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const; + [[nodiscard]] auto AccountPhoneNumber() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto MessageStore() const; + [[nodiscard]] auto DeviceStatus() const; + auto SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; + using SmsMessageReceived_revoker = impl::event_revoker::remove_SmsMessageReceived>; + [[nodiscard]] auto SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; + auto SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept; + auto SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; + using SmsDeviceStatusChanged_revoker = impl::event_revoker::remove_SmsDeviceStatusChanged>; + [[nodiscard]] auto SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; + auto SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDevice; + }; + template + struct consume_Windows_Devices_Sms_ISmsDevice2 + { + [[nodiscard]] auto SmscAddress() const; + auto SmscAddress(param::hstring const& value) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ParentDeviceId() const; + [[nodiscard]] auto AccountPhoneNumber() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto DeviceStatus() const; + auto CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; + auto SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; + auto DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using DeviceStatusChanged_revoker = impl::event_revoker::remove_DeviceStatusChanged>; + [[nodiscard]] auto DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDevice2; + }; + template + struct consume_Windows_Devices_Sms_ISmsDevice2Statics + { + auto GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto GetDefault() const; + auto FromParentId(param::hstring const& parentDeviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDevice2Statics; + }; + template + struct consume_Windows_Devices_Sms_ISmsDeviceMessageStore + { + auto DeleteMessageAsync(uint32_t messageId) const; + auto DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; + auto GetMessageAsync(uint32_t messageId) const; + auto GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; + [[nodiscard]] auto MaxMessages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDeviceMessageStore; + }; + template + struct consume_Windows_Devices_Sms_ISmsDeviceStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDeviceStatics; + }; + template + struct consume_Windows_Devices_Sms_ISmsDeviceStatics2 + { + auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsDeviceStatics2; + }; + template + struct consume_Windows_Devices_Sms_ISmsFilterRule + { + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto ImsiPrefixes() const; + [[nodiscard]] auto DeviceIds() const; + [[nodiscard]] auto SenderNumbers() const; + [[nodiscard]] auto TextMessagePrefixes() const; + [[nodiscard]] auto PortNumbers() const; + [[nodiscard]] auto CellularClass() const; + auto CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const; + [[nodiscard]] auto ProtocolIds() const; + [[nodiscard]] auto TeleserviceIds() const; + [[nodiscard]] auto WapApplicationIds() const; + [[nodiscard]] auto WapContentTypes() const; + [[nodiscard]] auto BroadcastTypes() const; + [[nodiscard]] auto BroadcastChannels() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsFilterRule; + }; + template + struct consume_Windows_Devices_Sms_ISmsFilterRuleFactory + { + auto CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsFilterRuleFactory; + }; + template + struct consume_Windows_Devices_Sms_ISmsFilterRules + { + [[nodiscard]] auto ActionType() const; + [[nodiscard]] auto Rules() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsFilterRules; + }; + template + struct consume_Windows_Devices_Sms_ISmsFilterRulesFactory + { + auto CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsFilterRulesFactory; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessage + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MessageClass() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessageBase + { + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto MessageClass() const; + [[nodiscard]] auto SimIccId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessageBase; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs + { + [[nodiscard]] auto TextMessage() const; + [[nodiscard]] auto BinaryMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails + { + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto TextMessage() const; + [[nodiscard]] auto WapMessage() const; + [[nodiscard]] auto AppMessage() const; + [[nodiscard]] auto BroadcastMessage() const; + [[nodiscard]] auto VoicemailMessage() const; + [[nodiscard]] auto StatusMessage() const; + auto Drop() const; + auto Accept() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessageRegistration + { + [[nodiscard]] auto Id() const; + auto Unregister() const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessageRegistration; + }; + template + struct consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics + { + [[nodiscard]] auto AllRegistrations() const; + auto Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics; + }; + template + struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MessageIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsReceivedEventDetails; + }; + template + struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails2 + { + [[nodiscard]] auto MessageClass() const; + [[nodiscard]] auto BinaryMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsReceivedEventDetails2; + }; + template + struct consume_Windows_Devices_Sms_ISmsSendMessageResult + { + [[nodiscard]] auto IsSuccessful() const; + [[nodiscard]] auto MessageReferenceNumbers() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto ModemErrorCode() const; + [[nodiscard]] auto IsErrorTransient() const; + [[nodiscard]] auto NetworkCauseCode() const; + [[nodiscard]] auto TransportFailureCause() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsSendMessageResult; + }; + template + struct consume_Windows_Devices_Sms_ISmsStatusMessage + { + [[nodiscard]] auto To() const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto MessageReferenceNumber() const; + [[nodiscard]] auto ServiceCenterTimestamp() const; + [[nodiscard]] auto DischargeTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsStatusMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsTextMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PartReferenceId() const; + [[nodiscard]] auto PartNumber() const; + [[nodiscard]] auto PartCount() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + auto From(param::hstring const& value) const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + auto ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsTextMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsTextMessage2 + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + [[nodiscard]] auto CallbackNumber() const; + auto CallbackNumber(param::hstring const& value) const; + [[nodiscard]] auto IsDeliveryNotificationEnabled() const; + auto IsDeliveryNotificationEnabled(bool value) const; + [[nodiscard]] auto RetryAttemptCount() const; + auto RetryAttemptCount(int32_t value) const; + [[nodiscard]] auto TeleserviceId() const; + [[nodiscard]] auto ProtocolId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsTextMessage2; + }; + template + struct consume_Windows_Devices_Sms_ISmsTextMessageStatics + { + auto FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const; + auto FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsTextMessageStatics; + }; + template + struct consume_Windows_Devices_Sms_ISmsVoicemailMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto MessageCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsVoicemailMessage; + }; + template + struct consume_Windows_Devices_Sms_ISmsWapMessage + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto ContentType() const; + [[nodiscard]] auto BinaryBody() const; + [[nodiscard]] auto Headers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Sms_ISmsWapMessage; + }; + struct struct_Windows_Devices_Sms_SmsEncodedLength + { + uint32_t SegmentCount; + uint32_t CharacterCountLastSegment; + uint32_t CharactersPerSegment; + uint32_t ByteCountLastSegment; + uint32_t BytesPerSegment; + }; + template <> struct abi + { + using type = struct_Windows_Devices_Sms_SmsEncodedLength; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8b74fb6ebc96ef7f0f9cc3939541b1518e99b9ba --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.1.h @@ -0,0 +1,217 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sms_1_H +#define WINRT_Windows_Devices_Sms_1_H +#include "winrt/impl/Windows.Devices.Sms.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sms +{ + struct WINRT_IMPL_EMPTY_BASES ISmsAppMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsAppMessage(std::nullptr_t = nullptr) noexcept {} + ISmsAppMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsBinaryMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsBinaryMessage(std::nullptr_t = nullptr) noexcept {} + ISmsBinaryMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsBroadcastMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsBroadcastMessage(std::nullptr_t = nullptr) noexcept {} + ISmsBroadcastMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDevice(std::nullptr_t = nullptr) noexcept {} + ISmsDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDevice2(std::nullptr_t = nullptr) noexcept {} + ISmsDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDevice2Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDevice2Statics(std::nullptr_t = nullptr) noexcept {} + ISmsDevice2Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDeviceMessageStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDeviceMessageStore(std::nullptr_t = nullptr) noexcept {} + ISmsDeviceMessageStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDeviceStatics(std::nullptr_t = nullptr) noexcept {} + ISmsDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsDeviceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsDeviceStatics2(std::nullptr_t = nullptr) noexcept {} + ISmsDeviceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsFilterRule : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsFilterRule(std::nullptr_t = nullptr) noexcept {} + ISmsFilterRule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsFilterRuleFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsFilterRuleFactory(std::nullptr_t = nullptr) noexcept {} + ISmsFilterRuleFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsFilterRules : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsFilterRules(std::nullptr_t = nullptr) noexcept {} + ISmsFilterRules(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsFilterRulesFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsFilterRulesFactory(std::nullptr_t = nullptr) noexcept {} + ISmsFilterRulesFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessage(std::nullptr_t = nullptr) noexcept {} + ISmsMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessageBase : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessageBase(std::nullptr_t = nullptr) noexcept {} + ISmsMessageBase(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISmsMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessageReceivedTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessageReceivedTriggerDetails(std::nullptr_t = nullptr) noexcept {} + ISmsMessageReceivedTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessageRegistration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessageRegistration(std::nullptr_t = nullptr) noexcept {} + ISmsMessageRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsMessageRegistrationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsMessageRegistrationStatics(std::nullptr_t = nullptr) noexcept {} + ISmsMessageRegistrationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsReceivedEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsReceivedEventDetails(std::nullptr_t = nullptr) noexcept {} + ISmsReceivedEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsReceivedEventDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsReceivedEventDetails2(std::nullptr_t = nullptr) noexcept {} + ISmsReceivedEventDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsSendMessageResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsSendMessageResult(std::nullptr_t = nullptr) noexcept {} + ISmsSendMessageResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsStatusMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsStatusMessage(std::nullptr_t = nullptr) noexcept {} + ISmsStatusMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsTextMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsTextMessage(std::nullptr_t = nullptr) noexcept {} + ISmsTextMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsTextMessage2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsTextMessage2(std::nullptr_t = nullptr) noexcept {} + ISmsTextMessage2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsTextMessageStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISmsTextMessageStatics(std::nullptr_t = nullptr) noexcept {} + ISmsTextMessageStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsVoicemailMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsVoicemailMessage(std::nullptr_t = nullptr) noexcept {} + ISmsVoicemailMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISmsWapMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISmsWapMessage(std::nullptr_t = nullptr) noexcept {} + ISmsWapMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b31d3a89cff47de0e2a8186c0ee58ad0f2b60a71 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.sms.2.h @@ -0,0 +1,196 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Sms_2_H +#define WINRT_Windows_Devices_Sms_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Devices.Sms.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Sms +{ + struct SmsDeviceStatusChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + SmsDeviceStatusChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + SmsDeviceStatusChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template SmsDeviceStatusChangedEventHandler(L lambda); + template SmsDeviceStatusChangedEventHandler(F* function); + template SmsDeviceStatusChangedEventHandler(O* object, M method); + template SmsDeviceStatusChangedEventHandler(com_ptr&& object, M method); + template SmsDeviceStatusChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template SmsDeviceStatusChangedEventHandler(std::shared_ptr&& object, M method); + template SmsDeviceStatusChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Devices::Sms::SmsDevice const& sender) const; + }; + struct SmsMessageReceivedEventHandler : winrt::Windows::Foundation::IUnknown + { + SmsMessageReceivedEventHandler(std::nullptr_t = nullptr) noexcept {} + SmsMessageReceivedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template SmsMessageReceivedEventHandler(L lambda); + template SmsMessageReceivedEventHandler(F* function); + template SmsMessageReceivedEventHandler(O* object, M method); + template SmsMessageReceivedEventHandler(com_ptr&& object, M method); + template SmsMessageReceivedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template SmsMessageReceivedEventHandler(std::shared_ptr&& object, M method); + template SmsMessageReceivedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Devices::Sms::SmsDevice const& sender, winrt::Windows::Devices::Sms::SmsMessageReceivedEventArgs const& e) const; + }; + struct SmsEncodedLength + { + uint32_t SegmentCount {}; + uint32_t CharacterCountLastSegment {}; + uint32_t CharactersPerSegment {}; + uint32_t ByteCountLastSegment {}; + uint32_t BytesPerSegment {}; + }; + inline bool operator==(SmsEncodedLength const& left, SmsEncodedLength const& right) noexcept + { + return left.SegmentCount == right.SegmentCount && left.CharacterCountLastSegment == right.CharacterCountLastSegment && left.CharactersPerSegment == right.CharactersPerSegment && left.ByteCountLastSegment == right.ByteCountLastSegment && left.BytesPerSegment == right.BytesPerSegment; + } + inline bool operator!=(SmsEncodedLength const& left, SmsEncodedLength const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES DeleteSmsMessageOperation : winrt::Windows::Foundation::IAsyncAction + { + DeleteSmsMessageOperation(std::nullptr_t) noexcept {} + DeleteSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeleteSmsMessagesOperation : winrt::Windows::Foundation::IAsyncAction + { + DeleteSmsMessagesOperation(std::nullptr_t) noexcept {} + DeleteSmsMessagesOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GetSmsDeviceOperation : winrt::Windows::Foundation::IAsyncOperation + { + GetSmsDeviceOperation(std::nullptr_t) noexcept {} + GetSmsDeviceOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GetSmsMessageOperation : winrt::Windows::Foundation::IAsyncOperation + { + GetSmsMessageOperation(std::nullptr_t) noexcept {} + GetSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GetSmsMessagesOperation : winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t> + { + GetSmsMessagesOperation(std::nullptr_t) noexcept {} + GetSmsMessagesOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t>(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SendSmsMessageOperation : winrt::Windows::Foundation::IAsyncAction + { + SendSmsMessageOperation(std::nullptr_t) noexcept {} + SendSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsAppMessage : winrt::Windows::Devices::Sms::ISmsAppMessage + { + SmsAppMessage(std::nullptr_t) noexcept {} + SmsAppMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsAppMessage(ptr, take_ownership_from_abi) {} + SmsAppMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES SmsBinaryMessage : winrt::Windows::Devices::Sms::ISmsBinaryMessage + { + SmsBinaryMessage(std::nullptr_t) noexcept {} + SmsBinaryMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsBinaryMessage(ptr, take_ownership_from_abi) {} + SmsBinaryMessage(); + }; + struct WINRT_IMPL_EMPTY_BASES SmsBroadcastMessage : winrt::Windows::Devices::Sms::ISmsBroadcastMessage + { + SmsBroadcastMessage(std::nullptr_t) noexcept {} + SmsBroadcastMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsBroadcastMessage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsDevice : winrt::Windows::Devices::Sms::ISmsDevice + { + SmsDevice(std::nullptr_t) noexcept {} + SmsDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDefaultAsync(); + static auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId); + }; + struct WINRT_IMPL_EMPTY_BASES SmsDevice2 : winrt::Windows::Devices::Sms::ISmsDevice2 + { + SmsDevice2(std::nullptr_t) noexcept {} + SmsDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsDevice2(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromId(param::hstring const& deviceId); + static auto GetDefault(); + static auto FromParentId(param::hstring const& parentDeviceId); + }; + struct WINRT_IMPL_EMPTY_BASES SmsDeviceMessageStore : winrt::Windows::Devices::Sms::ISmsDeviceMessageStore + { + SmsDeviceMessageStore(std::nullptr_t) noexcept {} + SmsDeviceMessageStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsDeviceMessageStore(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsFilterRule : winrt::Windows::Devices::Sms::ISmsFilterRule + { + SmsFilterRule(std::nullptr_t) noexcept {} + SmsFilterRule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsFilterRule(ptr, take_ownership_from_abi) {} + explicit SmsFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType); + }; + struct WINRT_IMPL_EMPTY_BASES SmsFilterRules : winrt::Windows::Devices::Sms::ISmsFilterRules + { + SmsFilterRules(std::nullptr_t) noexcept {} + SmsFilterRules(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsFilterRules(ptr, take_ownership_from_abi) {} + explicit SmsFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType); + }; + struct WINRT_IMPL_EMPTY_BASES SmsMessageReceivedEventArgs : winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs + { + SmsMessageReceivedEventArgs(std::nullptr_t) noexcept {} + SmsMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsMessageReceivedTriggerDetails : winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails + { + SmsMessageReceivedTriggerDetails(std::nullptr_t) noexcept {} + SmsMessageReceivedTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsMessageRegistration : winrt::Windows::Devices::Sms::ISmsMessageRegistration + { + SmsMessageRegistration(std::nullptr_t) noexcept {} + SmsMessageRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsMessageRegistration(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto AllRegistrations(); + static auto Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules); + }; + struct WINRT_IMPL_EMPTY_BASES SmsReceivedEventDetails : winrt::Windows::Devices::Sms::ISmsReceivedEventDetails, + impl::require + { + SmsReceivedEventDetails(std::nullptr_t) noexcept {} + SmsReceivedEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsReceivedEventDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsSendMessageResult : winrt::Windows::Devices::Sms::ISmsSendMessageResult + { + SmsSendMessageResult(std::nullptr_t) noexcept {} + SmsSendMessageResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsSendMessageResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsStatusMessage : winrt::Windows::Devices::Sms::ISmsStatusMessage + { + SmsStatusMessage(std::nullptr_t) noexcept {} + SmsStatusMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsStatusMessage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsTextMessage : winrt::Windows::Devices::Sms::ISmsTextMessage + { + SmsTextMessage(std::nullptr_t) noexcept {} + SmsTextMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsTextMessage(ptr, take_ownership_from_abi) {} + SmsTextMessage(); + static auto FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage); + static auto FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value); + }; + struct WINRT_IMPL_EMPTY_BASES SmsTextMessage2 : winrt::Windows::Devices::Sms::ISmsTextMessage2 + { + SmsTextMessage2(std::nullptr_t) noexcept {} + SmsTextMessage2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsTextMessage2(ptr, take_ownership_from_abi) {} + SmsTextMessage2(); + }; + struct WINRT_IMPL_EMPTY_BASES SmsVoicemailMessage : winrt::Windows::Devices::Sms::ISmsVoicemailMessage + { + SmsVoicemailMessage(std::nullptr_t) noexcept {} + SmsVoicemailMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsVoicemailMessage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SmsWapMessage : winrt::Windows::Devices::Sms::ISmsWapMessage + { + SmsWapMessage(std::nullptr_t) noexcept {} + SmsWapMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Sms::ISmsWapMessage(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.0.h new file mode 100644 index 0000000000000000000000000000000000000000..466b768175c8c2cb1c04939e9b0ed8915fbe23af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.0.h @@ -0,0 +1,233 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_0_H +#define WINRT_Windows_Devices_Spi_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider +{ + struct ISpiProvider; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Spi +{ + enum class SpiMode : int32_t + { + Mode0 = 0, + Mode1 = 1, + Mode2 = 2, + Mode3 = 3, + }; + enum class SpiSharingMode : int32_t + { + Exclusive = 0, + Shared = 1, + }; + struct ISpiBusInfo; + struct ISpiConnectionSettings; + struct ISpiConnectionSettingsFactory; + struct ISpiController; + struct ISpiControllerStatics; + struct ISpiDevice; + struct ISpiDeviceStatics; + struct SpiBusInfo; + struct SpiConnectionSettings; + struct SpiController; + struct SpiDevice; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiBusInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.SpiSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiBusInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiConnectionSettingsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiController"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.ISpiDeviceStatics"; + template <> inline constexpr guid guid_v{ 0x9929444A,0x54F2,0x48C6,{ 0xB9,0x52,0x9C,0x32,0xFC,0x02,0xC6,0x69 } }; // 9929444A-54F2-48C6-B952-9C32FC02C669 + template <> inline constexpr guid guid_v{ 0x5283A37F,0xF935,0x4B9F,{ 0xA7,0xA7,0x3A,0x78,0x90,0xAF,0xA5,0xCE } }; // 5283A37F-F935-4B9F-A7A7-3A7890AFA5CE + template <> inline constexpr guid guid_v{ 0xFF99081E,0x10C4,0x44B7,{ 0x9F,0xEA,0xA7,0x48,0xB5,0xA4,0x6F,0x31 } }; // FF99081E-10C4-44B7-9FEA-A748B5A46F31 + template <> inline constexpr guid guid_v{ 0xA8D3C829,0x9895,0x4159,{ 0xA9,0x34,0x87,0x41,0xF1,0xEE,0x6D,0x27 } }; // A8D3C829-9895-4159-A934-8741F1EE6D27 + template <> inline constexpr guid guid_v{ 0x0D5229E2,0x138B,0x4E48,{ 0xB9,0x64,0x4F,0x2F,0x79,0xB9,0xC5,0xA2 } }; // 0D5229E2-138B-4E48-B964-4F2F79B9C5A2 + template <> inline constexpr guid guid_v{ 0x05D5356D,0x11B6,0x4D39,{ 0x84,0xD5,0x95,0xDF,0xB4,0xC9,0xF2,0xCE } }; // 05D5356D-11B6-4D39-84D5-95DFB4C9F2CE + template <> inline constexpr guid guid_v{ 0xA278E559,0x5720,0x4D3F,{ 0xBD,0x93,0x56,0xF5,0xFF,0x5A,0x58,0x79 } }; // A278E559-5720-4D3F-BD93-56F5FF5A5879 + template <> struct default_interface{ using type = winrt::Windows::Devices::Spi::ISpiBusInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Spi::ISpiConnectionSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Spi::ISpiController; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Spi::ISpiDevice; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChipSelectLineCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinClockFrequency(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxClockFrequency(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedDataBitLengths(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChipSelectLine(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ChipSelectLine(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DataBitLength(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DataBitLength(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ClockFrequency(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ClockFrequency(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SharingMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDevice(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetControllersAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionSettings(void**) noexcept = 0; + virtual int32_t __stdcall Write(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall Read(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall TransferSequential(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall TransferFullDuplex(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromFriendlyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetBusInfo(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Spi_ISpiBusInfo + { + [[nodiscard]] auto ChipSelectLineCount() const; + [[nodiscard]] auto MinClockFrequency() const; + [[nodiscard]] auto MaxClockFrequency() const; + [[nodiscard]] auto SupportedDataBitLengths() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiBusInfo; + }; + template + struct consume_Windows_Devices_Spi_ISpiConnectionSettings + { + [[nodiscard]] auto ChipSelectLine() const; + auto ChipSelectLine(int32_t value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const; + [[nodiscard]] auto DataBitLength() const; + auto DataBitLength(int32_t value) const; + [[nodiscard]] auto ClockFrequency() const; + auto ClockFrequency(int32_t value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiConnectionSettings; + }; + template + struct consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory + { + auto Create(int32_t chipSelectLine) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory; + }; + template + struct consume_Windows_Devices_Spi_ISpiController + { + auto GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiController; + }; + template + struct consume_Windows_Devices_Spi_ISpiControllerStatics + { + auto GetDefaultAsync() const; + auto GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiControllerStatics; + }; + template + struct consume_Windows_Devices_Spi_ISpiDevice + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto Read(array_view buffer) const; + auto TransferSequential(array_view writeBuffer, array_view readBuffer) const; + auto TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiDevice; + }; + template + struct consume_Windows_Devices_Spi_ISpiDeviceStatics + { + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto GetBusInfo(param::hstring const& busId) const; + auto FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_ISpiDeviceStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ea6a618241581690fac170fb2c951b821fd3ebe4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.1.h @@ -0,0 +1,64 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_1_H +#define WINRT_Windows_Devices_Spi_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Spi.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Spi +{ + struct WINRT_IMPL_EMPTY_BASES ISpiBusInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiBusInfo(std::nullptr_t = nullptr) noexcept {} + ISpiBusInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiConnectionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiConnectionSettings(std::nullptr_t = nullptr) noexcept {} + ISpiConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiConnectionSettingsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiConnectionSettingsFactory(std::nullptr_t = nullptr) noexcept {} + ISpiConnectionSettingsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiController(std::nullptr_t = nullptr) noexcept {} + ISpiController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiControllerStatics(std::nullptr_t = nullptr) noexcept {} + ISpiControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpiDevice(std::nullptr_t = nullptr) noexcept {} + ISpiDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiDeviceStatics(std::nullptr_t = nullptr) noexcept {} + ISpiDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ba9795e6cf5352a88f9a0e98a25e29c19df4a405 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.2.h @@ -0,0 +1,42 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_2_H +#define WINRT_Windows_Devices_Spi_2_H +#include "winrt/impl/Windows.Devices.Spi.Provider.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Devices.Spi.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Spi +{ + struct WINRT_IMPL_EMPTY_BASES SpiBusInfo : winrt::Windows::Devices::Spi::ISpiBusInfo + { + SpiBusInfo(std::nullptr_t) noexcept {} + SpiBusInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Spi::ISpiBusInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpiConnectionSettings : winrt::Windows::Devices::Spi::ISpiConnectionSettings + { + SpiConnectionSettings(std::nullptr_t) noexcept {} + SpiConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Spi::ISpiConnectionSettings(ptr, take_ownership_from_abi) {} + explicit SpiConnectionSettings(int32_t chipSelectLine); + }; + struct WINRT_IMPL_EMPTY_BASES SpiController : winrt::Windows::Devices::Spi::ISpiController + { + SpiController(std::nullptr_t) noexcept {} + SpiController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Spi::ISpiController(ptr, take_ownership_from_abi) {} + static auto GetDefaultAsync(); + static auto GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider); + }; + struct WINRT_IMPL_EMPTY_BASES SpiDevice : winrt::Windows::Devices::Spi::ISpiDevice + { + SpiDevice(std::nullptr_t) noexcept {} + SpiDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Spi::ISpiDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDeviceSelector(param::hstring const& friendlyName); + static auto GetBusInfo(param::hstring const& busId); + static auto FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..14b5b79b7446feebe1e05547d686fb075c256f03 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.0.h @@ -0,0 +1,163 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_Provider_0_H +#define WINRT_Windows_Devices_Spi_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider +{ + enum class ProviderSpiMode : int32_t + { + Mode0 = 0, + Mode1 = 1, + Mode2 = 2, + Mode3 = 3, + }; + enum class ProviderSpiSharingMode : int32_t + { + Exclusive = 0, + Shared = 1, + }; + struct IProviderSpiConnectionSettings; + struct IProviderSpiConnectionSettingsFactory; + struct ISpiControllerProvider; + struct ISpiDeviceProvider; + struct ISpiProvider; + struct ProviderSpiConnectionSettings; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ProviderSpiConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ProviderSpiMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ProviderSpiSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.IProviderSpiConnectionSettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.IProviderSpiConnectionSettingsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ISpiControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ISpiDeviceProvider"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Spi.Provider.ISpiProvider"; + template <> inline constexpr guid guid_v{ 0xF6034550,0xA542,0x4EC0,{ 0x96,0x01,0xA4,0xDD,0x68,0xF8,0x69,0x7B } }; // F6034550-A542-4EC0-9601-A4DD68F8697B + template <> inline constexpr guid guid_v{ 0x66456B5A,0x0C79,0x43E3,{ 0x9F,0x3C,0xE5,0x97,0x80,0xAC,0x18,0xFA } }; // 66456B5A-0C79-43E3-9F3C-E59780AC18FA + template <> inline constexpr guid guid_v{ 0xC1686504,0x02CE,0x4226,{ 0xA3,0x85,0x4F,0x11,0xFB,0x04,0xB4,0x1B } }; // C1686504-02CE-4226-A385-4F11FB04B41B + template <> inline constexpr guid guid_v{ 0x0D1C3443,0x304B,0x405C,{ 0xB4,0xF7,0xF5,0xAB,0x10,0x74,0x46,0x1E } }; // 0D1C3443-304B-405C-B4F7-F5AB1074461E + template <> inline constexpr guid guid_v{ 0x96B461E2,0x77D4,0x48CE,{ 0xAA,0xA0,0x75,0x71,0x5A,0x83,0x62,0xCF } }; // 96B461E2-77D4-48CE-AAA0-75715A8362CF + template <> struct default_interface{ using type = winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChipSelectLine(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ChipSelectLine(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DataBitLength(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DataBitLength(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ClockFrequency(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ClockFrequency(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SharingMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceProvider(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionSettings(void**) noexcept = 0; + virtual int32_t __stdcall Write(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall Read(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall TransferSequential(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall TransferFullDuplex(uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetControllersAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings + { + [[nodiscard]] auto ChipSelectLine() const; + auto ChipSelectLine(int32_t value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const; + [[nodiscard]] auto DataBitLength() const; + auto DataBitLength(int32_t value) const; + [[nodiscard]] auto ClockFrequency() const; + auto ClockFrequency(int32_t value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings; + }; + template + struct consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory + { + auto Create(int32_t chipSelectLine) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory; + }; + template + struct consume_Windows_Devices_Spi_Provider_ISpiControllerProvider + { + auto GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_Provider_ISpiControllerProvider; + }; + template + struct consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto Read(array_view buffer) const; + auto TransferSequential(array_view writeBuffer, array_view readBuffer) const; + auto TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider; + }; + template + struct consume_Windows_Devices_Spi_Provider_ISpiProvider + { + auto GetControllersAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Spi_Provider_ISpiProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ec1cae298cf7a2d7650151c490ef7a4545e3e6f3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.1.h @@ -0,0 +1,50 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_Provider_1_H +#define WINRT_Windows_Devices_Spi_Provider_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Spi.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IProviderSpiConnectionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProviderSpiConnectionSettings(std::nullptr_t = nullptr) noexcept {} + IProviderSpiConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProviderSpiConnectionSettingsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProviderSpiConnectionSettingsFactory(std::nullptr_t = nullptr) noexcept {} + IProviderSpiConnectionSettingsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiControllerProvider(std::nullptr_t = nullptr) noexcept {} + ISpiControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiDeviceProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpiDeviceProvider(std::nullptr_t = nullptr) noexcept {} + ISpiDeviceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpiProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpiProvider(std::nullptr_t = nullptr) noexcept {} + ISpiProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..871298822b2679bcec9a10bb197b9c6472c0f491 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.spi.provider.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Spi_Provider_2_H +#define WINRT_Windows_Devices_Spi_Provider_2_H +#include "winrt/impl/Windows.Devices.Spi.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider +{ + struct WINRT_IMPL_EMPTY_BASES ProviderSpiConnectionSettings : winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings + { + ProviderSpiConnectionSettings(std::nullptr_t) noexcept {} + ProviderSpiConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings(ptr, take_ownership_from_abi) {} + explicit ProviderSpiConnectionSettings(int32_t chipSelectLine); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8c3c70401356efc925f22929c52116c2f9c992c1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.0.h @@ -0,0 +1,936 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Usb_0_H +#define WINRT_Windows_Devices_Usb_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Usb +{ + enum class UsbControlRecipient : int32_t + { + Device = 0, + SpecifiedInterface = 1, + Endpoint = 2, + Other = 3, + DefaultInterface = 4, + }; + enum class UsbControlTransferType : int32_t + { + Standard = 0, + Class = 1, + Vendor = 2, + }; + enum class UsbEndpointType : int32_t + { + Control = 0, + Isochronous = 1, + Bulk = 2, + Interrupt = 3, + }; + enum class UsbReadOptions : uint32_t + { + None = 0, + AutoClearStall = 0x1, + OverrideAutomaticBufferManagement = 0x2, + IgnoreShortPacket = 0x4, + AllowPartialReads = 0x8, + }; + enum class UsbTransferDirection : int32_t + { + Out = 0, + In = 1, + }; + enum class UsbWriteOptions : uint32_t + { + None = 0, + AutoClearStall = 0x1, + ShortPacketTerminate = 0x2, + }; + struct IUsbBulkInEndpointDescriptor; + struct IUsbBulkInPipe; + struct IUsbBulkOutEndpointDescriptor; + struct IUsbBulkOutPipe; + struct IUsbConfiguration; + struct IUsbConfigurationDescriptor; + struct IUsbConfigurationDescriptorStatics; + struct IUsbControlRequestType; + struct IUsbDescriptor; + struct IUsbDevice; + struct IUsbDeviceClass; + struct IUsbDeviceClasses; + struct IUsbDeviceClassesStatics; + struct IUsbDeviceDescriptor; + struct IUsbDeviceStatics; + struct IUsbEndpointDescriptor; + struct IUsbEndpointDescriptorStatics; + struct IUsbInterface; + struct IUsbInterfaceDescriptor; + struct IUsbInterfaceDescriptorStatics; + struct IUsbInterfaceSetting; + struct IUsbInterruptInEndpointDescriptor; + struct IUsbInterruptInEventArgs; + struct IUsbInterruptInPipe; + struct IUsbInterruptOutEndpointDescriptor; + struct IUsbInterruptOutPipe; + struct IUsbSetupPacket; + struct IUsbSetupPacketFactory; + struct UsbBulkInEndpointDescriptor; + struct UsbBulkInPipe; + struct UsbBulkOutEndpointDescriptor; + struct UsbBulkOutPipe; + struct UsbConfiguration; + struct UsbConfigurationDescriptor; + struct UsbControlRequestType; + struct UsbDescriptor; + struct UsbDevice; + struct UsbDeviceClass; + struct UsbDeviceClasses; + struct UsbDeviceDescriptor; + struct UsbEndpointDescriptor; + struct UsbInterface; + struct UsbInterfaceDescriptor; + struct UsbInterfaceSetting; + struct UsbInterruptInEndpointDescriptor; + struct UsbInterruptInEventArgs; + struct UsbInterruptInPipe; + struct UsbInterruptOutEndpointDescriptor; + struct UsbInterruptOutPipe; + struct UsbSetupPacket; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbBulkInEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbBulkInPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbBulkOutEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbBulkOutPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbConfigurationDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbControlRequestType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbDeviceClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbDeviceClasses"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbDeviceDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterface"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterfaceDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterfaceSetting"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterruptInEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterruptInEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterruptInPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbInterruptOutPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbSetupPacket"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbControlRecipient"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbControlTransferType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbEndpointType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbReadOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbTransferDirection"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.UsbWriteOptions"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbBulkInEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbBulkInPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbBulkOutEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbBulkOutPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbConfigurationDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbConfigurationDescriptorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbControlRequestType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDeviceClass"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDeviceClasses"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDeviceClassesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDeviceDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbEndpointDescriptorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterface"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterfaceDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterfaceDescriptorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterfaceSetting"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterruptInEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterruptInEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterruptInPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterruptOutEndpointDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbInterruptOutPipe"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbSetupPacket"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Usb.IUsbSetupPacketFactory"; + template <> inline constexpr guid guid_v{ 0x3C6E4846,0x06CF,0x42A9,{ 0x9D,0xC2,0x97,0x1C,0x1B,0x14,0xB6,0xE3 } }; // 3C6E4846-06CF-42A9-9DC2-971C1B14B6E3 + template <> inline constexpr guid guid_v{ 0xF01D2D3B,0x4548,0x4D50,{ 0xB3,0x26,0xD8,0x2C,0xDA,0xBE,0x12,0x20 } }; // F01D2D3B-4548-4D50-B326-D82CDABE1220 + template <> inline constexpr guid guid_v{ 0x2820847A,0xFFEE,0x4F60,{ 0x9B,0xE1,0x95,0x6C,0xAC,0x3E,0xCB,0x65 } }; // 2820847A-FFEE-4F60-9BE1-956CAC3ECB65 + template <> inline constexpr guid guid_v{ 0xA8E9EE6E,0x0115,0x45AA,{ 0x8B,0x21,0x37,0xB2,0x25,0xBC,0xCE,0xE7 } }; // A8E9EE6E-0115-45AA-8B21-37B225BCCEE7 + template <> inline constexpr guid guid_v{ 0x68177429,0x36A9,0x46D7,{ 0xB8,0x73,0xFC,0x68,0x92,0x51,0xEC,0x30 } }; // 68177429-36A9-46D7-B873-FC689251EC30 + template <> inline constexpr guid guid_v{ 0xF2176D92,0xB442,0x407A,{ 0x82,0x07,0x7D,0x64,0x6C,0x03,0x85,0xF3 } }; // F2176D92-B442-407A-8207-7D646C0385F3 + template <> inline constexpr guid guid_v{ 0x424CED93,0xE740,0x40A1,{ 0x92,0xBD,0xDA,0x12,0x0E,0xA0,0x49,0x14 } }; // 424CED93-E740-40A1-92BD-DA120EA04914 + template <> inline constexpr guid guid_v{ 0x8E9465A6,0xD73D,0x46DE,{ 0x94,0xBE,0xAA,0xE7,0xF0,0x7C,0x0F,0x5C } }; // 8E9465A6-D73D-46DE-94BE-AAE7F07C0F5C + template <> inline constexpr guid guid_v{ 0x0A89F216,0x5F9D,0x4874,{ 0x89,0x04,0xDA,0x9A,0xD3,0xF5,0x52,0x8F } }; // 0A89F216-5F9D-4874-8904-DA9AD3F5528F + template <> inline constexpr guid guid_v{ 0x5249B992,0xC456,0x44D5,{ 0xAD,0x5E,0x24,0xF5,0xA0,0x89,0xF6,0x3B } }; // 5249B992-C456-44D5-AD5E-24F5A089F63B + template <> inline constexpr guid guid_v{ 0x051942F9,0x845E,0x47EB,{ 0xB1,0x2A,0x38,0xF2,0xF6,0x17,0xAF,0xE7 } }; // 051942F9-845E-47EB-B12A-38F2F617AFE7 + template <> inline constexpr guid guid_v{ 0x686F955D,0x9B92,0x4B30,{ 0x97,0x81,0xC2,0x2C,0x55,0xAC,0x35,0xCB } }; // 686F955D-9B92-4B30-9781-C22C55AC35CB + template <> inline constexpr guid guid_v{ 0xB20B0527,0xC580,0x4599,{ 0xA1,0x65,0x98,0x1B,0x4F,0xD0,0x32,0x30 } }; // B20B0527-C580-4599-A165-981B4FD03230 + template <> inline constexpr guid guid_v{ 0x1F48D1F6,0xBA97,0x4322,{ 0xB9,0x2C,0xB5,0xB1,0x89,0x21,0x65,0x88 } }; // 1F48D1F6-BA97-4322-B92C-B5B189216588 + template <> inline constexpr guid guid_v{ 0x066B85A2,0x09B7,0x4446,{ 0x85,0x02,0x6F,0xE6,0xDC,0xAA,0x73,0x09 } }; // 066B85A2-09B7-4446-8502-6FE6DCAA7309 + template <> inline constexpr guid guid_v{ 0x6B4862D9,0x8DF7,0x4B40,{ 0xAC,0x83,0x57,0x8F,0x13,0x9F,0x05,0x75 } }; // 6B4862D9-8DF7-4B40-AC83-578F139F0575 + template <> inline constexpr guid guid_v{ 0xC890B201,0x9A6A,0x495E,{ 0xA8,0x2C,0x29,0x5B,0x9E,0x70,0x81,0x06 } }; // C890B201-9A6A-495E-A82C-295B9E708106 + template <> inline constexpr guid guid_v{ 0xA0322B95,0x7F47,0x48AB,{ 0xA7,0x27,0x67,0x8C,0x25,0xBE,0x21,0x12 } }; // A0322B95-7F47-48AB-A727-678C25BE2112 + template <> inline constexpr guid guid_v{ 0x199670C7,0xB7EE,0x4F90,{ 0x8C,0xD5,0x94,0xA2,0xE2,0x57,0x59,0x8A } }; // 199670C7-B7EE-4F90-8CD5-94A2E257598A + template <> inline constexpr guid guid_v{ 0xE34A9FF5,0x77D6,0x48B6,{ 0xB0,0xBE,0x16,0xC6,0x42,0x23,0x16,0xFE } }; // E34A9FF5-77D6-48B6-B0BE-16C6422316FE + template <> inline constexpr guid guid_v{ 0x1827BBA7,0x8DA7,0x4AF7,{ 0x8F,0x4C,0x7F,0x30,0x32,0xE7,0x81,0xF5 } }; // 1827BBA7-8DA7-4AF7-8F4C-7F3032E781F5 + template <> inline constexpr guid guid_v{ 0xC0528967,0xC911,0x4C3A,{ 0x86,0xB2,0x41,0x9C,0x2D,0xA8,0x90,0x39 } }; // C0528967-C911-4C3A-86B2-419C2DA89039 + template <> inline constexpr guid guid_v{ 0xB7B04092,0x1418,0x4936,{ 0x82,0x09,0x29,0x9C,0xF5,0x60,0x55,0x83 } }; // B7B04092-1418-4936-8209-299CF5605583 + template <> inline constexpr guid guid_v{ 0xFA007116,0x84D7,0x48C7,{ 0x8A,0x3F,0x4C,0x0B,0x23,0x5F,0x2E,0xA6 } }; // FA007116-84D7-48C7-8A3F-4C0B235F2EA6 + template <> inline constexpr guid guid_v{ 0xCC9FED81,0x10CA,0x4533,{ 0x95,0x2D,0x9E,0x27,0x83,0x41,0xE8,0x0F } }; // CC9FED81-10CA-4533-952D-9E278341E80F + template <> inline constexpr guid guid_v{ 0xE984C8A9,0xAAF9,0x49D0,{ 0xB9,0x6C,0xF6,0x61,0xAB,0x4A,0x7F,0x95 } }; // E984C8A9-AAF9-49D0-B96C-F661AB4A7F95 + template <> inline constexpr guid guid_v{ 0x104BA132,0xC78F,0x4C51,{ 0xB6,0x54,0xE4,0x9D,0x02,0xF2,0xCB,0x03 } }; // 104BA132-C78F-4C51-B654-E49D02F2CB03 + template <> inline constexpr guid guid_v{ 0xC9257D50,0x1B2E,0x4A41,{ 0xA2,0xA7,0x33,0x8F,0x0C,0xEF,0x3C,0x14 } }; // C9257D50-1B2E-4A41-A2A7-338F0CEF3C14 + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbBulkInPipe; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbBulkOutPipe; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbControlRequestType; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbDeviceClass; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbDeviceClasses; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbDeviceDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbEndpointDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterface; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterfaceSetting; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterruptInEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterruptInPipe; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbInterruptOutPipe; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::Usb::IUsbSetupPacket; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPacketSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Pipe(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxTransferSizeBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall ClearStallAsync(void**) noexcept = 0; + virtual int32_t __stdcall put_ReadOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReadOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall FlushBuffer() noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPacketSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Pipe(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall ClearStallAsync(void**) noexcept = 0; + virtual int32_t __stdcall put_WriteOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_WriteOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UsbInterfaces(void**) noexcept = 0; + virtual int32_t __stdcall get_ConfigurationDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_Descriptors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConfigurationValue(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxPowerMilliamps(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelfPowered(bool*) noexcept = 0; + virtual int32_t __stdcall get_RemoteWakeup(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Direction(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ControlTransferType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ControlTransferType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Recipient(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Recipient(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AsByte(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_AsByte(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Length(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_DescriptorType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall ReadDescriptorBuffer(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendControlOutTransferAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SendControlOutTransferAsyncNoBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall SendControlInTransferAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SendControlInTransferAsyncNoBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultInterface(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClassCode(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_ClassCode(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_SubclassCode(void**) noexcept = 0; + virtual int32_t __stdcall put_SubclassCode(void*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolCode(void**) noexcept = 0; + virtual int32_t __stdcall put_ProtocolCode(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CdcControl(void**) noexcept = 0; + virtual int32_t __stdcall get_Physical(void**) noexcept = 0; + virtual int32_t __stdcall get_PersonalHealthcare(void**) noexcept = 0; + virtual int32_t __stdcall get_ActiveSync(void**) noexcept = 0; + virtual int32_t __stdcall get_PalmSync(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceFirmwareUpdate(void**) noexcept = 0; + virtual int32_t __stdcall get_Irda(void**) noexcept = 0; + virtual int32_t __stdcall get_Measurement(void**) noexcept = 0; + virtual int32_t __stdcall get_VendorSpecific(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BcdUsb(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxPacketSize0(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_VendorId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProductId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_BcdDeviceRevision(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfConfigurations(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(uint32_t, uint32_t, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorGuidOnly(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorVidPidOnly(uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceClassSelector(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AsBulkInEndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_AsInterruptInEndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_AsBulkOutEndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_AsInterruptOutEndpointDescriptor(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BulkInPipes(void**) noexcept = 0; + virtual int32_t __stdcall get_InterruptInPipes(void**) noexcept = 0; + virtual int32_t __stdcall get_BulkOutPipes(void**) noexcept = 0; + virtual int32_t __stdcall get_InterruptOutPipes(void**) noexcept = 0; + virtual int32_t __stdcall get_InterfaceSettings(void**) noexcept = 0; + virtual int32_t __stdcall get_InterfaceNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Descriptors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClassCode(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_SubclassCode(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ProtocolCode(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_AlternateSettingNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_InterfaceNumber(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryParse(void*, void**, bool*) noexcept = 0; + virtual int32_t __stdcall Parse(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BulkInEndpoints(void**) noexcept = 0; + virtual int32_t __stdcall get_InterruptInEndpoints(void**) noexcept = 0; + virtual int32_t __stdcall get_BulkOutEndpoints(void**) noexcept = 0; + virtual int32_t __stdcall get_InterruptOutEndpoints(void**) noexcept = 0; + virtual int32_t __stdcall get_Selected(bool*) noexcept = 0; + virtual int32_t __stdcall SelectSettingAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_InterfaceDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_Descriptors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPacketSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Interval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Pipe(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InterruptData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall ClearStallAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_DataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DataReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPacketSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointNumber(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Interval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Pipe(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall ClearStallAsync(void**) noexcept = 0; + virtual int32_t __stdcall put_WriteOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_WriteOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestType(void**) noexcept = 0; + virtual int32_t __stdcall put_RequestType(void*) noexcept = 0; + virtual int32_t __stdcall get_Request(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Request(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Value(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Value(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Index(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Index(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Length(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithEightByteBuffer(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor + { + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Pipe() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbBulkInPipe + { + [[nodiscard]] auto MaxTransferSizeBytes() const; + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const; + [[nodiscard]] auto ReadOptions() const; + auto FlushBuffer() const; + [[nodiscard]] auto InputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbBulkInPipe; + }; + template + struct consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor + { + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Pipe() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbBulkOutPipe + { + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; + [[nodiscard]] auto WriteOptions() const; + [[nodiscard]] auto OutputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbBulkOutPipe; + }; + template + struct consume_Windows_Devices_Usb_IUsbConfiguration + { + [[nodiscard]] auto UsbInterfaces() const; + [[nodiscard]] auto ConfigurationDescriptor() const; + [[nodiscard]] auto Descriptors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbConfiguration; + }; + template + struct consume_Windows_Devices_Usb_IUsbConfigurationDescriptor + { + [[nodiscard]] auto ConfigurationValue() const; + [[nodiscard]] auto MaxPowerMilliamps() const; + [[nodiscard]] auto SelfPowered() const; + [[nodiscard]] auto RemoteWakeup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbConfigurationDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics + { + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics; + }; + template + struct consume_Windows_Devices_Usb_IUsbControlRequestType + { + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const; + [[nodiscard]] auto ControlTransferType() const; + auto ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const; + [[nodiscard]] auto Recipient() const; + auto Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const; + [[nodiscard]] auto AsByte() const; + auto AsByte(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbControlRequestType; + }; + template + struct consume_Windows_Devices_Usb_IUsbDescriptor + { + [[nodiscard]] auto Length() const; + [[nodiscard]] auto DescriptorType() const; + auto ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbDevice + { + auto SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; + auto SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; + [[nodiscard]] auto DefaultInterface() const; + [[nodiscard]] auto DeviceDescriptor() const; + [[nodiscard]] auto Configuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDevice; + }; + template + struct consume_Windows_Devices_Usb_IUsbDeviceClass + { + [[nodiscard]] auto ClassCode() const; + auto ClassCode(uint8_t value) const; + [[nodiscard]] auto SubclassCode() const; + auto SubclassCode(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ProtocolCode() const; + auto ProtocolCode(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDeviceClass; + }; + template + struct consume_Windows_Devices_Usb_IUsbDeviceClasses + { + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDeviceClasses; + }; + template + struct consume_Windows_Devices_Usb_IUsbDeviceClassesStatics + { + [[nodiscard]] auto CdcControl() const; + [[nodiscard]] auto Physical() const; + [[nodiscard]] auto PersonalHealthcare() const; + [[nodiscard]] auto ActiveSync() const; + [[nodiscard]] auto PalmSync() const; + [[nodiscard]] auto DeviceFirmwareUpdate() const; + [[nodiscard]] auto Irda() const; + [[nodiscard]] auto Measurement() const; + [[nodiscard]] auto VendorSpecific() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDeviceClassesStatics; + }; + template + struct consume_Windows_Devices_Usb_IUsbDeviceDescriptor + { + [[nodiscard]] auto BcdUsb() const; + [[nodiscard]] auto MaxPacketSize0() const; + [[nodiscard]] auto VendorId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto BcdDeviceRevision() const; + [[nodiscard]] auto NumberOfConfigurations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDeviceDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbDeviceStatics + { + auto GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const; + auto GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const; + auto GetDeviceSelector(uint32_t vendorId, uint32_t productId) const; + auto GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbDeviceStatics; + }; + template + struct consume_Windows_Devices_Usb_IUsbEndpointDescriptor + { + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto EndpointType() const; + [[nodiscard]] auto AsBulkInEndpointDescriptor() const; + [[nodiscard]] auto AsInterruptInEndpointDescriptor() const; + [[nodiscard]] auto AsBulkOutEndpointDescriptor() const; + [[nodiscard]] auto AsInterruptOutEndpointDescriptor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbEndpointDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics + { + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterface + { + [[nodiscard]] auto BulkInPipes() const; + [[nodiscard]] auto InterruptInPipes() const; + [[nodiscard]] auto BulkOutPipes() const; + [[nodiscard]] auto InterruptOutPipes() const; + [[nodiscard]] auto InterfaceSettings() const; + [[nodiscard]] auto InterfaceNumber() const; + [[nodiscard]] auto Descriptors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterface; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterfaceDescriptor + { + [[nodiscard]] auto ClassCode() const; + [[nodiscard]] auto SubclassCode() const; + [[nodiscard]] auto ProtocolCode() const; + [[nodiscard]] auto AlternateSettingNumber() const; + [[nodiscard]] auto InterfaceNumber() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterfaceDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics + { + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterfaceSetting + { + [[nodiscard]] auto BulkInEndpoints() const; + [[nodiscard]] auto InterruptInEndpoints() const; + [[nodiscard]] auto BulkOutEndpoints() const; + [[nodiscard]] auto InterruptOutEndpoints() const; + [[nodiscard]] auto Selected() const; + auto SelectSettingAsync() const; + [[nodiscard]] auto InterfaceDescriptor() const; + [[nodiscard]] auto Descriptors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterfaceSetting; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor + { + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Interval() const; + [[nodiscard]] auto Pipe() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterruptInEventArgs + { + [[nodiscard]] auto InterruptData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterruptInEventArgs; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterruptInPipe + { + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterruptInPipe; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor + { + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Interval() const; + [[nodiscard]] auto Pipe() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor; + }; + template + struct consume_Windows_Devices_Usb_IUsbInterruptOutPipe + { + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; + [[nodiscard]] auto WriteOptions() const; + [[nodiscard]] auto OutputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbInterruptOutPipe; + }; + template + struct consume_Windows_Devices_Usb_IUsbSetupPacket + { + [[nodiscard]] auto RequestType() const; + auto RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const; + [[nodiscard]] auto Request() const; + auto Request(uint8_t value) const; + [[nodiscard]] auto Value() const; + auto Value(uint32_t value) const; + [[nodiscard]] auto Index() const; + auto Index(uint32_t value) const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbSetupPacket; + }; + template + struct consume_Windows_Devices_Usb_IUsbSetupPacketFactory + { + auto CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Usb_IUsbSetupPacketFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.1.h new file mode 100644 index 0000000000000000000000000000000000000000..17fd37e6f1d649e6cda5b2d659813748bcfb893b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.1.h @@ -0,0 +1,211 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Usb_1_H +#define WINRT_Windows_Devices_Usb_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.Usb.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Usb +{ + struct WINRT_IMPL_EMPTY_BASES IUsbBulkInEndpointDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbBulkInEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbBulkInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbBulkInPipe : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbBulkInPipe(std::nullptr_t = nullptr) noexcept {} + IUsbBulkInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbBulkOutEndpointDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbBulkOutEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbBulkOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbBulkOutPipe : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbBulkOutPipe(std::nullptr_t = nullptr) noexcept {} + IUsbBulkOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbConfiguration(std::nullptr_t = nullptr) noexcept {} + IUsbConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbConfigurationDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbConfigurationDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbConfigurationDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbConfigurationDescriptorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbConfigurationDescriptorStatics(std::nullptr_t = nullptr) noexcept {} + IUsbConfigurationDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbControlRequestType : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbControlRequestType(std::nullptr_t = nullptr) noexcept {} + IUsbControlRequestType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUsbDevice(std::nullptr_t = nullptr) noexcept {} + IUsbDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClass : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDeviceClass(std::nullptr_t = nullptr) noexcept {} + IUsbDeviceClass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClasses : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDeviceClasses(std::nullptr_t = nullptr) noexcept {} + IUsbDeviceClasses(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClassesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDeviceClassesStatics(std::nullptr_t = nullptr) noexcept {} + IUsbDeviceClassesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDeviceDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDeviceDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbDeviceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IUsbDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbEndpointDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbEndpointDescriptorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbEndpointDescriptorStatics(std::nullptr_t = nullptr) noexcept {} + IUsbEndpointDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterface : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterface(std::nullptr_t = nullptr) noexcept {} + IUsbInterface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterfaceDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbInterfaceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceDescriptorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterfaceDescriptorStatics(std::nullptr_t = nullptr) noexcept {} + IUsbInterfaceDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceSetting : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterfaceSetting(std::nullptr_t = nullptr) noexcept {} + IUsbInterfaceSetting(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInEndpointDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterruptInEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbInterruptInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterruptInEventArgs(std::nullptr_t = nullptr) noexcept {} + IUsbInterruptInEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInPipe : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterruptInPipe(std::nullptr_t = nullptr) noexcept {} + IUsbInterruptInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterruptOutEndpointDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterruptOutEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} + IUsbInterruptOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbInterruptOutPipe : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbInterruptOutPipe(std::nullptr_t = nullptr) noexcept {} + IUsbInterruptOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbSetupPacket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbSetupPacket(std::nullptr_t = nullptr) noexcept {} + IUsbSetupPacket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUsbSetupPacketFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUsbSetupPacketFactory(std::nullptr_t = nullptr) noexcept {} + IUsbSetupPacketFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.2.h new file mode 100644 index 0000000000000000000000000000000000000000..96434985dc4e8e48e38d40976408df89ab3ea9ec --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.usb.2.h @@ -0,0 +1,149 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_Usb_2_H +#define WINRT_Windows_Devices_Usb_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.Usb.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::Usb +{ + struct WINRT_IMPL_EMPTY_BASES UsbBulkInEndpointDescriptor : winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor + { + UsbBulkInEndpointDescriptor(std::nullptr_t) noexcept {} + UsbBulkInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbBulkInPipe : winrt::Windows::Devices::Usb::IUsbBulkInPipe + { + UsbBulkInPipe(std::nullptr_t) noexcept {} + UsbBulkInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbBulkInPipe(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbBulkOutEndpointDescriptor : winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor + { + UsbBulkOutEndpointDescriptor(std::nullptr_t) noexcept {} + UsbBulkOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbBulkOutPipe : winrt::Windows::Devices::Usb::IUsbBulkOutPipe + { + UsbBulkOutPipe(std::nullptr_t) noexcept {} + UsbBulkOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbBulkOutPipe(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbConfiguration : winrt::Windows::Devices::Usb::IUsbConfiguration + { + UsbConfiguration(std::nullptr_t) noexcept {} + UsbConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbConfigurationDescriptor : winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor + { + UsbConfigurationDescriptor(std::nullptr_t) noexcept {} + UsbConfigurationDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor(ptr, take_ownership_from_abi) {} + static auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed); + static auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor); + }; + struct WINRT_IMPL_EMPTY_BASES UsbControlRequestType : winrt::Windows::Devices::Usb::IUsbControlRequestType + { + UsbControlRequestType(std::nullptr_t) noexcept {} + UsbControlRequestType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbControlRequestType(ptr, take_ownership_from_abi) {} + UsbControlRequestType(); + }; + struct WINRT_IMPL_EMPTY_BASES UsbDescriptor : winrt::Windows::Devices::Usb::IUsbDescriptor + { + UsbDescriptor(std::nullptr_t) noexcept {} + UsbDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbDevice : winrt::Windows::Devices::Usb::IUsbDevice + { + UsbDevice(std::nullptr_t) noexcept {} + UsbDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass); + static auto GetDeviceSelector(winrt::guid const& winUsbInterfaceClass); + static auto GetDeviceSelector(uint32_t vendorId, uint32_t productId); + static auto GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES UsbDeviceClass : winrt::Windows::Devices::Usb::IUsbDeviceClass + { + UsbDeviceClass(std::nullptr_t) noexcept {} + UsbDeviceClass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbDeviceClass(ptr, take_ownership_from_abi) {} + UsbDeviceClass(); + }; + struct WINRT_IMPL_EMPTY_BASES UsbDeviceClasses : winrt::Windows::Devices::Usb::IUsbDeviceClasses + { + UsbDeviceClasses(std::nullptr_t) noexcept {} + UsbDeviceClasses(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbDeviceClasses(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto CdcControl(); + [[nodiscard]] static auto Physical(); + [[nodiscard]] static auto PersonalHealthcare(); + [[nodiscard]] static auto ActiveSync(); + [[nodiscard]] static auto PalmSync(); + [[nodiscard]] static auto DeviceFirmwareUpdate(); + [[nodiscard]] static auto Irda(); + [[nodiscard]] static auto Measurement(); + [[nodiscard]] static auto VendorSpecific(); + }; + struct WINRT_IMPL_EMPTY_BASES UsbDeviceDescriptor : winrt::Windows::Devices::Usb::IUsbDeviceDescriptor + { + UsbDeviceDescriptor(std::nullptr_t) noexcept {} + UsbDeviceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbDeviceDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbEndpointDescriptor : winrt::Windows::Devices::Usb::IUsbEndpointDescriptor + { + UsbEndpointDescriptor(std::nullptr_t) noexcept {} + UsbEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbEndpointDescriptor(ptr, take_ownership_from_abi) {} + static auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed); + static auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor); + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterface : winrt::Windows::Devices::Usb::IUsbInterface + { + UsbInterface(std::nullptr_t) noexcept {} + UsbInterface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterface(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterfaceDescriptor : winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor + { + UsbInterfaceDescriptor(std::nullptr_t) noexcept {} + UsbInterfaceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor(ptr, take_ownership_from_abi) {} + static auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed); + static auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor); + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterfaceSetting : winrt::Windows::Devices::Usb::IUsbInterfaceSetting + { + UsbInterfaceSetting(std::nullptr_t) noexcept {} + UsbInterfaceSetting(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterfaceSetting(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterruptInEndpointDescriptor : winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor + { + UsbInterruptInEndpointDescriptor(std::nullptr_t) noexcept {} + UsbInterruptInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterruptInEventArgs : winrt::Windows::Devices::Usb::IUsbInterruptInEventArgs + { + UsbInterruptInEventArgs(std::nullptr_t) noexcept {} + UsbInterruptInEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterruptInEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterruptInPipe : winrt::Windows::Devices::Usb::IUsbInterruptInPipe + { + UsbInterruptInPipe(std::nullptr_t) noexcept {} + UsbInterruptInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterruptInPipe(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterruptOutEndpointDescriptor : winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor + { + UsbInterruptOutEndpointDescriptor(std::nullptr_t) noexcept {} + UsbInterruptOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbInterruptOutPipe : winrt::Windows::Devices::Usb::IUsbInterruptOutPipe + { + UsbInterruptOutPipe(std::nullptr_t) noexcept {} + UsbInterruptOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbInterruptOutPipe(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UsbSetupPacket : winrt::Windows::Devices::Usb::IUsbSetupPacket + { + UsbSetupPacket(std::nullptr_t) noexcept {} + UsbSetupPacket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Usb::IUsbSetupPacket(ptr, take_ownership_from_abi) {} + UsbSetupPacket(); + explicit UsbSetupPacket(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9e60d60d0ed0410caa2eeabe2981cdaf9c08c085 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.0.h @@ -0,0 +1,515 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFi_0_H +#define WINRT_Windows_Devices_WiFi_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct NetworkAdapter; + struct NetworkSecuritySettings; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Devices::WiFi +{ + enum class WiFiAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + DeniedByUser = 2, + DeniedBySystem = 3, + }; + enum class WiFiConnectionMethod : int32_t + { + Default = 0, + WpsPin = 1, + WpsPushButton = 2, + }; + enum class WiFiConnectionStatus : int32_t + { + UnspecifiedFailure = 0, + Success = 1, + AccessRevoked = 2, + InvalidCredential = 3, + NetworkNotAvailable = 4, + Timeout = 5, + UnsupportedAuthenticationProtocol = 6, + }; + enum class WiFiNetworkKind : int32_t + { + Any = 0, + Infrastructure = 1, + Adhoc = 2, + }; + enum class WiFiOnDemandHotspotAvailability : int32_t + { + Available = 0, + Unavailable = 1, + }; + enum class WiFiOnDemandHotspotCellularBars : int32_t + { + ZeroBars = 0, + OneBar = 1, + TwoBars = 2, + ThreeBars = 3, + FourBars = 4, + FiveBars = 5, + }; + enum class WiFiOnDemandHotspotConnectStatus : int32_t + { + UnspecifiedFailure = 0, + Success = 1, + AppTimedOut = 2, + InvalidCredential = 3, + NetworkNotAvailable = 4, + UnsupportedAuthenticationProtocol = 5, + BluetoothConnectFailed = 6, + BluetoothTransmissionError = 7, + OperationCanceledByUser = 8, + EntitlementCheckFailed = 9, + NoCellularSignal = 10, + CellularDataTurnedOff = 11, + WlanConnectFailed = 12, + WlanNotVisible = 13, + AccessPointCannotConnect = 14, + CellularConnectTimedOut = 15, + RoamingNotAllowed = 16, + PairingRequired = 17, + DataLimitReached = 18, + }; + enum class WiFiPhyKind : int32_t + { + Unknown = 0, + Fhss = 1, + Dsss = 2, + IRBaseband = 3, + Ofdm = 4, + Hrdsss = 5, + Erp = 6, + HT = 7, + Vht = 8, + Dmg = 9, + HE = 10, + Eht = 11, + }; + enum class WiFiReconnectionKind : int32_t + { + Automatic = 0, + Manual = 1, + }; + enum class WiFiWpsConfigurationStatus : int32_t + { + UnspecifiedFailure = 0, + Success = 1, + Timeout = 2, + }; + enum class WiFiWpsKind : int32_t + { + Unknown = 0, + Pin = 1, + PushButton = 2, + Nfc = 3, + Ethernet = 4, + Usb = 5, + }; + struct IWiFiAdapter; + struct IWiFiAdapter2; + struct IWiFiAdapterStatics; + struct IWiFiAvailableNetwork; + struct IWiFiConnectionResult; + struct IWiFiNetworkReport; + struct IWiFiOnDemandHotspotConnectTriggerDetails; + struct IWiFiOnDemandHotspotConnectionResult; + struct IWiFiOnDemandHotspotNetwork; + struct IWiFiOnDemandHotspotNetworkProperties; + struct IWiFiOnDemandHotspotNetworkStatics; + struct IWiFiWpsConfigurationResult; + struct WiFiAdapter; + struct WiFiAvailableNetwork; + struct WiFiConnectionResult; + struct WiFiNetworkReport; + struct WiFiOnDemandHotspotConnectTriggerDetails; + struct WiFiOnDemandHotspotConnectionResult; + struct WiFiOnDemandHotspotNetwork; + struct WiFiOnDemandHotspotNetworkProperties; + struct WiFiWpsConfigurationResult; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiAvailableNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiConnectionResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiNetworkReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotConnectTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotConnectionResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotNetworkProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiWpsConfigurationResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiConnectionMethod"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiConnectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiNetworkKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotAvailability"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotCellularBars"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiOnDemandHotspotConnectStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiPhyKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiReconnectionKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiWpsConfigurationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.WiFiWpsKind"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiAdapter2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiAdapterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiAvailableNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiConnectionResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiNetworkReport"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiOnDemandHotspotConnectTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiOnDemandHotspotConnectionResult"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiOnDemandHotspotNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiOnDemandHotspotNetworkProperties"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiOnDemandHotspotNetworkStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFi.IWiFiWpsConfigurationResult"; + template <> inline constexpr guid guid_v{ 0xA6C4E423,0x3D75,0x43A4,{ 0xB9,0xDE,0x11,0xE2,0x6B,0x72,0xD9,0xB0 } }; // A6C4E423-3D75-43A4-B9DE-11E26B72D9B0 + template <> inline constexpr guid guid_v{ 0x5BC4501D,0x81E4,0x453D,{ 0x94,0x30,0x1F,0xCA,0xFB,0xAD,0xD6,0xB6 } }; // 5BC4501D-81E4-453D-9430-1FCAFBADD6B6 + template <> inline constexpr guid guid_v{ 0xDA25FDDD,0xD24C,0x43E3,{ 0xAA,0xBD,0xC4,0x65,0x9F,0x73,0x0F,0x99 } }; // DA25FDDD-D24C-43E3-AABD-C4659F730F99 + template <> inline constexpr guid guid_v{ 0x26E96246,0x183E,0x4704,{ 0x98,0x26,0x71,0xB4,0xA2,0xF0,0xF6,0x68 } }; // 26E96246-183E-4704-9826-71B4A2F0F668 + template <> inline constexpr guid guid_v{ 0x143BDFD9,0xC37D,0x40BE,{ 0xA5,0xC8,0x85,0x7B,0xCE,0x85,0xA9,0x31 } }; // 143BDFD9-C37D-40BE-A5C8-857BCE85A931 + template <> inline constexpr guid guid_v{ 0x9524DED2,0x5911,0x445E,{ 0x81,0x94,0xBE,0x4F,0x1A,0x70,0x48,0x95 } }; // 9524DED2-5911-445E-8194-BE4F1A704895 + template <> inline constexpr guid guid_v{ 0xA268EB58,0x68F5,0x59CF,{ 0x8D,0x38,0x35,0xBF,0x44,0xB0,0x97,0xEF } }; // A268EB58-68F5-59CF-8D38-35BF44B097EF + template <> inline constexpr guid guid_v{ 0x911794A1,0x6C82,0x5DE3,{ 0x8A,0x4A,0xF9,0xFF,0x22,0xA4,0x95,0x7A } }; // 911794A1-6C82-5DE3-8A4A-F9FF22A4957A + template <> inline constexpr guid guid_v{ 0x18DC7115,0xA04E,0x507C,{ 0xBB,0xAF,0xB7,0x83,0x69,0xD2,0x9F,0xA7 } }; // 18DC7115-A04E-507C-BBAF-B78369D29FA7 + template <> inline constexpr guid guid_v{ 0xC810A1F2,0xC81D,0x5852,{ 0xBE,0x50,0xE4,0xBD,0x4D,0x81,0xE9,0x8D } }; // C810A1F2-C81D-5852-BE50-E4BD4D81E98D + template <> inline constexpr guid guid_v{ 0x00F5B8AC,0x80E7,0x5054,{ 0x87,0x1C,0x87,0x39,0xF3,0x74,0xE3,0xC9 } }; // 00F5B8AC-80E7-5054-871C-8739F374E3C9 + template <> inline constexpr guid guid_v{ 0x67B49871,0x17EE,0x42D1,{ 0xB1,0x4F,0x5A,0x11,0xF1,0x22,0x6F,0xB5 } }; // 67B49871-17EE-42D1-B14F-5A11F1226FB5 + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiAdapter; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiConnectionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiNetworkReport; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetwork; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetworkProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAdapter(void**) noexcept = 0; + virtual int32_t __stdcall ScanAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkReport(void**) noexcept = 0; + virtual int32_t __stdcall add_AvailableNetworksChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AvailableNetworksChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithPasswordCredentialAsync(void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithPasswordCredentialAndSsidAsync(void*, int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Disconnect() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetWpsConfigurationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync(void*, int32_t, void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAdaptersAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uptime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Ssid(void**) noexcept = 0; + virtual int32_t __stdcall get_Bssid(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelCenterFrequencyInKilohertz(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NetworkRssiInDecibelMilliwatts(double*) noexcept = 0; + virtual int32_t __stdcall get_SignalBars(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_NetworkKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhyKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SecuritySettings(void**) noexcept = 0; + virtual int32_t __stdcall get_BeaconInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsWiFiDirect(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AvailableNetworks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestedNetwork(void**) noexcept = 0; + virtual int32_t __stdcall ReportError(int32_t) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void**) noexcept = 0; + virtual int32_t __stdcall Connect(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetProperties(void**) noexcept = 0; + virtual int32_t __stdcall UpdateProperties(void*) noexcept = 0; + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_Availability(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Availability(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RemainingBatteryPercent(void**) noexcept = 0; + virtual int32_t __stdcall put_RemainingBatteryPercent(void*) noexcept = 0; + virtual int32_t __stdcall get_CellularBars(void**) noexcept = 0; + virtual int32_t __stdcall put_CellularBars(void*) noexcept = 0; + virtual int32_t __stdcall get_IsMetered(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsMetered(bool) noexcept = 0; + virtual int32_t __stdcall get_Ssid(void**) noexcept = 0; + virtual int32_t __stdcall put_Ssid(void*) noexcept = 0; + virtual int32_t __stdcall get_Password(void**) noexcept = 0; + virtual int32_t __stdcall put_Password(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetOrCreateById(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedWpsKinds(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiAdapter + { + [[nodiscard]] auto NetworkAdapter() const; + auto ScanAsync() const; + [[nodiscard]] auto NetworkReport() const; + auto AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler const& args) const; + using AvailableNetworksChanged_revoker = impl::event_revoker::remove_AvailableNetworksChanged>; + [[nodiscard]] auto AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& args) const; + auto AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid) const; + auto Disconnect() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiAdapter; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiAdapter2 + { + auto GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid, winrt::Windows::Devices::WiFi::WiFiConnectionMethod const& connectionMethod) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiAdapter2; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiAdapterStatics + { + auto FindAllAdaptersAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiAdapterStatics; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiAvailableNetwork + { + [[nodiscard]] auto Uptime() const; + [[nodiscard]] auto Ssid() const; + [[nodiscard]] auto Bssid() const; + [[nodiscard]] auto ChannelCenterFrequencyInKilohertz() const; + [[nodiscard]] auto NetworkRssiInDecibelMilliwatts() const; + [[nodiscard]] auto SignalBars() const; + [[nodiscard]] auto NetworkKind() const; + [[nodiscard]] auto PhyKind() const; + [[nodiscard]] auto SecuritySettings() const; + [[nodiscard]] auto BeaconInterval() const; + [[nodiscard]] auto IsWiFiDirect() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiAvailableNetwork; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiConnectionResult + { + [[nodiscard]] auto ConnectionStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiConnectionResult; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiNetworkReport + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AvailableNetworks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiNetworkReport; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotConnectTriggerDetails + { + [[nodiscard]] auto RequestedNetwork() const; + auto ReportError(winrt::Windows::Devices::WiFi::WiFiOnDemandHotspotConnectStatus const& status) const; + auto ConnectAsync() const; + auto Connect() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotConnectTriggerDetails; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotConnectionResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotConnectionResult; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetwork + { + auto GetProperties() const; + auto UpdateProperties(winrt::Windows::Devices::WiFi::WiFiOnDemandHotspotNetworkProperties const& newProperties) const; + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetwork; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetworkProperties + { + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Availability() const; + auto Availability(winrt::Windows::Devices::WiFi::WiFiOnDemandHotspotAvailability const& value) const; + [[nodiscard]] auto RemainingBatteryPercent() const; + auto RemainingBatteryPercent(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CellularBars() const; + auto CellularBars(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsMetered() const; + auto IsMetered(bool value) const; + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Password() const; + auto Password(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetworkProperties; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetworkStatics + { + auto GetOrCreateById(winrt::guid const& networkId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiOnDemandHotspotNetworkStatics; + }; + template + struct consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto SupportedWpsKinds() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c345b352123c39db74a0e50b8946ffbbc4d37544 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFi_1_H +#define WINRT_Windows_Devices_WiFi_1_H +#include "winrt/impl/Windows.Devices.WiFi.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFi +{ + struct WINRT_IMPL_EMPTY_BASES IWiFiAdapter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiAdapter(std::nullptr_t = nullptr) noexcept {} + IWiFiAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiAdapter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiAdapter2(std::nullptr_t = nullptr) noexcept {} + IWiFiAdapter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiAdapterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiAdapterStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiAdapterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiAvailableNetwork : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiAvailableNetwork(std::nullptr_t = nullptr) noexcept {} + IWiFiAvailableNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiConnectionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiConnectionResult(std::nullptr_t = nullptr) noexcept {} + IWiFiConnectionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiNetworkReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiNetworkReport(std::nullptr_t = nullptr) noexcept {} + IWiFiNetworkReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiOnDemandHotspotConnectTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiOnDemandHotspotConnectTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IWiFiOnDemandHotspotConnectTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiOnDemandHotspotConnectionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiOnDemandHotspotConnectionResult(std::nullptr_t = nullptr) noexcept {} + IWiFiOnDemandHotspotConnectionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiOnDemandHotspotNetwork : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiOnDemandHotspotNetwork(std::nullptr_t = nullptr) noexcept {} + IWiFiOnDemandHotspotNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiOnDemandHotspotNetworkProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiOnDemandHotspotNetworkProperties(std::nullptr_t = nullptr) noexcept {} + IWiFiOnDemandHotspotNetworkProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiOnDemandHotspotNetworkStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiOnDemandHotspotNetworkStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiOnDemandHotspotNetworkStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiWpsConfigurationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiWpsConfigurationResult(std::nullptr_t = nullptr) noexcept {} + IWiFiWpsConfigurationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.2.h new file mode 100644 index 0000000000000000000000000000000000000000..fb237ccc77cd2f020479a82797606fa48da0ce52 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifi.2.h @@ -0,0 +1,66 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFi_2_H +#define WINRT_Windows_Devices_WiFi_2_H +#include "winrt/impl/Windows.Devices.WiFi.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFi +{ + struct WINRT_IMPL_EMPTY_BASES WiFiAdapter : winrt::Windows::Devices::WiFi::IWiFiAdapter, + impl::require + { + WiFiAdapter(std::nullptr_t) noexcept {} + WiFiAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiAdapter(ptr, take_ownership_from_abi) {} + using winrt::Windows::Devices::WiFi::IWiFiAdapter::ConnectAsync; + using impl::consume_t::ConnectAsync; + static auto FindAllAdaptersAsync(); + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiAvailableNetwork : winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork + { + WiFiAvailableNetwork(std::nullptr_t) noexcept {} + WiFiAvailableNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiConnectionResult : winrt::Windows::Devices::WiFi::IWiFiConnectionResult + { + WiFiConnectionResult(std::nullptr_t) noexcept {} + WiFiConnectionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiConnectionResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiNetworkReport : winrt::Windows::Devices::WiFi::IWiFiNetworkReport + { + WiFiNetworkReport(std::nullptr_t) noexcept {} + WiFiNetworkReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiNetworkReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiOnDemandHotspotConnectTriggerDetails : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectTriggerDetails + { + WiFiOnDemandHotspotConnectTriggerDetails(std::nullptr_t) noexcept {} + WiFiOnDemandHotspotConnectTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiOnDemandHotspotConnectionResult : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectionResult + { + WiFiOnDemandHotspotConnectionResult(std::nullptr_t) noexcept {} + WiFiOnDemandHotspotConnectionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotConnectionResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiOnDemandHotspotNetwork : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetwork + { + WiFiOnDemandHotspotNetwork(std::nullptr_t) noexcept {} + WiFiOnDemandHotspotNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetwork(ptr, take_ownership_from_abi) {} + static auto GetOrCreateById(winrt::guid const& networkId); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiOnDemandHotspotNetworkProperties : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetworkProperties + { + WiFiOnDemandHotspotNetworkProperties(std::nullptr_t) noexcept {} + WiFiOnDemandHotspotNetworkProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiOnDemandHotspotNetworkProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiWpsConfigurationResult : winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult + { + WiFiWpsConfigurationResult(std::nullptr_t) noexcept {} + WiFiWpsConfigurationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.0.h new file mode 100644 index 0000000000000000000000000000000000000000..1ef60448bee85ee12624915d1d9088454e863394 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.0.h @@ -0,0 +1,523 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_0_H +#define WINRT_Windows_Devices_WiFiDirect_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + enum class DevicePairingKinds : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect +{ + enum class WiFiDirectAdvertisementListenStateDiscoverability : int32_t + { + None = 0, + Normal = 1, + Intensive = 2, + }; + enum class WiFiDirectAdvertisementPublisherStatus : int32_t + { + Created = 0, + Started = 1, + Stopped = 2, + Aborted = 3, + }; + enum class WiFiDirectConfigurationMethod : int32_t + { + ProvidePin = 0, + DisplayPin = 1, + PushButton = 2, + }; + enum class WiFiDirectConnectionStatus : int32_t + { + Disconnected = 0, + Connected = 1, + }; + enum class WiFiDirectDeviceSelectorType : int32_t + { + DeviceInterface = 0, + AssociationEndpoint = 1, + }; + enum class WiFiDirectError : int32_t + { + Success = 0, + RadioNotAvailable = 1, + ResourceInUse = 2, + }; + enum class WiFiDirectPairingProcedure : int32_t + { + GroupOwnerNegotiation = 0, + Invitation = 1, + }; + struct IWiFiDirectAdvertisement; + struct IWiFiDirectAdvertisement2; + struct IWiFiDirectAdvertisementPublisher; + struct IWiFiDirectAdvertisementPublisherStatusChangedEventArgs; + struct IWiFiDirectConnectionListener; + struct IWiFiDirectConnectionParameters; + struct IWiFiDirectConnectionParameters2; + struct IWiFiDirectConnectionParametersStatics; + struct IWiFiDirectConnectionRequest; + struct IWiFiDirectConnectionRequestedEventArgs; + struct IWiFiDirectDevice; + struct IWiFiDirectDeviceStatics; + struct IWiFiDirectDeviceStatics2; + struct IWiFiDirectInformationElement; + struct IWiFiDirectInformationElementStatics; + struct IWiFiDirectLegacySettings; + struct WiFiDirectAdvertisement; + struct WiFiDirectAdvertisementPublisher; + struct WiFiDirectAdvertisementPublisherStatusChangedEventArgs; + struct WiFiDirectConnectionListener; + struct WiFiDirectConnectionParameters; + struct WiFiDirectConnectionRequest; + struct WiFiDirectConnectionRequestedEventArgs; + struct WiFiDirectDevice; + struct WiFiDirectInformationElement; + struct WiFiDirectLegacySettings; +} +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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectAdvertisement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConnectionListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConnectionRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConnectionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectInformationElement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectLegacySettings"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectAdvertisementListenStateDiscoverability"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConfigurationMethod"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectConnectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectDeviceSelectorType"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.WiFiDirectPairingProcedure"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectAdvertisement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectAdvertisement2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectAdvertisementPublisher"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectAdvertisementPublisherStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionListener"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionParameters"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionParameters2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionParametersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectConnectionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectDevice"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectDeviceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectInformationElement"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectInformationElementStatics"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.IWiFiDirectLegacySettings"; + template <> inline constexpr guid guid_v{ 0xAB511A2D,0x2A06,0x49A1,{ 0xA5,0x84,0x61,0x43,0x5C,0x79,0x05,0xA6 } }; // AB511A2D-2A06-49A1-A584-61435C7905A6 + template <> inline constexpr guid guid_v{ 0xB759AA46,0xD816,0x491B,{ 0x91,0x7A,0xB4,0x0D,0x7D,0xC4,0x03,0xA2 } }; // B759AA46-D816-491B-917A-B40D7DC403A2 + template <> inline constexpr guid guid_v{ 0xB35A2D1A,0x9B1F,0x45D9,{ 0x92,0x5A,0x69,0x4D,0x66,0xDF,0x68,0xEF } }; // B35A2D1A-9B1F-45D9-925A-694D66DF68EF + template <> inline constexpr guid guid_v{ 0xAAFDE53C,0x5481,0x46E6,{ 0x90,0xDD,0x32,0x11,0x65,0x18,0xF1,0x92 } }; // AAFDE53C-5481-46E6-90DD-32116518F192 + template <> inline constexpr guid guid_v{ 0x699C1B0D,0x8D13,0x4EE9,{ 0xB9,0xEC,0x9C,0x72,0xF8,0x25,0x1F,0x7D } }; // 699C1B0D-8D13-4EE9-B9EC-9C72F8251F7D + template <> inline constexpr guid guid_v{ 0xB2E55405,0x5702,0x4B16,{ 0xA0,0x2C,0xBB,0xCD,0x21,0xEF,0x60,0x98 } }; // B2E55405-5702-4B16-A02C-BBCD21EF6098 + template <> inline constexpr guid guid_v{ 0xAB3B0FBE,0xAA82,0x44B4,{ 0x88,0xC8,0xE3,0x05,0x6B,0x89,0x80,0x1D } }; // AB3B0FBE-AA82-44B4-88C8-E3056B89801D + template <> inline constexpr guid guid_v{ 0x598AF493,0x7642,0x456F,{ 0xB9,0xD8,0xE8,0xA9,0xEB,0x1F,0x40,0x1A } }; // 598AF493-7642-456F-B9D8-E8A9EB1F401A + template <> inline constexpr guid guid_v{ 0x8EB99605,0x914F,0x49C3,{ 0xA6,0x14,0xD1,0x8D,0xC5,0xB1,0x9B,0x43 } }; // 8EB99605-914F-49C3-A614-D18DC5B19B43 + template <> inline constexpr guid guid_v{ 0xF99D20BE,0xD38D,0x484F,{ 0x82,0x15,0xE7,0xB6,0x5A,0xBF,0x24,0x4C } }; // F99D20BE-D38D-484F-8215-E7B65ABF244C + template <> inline constexpr guid guid_v{ 0x72DEAAA8,0x72EB,0x4DAE,{ 0x8A,0x28,0x85,0x13,0x35,0x5D,0x27,0x77 } }; // 72DEAAA8-72EB-4DAE-8A28-8513355D2777 + template <> inline constexpr guid guid_v{ 0xE86CB57C,0x3AAC,0x4851,{ 0xA7,0x92,0x48,0x2A,0xAF,0x93,0x1B,0x04 } }; // E86CB57C-3AAC-4851-A792-482AAF931B04 + template <> inline constexpr guid guid_v{ 0x1A953E49,0xB103,0x437E,{ 0x92,0x26,0xAB,0x67,0x97,0x13,0x42,0xF9 } }; // 1A953E49-B103-437E-9226-AB67971342F9 + template <> inline constexpr guid guid_v{ 0xAFFB72D6,0x76BB,0x497E,{ 0xAC,0x8B,0xDC,0x72,0x83,0x8B,0xC3,0x09 } }; // AFFB72D6-76BB-497E-AC8B-DC72838BC309 + template <> inline constexpr guid guid_v{ 0xDBD02F16,0x11A5,0x4E60,{ 0x8C,0xAA,0x34,0x77,0x21,0x48,0x37,0x8A } }; // DBD02F16-11A5-4E60-8CAA-34772148378A + template <> inline constexpr guid guid_v{ 0xA64FDBBA,0xF2FD,0x4567,{ 0xA9,0x1B,0xF5,0xC2,0xF5,0x32,0x10,0x57 } }; // A64FDBBA-F2FD-4567-A91B-F5C2F5321057 + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InformationElements(void**) noexcept = 0; + virtual int32_t __stdcall put_InformationElements(void*) noexcept = 0; + virtual int32_t __stdcall get_ListenStateDiscoverability(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ListenStateDiscoverability(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsAutonomousGroupOwnerEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAutonomousGroupOwnerEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_LegacySettings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedConfigurationMethods(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Advertisement(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ConnectionRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GroupOwnerIntent(int16_t*) noexcept = 0; + virtual int32_t __stdcall put_GroupOwnerIntent(int16_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreferenceOrderedConfigurationMethods(void**) noexcept = 0; + virtual int32_t __stdcall get_PreferredPairingProcedure(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PreferredPairingProcedure(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDevicePairingKinds(int32_t, uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetConnectionRequest(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall add_ConnectionStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetConnectionEndpointPairs(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Oui(void**) noexcept = 0; + virtual int32_t __stdcall put_Oui(void*) noexcept = 0; + virtual int32_t __stdcall get_OuiType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_OuiType(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromDeviceInformation(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Ssid(void**) noexcept = 0; + virtual int32_t __stdcall put_Ssid(void*) noexcept = 0; + virtual int32_t __stdcall get_Passphrase(void**) noexcept = 0; + virtual int32_t __stdcall put_Passphrase(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement + { + [[nodiscard]] auto InformationElements() const; + auto InformationElements(param::vector const& value) const; + [[nodiscard]] auto ListenStateDiscoverability() const; + auto ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const; + [[nodiscard]] auto IsAutonomousGroupOwnerEnabled() const; + auto IsAutonomousGroupOwnerEnabled(bool value) const; + [[nodiscard]] auto LegacySettings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2 + { + [[nodiscard]] auto SupportedConfigurationMethods() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher + { + [[nodiscard]] auto Advertisement() const; + [[nodiscard]] auto Status() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener + { + auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionRequested_revoker = impl::event_revoker::remove_ConnectionRequested>; + [[nodiscard]] auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters + { + [[nodiscard]] auto GroupOwnerIntent() const; + auto GroupOwnerIntent(int16_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2 + { + [[nodiscard]] auto PreferenceOrderedConfigurationMethods() const; + [[nodiscard]] auto PreferredPairingProcedure() const; + auto PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics + { + auto GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest + { + [[nodiscard]] auto DeviceInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs + { + auto GetConnectionRequest() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice + { + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto DeviceId() const; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + auto GetConnectionEndpointPairs() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics + { + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2 + { + auto GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement + { + [[nodiscard]] auto Oui() const; + auto Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto OuiType() const; + auto OuiType(uint8_t value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Storage::Streams::IBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics + { + auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics; + }; + template + struct consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Passphrase() const; + auto Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4145f3ce3806871bbc38121ca186bfb81bf86c17 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.1.h @@ -0,0 +1,128 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_1_H +#define WINRT_Windows_Devices_WiFiDirect_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.WiFiDirect.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect +{ + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectAdvertisement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectAdvertisement(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectAdvertisement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectAdvertisement2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectAdvertisement2(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectAdvertisement2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectAdvertisementPublisher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectAdvertisementPublisher(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectAdvertisementPublisher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectAdvertisementPublisherStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectAdvertisementPublisherStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectAdvertisementPublisherStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectConnectionListener(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectConnectionParameters(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionParameters2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectConnectionParameters2(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionParameters2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionParametersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectConnectionParametersStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionParametersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWiFiDirectConnectionRequest(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectConnectionRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectConnectionRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectConnectionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWiFiDirectDevice(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectDeviceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectDeviceStatics2(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectDeviceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectInformationElement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectInformationElement(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectInformationElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectInformationElementStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectInformationElementStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectInformationElementStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectLegacySettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectLegacySettings(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectLegacySettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f64c00d5ed67d30ab807e93c6c770435ef0e91d4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.2.h @@ -0,0 +1,79 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_2_H +#define WINRT_Windows_Devices_WiFiDirect_2_H +#include "winrt/impl/Windows.Devices.Enumeration.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.WiFiDirect.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect +{ + struct WINRT_IMPL_EMPTY_BASES WiFiDirectAdvertisement : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement, + impl::require + { + WiFiDirectAdvertisement(std::nullptr_t) noexcept {} + WiFiDirectAdvertisement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectAdvertisementPublisher : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher + { + WiFiDirectAdvertisementPublisher(std::nullptr_t) noexcept {} + WiFiDirectAdvertisementPublisher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher(ptr, take_ownership_from_abi) {} + WiFiDirectAdvertisementPublisher(); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectAdvertisementPublisherStatusChangedEventArgs : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs + { + WiFiDirectAdvertisementPublisherStatusChangedEventArgs(std::nullptr_t) noexcept {} + WiFiDirectAdvertisementPublisherStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectConnectionListener : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener + { + WiFiDirectConnectionListener(std::nullptr_t) noexcept {} + WiFiDirectConnectionListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener(ptr, take_ownership_from_abi) {} + WiFiDirectConnectionListener(); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectConnectionParameters : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters, + impl::require + { + WiFiDirectConnectionParameters(std::nullptr_t) noexcept {} + WiFiDirectConnectionParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters(ptr, take_ownership_from_abi) {} + WiFiDirectConnectionParameters(); + static auto GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectConnectionRequest : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequest + { + WiFiDirectConnectionRequest(std::nullptr_t) noexcept {} + WiFiDirectConnectionRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectConnectionRequestedEventArgs : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequestedEventArgs + { + WiFiDirectConnectionRequestedEventArgs(std::nullptr_t) noexcept {} + WiFiDirectConnectionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectDevice : winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice + { + WiFiDirectDevice(std::nullptr_t) noexcept {} + WiFiDirectDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto FromIdAsync(param::hstring const& deviceId); + static auto GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type); + static auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectInformationElement : winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement + { + WiFiDirectInformationElement(std::nullptr_t) noexcept {} + WiFiDirectInformationElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement(ptr, take_ownership_from_abi) {} + WiFiDirectInformationElement(); + static auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer); + static auto CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectLegacySettings : winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings + { + WiFiDirectLegacySettings(std::nullptr_t) noexcept {} + WiFiDirectLegacySettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c5ecc2cba37cbfd037488183b946d05ba1c6fd02 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.0.h @@ -0,0 +1,478 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_Services_0_H +#define WINRT_Windows_Devices_WiFiDirect_Services_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct DatagramSocket; + struct StreamSocketListener; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect::Services +{ + enum class WiFiDirectServiceAdvertisementStatus : int32_t + { + Created = 0, + Started = 1, + Stopped = 2, + Aborted = 3, + }; + enum class WiFiDirectServiceConfigurationMethod : int32_t + { + Default = 0, + PinDisplay = 1, + PinEntry = 2, + }; + enum class WiFiDirectServiceError : int32_t + { + Success = 0, + RadioNotAvailable = 1, + ResourceInUse = 2, + UnsupportedHardware = 3, + NoHardware = 4, + }; + enum class WiFiDirectServiceIPProtocol : int32_t + { + Tcp = 6, + Udp = 17, + }; + enum class WiFiDirectServiceSessionErrorStatus : int32_t + { + Ok = 0, + Disassociated = 1, + LocalClose = 2, + RemoteClose = 3, + SystemFailure = 4, + NoResponseFromRemote = 5, + }; + enum class WiFiDirectServiceSessionStatus : int32_t + { + Closed = 0, + Initiated = 1, + Requested = 2, + Open = 3, + }; + enum class WiFiDirectServiceStatus : int32_t + { + Available = 0, + Busy = 1, + Custom = 2, + }; + struct IWiFiDirectService; + struct IWiFiDirectServiceAdvertiser; + struct IWiFiDirectServiceAdvertiserFactory; + struct IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs; + struct IWiFiDirectServiceProvisioningInfo; + struct IWiFiDirectServiceRemotePortAddedEventArgs; + struct IWiFiDirectServiceSession; + struct IWiFiDirectServiceSessionDeferredEventArgs; + struct IWiFiDirectServiceSessionRequest; + struct IWiFiDirectServiceSessionRequestedEventArgs; + struct IWiFiDirectServiceStatics; + struct WiFiDirectService; + struct WiFiDirectServiceAdvertiser; + struct WiFiDirectServiceAutoAcceptSessionConnectedEventArgs; + struct WiFiDirectServiceProvisioningInfo; + struct WiFiDirectServiceRemotePortAddedEventArgs; + struct WiFiDirectServiceSession; + struct WiFiDirectServiceSessionDeferredEventArgs; + struct WiFiDirectServiceSessionRequest; + struct WiFiDirectServiceSessionRequestedEventArgs; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAutoAcceptSessionConnectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceRemotePortAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionDeferredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertisementStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceConfigurationMethod"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceError"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceIPProtocol"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.WiFiDirectServiceStatus"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectService"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceAdvertiser"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceAdvertiserFactory"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceProvisioningInfo"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceRemotePortAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceSession"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceSessionDeferredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceSessionRequest"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceSessionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Devices.WiFiDirect.Services.IWiFiDirectServiceStatics"; + template <> inline constexpr guid guid_v{ 0x50AABBB8,0x5F71,0x45EC,{ 0x84,0xF1,0xA1,0xE4,0xFC,0x78,0x79,0xA3 } }; // 50AABBB8-5F71-45EC-84F1-A1E4FC7879A3 + template <> inline constexpr guid guid_v{ 0xA4AA1EE1,0x9D8F,0x4F4F,{ 0x93,0xEE,0x7D,0xDE,0xA2,0xE3,0x7F,0x46 } }; // A4AA1EE1-9D8F-4F4F-93EE-7DDEA2E37F46 + template <> inline constexpr guid guid_v{ 0x3106AC0D,0xB446,0x4F13,{ 0x9F,0x9A,0x8A,0xE9,0x25,0xFE,0xBA,0x2B } }; // 3106AC0D-B446-4F13-9F9A-8AE925FEBA2B + template <> inline constexpr guid guid_v{ 0xDCD9E01E,0x83DF,0x43E5,{ 0x8F,0x43,0xCB,0xE8,0x47,0x9E,0x84,0xEB } }; // DCD9E01E-83DF-43E5-8F43-CBE8479E84EB + template <> inline constexpr guid guid_v{ 0x8BDB7CFE,0x97D9,0x45A2,{ 0x8E,0x99,0xDB,0x50,0x91,0x0F,0xB6,0xA6 } }; // 8BDB7CFE-97D9-45A2-8E99-DB50910FB6A6 + template <> inline constexpr guid guid_v{ 0xD4CEBAC1,0x3FD3,0x4F0E,{ 0xB7,0xBD,0x78,0x29,0x06,0xF4,0x44,0x11 } }; // D4CEBAC1-3FD3-4F0E-B7BD-782906F44411 + template <> inline constexpr guid guid_v{ 0x81142163,0xE426,0x47CB,{ 0x86,0x40,0xE1,0xB3,0x58,0x8B,0xF2,0x6F } }; // 81142163-E426-47CB-8640-E1B3588BF26F + template <> inline constexpr guid guid_v{ 0x8DFC197F,0x1201,0x4F1F,{ 0xB6,0xF4,0x5D,0xF1,0xB7,0xB9,0xFB,0x2E } }; // 8DFC197F-1201-4F1F-B6F4-5DF1B7B9FB2E + template <> inline constexpr guid guid_v{ 0xA0E27C8B,0x50CB,0x4A58,{ 0x9B,0xCF,0xE4,0x72,0xB9,0x9F,0xBA,0x04 } }; // A0E27C8B-50CB-4A58-9BCF-E472B99FBA04 + template <> inline constexpr guid guid_v{ 0x74BDCC11,0x53D6,0x4999,{ 0xB4,0xF8,0x6C,0x8E,0xCC,0x17,0x71,0xE7 } }; // 74BDCC11-53D6-4999-B4F8-6C8ECC1771E7 + template <> inline constexpr guid guid_v{ 0x7DB40045,0xFD74,0x4688,{ 0xB7,0x25,0x5D,0xCE,0x86,0xAC,0xF2,0x33 } }; // 7DB40045-FD74-4688-B725-5DCE86ACF233 + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionDeferredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RemoteServiceInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedConfigurationMethods(void**) noexcept = 0; + virtual int32_t __stdcall get_PreferGroupOwnerMode(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreferGroupOwnerMode(bool) noexcept = 0; + virtual int32_t __stdcall get_SessionInfo(void**) noexcept = 0; + virtual int32_t __stdcall put_SessionInfo(void*) noexcept = 0; + virtual int32_t __stdcall get_ServiceError(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_SessionDeferred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionDeferred(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetProvisioningInfoAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsyncWithPin(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServiceName(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceNamePrefixes(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceInfo(void**) noexcept = 0; + virtual int32_t __stdcall put_ServiceInfo(void*) noexcept = 0; + virtual int32_t __stdcall get_AutoAcceptSession(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoAcceptSession(bool) noexcept = 0; + virtual int32_t __stdcall get_PreferGroupOwnerMode(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreferGroupOwnerMode(bool) noexcept = 0; + virtual int32_t __stdcall get_PreferredConfigurationMethods(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ServiceStatus(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomServiceStatusCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomServiceStatusCode(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DeferredSessionInfo(void**) noexcept = 0; + virtual int32_t __stdcall put_DeferredSessionInfo(void*) noexcept = 0; + virtual int32_t __stdcall get_AdvertisementStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceError(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_SessionRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AutoAcceptSessionConnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AutoAcceptSessionConnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AdvertisementStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AdvertisementStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsyncWithPin(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWiFiDirectServiceAdvertiser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedConfigurationMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsGroupFormationNeeded(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointPairs(void**) noexcept = 0; + virtual int32_t __stdcall get_Protocol(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServiceName(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SessionId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AdvertisementId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionAddress(void**) noexcept = 0; + virtual int32_t __stdcall GetConnectionEndpointPairs(void**) noexcept = 0; + virtual int32_t __stdcall add_SessionStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall AddStreamSocketListenerAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddDatagramSocketAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_RemotePortAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RemotePortAdded(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeferredSessionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_ProvisioningInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSessionRequest(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSelector(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSelectorWithFilter(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService + { + [[nodiscard]] auto RemoteServiceInfo() const; + [[nodiscard]] auto SupportedConfigurationMethods() const; + [[nodiscard]] auto PreferGroupOwnerMode() const; + auto PreferGroupOwnerMode(bool value) const; + [[nodiscard]] auto SessionInfo() const; + auto SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ServiceError() const; + auto SessionDeferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionDeferred_revoker = impl::event_revoker::remove_SessionDeferred>; + [[nodiscard]] auto SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionDeferred(winrt::event_token const& token) const noexcept; + auto GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const; + auto ConnectAsync() const; + auto ConnectAsync(param::hstring const& pin) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser + { + [[nodiscard]] auto ServiceName() const; + [[nodiscard]] auto ServiceNamePrefixes() const; + [[nodiscard]] auto ServiceInfo() const; + auto ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto AutoAcceptSession() const; + auto AutoAcceptSession(bool value) const; + [[nodiscard]] auto PreferGroupOwnerMode() const; + auto PreferGroupOwnerMode(bool value) const; + [[nodiscard]] auto PreferredConfigurationMethods() const; + [[nodiscard]] auto ServiceStatus() const; + auto ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const; + [[nodiscard]] auto CustomServiceStatusCode() const; + auto CustomServiceStatusCode(uint32_t value) const; + [[nodiscard]] auto DeferredSessionInfo() const; + auto DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto AdvertisementStatus() const; + [[nodiscard]] auto ServiceError() const; + auto SessionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionRequested_revoker = impl::event_revoker::remove_SessionRequested>; + [[nodiscard]] auto SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionRequested(winrt::event_token const& token) const noexcept; + auto AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AutoAcceptSessionConnected_revoker = impl::event_revoker::remove_AutoAcceptSessionConnected>; + [[nodiscard]] auto AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept; + auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AdvertisementStatusChanged_revoker = impl::event_revoker::remove_AdvertisementStatusChanged>; + [[nodiscard]] auto AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; + auto ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const; + auto ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory + { + auto CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs + { + [[nodiscard]] auto Session() const; + [[nodiscard]] auto SessionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo + { + [[nodiscard]] auto SelectedConfigurationMethod() const; + [[nodiscard]] auto IsGroupFormationNeeded() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs + { + [[nodiscard]] auto EndpointPairs() const; + [[nodiscard]] auto Protocol() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession + { + [[nodiscard]] auto ServiceName() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ErrorStatus() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto AdvertisementId() const; + [[nodiscard]] auto ServiceAddress() const; + [[nodiscard]] auto SessionAddress() const; + auto GetConnectionEndpointPairs() const; + auto SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionStatusChanged_revoker = impl::event_revoker::remove_SessionStatusChanged>; + [[nodiscard]] auto SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionStatusChanged(winrt::event_token const& token) const noexcept; + auto AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const; + auto AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const; + auto RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RemotePortAdded_revoker = impl::event_revoker::remove_RemotePortAdded>; + [[nodiscard]] auto RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemotePortAdded(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs + { + [[nodiscard]] auto DeferredSessionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest + { + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto ProvisioningInfo() const; + [[nodiscard]] auto SessionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs + { + auto GetSessionRequest() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs; + }; + template + struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics + { + auto GetSelector(param::hstring const& serviceName) const; + auto GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const; + auto FromIdAsync(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4d7aa00446162dcc42765a93a542ba6764a35f1e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.1.h @@ -0,0 +1,93 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_Services_1_H +#define WINRT_Windows_Devices_WiFiDirect_Services_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Devices.WiFiDirect.Services.0.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect::Services +{ + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectService(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceAdvertiser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceAdvertiser(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceAdvertiser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceAdvertiserFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceAdvertiserFactory(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceAdvertiserFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceProvisioningInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceProvisioningInfo(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceProvisioningInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceRemotePortAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceRemotePortAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceRemotePortAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWiFiDirectServiceSession(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceSessionDeferredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceSessionDeferredEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceSessionDeferredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceSessionRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWiFiDirectServiceSessionRequest(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceSessionRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceSessionRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceSessionRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceSessionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWiFiDirectServiceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWiFiDirectServiceStatics(std::nullptr_t = nullptr) noexcept {} + IWiFiDirectServiceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.2.h new file mode 100644 index 0000000000000000000000000000000000000000..4c670b76f237e2050bc4dc0016951d3903171a6a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.devices.wifidirect.services.2.h @@ -0,0 +1,64 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Devices_WiFiDirect_Services_2_H +#define WINRT_Windows_Devices_WiFiDirect_Services_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Devices.WiFiDirect.Services.1.h" +WINRT_EXPORT namespace winrt::Windows::Devices::WiFiDirect::Services +{ + struct WINRT_IMPL_EMPTY_BASES WiFiDirectService : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService + { + WiFiDirectService(std::nullptr_t) noexcept {} + WiFiDirectService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService(ptr, take_ownership_from_abi) {} + static auto GetSelector(param::hstring const& serviceName); + static auto GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter); + static auto FromIdAsync(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceAdvertiser : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser + { + WiFiDirectServiceAdvertiser(std::nullptr_t) noexcept {} + WiFiDirectServiceAdvertiser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser(ptr, take_ownership_from_abi) {} + explicit WiFiDirectServiceAdvertiser(param::hstring const& serviceName); + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceAutoAcceptSessionConnectedEventArgs : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs + { + WiFiDirectServiceAutoAcceptSessionConnectedEventArgs(std::nullptr_t) noexcept {} + WiFiDirectServiceAutoAcceptSessionConnectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceProvisioningInfo : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo + { + WiFiDirectServiceProvisioningInfo(std::nullptr_t) noexcept {} + WiFiDirectServiceProvisioningInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceRemotePortAddedEventArgs : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs + { + WiFiDirectServiceRemotePortAddedEventArgs(std::nullptr_t) noexcept {} + WiFiDirectServiceRemotePortAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceSession : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession + { + WiFiDirectServiceSession(std::nullptr_t) noexcept {} + WiFiDirectServiceSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceSessionDeferredEventArgs : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionDeferredEventArgs + { + WiFiDirectServiceSessionDeferredEventArgs(std::nullptr_t) noexcept {} + WiFiDirectServiceSessionDeferredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionDeferredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceSessionRequest : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest + { + WiFiDirectServiceSessionRequest(std::nullptr_t) noexcept {} + WiFiDirectServiceSessionRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WiFiDirectServiceSessionRequestedEventArgs : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequestedEventArgs + { + WiFiDirectServiceSessionRequestedEventArgs(std::nullptr_t) noexcept {} + WiFiDirectServiceSessionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9cd762243c1633c0d47cdc4ae1d4ea9a857b1154 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.0.h @@ -0,0 +1,961 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_0_H +#define WINRT_Windows_Foundation_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + enum class AsyncStatus : int32_t + { + Canceled = 2, + Completed = 1, + Error = 3, + Started = 0, + }; + enum class PropertyType : int32_t + { + Empty = 0, + UInt8 = 1, + Int16 = 2, + UInt16 = 3, + Int32 = 4, + UInt32 = 5, + Int64 = 6, + UInt64 = 7, + Single = 8, + Double = 9, + Char16 = 10, + Boolean = 11, + String = 12, + Inspectable = 13, + DateTime = 14, + TimeSpan = 15, + Guid = 16, + Point = 17, + Size = 18, + Rect = 19, + OtherType = 20, + UInt8Array = 1025, + Int16Array = 1026, + UInt16Array = 1027, + Int32Array = 1028, + UInt32Array = 1029, + Int64Array = 1030, + UInt64Array = 1031, + SingleArray = 1032, + DoubleArray = 1033, + Char16Array = 1034, + BooleanArray = 1035, + StringArray = 1036, + InspectableArray = 1037, + DateTimeArray = 1038, + TimeSpanArray = 1039, + GuidArray = 1040, + PointArray = 1041, + SizeArray = 1042, + RectArray = 1043, + OtherTypeArray = 1044, + }; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IAsyncActionWithProgress; + struct IAsyncInfo; + template struct WINRT_IMPL_EMPTY_BASES IAsyncOperationWithProgress; + template struct WINRT_IMPL_EMPTY_BASES IAsyncOperation; + struct IClosable; + struct IDeferral; + struct IDeferralFactory; + struct IGetActivationFactory; + struct IGuidHelperStatics; + struct IMemoryBuffer; + struct IMemoryBufferFactory; + struct IMemoryBufferReference; + struct IPropertyValue; + struct IPropertyValueStatics; + template struct WINRT_IMPL_EMPTY_BASES IReferenceArray; + template struct WINRT_IMPL_EMPTY_BASES IReference; + struct IStringable; + struct IUriEscapeStatics; + struct IUriRuntimeClass; + struct IUriRuntimeClassFactory; + struct IUriRuntimeClassWithAbsoluteCanonicalUri; + struct IWwwFormUrlDecoderEntry; + struct IWwwFormUrlDecoderRuntimeClass; + struct IWwwFormUrlDecoderRuntimeClassFactory; + struct Deferral; + struct GuidHelper; + struct MemoryBuffer; + struct PropertyValue; + struct Uri; + struct WwwFormUrlDecoder; + struct WwwFormUrlDecoderEntry; + struct AsyncActionCompletedHandler; + template struct WINRT_IMPL_EMPTY_BASES AsyncActionProgressHandler; + template struct WINRT_IMPL_EMPTY_BASES AsyncActionWithProgressCompletedHandler; + template struct WINRT_IMPL_EMPTY_BASES AsyncOperationCompletedHandler; + template struct WINRT_IMPL_EMPTY_BASES AsyncOperationProgressHandler; + template struct WINRT_IMPL_EMPTY_BASES AsyncOperationWithProgressCompletedHandler; + struct DeferralCompletedHandler; + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct FoundationContract; + struct UniversalApiContract; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template struct category>{ using type = generic_category; }; + template <> struct category{ using type = interface_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template <> struct category{ using type = delegate_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Deferral"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.GuidHelper"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.MemoryBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.PropertyValue"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Uri"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.WwwFormUrlDecoder"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.WwwFormUrlDecoderEntry"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.AsyncStatus"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.PropertyType"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IAsyncAction"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.IAsyncActionWithProgress`1<", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.IAsyncInfo"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.IAsyncOperationWithProgress`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.IAsyncOperation`1<", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.IClosable"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IDeferralFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IGetActivationFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IGuidHelperStatics"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IMemoryBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IMemoryBufferFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IMemoryBufferReference"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IPropertyValue"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IPropertyValueStatics"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.IReferenceArray`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.IReference`1<", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.IStringable"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IUriEscapeStatics"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IUriRuntimeClass"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IUriRuntimeClassFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IUriRuntimeClassWithAbsoluteCanonicalUri"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IWwwFormUrlDecoderEntry"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IWwwFormUrlDecoderRuntimeClass"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.IWwwFormUrlDecoderRuntimeClassFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.AsyncActionCompletedHandler"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.AsyncActionProgressHandler`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.AsyncActionWithProgressCompletedHandler`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.AsyncOperationCompletedHandler`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.AsyncOperationProgressHandler`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.AsyncOperationWithProgressCompletedHandler`2<", name_v, L", ", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.DeferralCompletedHandler"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.EventHandler`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.TypedEventHandler`2<", name_v, L", ", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.FoundationContract"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.UniversalApiContract"; + template <> inline constexpr guid guid_v{ 0x5A648006,0x843A,0x4DA9,{ 0x86,0x5B,0x9D,0x26,0xE5,0xDF,0xAD,0x7B } }; // 5A648006-843A-4DA9-865B-9D26E5DFAD7B + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x1F6DB258,0xE803,0x48A1,{ 0x95,0x46,0xEB,0x73,0x53,0x39,0x88,0x84 } }; // 1F6DB258-E803-48A1-9546-EB7353398884 + template <> inline constexpr guid guid_v{ 0x00000036,0x0000,0x0000,{ 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46 } }; // 00000036-0000-0000-C000-000000000046 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xB5D036D7,0xE297,0x498F,{ 0xBA,0x60,0x02,0x89,0xE7,0x6E,0x23,0xDD } }; // B5D036D7-E297-498F-BA60-0289E76E23DD + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x9FC2B0BB,0xE446,0x44E2,{ 0xAA,0x61,0x9C,0xAB,0x8F,0x63,0x6A,0xF2 } }; // 9FC2B0BB-E446-44E2-AA61-9CAB8F636AF2 + template <> inline constexpr guid guid_v{ 0x30D5A829,0x7FA4,0x4026,{ 0x83,0xBB,0xD7,0x5B,0xAE,0x4E,0xA9,0x9E } }; // 30D5A829-7FA4-4026-83BB-D75BAE4EA99E + template <> inline constexpr guid guid_v{ 0xD6269732,0x3B7F,0x46A7,{ 0xB4,0x0B,0x4F,0xDC,0xA2,0xA2,0xC6,0x93 } }; // D6269732-3B7F-46A7-B40B-4FDCA2A2C693 + template <> inline constexpr guid guid_v{ 0x65A1ECC5,0x3FB5,0x4832,{ 0x8C,0xA9,0xF0,0x61,0xB2,0x81,0xD1,0x3A } }; // 65A1ECC5-3FB5-4832-8CA9-F061B281D13A + template <> inline constexpr guid guid_v{ 0x4EDB8EE2,0x96DD,0x49A7,{ 0x94,0xF7,0x46,0x07,0xDD,0xAB,0x8E,0x3C } }; // 4EDB8EE2-96DD-49A7-94F7-4607DDAB8E3C + template <> inline constexpr guid guid_v{ 0x59C7966B,0xAE52,0x5283,{ 0xAD,0x7F,0xA1,0xB9,0xE9,0x67,0x8A,0xDD } }; // 59C7966B-AE52-5283-AD7F-A1B9E9678ADD + template <> inline constexpr guid guid_v{ 0xFBC4DD2A,0x245B,0x11E4,{ 0xAF,0x98,0x68,0x94,0x23,0x26,0x0C,0xF8 } }; // FBC4DD2A-245B-11E4-AF98-689423260CF8 + template <> inline constexpr guid guid_v{ 0xFBC4DD2B,0x245B,0x11E4,{ 0xAF,0x98,0x68,0x94,0x23,0x26,0x0C,0xF8 } }; // FBC4DD2B-245B-11E4-AF98-689423260CF8 + template <> inline constexpr guid guid_v{ 0xFBC4DD29,0x245B,0x11E4,{ 0xAF,0x98,0x68,0x94,0x23,0x26,0x0C,0xF8 } }; // FBC4DD29-245B-11E4-AF98-689423260CF8 + template <> inline constexpr guid guid_v{ 0x4BD682DD,0x7554,0x40E9,{ 0x9A,0x9B,0x82,0x65,0x4E,0xDE,0x7E,0x62 } }; // 4BD682DD-7554-40E9-9A9B-82654EDE7E62 + template <> inline constexpr guid guid_v{ 0x629BDBC8,0xD932,0x4FF4,{ 0x96,0xB9,0x8D,0x96,0xC5,0xC1,0xE8,0x58 } }; // 629BDBC8-D932-4FF4-96B9-8D96C5C1E858 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x61C17707,0x2D65,0x11E0,{ 0x9A,0xE8,0xD4,0x85,0x64,0x01,0x54,0x72 } }; // 61C17707-2D65-11E0-9AE8-D48564015472 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x61C17706,0x2D65,0x11E0,{ 0x9A,0xE8,0xD4,0x85,0x64,0x01,0x54,0x72 } }; // 61C17706-2D65-11E0-9AE8-D48564015472 + template <> inline constexpr guid guid_v{ 0x96369F54,0x8EB6,0x48F0,{ 0xAB,0xCE,0xC1,0xB2,0x11,0xE6,0x27,0xC3 } }; // 96369F54-8EB6-48F0-ABCE-C1B211E627C3 + template <> inline constexpr guid guid_v{ 0xC1D432BA,0xC824,0x4452,{ 0xA7,0xFD,0x51,0x2B,0xC3,0xBB,0xE9,0xA1 } }; // C1D432BA-C824-4452-A7FD-512BC3BBE9A1 + template <> inline constexpr guid guid_v{ 0x9E365E57,0x48B2,0x4160,{ 0x95,0x6F,0xC7,0x38,0x51,0x20,0xBB,0xFC } }; // 9E365E57-48B2-4160-956F-C7385120BBFC + template <> inline constexpr guid guid_v{ 0x44A9796F,0x723E,0x4FDF,{ 0xA2,0x18,0x03,0x3E,0x75,0xB0,0xC0,0x84 } }; // 44A9796F-723E-4FDF-A218-033E75B0C084 + template <> inline constexpr guid guid_v{ 0x758D9661,0x221C,0x480F,{ 0xA3,0x39,0x50,0x65,0x66,0x73,0xF4,0x6F } }; // 758D9661-221C-480F-A339-50656673F46F + template <> inline constexpr guid guid_v{ 0x125E7431,0xF678,0x4E8E,{ 0xB6,0x70,0x20,0xA9,0xB0,0x6C,0x51,0x2D } }; // 125E7431-F678-4E8E-B670-20A9B06C512D + template <> inline constexpr guid guid_v{ 0xD45A0451,0xF225,0x4542,{ 0x92,0x96,0x0E,0x1D,0xF5,0xD2,0x54,0xDF } }; // D45A0451-F225-4542-9296-0E1DF5D254DF + template <> inline constexpr guid guid_v{ 0x5B8C6B3D,0x24AE,0x41B5,{ 0xA1,0xBF,0xF0,0xC3,0xD5,0x44,0x84,0x5B } }; // 5B8C6B3D-24AE-41B5-A1BF-F0C3D544845B + template <> inline constexpr guid guid_v{ 0xA4ED5C81,0x76C9,0x40BD,{ 0x8B,0xE6,0xB1,0xD9,0x0F,0xB2,0x0A,0xE7 } }; // A4ED5C81-76C9-40BD-8BE6-B1D90FB20AE7 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x6D844858,0x0CFF,0x4590,{ 0xAE,0x89,0x95,0xA5,0xA5,0xC8,0xB4,0xB8 } }; // 6D844858-0CFF-4590-AE89-95A5A5C8B4B8 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x9C029F91,0xCC84,0x44FD,{ 0xAC,0x26,0x0A,0x6C,0x4E,0x55,0x52,0x81 } }; // 9C029F91-CC84-44FD-AC26-0A6C4E555281 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xFCDCF02C,0xE5D8,0x4478,{ 0x91,0x5A,0x4D,0x90,0xB7,0x4B,0x83,0xA5 } }; // FCDCF02C-E5D8-4478-915A-4D90B74B83A5 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x55690902,0x0AAB,0x421A,{ 0x87,0x78,0xF8,0xCE,0x50,0x26,0xD7,0x58 } }; // 55690902-0AAB-421A-8778-F8CE5026D758 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xE85DF41D,0x6AA7,0x46E3,{ 0xA8,0xE2,0xF0,0x09,0xD8,0x40,0xC6,0x27 } }; // E85DF41D-6AA7-46E3-A8E2-F009D840C627 + template <> inline constexpr guid guid_v{ 0xED32A372,0xF3C8,0x4FAA,{ 0x9C,0xFB,0x47,0x01,0x48,0xDA,0x38,0x88 } }; // ED32A372-F3C8-4FAA-9CFB-470148DA3888 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x9DE1C535,0x6AE1,0x11E0,{ 0x84,0xE1,0x18,0xA9,0x05,0xBC,0xC5,0x3F } }; // 9DE1C535-6AE1-11E0-84E1-18A905BCC53F + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x9DE1C534,0x6AE1,0x11E0,{ 0x84,0xE1,0x18,0xA9,0x05,0xBC,0xC5,0x3F } }; // 9DE1C534-6AE1-11E0-84E1-18A905BCC53F + template <> struct default_interface{ using type = winrt::Windows::Foundation::IDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IMemoryBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IUriRuntimeClass; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IWwwFormUrlDecoderEntry; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Completed(void*) noexcept = 0; + virtual int32_t __stdcall get_Completed(void**) noexcept = 0; + virtual int32_t __stdcall GetResults() noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Progress(void*) noexcept = 0; + virtual int32_t __stdcall get_Progress(void**) noexcept = 0; + virtual int32_t __stdcall put_Completed(void*) noexcept = 0; + virtual int32_t __stdcall get_Completed(void**) noexcept = 0; + virtual int32_t __stdcall GetResults() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall Cancel() noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Progress(void*) noexcept = 0; + virtual int32_t __stdcall get_Progress(void**) noexcept = 0; + virtual int32_t __stdcall put_Completed(void*) noexcept = 0; + virtual int32_t __stdcall get_Completed(void**) noexcept = 0; + virtual int32_t __stdcall GetResults(arg_out) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Completed(void*) noexcept = 0; + virtual int32_t __stdcall get_Completed(void**) noexcept = 0; + virtual int32_t __stdcall GetResults(arg_out) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Close() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetActivationFactory(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateNewGuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Empty(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall Equals(winrt::guid const&, winrt::guid const&, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateReference(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capacity(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsNumericScalar(bool*) noexcept = 0; + virtual int32_t __stdcall GetUInt8(uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetInt16(int16_t*) noexcept = 0; + virtual int32_t __stdcall GetUInt16(uint16_t*) noexcept = 0; + virtual int32_t __stdcall GetInt32(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetUInt32(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetInt64(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetUInt64(uint64_t*) noexcept = 0; + virtual int32_t __stdcall GetSingle(float*) noexcept = 0; + virtual int32_t __stdcall GetDouble(double*) noexcept = 0; + virtual int32_t __stdcall GetChar16(char16_t*) noexcept = 0; + virtual int32_t __stdcall GetBoolean(bool*) noexcept = 0; + virtual int32_t __stdcall GetString(void**) noexcept = 0; + virtual int32_t __stdcall GetGuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetDateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetTimeSpan(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetPoint(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall GetSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall GetRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall GetUInt8Array(uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall GetInt16Array(uint32_t*, int16_t**) noexcept = 0; + virtual int32_t __stdcall GetUInt16Array(uint32_t*, uint16_t**) noexcept = 0; + virtual int32_t __stdcall GetInt32Array(uint32_t*, int32_t**) noexcept = 0; + virtual int32_t __stdcall GetUInt32Array(uint32_t*, uint32_t**) noexcept = 0; + virtual int32_t __stdcall GetInt64Array(uint32_t*, int64_t**) noexcept = 0; + virtual int32_t __stdcall GetUInt64Array(uint32_t*, uint64_t**) noexcept = 0; + virtual int32_t __stdcall GetSingleArray(uint32_t*, float**) noexcept = 0; + virtual int32_t __stdcall GetDoubleArray(uint32_t*, double**) noexcept = 0; + virtual int32_t __stdcall GetChar16Array(uint32_t*, char16_t**) noexcept = 0; + virtual int32_t __stdcall GetBooleanArray(uint32_t*, bool**) noexcept = 0; + virtual int32_t __stdcall GetStringArray(uint32_t*, void***) noexcept = 0; + virtual int32_t __stdcall GetInspectableArray(uint32_t*, void***) noexcept = 0; + virtual int32_t __stdcall GetGuidArray(uint32_t*, winrt::guid**) noexcept = 0; + virtual int32_t __stdcall GetDateTimeArray(uint32_t*, int64_t**) noexcept = 0; + virtual int32_t __stdcall GetTimeSpanArray(uint32_t*, int64_t**) noexcept = 0; + virtual int32_t __stdcall GetPointArray(uint32_t*, winrt::Windows::Foundation::Point**) noexcept = 0; + virtual int32_t __stdcall GetSizeArray(uint32_t*, winrt::Windows::Foundation::Size**) noexcept = 0; + virtual int32_t __stdcall GetRectArray(uint32_t*, winrt::Windows::Foundation::Rect**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateEmpty(void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt8(uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt16(int16_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt16(uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt32(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt32(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt64(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt64(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateSingle(float, void**) noexcept = 0; + virtual int32_t __stdcall CreateDouble(double, void**) noexcept = 0; + virtual int32_t __stdcall CreateChar16(char16_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateBoolean(bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateString(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInspectable(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateGuid(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTime(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateTimeSpan(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreatePoint(winrt::Windows::Foundation::Point, void**) noexcept = 0; + virtual int32_t __stdcall CreateSize(winrt::Windows::Foundation::Size, void**) noexcept = 0; + virtual int32_t __stdcall CreateRect(winrt::Windows::Foundation::Rect, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt8Array(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt16Array(uint32_t, int16_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt16Array(uint32_t, uint16_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt32Array(uint32_t, int32_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt32Array(uint32_t, uint32_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInt64Array(uint32_t, int64_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUInt64Array(uint32_t, uint64_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateSingleArray(uint32_t, float*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDoubleArray(uint32_t, double*, void**) noexcept = 0; + virtual int32_t __stdcall CreateChar16Array(uint32_t, char16_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateBooleanArray(uint32_t, bool*, void**) noexcept = 0; + virtual int32_t __stdcall CreateStringArray(uint32_t, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInspectableArray(uint32_t, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateGuidArray(uint32_t, winrt::guid*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeArray(uint32_t, int64_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTimeSpanArray(uint32_t, int64_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreatePointArray(uint32_t, winrt::Windows::Foundation::Point*, void**) noexcept = 0; + virtual int32_t __stdcall CreateSizeArray(uint32_t, winrt::Windows::Foundation::Size*, void**) noexcept = 0; + virtual int32_t __stdcall CreateRectArray(uint32_t, winrt::Windows::Foundation::Rect*, void**) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(uint32_t* __winrt_impl_resultSize, T**) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(arg_out) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ToString(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UnescapeComponent(void*, void**) noexcept = 0; + virtual int32_t __stdcall EscapeComponent(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteUri(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayUri(void**) noexcept = 0; + virtual int32_t __stdcall get_Domain(void**) noexcept = 0; + virtual int32_t __stdcall get_Extension(void**) noexcept = 0; + virtual int32_t __stdcall get_Fragment(void**) noexcept = 0; + virtual int32_t __stdcall get_Host(void**) noexcept = 0; + virtual int32_t __stdcall get_Password(void**) noexcept = 0; + virtual int32_t __stdcall get_Path(void**) noexcept = 0; + virtual int32_t __stdcall get_Query(void**) noexcept = 0; + virtual int32_t __stdcall get_QueryParsed(void**) noexcept = 0; + virtual int32_t __stdcall get_RawUri(void**) noexcept = 0; + virtual int32_t __stdcall get_SchemeName(void**) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall get_Port(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Suspicious(bool*) noexcept = 0; + virtual int32_t __stdcall Equals(void*, bool*) noexcept = 0; + virtual int32_t __stdcall CombineUri(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateUri(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithRelativeUri(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteCanonicalUri(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayIri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFirstValueByName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWwwFormUrlDecoder(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, arg_in) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, arg_in) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke() noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, arg_in) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(arg_in, arg_in) noexcept = 0; + }; + }; + template + struct consume_Windows_Foundation_IAsyncAction + { + auto Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; + auto get() const; + auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IAsyncAction; + }; + template + struct consume_Windows_Foundation_IAsyncActionWithProgress + { + auto Progress(winrt::Windows::Foundation::AsyncActionProgressHandler const& handler) const; + [[nodiscard]] auto Progress() const; + auto Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; + auto get() const; + auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_IAsyncActionWithProgress; + }; + template + struct consume_Windows_Foundation_IAsyncInfo + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ErrorCode() const; + auto Cancel() const; + auto Close() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IAsyncInfo; + }; + template + struct consume_Windows_Foundation_IAsyncOperationWithProgress + { + auto Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler const& handler) const; + [[nodiscard]] auto Progress() const; + auto Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; + auto get() const; + auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_IAsyncOperationWithProgress; + }; + template + struct consume_Windows_Foundation_IAsyncOperation + { + auto Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; + auto get() const; + auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_IAsyncOperation; + }; + template + struct consume_Windows_Foundation_IClosable + { + auto Close() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IClosable; + }; + template + struct consume_Windows_Foundation_IDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IDeferral; + }; + template + struct consume_Windows_Foundation_IDeferralFactory + { + auto Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IDeferralFactory; + }; + template + struct consume_Windows_Foundation_IGetActivationFactory + { + auto GetActivationFactory(param::hstring const& activatableClassId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IGetActivationFactory; + }; + template + struct consume_Windows_Foundation_IGuidHelperStatics + { + auto CreateNewGuid() const; + [[nodiscard]] auto Empty() const; + auto Equals(winrt::guid const& target, winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IGuidHelperStatics; + }; + template + struct consume_Windows_Foundation_IMemoryBuffer + { + auto CreateReference() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IMemoryBuffer; + }; + template + struct consume_Windows_Foundation_IMemoryBufferFactory + { + auto Create(uint32_t capacity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IMemoryBufferFactory; + }; + template + struct consume_Windows_Foundation_IMemoryBufferReference + { + [[nodiscard]] auto Capacity() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& cookie) const noexcept; + + auto data() const + { + uint8_t* data{}; + uint32_t capacity{}; + check_hresult(static_cast(*this).template as()->GetBuffer(&data, &capacity)); + return data; + } + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IMemoryBufferReference; + }; + template + struct consume_Windows_Foundation_IPropertyValue + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto IsNumericScalar() const; + auto GetUInt8() const; + auto GetInt16() const; + auto GetUInt16() const; + auto GetInt32() const; + auto GetUInt32() const; + auto GetInt64() const; + auto GetUInt64() const; + auto GetSingle() const; + auto GetDouble() const; + auto GetChar16() const; + auto GetBoolean() const; + auto GetString() const; + auto GetGuid() const; + auto GetDateTime() const; + auto GetTimeSpan() const; + auto GetPoint() const; + auto GetSize() const; + auto GetRect() const; + auto GetUInt8Array(com_array& value) const; + auto GetInt16Array(com_array& value) const; + auto GetUInt16Array(com_array& value) const; + auto GetInt32Array(com_array& value) const; + auto GetUInt32Array(com_array& value) const; + auto GetInt64Array(com_array& value) const; + auto GetUInt64Array(com_array& value) const; + auto GetSingleArray(com_array& value) const; + auto GetDoubleArray(com_array& value) const; + auto GetChar16Array(com_array& value) const; + auto GetBooleanArray(com_array& value) const; + auto GetStringArray(com_array& value) const; + auto GetInspectableArray(com_array& value) const; + auto GetGuidArray(com_array& value) const; + auto GetDateTimeArray(com_array& value) const; + auto GetTimeSpanArray(com_array& value) const; + auto GetPointArray(com_array& value) const; + auto GetSizeArray(com_array& value) const; + auto GetRectArray(com_array& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IPropertyValue; + }; + template + struct consume_Windows_Foundation_IPropertyValueStatics + { + auto CreateEmpty() const; + auto CreateUInt8(uint8_t value) const; + auto CreateInt16(int16_t value) const; + auto CreateUInt16(uint16_t value) const; + auto CreateInt32(int32_t value) const; + auto CreateUInt32(uint32_t value) const; + auto CreateInt64(int64_t value) const; + auto CreateUInt64(uint64_t value) const; + auto CreateSingle(float value) const; + auto CreateDouble(double value) const; + auto CreateChar16(char16_t value) const; + auto CreateBoolean(bool value) const; + auto CreateString(param::hstring const& value) const; + auto CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const; + auto CreateGuid(winrt::guid const& value) const; + auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const; + auto CreatePoint(winrt::Windows::Foundation::Point const& value) const; + auto CreateSize(winrt::Windows::Foundation::Size const& value) const; + auto CreateRect(winrt::Windows::Foundation::Rect const& value) const; + auto CreateUInt8Array(array_view value) const; + auto CreateInt16Array(array_view value) const; + auto CreateUInt16Array(array_view value) const; + auto CreateInt32Array(array_view value) const; + auto CreateUInt32Array(array_view value) const; + auto CreateInt64Array(array_view value) const; + auto CreateUInt64Array(array_view value) const; + auto CreateSingleArray(array_view value) const; + auto CreateDoubleArray(array_view value) const; + auto CreateChar16Array(array_view value) const; + auto CreateBooleanArray(array_view value) const; + auto CreateStringArray(array_view value) const; + auto CreateInspectableArray(array_view value) const; + auto CreateGuidArray(array_view value) const; + auto CreateDateTimeArray(array_view value) const; + auto CreateTimeSpanArray(array_view value) const; + auto CreatePointArray(array_view value) const; + auto CreateSizeArray(array_view value) const; + auto CreateRectArray(array_view value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IPropertyValueStatics; + }; + template + struct consume_Windows_Foundation_IReferenceArray + { + [[nodiscard]] auto Value() const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_IReferenceArray; + }; + template + struct consume_Windows_Foundation_IReference + { + [[nodiscard]] auto Value() const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_IReference; + }; + template + struct consume_Windows_Foundation_IStringable + { + auto ToString() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IStringable; + }; + template + struct consume_Windows_Foundation_IUriEscapeStatics + { + auto UnescapeComponent(param::hstring const& toUnescape) const; + auto EscapeComponent(param::hstring const& toEscape) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IUriEscapeStatics; + }; + template + struct consume_Windows_Foundation_IUriRuntimeClass + { + [[nodiscard]] auto AbsoluteUri() const; + [[nodiscard]] auto DisplayUri() const; + [[nodiscard]] auto Domain() const; + [[nodiscard]] auto Extension() const; + [[nodiscard]] auto Fragment() const; + [[nodiscard]] auto Host() const; + [[nodiscard]] auto Password() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Query() const; + [[nodiscard]] auto QueryParsed() const; + [[nodiscard]] auto RawUri() const; + [[nodiscard]] auto SchemeName() const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto Port() const; + [[nodiscard]] auto Suspicious() const; + auto Equals(winrt::Windows::Foundation::Uri const& pUri) const; + auto CombineUri(param::hstring const& relativeUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IUriRuntimeClass; + }; + template + struct consume_Windows_Foundation_IUriRuntimeClassFactory + { + auto CreateUri(param::hstring const& uri) const; + auto CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IUriRuntimeClassFactory; + }; + template + struct consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri + { + [[nodiscard]] auto AbsoluteCanonicalUri() const; + [[nodiscard]] auto DisplayIri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri; + }; + template + struct consume_Windows_Foundation_IWwwFormUrlDecoderEntry + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IWwwFormUrlDecoderEntry; + }; + template + struct consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass + { + auto GetFirstValueByName(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass; + }; + template + struct consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory + { + auto CreateWwwFormUrlDecoder(param::hstring const& query) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0e81d2b3e5c66bd8a0827f9a548203cdf30d2f8f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.1.h @@ -0,0 +1,249 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_1_H +#define WINRT_Windows_Foundation_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.Foundation.0.h" +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct WINRT_IMPL_EMPTY_BASES IAsyncAction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAsyncAction(std::nullptr_t = nullptr) noexcept {} + IAsyncAction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IAsyncActionWithProgress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::IAsyncInfo> + { + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + IAsyncActionWithProgress(std::nullptr_t = nullptr) noexcept {} + IAsyncActionWithProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAsyncInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsyncInfo(std::nullptr_t = nullptr) noexcept {} + IAsyncInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IAsyncOperationWithProgress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::IAsyncInfo> + { + static_assert(impl::has_category_v, "TResult must be WinRT type."); + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + IAsyncOperationWithProgress(std::nullptr_t = nullptr) noexcept {} + IAsyncOperationWithProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IAsyncOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::IAsyncInfo> + { + static_assert(impl::has_category_v, "TResult must be WinRT type."); + IAsyncOperation(std::nullptr_t = nullptr) noexcept {} + IAsyncOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClosable : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClosable(std::nullptr_t = nullptr) noexcept {} + IClosable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDeferral(std::nullptr_t = nullptr) noexcept {} + IDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeferralFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeferralFactory(std::nullptr_t = nullptr) noexcept {} + IDeferralFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGetActivationFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGetActivationFactory(std::nullptr_t = nullptr) noexcept {} + IGetActivationFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGuidHelperStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGuidHelperStatics(std::nullptr_t = nullptr) noexcept {} + IGuidHelperStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMemoryBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMemoryBuffer(std::nullptr_t = nullptr) noexcept {} + IMemoryBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMemoryBufferFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMemoryBufferFactory(std::nullptr_t = nullptr) noexcept {} + IMemoryBufferFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMemoryBufferReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMemoryBufferReference(std::nullptr_t = nullptr) noexcept {} + IMemoryBufferReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPropertyValue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPropertyValue(std::nullptr_t = nullptr) noexcept {} + IPropertyValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPropertyValueStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPropertyValueStatics(std::nullptr_t = nullptr) noexcept {} + IPropertyValueStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IReferenceArray : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::IPropertyValue> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IReferenceArray(std::nullptr_t = nullptr) noexcept {} + IReferenceArray(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::IPropertyValue> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IReference(std::nullptr_t = nullptr) noexcept {} + IReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IReference(T const& value) : IReference(impl::reference_traits::make(value)) + { + } + IReference(std::optional const& value) : IReference(value ? IReference(value.value()) : nullptr) + { + } + operator std::optional() const + { + if (*this) + { + return this->Value(); + } + else + { + return std::nullopt; + } + } + private: + IReference(IInspectable const& value) : IReference(value.as()) + { + } + }; + struct WINRT_IMPL_EMPTY_BASES IStringable : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStringable(std::nullptr_t = nullptr) noexcept {} + IStringable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUriEscapeStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUriEscapeStatics(std::nullptr_t = nullptr) noexcept {} + IUriEscapeStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUriRuntimeClass : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUriRuntimeClass(std::nullptr_t = nullptr) noexcept {} + IUriRuntimeClass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUriRuntimeClassFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUriRuntimeClassFactory(std::nullptr_t = nullptr) noexcept {} + IUriRuntimeClassFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUriRuntimeClassWithAbsoluteCanonicalUri : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUriRuntimeClassWithAbsoluteCanonicalUri(std::nullptr_t = nullptr) noexcept {} + IUriRuntimeClassWithAbsoluteCanonicalUri(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWwwFormUrlDecoderEntry : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWwwFormUrlDecoderEntry(std::nullptr_t = nullptr) noexcept {} + IWwwFormUrlDecoderEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWwwFormUrlDecoderRuntimeClass : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require, winrt::Windows::Foundation::Collections::IVectorView> + { + IWwwFormUrlDecoderRuntimeClass(std::nullptr_t = nullptr) noexcept {} + IWwwFormUrlDecoderRuntimeClass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWwwFormUrlDecoderRuntimeClassFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWwwFormUrlDecoderRuntimeClassFactory(std::nullptr_t = nullptr) noexcept {} + IWwwFormUrlDecoderRuntimeClassFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} + +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template + bool operator==(IReference const& left, IReference const& right); + + template + bool operator!=(IReference const& left, IReference const& right); +} + +#ifdef __cpp_lib_format +template <> +struct std::formatter : std::formatter +{ + template + auto format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc) const; +}; +#endif +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.2.h new file mode 100644 index 0000000000000000000000000000000000000000..4efbb4ed5fc69846b5f7a31f8c1e3d996d222206 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.2.h @@ -0,0 +1,231 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_2_H +#define WINRT_Windows_Foundation_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct AsyncActionCompletedHandler : winrt::Windows::Foundation::IUnknown + { + AsyncActionCompletedHandler(std::nullptr_t = nullptr) noexcept {} + AsyncActionCompletedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncActionCompletedHandler(L lambda); + template AsyncActionCompletedHandler(F* function); + template AsyncActionCompletedHandler(O* object, M method); + template AsyncActionCompletedHandler(com_ptr&& object, M method); + template AsyncActionCompletedHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncActionCompletedHandler(std::shared_ptr&& object, M method); + template AsyncActionCompletedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncAction const& asyncInfo, winrt::Windows::Foundation::AsyncStatus const& asyncStatus) const; + }; + template + struct AsyncActionProgressHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + AsyncActionProgressHandler(std::nullptr_t = nullptr) noexcept {} + AsyncActionProgressHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncActionProgressHandler(L lambda); + template AsyncActionProgressHandler(F* function); + template AsyncActionProgressHandler(O* object, M method); + template AsyncActionProgressHandler(com_ptr&& object, M method); + template AsyncActionProgressHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncActionProgressHandler(std::shared_ptr&& object, M method); + template AsyncActionProgressHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncActionWithProgress const& asyncInfo, impl::param_type const& progressInfo) const; + }; + template + struct AsyncActionWithProgressCompletedHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + AsyncActionWithProgressCompletedHandler(std::nullptr_t = nullptr) noexcept {} + AsyncActionWithProgressCompletedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncActionWithProgressCompletedHandler(L lambda); + template AsyncActionWithProgressCompletedHandler(F* function); + template AsyncActionWithProgressCompletedHandler(O* object, M method); + template AsyncActionWithProgressCompletedHandler(com_ptr&& object, M method); + template AsyncActionWithProgressCompletedHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncActionWithProgressCompletedHandler(std::shared_ptr&& object, M method); + template AsyncActionWithProgressCompletedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncActionWithProgress const& asyncInfo, winrt::Windows::Foundation::AsyncStatus const& asyncStatus) const; + }; + template + struct AsyncOperationCompletedHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TResult must be WinRT type."); + AsyncOperationCompletedHandler(std::nullptr_t = nullptr) noexcept {} + AsyncOperationCompletedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncOperationCompletedHandler(L lambda); + template AsyncOperationCompletedHandler(F* function); + template AsyncOperationCompletedHandler(O* object, M method); + template AsyncOperationCompletedHandler(com_ptr&& object, M method); + template AsyncOperationCompletedHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncOperationCompletedHandler(std::shared_ptr&& object, M method); + template AsyncOperationCompletedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncOperation const& asyncInfo, winrt::Windows::Foundation::AsyncStatus const& asyncStatus) const; + }; + template + struct AsyncOperationProgressHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TResult must be WinRT type."); + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + AsyncOperationProgressHandler(std::nullptr_t = nullptr) noexcept {} + AsyncOperationProgressHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncOperationProgressHandler(L lambda); + template AsyncOperationProgressHandler(F* function); + template AsyncOperationProgressHandler(O* object, M method); + template AsyncOperationProgressHandler(com_ptr&& object, M method); + template AsyncOperationProgressHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncOperationProgressHandler(std::shared_ptr&& object, M method); + template AsyncOperationProgressHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncOperationWithProgress const& asyncInfo, impl::param_type const& progressInfo) const; + }; + template + struct AsyncOperationWithProgressCompletedHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TResult must be WinRT type."); + static_assert(impl::has_category_v, "TProgress must be WinRT type."); + AsyncOperationWithProgressCompletedHandler(std::nullptr_t = nullptr) noexcept {} + AsyncOperationWithProgressCompletedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AsyncOperationWithProgressCompletedHandler(L lambda); + template AsyncOperationWithProgressCompletedHandler(F* function); + template AsyncOperationWithProgressCompletedHandler(O* object, M method); + template AsyncOperationWithProgressCompletedHandler(com_ptr&& object, M method); + template AsyncOperationWithProgressCompletedHandler(weak_ref&& object, LM&& lambda_or_method); + template AsyncOperationWithProgressCompletedHandler(std::shared_ptr&& object, M method); + template AsyncOperationWithProgressCompletedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IAsyncOperationWithProgress const& asyncInfo, winrt::Windows::Foundation::AsyncStatus const& asyncStatus) const; + }; + struct DeferralCompletedHandler : winrt::Windows::Foundation::IUnknown + { + DeferralCompletedHandler(std::nullptr_t = nullptr) noexcept {} + DeferralCompletedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DeferralCompletedHandler(L lambda); + template DeferralCompletedHandler(F* function); + template DeferralCompletedHandler(O* object, M method); + template DeferralCompletedHandler(com_ptr&& object, M method); + template DeferralCompletedHandler(weak_ref&& object, LM&& lambda_or_method); + template DeferralCompletedHandler(std::shared_ptr&& object, M method); + template DeferralCompletedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()() const; + }; + template + struct EventHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "T must be WinRT type."); + EventHandler(std::nullptr_t = nullptr) noexcept {} + EventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template EventHandler(L lambda); + template EventHandler(F* function); + template EventHandler(O* object, M method); + template EventHandler(com_ptr&& object, M method); + template EventHandler(weak_ref&& object, LM&& lambda_or_method); + template EventHandler(std::shared_ptr&& object, M method); + template EventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IInspectable const& sender, impl::param_type const& args) const; + }; + template + struct TypedEventHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "TSender must be WinRT type."); + static_assert(impl::has_category_v, "TResult must be WinRT type."); + TypedEventHandler(std::nullptr_t = nullptr) noexcept {} + TypedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template TypedEventHandler(L lambda); + template TypedEventHandler(F* function); + template TypedEventHandler(O* object, M method); + template TypedEventHandler(com_ptr&& object, M method); + template TypedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template TypedEventHandler(std::shared_ptr&& object, M method); + template TypedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(impl::param_type const& sender, impl::param_type const& args) const; + }; + struct WINRT_IMPL_EMPTY_BASES Deferral : winrt::Windows::Foundation::IDeferral + { + Deferral(std::nullptr_t) noexcept {} + Deferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IDeferral(ptr, take_ownership_from_abi) {} + explicit Deferral(winrt::Windows::Foundation::DeferralCompletedHandler const& handler); + }; + struct GuidHelper + { + GuidHelper() = delete; + static auto CreateNewGuid(); + [[nodiscard]] static auto Empty(); + static auto Equals(winrt::guid const& target, winrt::guid const& value); + }; + struct WINRT_IMPL_EMPTY_BASES MemoryBuffer : winrt::Windows::Foundation::IMemoryBuffer + { + MemoryBuffer(std::nullptr_t) noexcept {} + MemoryBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IMemoryBuffer(ptr, take_ownership_from_abi) {} + explicit MemoryBuffer(uint32_t capacity); + }; + struct PropertyValue + { + PropertyValue() = delete; + static auto CreateEmpty(); + static auto CreateUInt8(uint8_t value); + static auto CreateInt16(int16_t value); + static auto CreateUInt16(uint16_t value); + static auto CreateInt32(int32_t value); + static auto CreateUInt32(uint32_t value); + static auto CreateInt64(int64_t value); + static auto CreateUInt64(uint64_t value); + static auto CreateSingle(float value); + static auto CreateDouble(double value); + static auto CreateChar16(char16_t value); + static auto CreateBoolean(bool value); + static auto CreateString(param::hstring const& value); + static auto CreateInspectable(winrt::Windows::Foundation::IInspectable const& value); + static auto CreateGuid(winrt::guid const& value); + static auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value); + static auto CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value); + static auto CreatePoint(winrt::Windows::Foundation::Point const& value); + static auto CreateSize(winrt::Windows::Foundation::Size const& value); + static auto CreateRect(winrt::Windows::Foundation::Rect const& value); + static auto CreateUInt8Array(array_view value); + static auto CreateInt16Array(array_view value); + static auto CreateUInt16Array(array_view value); + static auto CreateInt32Array(array_view value); + static auto CreateUInt32Array(array_view value); + static auto CreateInt64Array(array_view value); + static auto CreateUInt64Array(array_view value); + static auto CreateSingleArray(array_view value); + static auto CreateDoubleArray(array_view value); + static auto CreateChar16Array(array_view value); + static auto CreateBooleanArray(array_view value); + static auto CreateStringArray(array_view value); + static auto CreateInspectableArray(array_view value); + static auto CreateGuidArray(array_view value); + static auto CreateDateTimeArray(array_view value); + static auto CreateTimeSpanArray(array_view value); + static auto CreatePointArray(array_view value); + static auto CreateSizeArray(array_view value); + static auto CreateRectArray(array_view value); + }; + struct WINRT_IMPL_EMPTY_BASES Uri : winrt::Windows::Foundation::IUriRuntimeClass, + impl::require + { + Uri(std::nullptr_t) noexcept {} + Uri(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUriRuntimeClass(ptr, take_ownership_from_abi) {} + explicit Uri(param::hstring const& uri); + Uri(param::hstring const& baseUri, param::hstring const& relativeUri); + static auto UnescapeComponent(param::hstring const& toUnescape); + static auto EscapeComponent(param::hstring const& toEscape); + }; + struct WINRT_IMPL_EMPTY_BASES WwwFormUrlDecoder : winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass + { + WwwFormUrlDecoder(std::nullptr_t) noexcept {} + WwwFormUrlDecoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass(ptr, take_ownership_from_abi) {} + explicit WwwFormUrlDecoder(param::hstring const& query); + }; + struct WINRT_IMPL_EMPTY_BASES WwwFormUrlDecoderEntry : winrt::Windows::Foundation::IWwwFormUrlDecoderEntry + { + WwwFormUrlDecoderEntry(std::nullptr_t) noexcept {} + WwwFormUrlDecoderEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IWwwFormUrlDecoderEntry(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.0.h new file mode 100644 index 0000000000000000000000000000000000000000..54ec7c7a0882da28e51a527ded4e27016a930e3e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.0.h @@ -0,0 +1,460 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Collections_0_H +#define WINRT_Windows_Foundation_Collections_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + enum class CollectionChange : int32_t + { + Reset = 0, + ItemInserted = 1, + ItemRemoved = 2, + ItemChanged = 3, + }; + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IIterator; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; + template struct WINRT_IMPL_EMPTY_BASES IMapChangedEventArgs; + template struct WINRT_IMPL_EMPTY_BASES IMapView; + template struct WINRT_IMPL_EMPTY_BASES IMap; + template struct WINRT_IMPL_EMPTY_BASES IObservableMap; + template struct WINRT_IMPL_EMPTY_BASES IObservableVector; + struct IPropertySet; + struct IVectorChangedEventArgs; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; + template struct WINRT_IMPL_EMPTY_BASES IVector; + struct PropertySet; + struct StringMap; + struct ValueSet; + template struct WINRT_IMPL_EMPTY_BASES MapChangedEventHandler; + template struct WINRT_IMPL_EMPTY_BASES VectorChangedEventHandler; +} +namespace winrt::impl +{ + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template struct category>{ using type = generic_category; }; + template struct category>{ using type = generic_category; }; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.PropertySet"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.StringMap"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.ValueSet"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.CollectionChange"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IIterable`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IIterator`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IKeyValuePair`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IMapChangedEventArgs`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IMapView`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IMap`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IObservableMap`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IObservableVector`1<", name_v, L">"); + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.IPropertySet"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Collections.IVectorChangedEventArgs"; + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IVectorView`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.IVector`1<", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.MapChangedEventHandler`2<", name_v, L", ", name_v, L">"); + template inline constexpr auto name_v> = zcombine(L"Windows.Foundation.Collections.VectorChangedEventHandler`1<", name_v, L">"); + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xFAA585EA,0x6214,0x4217,{ 0xAF,0xDA,0x7F,0x46,0xDE,0x58,0x69,0xB3 } }; // FAA585EA-6214-4217-AFDA-7F46DE5869B3 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x6A79E863,0x4300,0x459A,{ 0x99,0x66,0xCB,0xB6,0x60,0x96,0x3E,0xE1 } }; // 6A79E863-4300-459A-9966-CBB660963EE1 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x02B51929,0xC1C4,0x4A7E,{ 0x89,0x40,0x03,0x12,0xB5,0xC1,0x85,0x00 } }; // 02B51929-C1C4-4A7E-8940-0312B5C18500 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x9939F4DF,0x050A,0x4C0F,{ 0xAA,0x60,0x77,0x07,0x5F,0x9C,0x47,0x77 } }; // 9939F4DF-050A-4C0F-AA60-77075F9C4777 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xE480CE40,0xA338,0x4ADA,{ 0xAD,0xCF,0x27,0x22,0x72,0xE4,0x8C,0xB9 } }; // E480CE40-A338-4ADA-ADCF-272272E48CB9 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x3C2925FE,0x8519,0x45C1,{ 0xAA,0x79,0x19,0x7B,0x67,0x18,0xC1,0xC1 } }; // 3C2925FE-8519-45C1-AA79-197B6718C1C1 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x65DF2BF5,0xBF39,0x41B5,{ 0xAE,0xBC,0x5A,0x9D,0x86,0x5E,0x47,0x2B } }; // 65DF2BF5-BF39-41B5-AEBC-5A9D865E472B + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x5917EB53,0x50B4,0x4A0D,{ 0xB3,0x09,0x65,0x86,0x2B,0x3F,0x1D,0xBC } }; // 5917EB53-50B4-4A0D-B309-65862B3F1DBC + template <> inline constexpr guid guid_v{ 0x8A43ED9F,0xF4E6,0x4421,{ 0xAC,0xF9,0x1D,0xAB,0x29,0x86,0x82,0x0C } }; // 8A43ED9F-F4E6-4421-ACF9-1DAB2986820C + template <> inline constexpr guid guid_v{ 0x575933DF,0x34FE,0x4480,{ 0xAF,0x15,0x07,0x69,0x1F,0x3D,0x5D,0x9B } }; // 575933DF-34FE-4480-AF15-07691F3D5D9B + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0xBBE1FA4C,0xB0E3,0x4583,{ 0xBA,0xEF,0x1F,0x1B,0x2E,0x48,0x3E,0x56 } }; // BBE1FA4C-B0E3-4583-BAEF-1F1B2E483E56 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x913337E9,0x11A1,0x4345,{ 0xA3,0xA2,0x4E,0x7F,0x95,0x6E,0x22,0x2D } }; // 913337E9-11A1-4345-A3A2-4E7F956E222D + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x179517F3,0x94EE,0x41F8,{ 0xBD,0xDC,0x76,0x8A,0x89,0x55,0x44,0xF3 } }; // 179517F3-94EE-41F8-BDDC-768A895544F3 + template inline constexpr guid guid_v>{ pinterface_guid>::value }; + template inline constexpr guid generic_guid_v>{ 0x0C051752,0x9FBF,0x4C70,{ 0xAA,0x0C,0x0E,0x4C,0x82,0xD9,0xA7,0x61 } }; // 0C051752-9FBF-4C70-AA0C-0E4C82D9A761 + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IPropertySet; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMap; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IPropertySet; }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall First(void**) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(arg_out) noexcept = 0; + virtual int32_t __stdcall get_HasCurrent(bool*) noexcept = 0; + virtual int32_t __stdcall MoveNext(bool*) noexcept = 0; + virtual int32_t __stdcall GetMany(uint32_t, arg_out, uint32_t*) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Key(arg_out) noexcept = 0; + virtual int32_t __stdcall get_Value(arg_out) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CollectionChange(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Key(arg_out) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Lookup(arg_in, arg_out) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall HasKey(arg_in, bool*) noexcept = 0; + virtual int32_t __stdcall Split(void**, void**) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Lookup(arg_in, arg_out) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall HasKey(arg_in, bool*) noexcept = 0; + virtual int32_t __stdcall GetView(void**) noexcept = 0; + virtual int32_t __stdcall Insert(arg_in, arg_in, bool*) noexcept = 0; + virtual int32_t __stdcall Remove(arg_in) noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MapChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MapChanged(winrt::event_token) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_VectorChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VectorChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CollectionChange(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Index(uint32_t*) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAt(uint32_t, arg_out) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall IndexOf(arg_in, uint32_t*, bool*) noexcept = 0; + virtual int32_t __stdcall GetMany(uint32_t, uint32_t, arg_out, uint32_t*) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAt(uint32_t, arg_out) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetView(void**) noexcept = 0; + virtual int32_t __stdcall IndexOf(arg_in, uint32_t*, bool*) noexcept = 0; + virtual int32_t __stdcall SetAt(uint32_t, arg_in) noexcept = 0; + virtual int32_t __stdcall InsertAt(uint32_t, arg_in) noexcept = 0; + virtual int32_t __stdcall RemoveAt(uint32_t) noexcept = 0; + virtual int32_t __stdcall Append(arg_in) noexcept = 0; + virtual int32_t __stdcall RemoveAtEnd() noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + virtual int32_t __stdcall GetMany(uint32_t, uint32_t, arg_out, uint32_t*) noexcept = 0; + virtual int32_t __stdcall ReplaceAll(uint32_t, arg_out) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template struct abi> + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Foundation_Collections_IIterable + { + auto First() const; + + auto begin() const; + auto end() const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IIterable; + }; + template + struct consume_Windows_Foundation_Collections_IIterator + { + [[nodiscard]] auto Current() const; + [[nodiscard]] auto HasCurrent() const; + auto MoveNext() const; + auto GetMany(array_view items) const; + + auto& operator++() + { + if (!MoveNext()) + { + static_cast(*this) = nullptr; + } + + return static_cast(*this); + } + + T operator*() const + { + return Current(); + } + + void operator++(int) + { + ++(*this); + } + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IIterator; + }; + template + struct consume_Windows_Foundation_Collections_IKeyValuePair + { + [[nodiscard]] auto Key() const; + [[nodiscard]] auto Value() const; + + bool operator==(Windows::Foundation::Collections::IKeyValuePair const& other) const + { + return Key() == other.Key() && Value() == other.Value(); + } + + bool operator!=(Windows::Foundation::Collections::IKeyValuePair const& other) const + { + return !(*this == other); + } + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IKeyValuePair; + }; + template + struct consume_Windows_Foundation_Collections_IMapChangedEventArgs + { + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Key() const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IMapChangedEventArgs; + }; + template + struct consume_Windows_Foundation_Collections_IMapView + { + auto Lookup(impl::param_type const& key) const; + [[nodiscard]] auto Size() const; + auto HasKey(impl::param_type const& key) const; + auto Split(winrt::Windows::Foundation::Collections::IMapView& first, winrt::Windows::Foundation::Collections::IMapView& second) const; + + auto TryLookup(param_type const& key) const + { + if constexpr (std::is_base_of_v) + { + V result{ nullptr }; + impl::check_hresult_allow_bounds(WINRT_IMPL_SHIM(Windows::Foundation::Collections::IMapView)->Lookup(get_abi(key), put_abi(result))); + return result; + } + else + { + std::optional result; + V value{ empty_value() }; + + if (0 == impl::check_hresult_allow_bounds(WINRT_IMPL_SHIM(Windows::Foundation::Collections::IMapView)->Lookup(get_abi(key), put_abi(value)))) + { + result = std::move(value); + } + + return result; + } + } + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IMapView; + }; + template + struct consume_Windows_Foundation_Collections_IMap + { + auto Lookup(impl::param_type const& key) const; + [[nodiscard]] auto Size() const; + auto HasKey(impl::param_type const& key) const; + auto GetView() const; + auto Insert(impl::param_type const& key, impl::param_type const& value) const; + auto Remove(impl::param_type const& key) const; + auto Clear() const; + + auto TryLookup(param_type const& key) const + { + if constexpr (std::is_base_of_v) + { + V result{ nullptr }; + impl::check_hresult_allow_bounds(WINRT_IMPL_SHIM(Windows::Foundation::Collections::IMap)->Lookup(get_abi(key), put_abi(result))); + return result; + } + else + { + std::optional result; + V value{ empty_value() }; + + if (0 == impl::check_hresult_allow_bounds(WINRT_IMPL_SHIM(Windows::Foundation::Collections::IMap)->Lookup(get_abi(key), put_abi(value)))) + { + result = std::move(value); + } + + return result; + } + } + + auto TryRemove(param_type const& key) const + { + return 0 == impl::check_hresult_allow_bounds(WINRT_IMPL_SHIM(Windows::Foundation::Collections::IMap)->Remove(get_abi(key))); + } + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IMap; + }; + template + struct consume_Windows_Foundation_Collections_IObservableMap + { + auto MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; + using MapChanged_revoker = impl::event_revoker, &impl::abi_t>::remove_MapChanged>; + [[nodiscard]] auto MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; + auto MapChanged(winrt::event_token const& token) const noexcept; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IObservableMap; + }; + template + struct consume_Windows_Foundation_Collections_IObservableVector + { + auto VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; + using VectorChanged_revoker = impl::event_revoker, &impl::abi_t>::remove_VectorChanged>; + [[nodiscard]] auto VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; + auto VectorChanged(winrt::event_token const& token) const noexcept; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IObservableVector; + }; + template + struct consume_Windows_Foundation_Collections_IPropertySet + { + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Collections_IPropertySet; + }; + template + struct consume_Windows_Foundation_Collections_IVectorChangedEventArgs + { + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Index() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Collections_IVectorChangedEventArgs; + }; + template + struct consume_Windows_Foundation_Collections_IVectorView + { + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto IndexOf(impl::param_type const& value, uint32_t& index) const; + auto GetMany(uint32_t startIndex, array_view items) const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IVectorView; + }; + template + struct consume_Windows_Foundation_Collections_IVector + { + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto GetView() const; + auto IndexOf(impl::param_type const& value, uint32_t& index) const; + auto SetAt(uint32_t index, impl::param_type const& value) const; + auto InsertAt(uint32_t index, impl::param_type const& value) const; + auto RemoveAt(uint32_t index) const; + auto Append(impl::param_type const& value) const; + auto RemoveAtEnd() const; + auto Clear() const; + auto GetMany(uint32_t startIndex, array_view items) const; + auto ReplaceAll(array_view items) const; + }; + template struct consume> + { + template using type = consume_Windows_Foundation_Collections_IVector; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0136b2005507ae22bc17eb34204e1b83a32371be --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.1.h @@ -0,0 +1,135 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Collections_1_H +#define WINRT_Windows_Foundation_Collections_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template + struct WINRT_IMPL_EMPTY_BASES IIterable : + winrt::Windows::Foundation::IInspectable, + impl::consume_t> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IIterable(std::nullptr_t = nullptr) noexcept {} + IIterable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IIterator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IIterator(std::nullptr_t = nullptr) noexcept {} + IIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + + using iterator_concept = std::input_iterator_tag; + using iterator_category = std::input_iterator_tag; + using value_type = T; + using difference_type = ptrdiff_t; + using pointer = void; + using reference = T; + }; + template + struct WINRT_IMPL_EMPTY_BASES IKeyValuePair : + winrt::Windows::Foundation::IInspectable, + impl::consume_t> + { + static_assert(impl::has_category_v, "K must be WinRT type."); + static_assert(impl::has_category_v, "V must be WinRT type."); + IKeyValuePair(std::nullptr_t = nullptr) noexcept {} + IKeyValuePair(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IMapChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t> + { + static_assert(impl::has_category_v, "K must be WinRT type."); + IMapChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMapChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IMapView : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable>> + { + static_assert(impl::has_category_v, "K must be WinRT type."); + static_assert(impl::has_category_v, "V must be WinRT type."); + IMapView(std::nullptr_t = nullptr) noexcept {} + IMapView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IMap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable>> + { + static_assert(impl::has_category_v, "K must be WinRT type."); + static_assert(impl::has_category_v, "V must be WinRT type."); + IMap(std::nullptr_t = nullptr) noexcept {} + IMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IObservableMap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable>, winrt::Windows::Foundation::Collections::IMap> + { + static_assert(impl::has_category_v, "K must be WinRT type."); + static_assert(impl::has_category_v, "V must be WinRT type."); + IObservableMap(std::nullptr_t = nullptr) noexcept {} + IObservableMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IObservableVector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable, winrt::Windows::Foundation::Collections::IVector> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IObservableVector(std::nullptr_t = nullptr) noexcept {} + IObservableVector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPropertySet : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require>, winrt::Windows::Foundation::Collections::IMap, winrt::Windows::Foundation::Collections::IObservableMap> + { + IPropertySet(std::nullptr_t = nullptr) noexcept {} + IPropertySet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVectorChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVectorChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVectorChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IVectorView : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IVectorView(std::nullptr_t = nullptr) noexcept {} + IVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + template + struct WINRT_IMPL_EMPTY_BASES IVector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t>, + impl::require, winrt::Windows::Foundation::Collections::IIterable> + { + static_assert(impl::has_category_v, "T must be WinRT type."); + IVector(std::nullptr_t = nullptr) noexcept {} + IVector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ebc66e29e14aa55269320a6a1b7c3b16ece78c61 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.collections.2.h @@ -0,0 +1,63 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Collections_2_H +#define WINRT_Windows_Foundation_Collections_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template + struct MapChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "K must be WinRT type."); + static_assert(impl::has_category_v, "V must be WinRT type."); + MapChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + MapChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template MapChangedEventHandler(L lambda); + template MapChangedEventHandler(F* function); + template MapChangedEventHandler(O* object, M method); + template MapChangedEventHandler(com_ptr&& object, M method); + template MapChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template MapChangedEventHandler(std::shared_ptr&& object, M method); + template MapChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::Collections::IObservableMap const& sender, winrt::Windows::Foundation::Collections::IMapChangedEventArgs const& event) const; + }; + template + struct VectorChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + static_assert(impl::has_category_v, "T must be WinRT type."); + VectorChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + VectorChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template VectorChangedEventHandler(L lambda); + template VectorChangedEventHandler(F* function); + template VectorChangedEventHandler(O* object, M method); + template VectorChangedEventHandler(com_ptr&& object, M method); + template VectorChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template VectorChangedEventHandler(std::shared_ptr&& object, M method); + template VectorChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::Collections::IObservableVector const& sender, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs const& event) const; + }; + struct WINRT_IMPL_EMPTY_BASES PropertySet : winrt::Windows::Foundation::Collections::IPropertySet + { + PropertySet(std::nullptr_t) noexcept {} + PropertySet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IPropertySet(ptr, take_ownership_from_abi) {} + PropertySet(); + }; + struct WINRT_IMPL_EMPTY_BASES StringMap : winrt::Windows::Foundation::Collections::IMap, + impl::require> + { + StringMap(std::nullptr_t) noexcept {} + StringMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMap(ptr, take_ownership_from_abi) {} + StringMap(); + }; + struct WINRT_IMPL_EMPTY_BASES ValueSet : winrt::Windows::Foundation::Collections::IPropertySet + { + ValueSet(std::nullptr_t) noexcept {} + ValueSet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IPropertySet(ptr, take_ownership_from_abi) {} + ValueSet(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cdf3b25e2b90008409ecd0ec9618914138e4725b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.0.h @@ -0,0 +1,974 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Diagnostics_0_H +#define WINRT_Windows_Foundation_Diagnostics_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + enum class AsyncStatus : int32_t; + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct Point; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFolder; + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics +{ + enum class CausalityRelation : int32_t + { + AssignDelegate = 0, + Join = 1, + Choice = 2, + Cancel = 3, + Error = 4, + }; + enum class CausalitySource : int32_t + { + Application = 0, + Library = 1, + System = 2, + }; + enum class CausalitySynchronousWork : int32_t + { + CompletionNotification = 0, + ProgressNotification = 1, + Execution = 2, + }; + enum class CausalityTraceLevel : int32_t + { + Required = 0, + Important = 1, + Verbose = 2, + }; + enum class ErrorOptions : uint32_t + { + None = 0, + SuppressExceptions = 0x1, + ForceExceptions = 0x2, + UseSetErrorInfo = 0x4, + SuppressSetErrorInfo = 0x8, + }; + enum class LoggingFieldFormat : int32_t + { + Default = 0, + Hidden = 1, + String = 2, + Boolean = 3, + Hexadecimal = 4, + ProcessId = 5, + ThreadId = 6, + Port = 7, + Ipv4Address = 8, + Ipv6Address = 9, + SocketAddress = 10, + Xml = 11, + Json = 12, + Win32Error = 13, + NTStatus = 14, + HResult = 15, + FileTime = 16, + Signed = 17, + Unsigned = 18, + }; + enum class LoggingLevel : int32_t + { + Verbose = 0, + Information = 1, + Warning = 2, + Error = 3, + Critical = 4, + }; + enum class LoggingOpcode : int32_t + { + Info = 0, + Start = 1, + Stop = 2, + Reply = 6, + Resume = 7, + Suspend = 8, + Send = 9, + }; + struct IAsyncCausalityTracerStatics; + struct IErrorDetails; + struct IErrorDetailsStatics; + struct IErrorReportingSettings; + struct IFileLoggingSession; + struct IFileLoggingSessionFactory; + struct ILogFileGeneratedEventArgs; + struct ILoggingActivity; + struct ILoggingActivity2; + struct ILoggingActivityFactory; + struct ILoggingChannel; + struct ILoggingChannel2; + struct ILoggingChannelFactory; + struct ILoggingChannelFactory2; + struct ILoggingChannelOptions; + struct ILoggingChannelOptionsFactory; + struct ILoggingFields; + struct ILoggingOptions; + struct ILoggingOptionsFactory; + struct ILoggingSession; + struct ILoggingSessionFactory; + struct ILoggingTarget; + struct ITracingStatusChangedEventArgs; + struct AsyncCausalityTracer; + struct ErrorDetails; + struct FileLoggingSession; + struct LogFileGeneratedEventArgs; + struct LoggingActivity; + struct LoggingChannel; + struct LoggingChannelOptions; + struct LoggingFields; + struct LoggingOptions; + struct LoggingSession; + struct RuntimeBrokerErrorSettings; + struct TracingStatusChangedEventArgs; +} +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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ErrorDetails"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.FileLoggingSession"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingActivity"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingChannel"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingChannelOptions"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingFields"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingOptions"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingSession"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.CausalityRelation"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.CausalitySource"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.CausalitySynchronousWork"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.CausalityTraceLevel"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ErrorOptions"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingFieldFormat"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingLevel"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.LoggingOpcode"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IAsyncCausalityTracerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IErrorDetails"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IErrorDetailsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IErrorReportingSettings"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IFileLoggingSession"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.IFileLoggingSessionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILogFileGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingActivity"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingActivity2"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingActivityFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannel"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannel2"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannelFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannelFactory2"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannelOptions"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingChannelOptionsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingFields"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingOptions"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingOptionsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingSession"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingSessionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ILoggingTarget"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Diagnostics.ITracingStatusChangedEventArgs"; + template <> inline constexpr guid guid_v{ 0x50850B26,0x267E,0x451B,{ 0xA8,0x90,0xAB,0x6A,0x37,0x02,0x45,0xEE } }; // 50850B26-267E-451B-A890-AB6A370245EE + template <> inline constexpr guid guid_v{ 0x378CBB01,0x2CC9,0x428F,{ 0x8C,0x55,0x2C,0x99,0x0D,0x46,0x3E,0x8F } }; // 378CBB01-2CC9-428F-8C55-2C990D463E8F + template <> inline constexpr guid guid_v{ 0xB7703750,0x0B1D,0x46C8,{ 0xAA,0x0E,0x4B,0x81,0x78,0xE4,0xFC,0xE9 } }; // B7703750-0B1D-46C8-AA0E-4B8178E4FCE9 + template <> inline constexpr guid guid_v{ 0x16369792,0xB03E,0x4BA1,{ 0x8B,0xB8,0xD2,0x8F,0x4A,0xB4,0xD2,0xC0 } }; // 16369792-B03E-4BA1-8BB8-D28F4AB4D2C0 + template <> inline constexpr guid guid_v{ 0x24C74216,0xFED2,0x404C,{ 0x89,0x5F,0x1F,0x96,0x99,0xCB,0x02,0xF7 } }; // 24C74216-FED2-404C-895F-1F9699CB02F7 + template <> inline constexpr guid guid_v{ 0xEEA08DCE,0x8447,0x4DAA,{ 0x91,0x33,0x12,0xEB,0x46,0xF6,0x97,0xD4 } }; // EEA08DCE-8447-4DAA-9133-12EB46F697D4 + template <> inline constexpr guid guid_v{ 0x269E976F,0x0D38,0x4C1A,{ 0xB5,0x3F,0xB3,0x95,0xD8,0x81,0xDF,0x84 } }; // 269E976F-0D38-4C1A-B53F-B395D881DF84 + template <> inline constexpr guid guid_v{ 0xBC032941,0xB766,0x4CB5,{ 0x98,0x48,0x97,0xAC,0x6B,0xA6,0xD6,0x0C } }; // BC032941-B766-4CB5-9848-97AC6BA6D60C + template <> inline constexpr guid guid_v{ 0x26C29808,0x6322,0x456A,{ 0xAF,0x82,0x80,0xC8,0x64,0x2F,0x17,0x8B } }; // 26C29808-6322-456A-AF82-80C8642F178B + template <> inline constexpr guid guid_v{ 0x6B33B483,0xE10A,0x4C58,{ 0x97,0xD5,0x10,0xFB,0x45,0x10,0x74,0xFB } }; // 6B33B483-E10A-4C58-97D5-10FB451074FB + template <> inline constexpr guid guid_v{ 0xE9A50343,0x11D7,0x4F01,{ 0xB5,0xCA,0xCF,0x49,0x52,0x78,0xC0,0xA8 } }; // E9A50343-11D7-4F01-B5CA-CF495278C0A8 + template <> inline constexpr guid guid_v{ 0x9F4C3CF3,0x0BAC,0x45A5,{ 0x9E,0x33,0xBA,0xF3,0xF3,0xA2,0x46,0xA5 } }; // 9F4C3CF3-0BAC-45A5-9E33-BAF3F3A246A5 + template <> inline constexpr guid guid_v{ 0x4EDC5B9C,0xAF80,0x4A9B,{ 0xB0,0xDC,0x39,0x8F,0x9A,0xE5,0x20,0x7B } }; // 4EDC5B9C-AF80-4A9B-B0DC-398F9AE5207B + template <> inline constexpr guid guid_v{ 0x4C6EF5DD,0x3B27,0x4DC9,{ 0x99,0xF0,0x29,0x9C,0x6E,0x46,0x03,0xA1 } }; // 4C6EF5DD-3B27-4DC9-99F0-299C6E4603A1 + template <> inline constexpr guid guid_v{ 0xC3E847FF,0x0EBB,0x4A53,{ 0x8C,0x54,0xDE,0xC2,0x49,0x26,0xCB,0x2C } }; // C3E847FF-0EBB-4A53-8C54-DEC24926CB2C + template <> inline constexpr guid guid_v{ 0xA93151DA,0x7FAF,0x4191,{ 0x87,0x55,0x5E,0x86,0xDC,0x65,0xD8,0x96 } }; // A93151DA-7FAF-4191-8755-5E86DC65D896 + template <> inline constexpr guid guid_v{ 0xD7F6B7AF,0x762D,0x4579,{ 0x83,0xBD,0x52,0xC2,0x3B,0xC3,0x33,0xBC } }; // D7F6B7AF-762D-4579-83BD-52C23BC333BC + template <> inline constexpr guid guid_v{ 0x90BC7850,0x0192,0x4F5D,{ 0xAC,0x26,0x00,0x6A,0xDA,0xCA,0x12,0xD8 } }; // 90BC7850-0192-4F5D-AC26-006ADACA12D8 + template <> inline constexpr guid guid_v{ 0xD713C6CB,0x98AB,0x464B,{ 0x9F,0x22,0xA3,0x26,0x84,0x78,0x36,0x8A } }; // D713C6CB-98AB-464B-9F22-A3268478368A + template <> inline constexpr guid guid_v{ 0x6221F306,0x9380,0x4AD7,{ 0xBA,0xF5,0x41,0xEA,0x93,0x10,0xD7,0x68 } }; // 6221F306-9380-4AD7-BAF5-41EA9310D768 + template <> inline constexpr guid guid_v{ 0x4E937EE5,0x58FD,0x45E0,{ 0x8C,0x2F,0xA1,0x32,0xEF,0xF9,0x5C,0x1E } }; // 4E937EE5-58FD-45E0-8C2F-A132EFF95C1E + template <> inline constexpr guid guid_v{ 0x65F16C35,0xE388,0x4E26,{ 0xB1,0x7A,0xF5,0x1C,0xD3,0xA8,0x39,0x16 } }; // 65F16C35-E388-4E26-B17A-F51CD3A83916 + template <> inline constexpr guid guid_v{ 0x410B7711,0xFF3B,0x477F,{ 0x9C,0x9A,0xD2,0xEF,0xDA,0x30,0x2D,0xC3 } }; // 410B7711-FF3B-477F-9C9A-D2EFDA302DC3 + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::IErrorDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::IFileLoggingSession; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingActivity; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingChannel; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingFields; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingSession; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TraceOperationCreation(int32_t, int32_t, winrt::guid, uint64_t, void*, uint64_t) noexcept = 0; + virtual int32_t __stdcall TraceOperationCompletion(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall TraceOperationRelation(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall TraceSynchronousWorkStart(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall TraceSynchronousWorkCompletion(int32_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall add_TracingStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TracingStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_LongDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_HelpUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromHResultAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetErrorOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall GetErrorOptions(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall AddLoggingChannel(void*) noexcept = 0; + virtual int32_t __stdcall AddLoggingChannelWithLevel(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall RemoveLoggingChannel(void*) noexcept = 0; + virtual int32_t __stdcall CloseAndSaveToFileAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_LogFileGenerated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LogFileGenerated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Channel(void**) noexcept = 0; + virtual int32_t __stdcall StopActivity(void*) noexcept = 0; + virtual int32_t __stdcall StopActivityWithFields(void*, void*) noexcept = 0; + virtual int32_t __stdcall StopActivityWithFieldsAndOptions(void*, void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLoggingActivity(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateLoggingActivityWithLevel(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_Level(int32_t*) noexcept = 0; + virtual int32_t __stdcall LogMessage(void*) noexcept = 0; + virtual int32_t __stdcall LogMessageWithLevel(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall LogValuePair(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall LogValuePairWithLevel(void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall add_LoggingEnabled(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LoggingEnabled(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithOptions(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithOptionsAndId(void*, void*, winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Group(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_Group(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Clear() noexcept = 0; + virtual int32_t __stdcall BeginStruct(void*) noexcept = 0; + virtual int32_t __stdcall BeginStructWithTags(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall EndStruct() noexcept = 0; + virtual int32_t __stdcall AddEmpty(void*) noexcept = 0; + virtual int32_t __stdcall AddEmptyWithFormat(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddEmptyWithFormatAndTags(void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt8(void*, uint8_t) noexcept = 0; + virtual int32_t __stdcall AddUInt8WithFormat(void*, uint8_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt8WithFormatAndTags(void*, uint8_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt8Array(void*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall AddUInt8ArrayWithFormat(void*, uint32_t, uint8_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt8ArrayWithFormatAndTags(void*, uint32_t, uint8_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt16(void*, int16_t) noexcept = 0; + virtual int32_t __stdcall AddInt16WithFormat(void*, int16_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt16WithFormatAndTags(void*, int16_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt16Array(void*, uint32_t, int16_t*) noexcept = 0; + virtual int32_t __stdcall AddInt16ArrayWithFormat(void*, uint32_t, int16_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt16ArrayWithFormatAndTags(void*, uint32_t, int16_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt16(void*, uint16_t) noexcept = 0; + virtual int32_t __stdcall AddUInt16WithFormat(void*, uint16_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt16WithFormatAndTags(void*, uint16_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt16Array(void*, uint32_t, uint16_t*) noexcept = 0; + virtual int32_t __stdcall AddUInt16ArrayWithFormat(void*, uint32_t, uint16_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt16ArrayWithFormatAndTags(void*, uint32_t, uint16_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32WithFormat(void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32WithFormatAndTags(void*, int32_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32Array(void*, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall AddInt32ArrayWithFormat(void*, uint32_t, int32_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32ArrayWithFormatAndTags(void*, uint32_t, int32_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt32(void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt32WithFormat(void*, uint32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt32WithFormatAndTags(void*, uint32_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt32Array(void*, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall AddUInt32ArrayWithFormat(void*, uint32_t, uint32_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt32ArrayWithFormatAndTags(void*, uint32_t, uint32_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt64(void*, int64_t) noexcept = 0; + virtual int32_t __stdcall AddInt64WithFormat(void*, int64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt64WithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt64Array(void*, uint32_t, int64_t*) noexcept = 0; + virtual int32_t __stdcall AddInt64ArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt64ArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt64(void*, uint64_t) noexcept = 0; + virtual int32_t __stdcall AddUInt64WithFormat(void*, uint64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt64WithFormatAndTags(void*, uint64_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt64Array(void*, uint32_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall AddUInt64ArrayWithFormat(void*, uint32_t, uint64_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddUInt64ArrayWithFormatAndTags(void*, uint32_t, uint64_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSingle(void*, float) noexcept = 0; + virtual int32_t __stdcall AddSingleWithFormat(void*, float, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSingleWithFormatAndTags(void*, float, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSingleArray(void*, uint32_t, float*) noexcept = 0; + virtual int32_t __stdcall AddSingleArrayWithFormat(void*, uint32_t, float*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSingleArrayWithFormatAndTags(void*, uint32_t, float*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDouble(void*, double) noexcept = 0; + virtual int32_t __stdcall AddDoubleWithFormat(void*, double, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDoubleWithFormatAndTags(void*, double, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDoubleArray(void*, uint32_t, double*) noexcept = 0; + virtual int32_t __stdcall AddDoubleArrayWithFormat(void*, uint32_t, double*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDoubleArrayWithFormatAndTags(void*, uint32_t, double*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddChar16(void*, char16_t) noexcept = 0; + virtual int32_t __stdcall AddChar16WithFormat(void*, char16_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddChar16WithFormatAndTags(void*, char16_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddChar16Array(void*, uint32_t, char16_t*) noexcept = 0; + virtual int32_t __stdcall AddChar16ArrayWithFormat(void*, uint32_t, char16_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddChar16ArrayWithFormatAndTags(void*, uint32_t, char16_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddBoolean(void*, bool) noexcept = 0; + virtual int32_t __stdcall AddBooleanWithFormat(void*, bool, int32_t) noexcept = 0; + virtual int32_t __stdcall AddBooleanWithFormatAndTags(void*, bool, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddBooleanArray(void*, uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall AddBooleanArrayWithFormat(void*, uint32_t, bool*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddBooleanArrayWithFormatAndTags(void*, uint32_t, bool*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddString(void*, void*) noexcept = 0; + virtual int32_t __stdcall AddStringWithFormat(void*, void*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddStringWithFormatAndTags(void*, void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddStringArray(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall AddStringArrayWithFormat(void*, uint32_t, void**, int32_t) noexcept = 0; + virtual int32_t __stdcall AddStringArrayWithFormatAndTags(void*, uint32_t, void**, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddGuid(void*, winrt::guid) noexcept = 0; + virtual int32_t __stdcall AddGuidWithFormat(void*, winrt::guid, int32_t) noexcept = 0; + virtual int32_t __stdcall AddGuidWithFormatAndTags(void*, winrt::guid, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddGuidArray(void*, uint32_t, winrt::guid*) noexcept = 0; + virtual int32_t __stdcall AddGuidArrayWithFormat(void*, uint32_t, winrt::guid*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddGuidArrayWithFormatAndTags(void*, uint32_t, winrt::guid*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDateTime(void*, int64_t) noexcept = 0; + virtual int32_t __stdcall AddDateTimeWithFormat(void*, int64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDateTimeWithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDateTimeArray(void*, uint32_t, int64_t*) noexcept = 0; + virtual int32_t __stdcall AddDateTimeArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDateTimeArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddTimeSpan(void*, int64_t) noexcept = 0; + virtual int32_t __stdcall AddTimeSpanWithFormat(void*, int64_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddTimeSpanWithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddTimeSpanArray(void*, uint32_t, int64_t*) noexcept = 0; + virtual int32_t __stdcall AddTimeSpanArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddTimeSpanArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddPoint(void*, winrt::Windows::Foundation::Point) noexcept = 0; + virtual int32_t __stdcall AddPointWithFormat(void*, winrt::Windows::Foundation::Point, int32_t) noexcept = 0; + virtual int32_t __stdcall AddPointWithFormatAndTags(void*, winrt::Windows::Foundation::Point, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddPointArray(void*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall AddPointArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Point*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddPointArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Point*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSize(void*, winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall AddSizeWithFormat(void*, winrt::Windows::Foundation::Size, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSizeWithFormatAndTags(void*, winrt::Windows::Foundation::Size, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSizeArray(void*, uint32_t, winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall AddSizeArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Size*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddSizeArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Size*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddRect(void*, winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall AddRectWithFormat(void*, winrt::Windows::Foundation::Rect, int32_t) noexcept = 0; + virtual int32_t __stdcall AddRectWithFormatAndTags(void*, winrt::Windows::Foundation::Rect, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddRectArray(void*, uint32_t, winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall AddRectArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Rect*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddRectArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Rect*, int32_t, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Keywords(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Keywords(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Tags(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Tags(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Task(int16_t*) noexcept = 0; + virtual int32_t __stdcall put_Task(int16_t) noexcept = 0; + virtual int32_t __stdcall get_Opcode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Opcode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_ActivityId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_RelatedActivityId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_RelatedActivityId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithKeywords(int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall SaveToFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AddLoggingChannel(void*) noexcept = 0; + virtual int32_t __stdcall AddLoggingChannelWithLevel(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall RemoveLoggingChannel(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall IsEnabledWithLevel(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsEnabledWithLevelAndKeywords(int32_t, int64_t, bool*) noexcept = 0; + virtual int32_t __stdcall LogEvent(void*) noexcept = 0; + virtual int32_t __stdcall LogEventWithFields(void*, void*) noexcept = 0; + virtual int32_t __stdcall LogEventWithFieldsAndLevel(void*, void*, int32_t) noexcept = 0; + virtual int32_t __stdcall LogEventWithFieldsAndOptions(void*, void*, int32_t, void*) noexcept = 0; + virtual int32_t __stdcall StartActivity(void*, void**) noexcept = 0; + virtual int32_t __stdcall StartActivityWithFields(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartActivityWithFieldsAndLevel(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StartActivityWithFieldsAndOptions(void*, void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_TraceLevel(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics + { + auto TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const; + auto TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const; + auto TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const; + auto TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; + auto TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; + auto TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using TracingStatusChanged_revoker = impl::event_revoker::remove_TracingStatusChanged>; + [[nodiscard]] auto TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TracingStatusChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics; + }; + template + struct consume_Windows_Foundation_Diagnostics_IErrorDetails + { + [[nodiscard]] auto Description() const; + [[nodiscard]] auto LongDescription() const; + [[nodiscard]] auto HelpUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IErrorDetails; + }; + template + struct consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics + { + auto CreateFromHResultAsync(int32_t errorCode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics; + }; + template + struct consume_Windows_Foundation_Diagnostics_IErrorReportingSettings + { + auto SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const; + auto GetErrorOptions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IErrorReportingSettings; + }; + template + struct consume_Windows_Foundation_Diagnostics_IFileLoggingSession + { + [[nodiscard]] auto Name() const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; + auto RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto CloseAndSaveToFileAsync() const; + auto LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using LogFileGenerated_revoker = impl::event_revoker::remove_LogFileGenerated>; + [[nodiscard]] auto LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LogFileGenerated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IFileLoggingSession; + }; + template + struct consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory + { + auto Create(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs + { + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingActivity + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingActivity; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingActivity2 + { + [[nodiscard]] auto Channel() const; + auto StopActivity(param::hstring const& stopEventName) const; + auto StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingActivity2; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory + { + auto CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannel + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto Level() const; + auto LogMessage(param::hstring const& eventString) const; + auto LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LogValuePair(param::hstring const& value1, int32_t value2) const; + auto LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using LoggingEnabled_revoker = impl::event_revoker::remove_LoggingEnabled>; + [[nodiscard]] auto LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LoggingEnabled(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannel; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannel2 + { + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannel2; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory + { + auto Create(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2 + { + auto CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const; + auto CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions + { + [[nodiscard]] auto Group() const; + auto Group(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory + { + auto Create(winrt::guid const& group) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingFields + { + auto Clear() const; + auto BeginStruct(param::hstring const& name) const; + auto BeginStruct(param::hstring const& name, int32_t tags) const; + auto EndStruct() const; + auto AddEmpty(param::hstring const& name) const; + auto AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt8(param::hstring const& name, uint8_t value) const; + auto AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt8Array(param::hstring const& name, array_view value) const; + auto AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt16(param::hstring const& name, int16_t value) const; + auto AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt16Array(param::hstring const& name, array_view value) const; + auto AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt16(param::hstring const& name, uint16_t value) const; + auto AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt16Array(param::hstring const& name, array_view value) const; + auto AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt32(param::hstring const& name, int32_t value) const; + auto AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt32Array(param::hstring const& name, array_view value) const; + auto AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt32(param::hstring const& name, uint32_t value) const; + auto AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt32Array(param::hstring const& name, array_view value) const; + auto AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt64(param::hstring const& name, int64_t value) const; + auto AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt64Array(param::hstring const& name, array_view value) const; + auto AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt64(param::hstring const& name, uint64_t value) const; + auto AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt64Array(param::hstring const& name, array_view value) const; + auto AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSingle(param::hstring const& name, float value) const; + auto AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSingleArray(param::hstring const& name, array_view value) const; + auto AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDouble(param::hstring const& name, double value) const; + auto AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDoubleArray(param::hstring const& name, array_view value) const; + auto AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddChar16(param::hstring const& name, char16_t value) const; + auto AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddChar16Array(param::hstring const& name, array_view value) const; + auto AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddBoolean(param::hstring const& name, bool value) const; + auto AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddBooleanArray(param::hstring const& name, array_view value) const; + auto AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddString(param::hstring const& name, param::hstring const& value) const; + auto AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddStringArray(param::hstring const& name, array_view value) const; + auto AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddGuidArray(param::hstring const& name, array_view value) const; + auto AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDateTimeArray(param::hstring const& name, array_view value) const; + auto AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddPointArray(param::hstring const& name, array_view value) const; + auto AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSizeArray(param::hstring const& name, array_view value) const; + auto AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddRectArray(param::hstring const& name, array_view value) const; + auto AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingFields; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingOptions + { + [[nodiscard]] auto Keywords() const; + auto Keywords(int64_t value) const; + [[nodiscard]] auto Tags() const; + auto Tags(int32_t value) const; + [[nodiscard]] auto Task() const; + auto Task(int16_t value) const; + [[nodiscard]] auto Opcode() const; + auto Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const; + [[nodiscard]] auto ActivityId() const; + auto ActivityId(winrt::guid const& value) const; + [[nodiscard]] auto RelatedActivityId() const; + auto RelatedActivityId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingOptions; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory + { + auto CreateWithKeywords(int64_t keywords) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingSession + { + [[nodiscard]] auto Name() const; + auto SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; + auto RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingSession; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory + { + auto Create(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory; + }; + template + struct consume_Windows_Foundation_Diagnostics_ILoggingTarget + { + auto IsEnabled() const; + auto IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const; + auto LogEvent(param::hstring const& eventName) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + auto StartActivity(param::hstring const& startEventName) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ILoggingTarget; + }; + template + struct consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs + { + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto TraceLevel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c2268ad8eb76574e9447f6db2f25a5a2941c484c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.1.h @@ -0,0 +1,181 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Diagnostics_1_H +#define WINRT_Windows_Foundation_Diagnostics_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Foundation.Diagnostics.0.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics +{ + struct WINRT_IMPL_EMPTY_BASES IAsyncCausalityTracerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsyncCausalityTracerStatics(std::nullptr_t = nullptr) noexcept {} + IAsyncCausalityTracerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IErrorDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IErrorDetails(std::nullptr_t = nullptr) noexcept {} + IErrorDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IErrorDetailsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IErrorDetailsStatics(std::nullptr_t = nullptr) noexcept {} + IErrorDetailsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IErrorReportingSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IErrorReportingSettings(std::nullptr_t = nullptr) noexcept {} + IErrorReportingSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileLoggingSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IFileLoggingSession(std::nullptr_t = nullptr) noexcept {} + IFileLoggingSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileLoggingSessionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileLoggingSessionFactory(std::nullptr_t = nullptr) noexcept {} + IFileLoggingSessionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILogFileGeneratedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILogFileGeneratedEventArgs(std::nullptr_t = nullptr) noexcept {} + ILogFileGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingActivity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILoggingActivity(std::nullptr_t = nullptr) noexcept {} + ILoggingActivity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingActivity2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILoggingActivity2(std::nullptr_t = nullptr) noexcept {} + ILoggingActivity2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingActivityFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingActivityFactory(std::nullptr_t = nullptr) noexcept {} + ILoggingActivityFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILoggingChannel(std::nullptr_t = nullptr) noexcept {} + ILoggingChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannel2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILoggingChannel2(std::nullptr_t = nullptr) noexcept {} + ILoggingChannel2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannelFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingChannelFactory(std::nullptr_t = nullptr) noexcept {} + ILoggingChannelFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannelFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingChannelFactory2(std::nullptr_t = nullptr) noexcept {} + ILoggingChannelFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannelOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingChannelOptions(std::nullptr_t = nullptr) noexcept {} + ILoggingChannelOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingChannelOptionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingChannelOptionsFactory(std::nullptr_t = nullptr) noexcept {} + ILoggingChannelOptionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingFields : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingFields(std::nullptr_t = nullptr) noexcept {} + ILoggingFields(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingOptions(std::nullptr_t = nullptr) noexcept {} + ILoggingOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingOptionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingOptionsFactory(std::nullptr_t = nullptr) noexcept {} + ILoggingOptionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILoggingSession(std::nullptr_t = nullptr) noexcept {} + ILoggingSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingSessionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingSessionFactory(std::nullptr_t = nullptr) noexcept {} + ILoggingSessionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILoggingTarget : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILoggingTarget(std::nullptr_t = nullptr) noexcept {} + ILoggingTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITracingStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITracingStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ITracingStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.2.h new file mode 100644 index 0000000000000000000000000000000000000000..58d64256257c0a20de4dec8cd434bc484ccd452b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.diagnostics.2.h @@ -0,0 +1,98 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Diagnostics_2_H +#define WINRT_Windows_Foundation_Diagnostics_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Diagnostics.1.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics +{ + struct AsyncCausalityTracer + { + AsyncCausalityTracer() = delete; + static auto TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext); + static auto TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status); + static auto TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation); + static auto TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work); + static auto TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work); + static auto TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler); + using TracingStatusChanged_revoker = impl::factory_event_revoker::remove_TracingStatusChanged>; + [[nodiscard]] static auto TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto TracingStatusChanged(winrt::event_token const& cookie); + }; + struct WINRT_IMPL_EMPTY_BASES ErrorDetails : winrt::Windows::Foundation::Diagnostics::IErrorDetails + { + ErrorDetails(std::nullptr_t) noexcept {} + ErrorDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::IErrorDetails(ptr, take_ownership_from_abi) {} + static auto CreateFromHResultAsync(int32_t errorCode); + }; + struct WINRT_IMPL_EMPTY_BASES FileLoggingSession : winrt::Windows::Foundation::Diagnostics::IFileLoggingSession + { + FileLoggingSession(std::nullptr_t) noexcept {} + FileLoggingSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::IFileLoggingSession(ptr, take_ownership_from_abi) {} + explicit FileLoggingSession(param::hstring const& name); + }; + struct WINRT_IMPL_EMPTY_BASES LogFileGeneratedEventArgs : winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs + { + LogFileGeneratedEventArgs(std::nullptr_t) noexcept {} + LogFileGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LoggingActivity : winrt::Windows::Foundation::Diagnostics::ILoggingActivity, + impl::require + { + LoggingActivity(std::nullptr_t) noexcept {} + LoggingActivity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingActivity(ptr, take_ownership_from_abi) {} + LoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel); + LoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level); + }; + struct WINRT_IMPL_EMPTY_BASES LoggingChannel : winrt::Windows::Foundation::Diagnostics::ILoggingChannel, + impl::require + { + LoggingChannel(std::nullptr_t) noexcept {} + LoggingChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingChannel(ptr, take_ownership_from_abi) {} + explicit LoggingChannel(param::hstring const& name); + LoggingChannel(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options); + LoggingChannel(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id); + }; + struct WINRT_IMPL_EMPTY_BASES LoggingChannelOptions : winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions + { + LoggingChannelOptions(std::nullptr_t) noexcept {} + LoggingChannelOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions(ptr, take_ownership_from_abi) {} + LoggingChannelOptions(); + explicit LoggingChannelOptions(winrt::guid const& group); + }; + struct WINRT_IMPL_EMPTY_BASES LoggingFields : winrt::Windows::Foundation::Diagnostics::ILoggingFields + { + LoggingFields(std::nullptr_t) noexcept {} + LoggingFields(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingFields(ptr, take_ownership_from_abi) {} + LoggingFields(); + }; + struct WINRT_IMPL_EMPTY_BASES LoggingOptions : winrt::Windows::Foundation::Diagnostics::ILoggingOptions + { + LoggingOptions(std::nullptr_t) noexcept {} + LoggingOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingOptions(ptr, take_ownership_from_abi) {} + LoggingOptions(); + explicit LoggingOptions(int64_t keywords); + }; + struct WINRT_IMPL_EMPTY_BASES LoggingSession : winrt::Windows::Foundation::Diagnostics::ILoggingSession + { + LoggingSession(std::nullptr_t) noexcept {} + LoggingSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ILoggingSession(ptr, take_ownership_from_abi) {} + explicit LoggingSession(param::hstring const& name); + }; + struct WINRT_IMPL_EMPTY_BASES RuntimeBrokerErrorSettings : winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings + { + RuntimeBrokerErrorSettings(std::nullptr_t) noexcept {} + RuntimeBrokerErrorSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings(ptr, take_ownership_from_abi) {} + RuntimeBrokerErrorSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES TracingStatusChangedEventArgs : winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs + { + TracingStatusChangedEventArgs(std::nullptr_t) noexcept {} + TracingStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.0.h new file mode 100644 index 0000000000000000000000000000000000000000..78bf36b7f18a3ed968bee094a7cb74f0a771f354 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.0.h @@ -0,0 +1,130 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Metadata_0_H +#define WINRT_Windows_Foundation_Metadata_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Metadata +{ + enum class AttributeTargets : uint32_t + { + All = 0xffffffff, + Delegate = 0x1, + Enum = 0x2, + Event = 0x4, + Field = 0x8, + Interface = 0x10, + Method = 0x40, + Parameter = 0x80, + Property = 0x100, + RuntimeClass = 0x200, + Struct = 0x400, + InterfaceImpl = 0x800, + ApiContract = 0x2000, + }; + enum class CompositionType : int32_t + { + Protected = 1, + Public = 2, + }; + enum class DeprecationType : int32_t + { + Deprecate = 0, + Remove = 1, + }; + enum class FeatureStage : int32_t + { + AlwaysDisabled = 0, + DisabledByDefault = 1, + EnabledByDefault = 2, + AlwaysEnabled = 3, + }; + enum class GCPressureAmount : int32_t + { + Low = 0, + Medium = 1, + High = 2, + }; + enum class MarshalingType : int32_t + { + None = 1, + Agile = 2, + Standard = 3, + InvalidMarshaling = 0, + }; + enum class Platform : int32_t + { + Windows = 0, + WindowsPhone = 1, + }; + enum class ThreadingModel : int32_t + { + STA = 1, + MTA = 2, + Both = 3, + InvalidThreading = 0, + }; + struct IApiInformationStatics; + struct ApiInformation; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.ApiInformation"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.AttributeTargets"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.CompositionType"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.DeprecationType"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.FeatureStage"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.GCPressureAmount"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.MarshalingType"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.Platform"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.ThreadingModel"; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Metadata.IApiInformationStatics"; + template <> inline constexpr guid guid_v{ 0x997439FE,0xF681,0x4A11,{ 0xB4,0x16,0xC1,0x3A,0x47,0xE8,0xBA,0x36 } }; // 997439FE-F681-4A11-B416-C13A47E8BA36 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsTypePresent(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsMethodPresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsMethodPresentWithArity(void*, void*, uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsEventPresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsPropertyPresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsReadOnlyPropertyPresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsWriteablePropertyPresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsEnumNamedValuePresent(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsApiContractPresentByMajor(void*, uint16_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsApiContractPresentByMajorAndMinor(void*, uint16_t, uint16_t, bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Foundation_Metadata_IApiInformationStatics + { + auto IsTypePresent(param::hstring const& typeName) const; + auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const; + auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const; + auto IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const; + auto IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const; + auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const; + auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Foundation_Metadata_IApiInformationStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.1.h new file mode 100644 index 0000000000000000000000000000000000000000..09e9eff90c027ddb29c6404e3289998908ef9ba8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Metadata_1_H +#define WINRT_Windows_Foundation_Metadata_1_H +#include "winrt/impl/Windows.Foundation.Metadata.0.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Metadata +{ + struct WINRT_IMPL_EMPTY_BASES IApiInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IApiInformationStatics(std::nullptr_t = nullptr) noexcept {} + IApiInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.2.h new file mode 100644 index 0000000000000000000000000000000000000000..098f82247d29217aba525bcc935d238c62d7e133 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.metadata.2.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Metadata_2_H +#define WINRT_Windows_Foundation_Metadata_2_H +#include "winrt/impl/Windows.Foundation.Metadata.1.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Metadata +{ + struct ApiInformation + { + ApiInformation() = delete; + static auto IsTypePresent(param::hstring const& typeName); + static auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName); + static auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount); + static auto IsEventPresent(param::hstring const& typeName, param::hstring const& eventName); + static auto IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName); + static auto IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName); + static auto IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName); + static auto IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName); + static auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion); + static auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b24bae1b192b4c187fdf8abcf2e623b0d99216da --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.0.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Numerics_0_H +#define WINRT_Windows_Foundation_Numerics_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ + struct Rational; +} +namespace winrt::impl +{ + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Foundation.Numerics.Rational"; + struct struct_Windows_Foundation_Numerics_Rational + { + uint32_t Numerator; + uint32_t Denominator; + }; + template <> struct abi + { + using type = struct_Windows_Foundation_Numerics_Rational; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ed7172367240bd4981d649b3f0a8f6dea0c08cc3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.1.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Numerics_1_H +#define WINRT_Windows_Foundation_Numerics_1_H +#include "winrt/impl/Windows.Foundation.Numerics.0.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.2.h new file mode 100644 index 0000000000000000000000000000000000000000..604e24393fb85c40bdc1aa9e61ff611af55e6047 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.foundation.numerics.2.h @@ -0,0 +1,26 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Foundation_Numerics_2_H +#define WINRT_Windows_Foundation_Numerics_2_H +#include "winrt/impl/Windows.Foundation.Numerics.1.h" +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ + struct Rational + { + uint32_t Numerator {}; + uint32_t Denominator {}; + }; + inline bool operator==(Rational const& left, Rational const& right) noexcept + { + return left.Numerator == right.Numerator && left.Denominator == right.Denominator; + } + inline bool operator!=(Rational const& left, Rational const& right) noexcept + { + return !(left == right); + } +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2db74768bea6a8b26643d7dcc0bf3b177243416b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.0.h @@ -0,0 +1,930 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_0_H +#define WINRT_Windows_Gaming_Input_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Power +{ + struct BatteryReport; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback +{ + struct ForceFeedbackMotor; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; + struct UserChangedEventArgs; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input +{ + enum class ArcadeStickButtons : uint32_t + { + None = 0, + StickUp = 0x1, + StickDown = 0x2, + StickLeft = 0x4, + StickRight = 0x8, + Action1 = 0x10, + Action2 = 0x20, + Action3 = 0x40, + Action4 = 0x80, + Action5 = 0x100, + Action6 = 0x200, + Special1 = 0x400, + Special2 = 0x800, + }; + enum class FlightStickButtons : uint32_t + { + None = 0, + FirePrimary = 0x1, + FireSecondary = 0x2, + }; + enum class GameControllerButtonLabel : int32_t + { + None = 0, + XboxBack = 1, + XboxStart = 2, + XboxMenu = 3, + XboxView = 4, + XboxUp = 5, + XboxDown = 6, + XboxLeft = 7, + XboxRight = 8, + XboxA = 9, + XboxB = 10, + XboxX = 11, + XboxY = 12, + XboxLeftBumper = 13, + XboxLeftTrigger = 14, + XboxLeftStickButton = 15, + XboxRightBumper = 16, + XboxRightTrigger = 17, + XboxRightStickButton = 18, + XboxPaddle1 = 19, + XboxPaddle2 = 20, + XboxPaddle3 = 21, + XboxPaddle4 = 22, + Mode = 23, + Select = 24, + Menu = 25, + View = 26, + Back = 27, + Start = 28, + Options = 29, + Share = 30, + Up = 31, + Down = 32, + Left = 33, + Right = 34, + LetterA = 35, + LetterB = 36, + LetterC = 37, + LetterL = 38, + LetterR = 39, + LetterX = 40, + LetterY = 41, + LetterZ = 42, + Cross = 43, + Circle = 44, + Square = 45, + Triangle = 46, + LeftBumper = 47, + LeftTrigger = 48, + LeftStickButton = 49, + Left1 = 50, + Left2 = 51, + Left3 = 52, + RightBumper = 53, + RightTrigger = 54, + RightStickButton = 55, + Right1 = 56, + Right2 = 57, + Right3 = 58, + Paddle1 = 59, + Paddle2 = 60, + Paddle3 = 61, + Paddle4 = 62, + Plus = 63, + Minus = 64, + DownLeftArrow = 65, + DialLeft = 66, + DialRight = 67, + Suspension = 68, + }; + enum class GameControllerSwitchKind : int32_t + { + TwoWay = 0, + FourWay = 1, + EightWay = 2, + }; + enum class GameControllerSwitchPosition : int32_t + { + Center = 0, + Up = 1, + UpRight = 2, + Right = 3, + DownRight = 4, + Down = 5, + DownLeft = 6, + Left = 7, + UpLeft = 8, + }; + enum class GamepadButtons : uint32_t + { + None = 0, + Menu = 0x1, + View = 0x2, + A = 0x4, + B = 0x8, + X = 0x10, + Y = 0x20, + DPadUp = 0x40, + DPadDown = 0x80, + DPadLeft = 0x100, + DPadRight = 0x200, + LeftShoulder = 0x400, + RightShoulder = 0x800, + LeftThumbstick = 0x1000, + RightThumbstick = 0x2000, + Paddle1 = 0x4000, + Paddle2 = 0x8000, + Paddle3 = 0x10000, + Paddle4 = 0x20000, + }; + enum class OptionalUINavigationButtons : uint32_t + { + None = 0, + Context1 = 0x1, + Context2 = 0x2, + Context3 = 0x4, + Context4 = 0x8, + PageUp = 0x10, + PageDown = 0x20, + PageLeft = 0x40, + PageRight = 0x80, + ScrollUp = 0x100, + ScrollDown = 0x200, + ScrollLeft = 0x400, + ScrollRight = 0x800, + }; + enum class RacingWheelButtons : uint32_t + { + None = 0, + PreviousGear = 0x1, + NextGear = 0x2, + DPadUp = 0x4, + DPadDown = 0x8, + DPadLeft = 0x10, + DPadRight = 0x20, + Button1 = 0x40, + Button2 = 0x80, + Button3 = 0x100, + Button4 = 0x200, + Button5 = 0x400, + Button6 = 0x800, + Button7 = 0x1000, + Button8 = 0x2000, + Button9 = 0x4000, + Button10 = 0x8000, + Button11 = 0x10000, + Button12 = 0x20000, + Button13 = 0x40000, + Button14 = 0x80000, + Button15 = 0x100000, + Button16 = 0x200000, + }; + enum class RequiredUINavigationButtons : uint32_t + { + None = 0, + Menu = 0x1, + View = 0x2, + Accept = 0x4, + Cancel = 0x8, + Up = 0x10, + Down = 0x20, + Left = 0x40, + Right = 0x80, + }; + struct IArcadeStick; + struct IArcadeStickStatics; + struct IArcadeStickStatics2; + struct IFlightStick; + struct IFlightStickStatics; + struct IGameController; + struct IGameControllerBatteryInfo; + struct IGamepad; + struct IGamepad2; + struct IGamepadStatics; + struct IGamepadStatics2; + struct IHeadset; + struct IRacingWheel; + struct IRacingWheelStatics; + struct IRacingWheelStatics2; + struct IRawGameController; + struct IRawGameController2; + struct IRawGameControllerStatics; + struct IUINavigationController; + struct IUINavigationControllerStatics; + struct IUINavigationControllerStatics2; + struct ArcadeStick; + struct FlightStick; + struct Gamepad; + struct Headset; + struct RacingWheel; + struct RawGameController; + struct UINavigationController; + struct ArcadeStickReading; + struct FlightStickReading; + struct GamepadReading; + struct GamepadVibration; + struct RacingWheelReading; + struct UINavigationReading; + struct GamingInputPreviewContract; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ArcadeStick"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.FlightStick"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Gamepad"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Headset"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.RacingWheel"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.RawGameController"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.UINavigationController"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ArcadeStickButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.FlightStickButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GameControllerButtonLabel"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GameControllerSwitchKind"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GameControllerSwitchPosition"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GamepadButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.OptionalUINavigationButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.RacingWheelButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.RequiredUINavigationButtons"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ArcadeStickReading"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.FlightStickReading"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GamepadReading"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GamepadVibration"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.RacingWheelReading"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.UINavigationReading"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IArcadeStick"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IArcadeStickStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IArcadeStickStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IFlightStick"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IFlightStickStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGameController"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGameControllerBatteryInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGamepad"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGamepad2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGamepadStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IGamepadStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IHeadset"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRacingWheel"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRacingWheelStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRacingWheelStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRawGameController"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRawGameController2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IRawGameControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IUINavigationController"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IUINavigationControllerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.IUINavigationControllerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.GamingInputPreviewContract"; + template <> inline constexpr guid guid_v{ 0xB14A539D,0xBEFB,0x4C81,{ 0x80,0x51,0x15,0xEC,0xF3,0xB1,0x30,0x36 } }; // B14A539D-BEFB-4C81-8051-15ECF3B13036 + template <> inline constexpr guid guid_v{ 0x5C37B8C8,0x37B1,0x4AD8,{ 0x94,0x58,0x20,0x0F,0x1A,0x30,0x01,0x8E } }; // 5C37B8C8-37B1-4AD8-9458-200F1A30018E + template <> inline constexpr guid guid_v{ 0x52B5D744,0xBB86,0x445A,{ 0xB5,0x9C,0x59,0x6F,0x0E,0x2A,0x49,0xDF } }; // 52B5D744-BB86-445A-B59C-596F0E2A49DF + template <> inline constexpr guid guid_v{ 0xB4A2C01C,0xB83B,0x4459,{ 0xA1,0xA9,0x97,0xB0,0x3C,0x33,0xDA,0x7C } }; // B4A2C01C-B83B-4459-A1A9-97B03C33DA7C + template <> inline constexpr guid guid_v{ 0x5514924A,0xFECC,0x435E,{ 0x83,0xDC,0x5C,0xEC,0x8A,0x18,0xA5,0x20 } }; // 5514924A-FECC-435E-83DC-5CEC8A18A520 + template <> inline constexpr guid guid_v{ 0x1BAF6522,0x5F64,0x42C5,{ 0x82,0x67,0xB9,0xFE,0x22,0x15,0xBF,0xBD } }; // 1BAF6522-5F64-42C5-8267-B9FE2215BFBD + template <> inline constexpr guid guid_v{ 0xDCECC681,0x3963,0x4DA6,{ 0x95,0x5D,0x55,0x3F,0x3B,0x6F,0x61,0x61 } }; // DCECC681-3963-4DA6-955D-553F3B6F6161 + template <> inline constexpr guid guid_v{ 0xBC7BB43C,0x0A69,0x3903,{ 0x9E,0x9D,0xA5,0x0F,0x86,0xA4,0x5D,0xE5 } }; // BC7BB43C-0A69-3903-9E9D-A50F86A45DE5 + template <> inline constexpr guid guid_v{ 0x3C1689BD,0x5915,0x4245,{ 0xB0,0xC0,0xC8,0x9F,0xAE,0x03,0x08,0xFF } }; // 3C1689BD-5915-4245-B0C0-C89FAE0308FF + template <> inline constexpr guid guid_v{ 0x8BBCE529,0xD49C,0x39E9,{ 0x95,0x60,0xE4,0x7D,0xDE,0x96,0xB7,0xC8 } }; // 8BBCE529-D49C-39E9-9560-E47DDE96B7C8 + template <> inline constexpr guid guid_v{ 0x42676DC5,0x0856,0x47C4,{ 0x92,0x13,0xB3,0x95,0x50,0x4C,0x3A,0x3C } }; // 42676DC5-0856-47C4-9213-B395504C3A3C + template <> inline constexpr guid guid_v{ 0x3FD156EF,0x6925,0x3FA8,{ 0x91,0x81,0x02,0x9C,0x52,0x23,0xAE,0x3B } }; // 3FD156EF-6925-3FA8-9181-029C5223AE3B + template <> inline constexpr guid guid_v{ 0xF546656F,0xE106,0x4C82,{ 0xA9,0x0F,0x55,0x40,0x12,0x90,0x4B,0x85 } }; // F546656F-E106-4C82-A90F-554012904B85 + template <> inline constexpr guid guid_v{ 0x3AC12CD5,0x581B,0x4936,{ 0x9F,0x94,0x69,0xF1,0xE6,0x51,0x4C,0x7D } }; // 3AC12CD5-581B-4936-9F94-69F1E6514C7D + template <> inline constexpr guid guid_v{ 0xE666BCAA,0xEDFD,0x4323,{ 0xA9,0xF6,0x3C,0x38,0x40,0x48,0xD1,0xED } }; // E666BCAA-EDFD-4323-A9F6-3C384048D1ED + template <> inline constexpr guid guid_v{ 0x7CAD6D91,0xA7E1,0x4F71,{ 0x9A,0x78,0x33,0xE9,0xC5,0xDF,0xEA,0x62 } }; // 7CAD6D91-A7E1-4F71-9A78-33E9C5DFEA62 + template <> inline constexpr guid guid_v{ 0x43C0C035,0xBB73,0x4756,{ 0xA7,0x87,0x3E,0xD6,0xBE,0xA6,0x17,0xBD } }; // 43C0C035-BB73-4756-A787-3ED6BEA617BD + template <> inline constexpr guid guid_v{ 0xEB8D0792,0xE95A,0x4B19,{ 0xAF,0xC7,0x0A,0x59,0xF8,0xBF,0x75,0x9E } }; // EB8D0792-E95A-4B19-AFC7-0A59F8BF759E + template <> inline constexpr guid guid_v{ 0xE5AEEFDD,0xF50E,0x4A55,{ 0x8C,0xDC,0xD3,0x32,0x29,0x54,0x81,0x75 } }; // E5AEEFDD-F50E-4A55-8CDC-D33229548175 + template <> inline constexpr guid guid_v{ 0x2F14930A,0xF6F8,0x4A48,{ 0x8D,0x89,0x94,0x78,0x6C,0xCA,0x0C,0x2E } }; // 2F14930A-F6F8-4A48-8D89-94786CCA0C2E + template <> inline constexpr guid guid_v{ 0xE0CB28E3,0xB20B,0x4B0B,{ 0x9E,0xD4,0xF3,0xD5,0x3C,0xEC,0x0D,0xE4 } }; // E0CB28E3-B20B-4B0B-9ED4-F3D53CEC0DE4 + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IArcadeStick; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IFlightStick; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IGamepad; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IHeadset; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IRacingWheel; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IRawGameController; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::IUINavigationController; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetButtonLabel(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(struct struct_Windows_Gaming_Input_ArcadeStickReading*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ArcadeStickAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ArcadeStickAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ArcadeStickRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ArcadeStickRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_ArcadeSticks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HatSwitchKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetButtonLabel(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(struct struct_Windows_Gaming_Input_FlightStickReading*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FlightStickAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FlightStickAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_FlightStickRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FlightStickRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_FlightSticks(void**) noexcept = 0; + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_HeadsetConnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HeadsetConnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_HeadsetDisconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HeadsetDisconnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_UserChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UserChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Headset(void**) noexcept = 0; + virtual int32_t __stdcall get_IsWireless(bool*) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetBatteryReport(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Vibration(struct struct_Windows_Gaming_Input_GamepadVibration*) noexcept = 0; + virtual int32_t __stdcall put_Vibration(struct struct_Windows_Gaming_Input_GamepadVibration) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(struct struct_Windows_Gaming_Input_GamepadReading*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetButtonLabel(uint32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_GamepadAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GamepadAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GamepadRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GamepadRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Gamepads(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CaptureDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_RenderDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HasClutch(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasHandbrake(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasPatternShifter(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxPatternShifterGear(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxWheelAngle(double*) noexcept = 0; + virtual int32_t __stdcall get_WheelMotor(void**) noexcept = 0; + virtual int32_t __stdcall GetButtonLabel(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(struct struct_Windows_Gaming_Input_RacingWheelReading*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_RacingWheelAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RacingWheelAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RacingWheelRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RacingWheelRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_RacingWheels(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AxisCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ButtonCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ForceFeedbackMotors(void**) noexcept = 0; + virtual int32_t __stdcall get_HardwareProductId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareVendorId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_SwitchCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetButtonLabel(int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentReading(uint32_t, bool*, uint32_t, int32_t*, uint32_t, double*, uint64_t*) noexcept = 0; + virtual int32_t __stdcall GetSwitchKind(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SimpleHapticsControllers(void**) noexcept = 0; + virtual int32_t __stdcall get_NonRoamableId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_RawGameControllerAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RawGameControllerAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RawGameControllerRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RawGameControllerRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_RawGameControllers(void**) noexcept = 0; + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentReading(struct struct_Windows_Gaming_Input_UINavigationReading*) noexcept = 0; + virtual int32_t __stdcall GetOptionalButtonLabel(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetRequiredButtonLabel(uint32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_UINavigationControllerAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UINavigationControllerAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_UINavigationControllerRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UINavigationControllerRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_UINavigationControllers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_Input_IArcadeStick + { + auto GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const; + auto GetCurrentReading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IArcadeStick; + }; + template + struct consume_Windows_Gaming_Input_IArcadeStickStatics + { + auto ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using ArcadeStickAdded_revoker = impl::event_revoker::remove_ArcadeStickAdded>; + [[nodiscard]] auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto ArcadeStickAdded(winrt::event_token const& token) const noexcept; + auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using ArcadeStickRemoved_revoker = impl::event_revoker::remove_ArcadeStickRemoved>; + [[nodiscard]] auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto ArcadeStickRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ArcadeSticks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IArcadeStickStatics; + }; + template + struct consume_Windows_Gaming_Input_IArcadeStickStatics2 + { + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IArcadeStickStatics2; + }; + template + struct consume_Windows_Gaming_Input_IFlightStick + { + [[nodiscard]] auto HatSwitchKind() const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const; + auto GetCurrentReading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IFlightStick; + }; + template + struct consume_Windows_Gaming_Input_IFlightStickStatics + { + auto FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using FlightStickAdded_revoker = impl::event_revoker::remove_FlightStickAdded>; + [[nodiscard]] auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto FlightStickAdded(winrt::event_token const& token) const noexcept; + auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using FlightStickRemoved_revoker = impl::event_revoker::remove_FlightStickRemoved>; + [[nodiscard]] auto FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto FlightStickRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto FlightSticks() const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IFlightStickStatics; + }; + template + struct consume_Windows_Gaming_Input_IGameController + { + auto HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using HeadsetConnected_revoker = impl::event_revoker::remove_HeadsetConnected>; + [[nodiscard]] auto HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HeadsetConnected(winrt::event_token const& token) const noexcept; + auto HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using HeadsetDisconnected_revoker = impl::event_revoker::remove_HeadsetDisconnected>; + [[nodiscard]] auto HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HeadsetDisconnected(winrt::event_token const& token) const noexcept; + auto UserChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using UserChanged_revoker = impl::event_revoker::remove_UserChanged>; + [[nodiscard]] auto UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto UserChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Headset() const; + [[nodiscard]] auto IsWireless() const; + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGameController; + }; + template + struct consume_Windows_Gaming_Input_IGameControllerBatteryInfo + { + auto TryGetBatteryReport() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGameControllerBatteryInfo; + }; + template + struct consume_Windows_Gaming_Input_IGamepad + { + [[nodiscard]] auto Vibration() const; + auto Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const; + auto GetCurrentReading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGamepad; + }; + template + struct consume_Windows_Gaming_Input_IGamepad2 + { + auto GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGamepad2; + }; + template + struct consume_Windows_Gaming_Input_IGamepadStatics + { + auto GamepadAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using GamepadAdded_revoker = impl::event_revoker::remove_GamepadAdded>; + [[nodiscard]] auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto GamepadAdded(winrt::event_token const& token) const noexcept; + auto GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using GamepadRemoved_revoker = impl::event_revoker::remove_GamepadRemoved>; + [[nodiscard]] auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto GamepadRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Gamepads() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGamepadStatics; + }; + template + struct consume_Windows_Gaming_Input_IGamepadStatics2 + { + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IGamepadStatics2; + }; + template + struct consume_Windows_Gaming_Input_IHeadset + { + [[nodiscard]] auto CaptureDeviceId() const; + [[nodiscard]] auto RenderDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IHeadset; + }; + template + struct consume_Windows_Gaming_Input_IRacingWheel + { + [[nodiscard]] auto HasClutch() const; + [[nodiscard]] auto HasHandbrake() const; + [[nodiscard]] auto HasPatternShifter() const; + [[nodiscard]] auto MaxPatternShifterGear() const; + [[nodiscard]] auto MaxWheelAngle() const; + [[nodiscard]] auto WheelMotor() const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const; + auto GetCurrentReading() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRacingWheel; + }; + template + struct consume_Windows_Gaming_Input_IRacingWheelStatics + { + auto RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using RacingWheelAdded_revoker = impl::event_revoker::remove_RacingWheelAdded>; + [[nodiscard]] auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RacingWheelAdded(winrt::event_token const& token) const noexcept; + auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using RacingWheelRemoved_revoker = impl::event_revoker::remove_RacingWheelRemoved>; + [[nodiscard]] auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RacingWheelRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RacingWheels() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRacingWheelStatics; + }; + template + struct consume_Windows_Gaming_Input_IRacingWheelStatics2 + { + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRacingWheelStatics2; + }; + template + struct consume_Windows_Gaming_Input_IRawGameController + { + [[nodiscard]] auto AxisCount() const; + [[nodiscard]] auto ButtonCount() const; + [[nodiscard]] auto ForceFeedbackMotors() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto SwitchCount() const; + auto GetButtonLabel(int32_t buttonIndex) const; + auto GetCurrentReading(array_view buttonArray, array_view switchArray, array_view axisArray) const; + auto GetSwitchKind(int32_t switchIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRawGameController; + }; + template + struct consume_Windows_Gaming_Input_IRawGameController2 + { + [[nodiscard]] auto SimpleHapticsControllers() const; + [[nodiscard]] auto NonRoamableId() const; + [[nodiscard]] auto DisplayName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRawGameController2; + }; + template + struct consume_Windows_Gaming_Input_IRawGameControllerStatics + { + auto RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using RawGameControllerAdded_revoker = impl::event_revoker::remove_RawGameControllerAdded>; + [[nodiscard]] auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RawGameControllerAdded(winrt::event_token const& token) const noexcept; + auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using RawGameControllerRemoved_revoker = impl::event_revoker::remove_RawGameControllerRemoved>; + [[nodiscard]] auto RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RawGameControllerRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RawGameControllers() const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IRawGameControllerStatics; + }; + template + struct consume_Windows_Gaming_Input_IUINavigationController + { + auto GetCurrentReading() const; + auto GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const; + auto GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IUINavigationController; + }; + template + struct consume_Windows_Gaming_Input_IUINavigationControllerStatics + { + auto UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; + using UINavigationControllerAdded_revoker = impl::event_revoker::remove_UINavigationControllerAdded>; + [[nodiscard]] auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto UINavigationControllerAdded(winrt::event_token const& token) const noexcept; + auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + using UINavigationControllerRemoved_revoker = impl::event_revoker::remove_UINavigationControllerRemoved>; + [[nodiscard]] auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto UINavigationControllerRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UINavigationControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IUINavigationControllerStatics; + }; + template + struct consume_Windows_Gaming_Input_IUINavigationControllerStatics2 + { + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_IUINavigationControllerStatics2; + }; + struct struct_Windows_Gaming_Input_ArcadeStickReading + { + uint64_t Timestamp; + uint32_t Buttons; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_ArcadeStickReading; + }; + struct struct_Windows_Gaming_Input_FlightStickReading + { + uint64_t Timestamp; + uint32_t Buttons; + int32_t HatSwitch; + double Roll; + double Pitch; + double Yaw; + double Throttle; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_FlightStickReading; + }; + struct struct_Windows_Gaming_Input_GamepadReading + { + uint64_t Timestamp; + uint32_t Buttons; + double LeftTrigger; + double RightTrigger; + double LeftThumbstickX; + double LeftThumbstickY; + double RightThumbstickX; + double RightThumbstickY; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_GamepadReading; + }; + struct struct_Windows_Gaming_Input_GamepadVibration + { + double LeftMotor; + double RightMotor; + double LeftTrigger; + double RightTrigger; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_GamepadVibration; + }; + struct struct_Windows_Gaming_Input_RacingWheelReading + { + uint64_t Timestamp; + uint32_t Buttons; + int32_t PatternShifterGear; + double Wheel; + double Throttle; + double Brake; + double Clutch; + double Handbrake; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_RacingWheelReading; + }; + struct struct_Windows_Gaming_Input_UINavigationReading + { + uint64_t Timestamp; + uint32_t RequiredButtons; + uint32_t OptionalButtons; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_UINavigationReading; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2c1a2d24b0a13e028fdaa1ea0a9a0cb61c45dc88 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.1.h @@ -0,0 +1,172 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_1_H +#define WINRT_Windows_Gaming_Input_1_H +#include "winrt/impl/Windows.Gaming.Input.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input +{ + struct WINRT_IMPL_EMPTY_BASES IArcadeStick : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IArcadeStick(std::nullptr_t = nullptr) noexcept {} + IArcadeStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IArcadeStickStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IArcadeStickStatics(std::nullptr_t = nullptr) noexcept {} + IArcadeStickStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IArcadeStickStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IArcadeStickStatics2(std::nullptr_t = nullptr) noexcept {} + IArcadeStickStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFlightStick : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IFlightStick(std::nullptr_t = nullptr) noexcept {} + IFlightStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFlightStickStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFlightStickStatics(std::nullptr_t = nullptr) noexcept {} + IFlightStickStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameController(std::nullptr_t = nullptr) noexcept {} + IGameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameControllerBatteryInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameControllerBatteryInfo(std::nullptr_t = nullptr) noexcept {} + IGameControllerBatteryInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGamepad : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGamepad(std::nullptr_t = nullptr) noexcept {} + IGamepad(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGamepad2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGamepad2(std::nullptr_t = nullptr) noexcept {} + IGamepad2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGamepadStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGamepadStatics(std::nullptr_t = nullptr) noexcept {} + IGamepadStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGamepadStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGamepadStatics2(std::nullptr_t = nullptr) noexcept {} + IGamepadStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHeadset : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHeadset(std::nullptr_t = nullptr) noexcept {} + IHeadset(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRacingWheel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRacingWheel(std::nullptr_t = nullptr) noexcept {} + IRacingWheel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRacingWheelStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRacingWheelStatics(std::nullptr_t = nullptr) noexcept {} + IRacingWheelStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRacingWheelStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRacingWheelStatics2(std::nullptr_t = nullptr) noexcept {} + IRacingWheelStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawGameController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRawGameController(std::nullptr_t = nullptr) noexcept {} + IRawGameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawGameController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRawGameController2(std::nullptr_t = nullptr) noexcept {} + IRawGameController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawGameControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRawGameControllerStatics(std::nullptr_t = nullptr) noexcept {} + IRawGameControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUINavigationController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUINavigationController(std::nullptr_t = nullptr) noexcept {} + IUINavigationController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUINavigationControllerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUINavigationControllerStatics(std::nullptr_t = nullptr) noexcept {} + IUINavigationControllerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUINavigationControllerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUINavigationControllerStatics2(std::nullptr_t = nullptr) noexcept {} + IUINavigationControllerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.2.h new file mode 100644 index 0000000000000000000000000000000000000000..4d8156e3e4b27d5a7e10fd6ab88354eac4c081d3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.2.h @@ -0,0 +1,214 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_2_H +#define WINRT_Windows_Gaming_Input_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Gaming.Input.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input +{ + struct ArcadeStickReading + { + uint64_t Timestamp {}; + winrt::Windows::Gaming::Input::ArcadeStickButtons Buttons {}; + }; + inline bool operator==(ArcadeStickReading const& left, ArcadeStickReading const& right) noexcept + { + return left.Timestamp == right.Timestamp && left.Buttons == right.Buttons; + } + inline bool operator!=(ArcadeStickReading const& left, ArcadeStickReading const& right) noexcept + { + return !(left == right); + } + struct FlightStickReading + { + uint64_t Timestamp {}; + winrt::Windows::Gaming::Input::FlightStickButtons Buttons {}; + winrt::Windows::Gaming::Input::GameControllerSwitchPosition HatSwitch {}; + double Roll {}; + double Pitch {}; + double Yaw {}; + double Throttle {}; + }; + inline bool operator==(FlightStickReading const& left, FlightStickReading const& right) noexcept + { + return left.Timestamp == right.Timestamp && left.Buttons == right.Buttons && left.HatSwitch == right.HatSwitch && left.Roll == right.Roll && left.Pitch == right.Pitch && left.Yaw == right.Yaw && left.Throttle == right.Throttle; + } + inline bool operator!=(FlightStickReading const& left, FlightStickReading const& right) noexcept + { + return !(left == right); + } + struct GamepadReading + { + uint64_t Timestamp {}; + winrt::Windows::Gaming::Input::GamepadButtons Buttons {}; + double LeftTrigger {}; + double RightTrigger {}; + double LeftThumbstickX {}; + double LeftThumbstickY {}; + double RightThumbstickX {}; + double RightThumbstickY {}; + }; + inline bool operator==(GamepadReading const& left, GamepadReading const& right) noexcept + { + return left.Timestamp == right.Timestamp && left.Buttons == right.Buttons && left.LeftTrigger == right.LeftTrigger && left.RightTrigger == right.RightTrigger && left.LeftThumbstickX == right.LeftThumbstickX && left.LeftThumbstickY == right.LeftThumbstickY && left.RightThumbstickX == right.RightThumbstickX && left.RightThumbstickY == right.RightThumbstickY; + } + inline bool operator!=(GamepadReading const& left, GamepadReading const& right) noexcept + { + return !(left == right); + } + struct GamepadVibration + { + double LeftMotor {}; + double RightMotor {}; + double LeftTrigger {}; + double RightTrigger {}; + }; + inline bool operator==(GamepadVibration const& left, GamepadVibration const& right) noexcept + { + return left.LeftMotor == right.LeftMotor && left.RightMotor == right.RightMotor && left.LeftTrigger == right.LeftTrigger && left.RightTrigger == right.RightTrigger; + } + inline bool operator!=(GamepadVibration const& left, GamepadVibration const& right) noexcept + { + return !(left == right); + } + struct RacingWheelReading + { + uint64_t Timestamp {}; + winrt::Windows::Gaming::Input::RacingWheelButtons Buttons {}; + int32_t PatternShifterGear {}; + double Wheel {}; + double Throttle {}; + double Brake {}; + double Clutch {}; + double Handbrake {}; + }; + inline bool operator==(RacingWheelReading const& left, RacingWheelReading const& right) noexcept + { + return left.Timestamp == right.Timestamp && left.Buttons == right.Buttons && left.PatternShifterGear == right.PatternShifterGear && left.Wheel == right.Wheel && left.Throttle == right.Throttle && left.Brake == right.Brake && left.Clutch == right.Clutch && left.Handbrake == right.Handbrake; + } + inline bool operator!=(RacingWheelReading const& left, RacingWheelReading const& right) noexcept + { + return !(left == right); + } + struct UINavigationReading + { + uint64_t Timestamp {}; + winrt::Windows::Gaming::Input::RequiredUINavigationButtons RequiredButtons {}; + winrt::Windows::Gaming::Input::OptionalUINavigationButtons OptionalButtons {}; + }; + inline bool operator==(UINavigationReading const& left, UINavigationReading const& right) noexcept + { + return left.Timestamp == right.Timestamp && left.RequiredButtons == right.RequiredButtons && left.OptionalButtons == right.OptionalButtons; + } + inline bool operator!=(UINavigationReading const& left, UINavigationReading const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES ArcadeStick : winrt::Windows::Gaming::Input::IArcadeStick, + impl::require + { + ArcadeStick(std::nullptr_t) noexcept {} + ArcadeStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IArcadeStick(ptr, take_ownership_from_abi) {} + static auto ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value); + using ArcadeStickAdded_revoker = impl::factory_event_revoker::remove_ArcadeStickAdded>; + [[nodiscard]] static auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto ArcadeStickAdded(winrt::event_token const& token); + static auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value); + using ArcadeStickRemoved_revoker = impl::factory_event_revoker::remove_ArcadeStickRemoved>; + [[nodiscard]] static auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto ArcadeStickRemoved(winrt::event_token const& token); + [[nodiscard]] static auto ArcadeSticks(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES FlightStick : winrt::Windows::Gaming::Input::IFlightStick, + impl::require + { + FlightStick(std::nullptr_t) noexcept {} + FlightStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IFlightStick(ptr, take_ownership_from_abi) {} + static auto FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value); + using FlightStickAdded_revoker = impl::factory_event_revoker::remove_FlightStickAdded>; + [[nodiscard]] static auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto FlightStickAdded(winrt::event_token const& token); + static auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value); + using FlightStickRemoved_revoker = impl::factory_event_revoker::remove_FlightStickRemoved>; + [[nodiscard]] static auto FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto FlightStickRemoved(winrt::event_token const& token); + [[nodiscard]] static auto FlightSticks(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES Gamepad : winrt::Windows::Gaming::Input::IGamepad, + impl::require + { + Gamepad(std::nullptr_t) noexcept {} + Gamepad(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IGamepad(ptr, take_ownership_from_abi) {} + static auto GamepadAdded(winrt::Windows::Foundation::EventHandler const& value); + using GamepadAdded_revoker = impl::factory_event_revoker::remove_GamepadAdded>; + [[nodiscard]] static auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto GamepadAdded(winrt::event_token const& token); + static auto GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value); + using GamepadRemoved_revoker = impl::factory_event_revoker::remove_GamepadRemoved>; + [[nodiscard]] static auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto GamepadRemoved(winrt::event_token const& token); + [[nodiscard]] static auto Gamepads(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES Headset : winrt::Windows::Gaming::Input::IHeadset, + impl::require + { + Headset(std::nullptr_t) noexcept {} + Headset(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IHeadset(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RacingWheel : winrt::Windows::Gaming::Input::IRacingWheel, + impl::require + { + RacingWheel(std::nullptr_t) noexcept {} + RacingWheel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IRacingWheel(ptr, take_ownership_from_abi) {} + static auto RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value); + using RacingWheelAdded_revoker = impl::factory_event_revoker::remove_RacingWheelAdded>; + [[nodiscard]] static auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto RacingWheelAdded(winrt::event_token const& token); + static auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value); + using RacingWheelRemoved_revoker = impl::factory_event_revoker::remove_RacingWheelRemoved>; + [[nodiscard]] static auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto RacingWheelRemoved(winrt::event_token const& token); + [[nodiscard]] static auto RacingWheels(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES RawGameController : winrt::Windows::Gaming::Input::IRawGameController, + impl::require + { + RawGameController(std::nullptr_t) noexcept {} + RawGameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IRawGameController(ptr, take_ownership_from_abi) {} + static auto RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value); + using RawGameControllerAdded_revoker = impl::factory_event_revoker::remove_RawGameControllerAdded>; + [[nodiscard]] static auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto RawGameControllerAdded(winrt::event_token const& token); + static auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value); + using RawGameControllerRemoved_revoker = impl::factory_event_revoker::remove_RawGameControllerRemoved>; + [[nodiscard]] static auto RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto RawGameControllerRemoved(winrt::event_token const& token); + [[nodiscard]] static auto RawGameControllers(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES UINavigationController : winrt::Windows::Gaming::Input::IUINavigationController, + impl::require + { + UINavigationController(std::nullptr_t) noexcept {} + UINavigationController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IUINavigationController(ptr, take_ownership_from_abi) {} + static auto UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value); + using UINavigationControllerAdded_revoker = impl::factory_event_revoker::remove_UINavigationControllerAdded>; + [[nodiscard]] static auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto UINavigationControllerAdded(winrt::event_token const& token); + static auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value); + using UINavigationControllerRemoved_revoker = impl::factory_event_revoker::remove_UINavigationControllerRemoved>; + [[nodiscard]] static auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto UINavigationControllerRemoved(winrt::event_token const& token); + [[nodiscard]] static auto UINavigationControllers(); + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0f835feb8de0deffefbbc3cabea45348bc2fdaa1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.0.h @@ -0,0 +1,383 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Custom_0_H +#define WINRT_Windows_Gaming_Input_Custom_0_H +WINRT_EXPORT namespace winrt::Windows::Gaming::Input +{ + struct IGameController; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Custom +{ + enum class GipFirmwareUpdateStatus : int32_t + { + Completed = 0, + UpToDate = 1, + Failed = 2, + }; + enum class GipMessageClass : int32_t + { + Command = 0, + LowLatency = 1, + StandardLatency = 2, + }; + enum class XusbDeviceSubtype : int32_t + { + Unknown = 0, + Gamepad = 1, + ArcadePad = 2, + ArcadeStick = 3, + FlightStick = 4, + Wheel = 5, + Guitar = 6, + GuitarAlternate = 7, + GuitarBass = 8, + DrumKit = 9, + DancePad = 10, + }; + enum class XusbDeviceType : int32_t + { + Unknown = 0, + Gamepad = 1, + }; + struct ICustomGameControllerFactory; + struct IGameControllerFactoryManagerStatics; + struct IGameControllerFactoryManagerStatics2; + struct IGameControllerInputSink; + struct IGameControllerProvider; + struct IGipFirmwareUpdateResult; + struct IGipGameControllerInputSink; + struct IGipGameControllerProvider; + struct IHidGameControllerInputSink; + struct IHidGameControllerProvider; + struct IXusbGameControllerInputSink; + struct IXusbGameControllerProvider; + struct GameControllerFactoryManager; + struct GipFirmwareUpdateResult; + struct GipGameControllerProvider; + struct HidGameControllerProvider; + struct XusbGameControllerProvider; + struct GameControllerVersionInfo; + struct GipFirmwareUpdateProgress; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GameControllerFactoryManager"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GipFirmwareUpdateResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GipGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.HidGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.XusbGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GipFirmwareUpdateStatus"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GipMessageClass"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.XusbDeviceSubtype"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.XusbDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GameControllerVersionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.GipFirmwareUpdateProgress"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.ICustomGameControllerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGameControllerFactoryManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGameControllerFactoryManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGameControllerInputSink"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGipFirmwareUpdateResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGipGameControllerInputSink"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IGipGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IHidGameControllerInputSink"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IHidGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IXusbGameControllerInputSink"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Custom.IXusbGameControllerProvider"; + template <> inline constexpr guid guid_v{ 0x69A0AE5E,0x758E,0x4CBE,{ 0xAC,0xE6,0x62,0x15,0x5F,0xE9,0x12,0x6F } }; // 69A0AE5E-758E-4CBE-ACE6-62155FE9126F + template <> inline constexpr guid guid_v{ 0x36CB66E3,0xD0A1,0x4986,{ 0xA2,0x4C,0x40,0xB1,0x37,0xDE,0xBA,0x9E } }; // 36CB66E3-D0A1-4986-A24C-40B137DEBA9E + template <> inline constexpr guid guid_v{ 0xEACE5644,0x19DF,0x4115,{ 0xB3,0x2A,0x27,0x93,0xE2,0xAE,0xA3,0xBB } }; // EACE5644-19DF-4115-B32A-2793E2AEA3BB + template <> inline constexpr guid guid_v{ 0x1FF6F922,0xC640,0x4C78,{ 0xA8,0x20,0x9A,0x71,0x5C,0x55,0x8B,0xCB } }; // 1FF6F922-C640-4C78-A820-9A715C558BCB + template <> inline constexpr guid guid_v{ 0xE6D73982,0x2996,0x4559,{ 0xB1,0x6C,0x3E,0x57,0xD4,0x6E,0x58,0xD6 } }; // E6D73982-2996-4559-B16C-3E57D46E58D6 + template <> inline constexpr guid guid_v{ 0x6B794D32,0x8553,0x4292,{ 0x8E,0x03,0xE1,0x66,0x51,0xA2,0xF8,0xBC } }; // 6B794D32-8553-4292-8E03-E16651A2F8BC + template <> inline constexpr guid guid_v{ 0xA2108ABF,0x09F1,0x43BC,{ 0xA1,0x40,0x80,0xF8,0x99,0xEC,0x36,0xFB } }; // A2108ABF-09F1-43BC-A140-80F899EC36FB + template <> inline constexpr guid guid_v{ 0xDBCF1E19,0x1AF5,0x45A8,{ 0xBF,0x02,0xA0,0xEE,0x50,0xC8,0x23,0xFC } }; // DBCF1E19-1AF5-45A8-BF02-A0EE50C823FC + template <> inline constexpr guid guid_v{ 0xF754C322,0x182D,0x40E4,{ 0xA1,0x26,0xFC,0xEE,0x4F,0xFA,0x1E,0x31 } }; // F754C322-182D-40E4-A126-FCEE4FFA1E31 + template <> inline constexpr guid guid_v{ 0x95CE3AF4,0xABF0,0x4B68,{ 0xA0,0x81,0x3B,0x7D,0xE7,0x3F,0xF0,0xE7 } }; // 95CE3AF4-ABF0-4B68-A081-3B7DE73FF0E7 + template <> inline constexpr guid guid_v{ 0xB2AC1D95,0x6ECB,0x42B3,{ 0x8A,0xAB,0x02,0x54,0x01,0xCA,0x47,0x12 } }; // B2AC1D95-6ECB-42B3-8AAB-025401CA4712 + template <> inline constexpr guid guid_v{ 0x6E2971EB,0x0EFB,0x48B4,{ 0x80,0x8B,0x83,0x76,0x43,0xB2,0xF2,0x16 } }; // 6E2971EB-0EFB-48B4-808B-837643B2F216 + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateGameController(void*, void**) noexcept = 0; + virtual int32_t __stdcall OnGameControllerAdded(void*) noexcept = 0; + virtual int32_t __stdcall OnGameControllerRemoved(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterCustomFactoryForGipInterface(void*, winrt::guid) noexcept = 0; + virtual int32_t __stdcall RegisterCustomFactoryForHardwareId(void*, uint16_t, uint16_t) noexcept = 0; + virtual int32_t __stdcall RegisterCustomFactoryForXusbType(void*, int32_t, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetFactoryControllerFromGameController(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnInputResumed(uint64_t) noexcept = 0; + virtual int32_t __stdcall OnInputSuspended(uint64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FirmwareVersionInfo(struct struct_Windows_Gaming_Input_Custom_GameControllerVersionInfo*) noexcept = 0; + virtual int32_t __stdcall get_HardwareProductId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareVendorId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareVersionInfo(struct struct_Windows_Gaming_Input_Custom_GameControllerVersionInfo*) noexcept = 0; + virtual int32_t __stdcall get_IsConnected(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedErrorCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_FinalComponentId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnKeyReceived(uint64_t, uint8_t, bool) noexcept = 0; + virtual int32_t __stdcall OnMessageReceived(uint64_t, int32_t, uint8_t, uint8_t, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendMessage(int32_t, uint8_t, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall SendReceiveMessage(int32_t, uint8_t, uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall UpdateFirmwareAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnInputReportReceived(uint64_t, uint8_t, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UsageId(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_UsagePage(uint16_t*) noexcept = 0; + virtual int32_t __stdcall GetFeatureReport(uint8_t, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall SendFeatureReport(uint8_t, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall SendOutputReport(uint8_t, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnInputReceived(uint64_t, uint8_t, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetVibration(double, double) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory + { + auto CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const; + auto OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics + { + auto RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const; + auto RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const; + auto RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2 + { + auto TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGameControllerInputSink + { + auto OnInputResumed(uint64_t timestamp) const; + auto OnInputSuspended(uint64_t timestamp) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGameControllerInputSink; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGameControllerProvider + { + [[nodiscard]] auto FirmwareVersionInfo() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto HardwareVersionInfo() const; + [[nodiscard]] auto IsConnected() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGameControllerProvider; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult + { + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto FinalComponentId() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink + { + auto OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const; + auto OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view messageBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink; + }; + template + struct consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider + { + auto SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view messageBuffer) const; + auto SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view requestMessageBuffer, array_view responseMessageBuffer) const; + auto UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider; + }; + template + struct consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink + { + auto OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view reportBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink; + }; + template + struct consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider + { + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto UsagePage() const; + auto GetFeatureReport(uint8_t reportId, array_view reportBuffer) const; + auto SendFeatureReport(uint8_t reportId, array_view reportBuffer) const; + auto SendOutputReport(uint8_t reportId, array_view reportBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider; + }; + template + struct consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink + { + auto OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view inputBuffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink; + }; + template + struct consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider + { + auto SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider; + }; + struct struct_Windows_Gaming_Input_Custom_GameControllerVersionInfo + { + uint16_t Major; + uint16_t Minor; + uint16_t Build; + uint16_t Revision; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_Custom_GameControllerVersionInfo; + }; + struct struct_Windows_Gaming_Input_Custom_GipFirmwareUpdateProgress + { + double PercentCompleted; + uint32_t CurrentComponentId; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_Custom_GipFirmwareUpdateProgress; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.1.h new file mode 100644 index 0000000000000000000000000000000000000000..724b4aea96348524ad738d587603ad0c5a3321a0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.1.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Custom_1_H +#define WINRT_Windows_Gaming_Input_Custom_1_H +#include "winrt/impl/Windows.Gaming.Input.Custom.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Custom +{ + struct WINRT_IMPL_EMPTY_BASES ICustomGameControllerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICustomGameControllerFactory(std::nullptr_t = nullptr) noexcept {} + ICustomGameControllerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameControllerFactoryManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameControllerFactoryManagerStatics(std::nullptr_t = nullptr) noexcept {} + IGameControllerFactoryManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameControllerFactoryManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGameControllerFactoryManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IGameControllerFactoryManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameControllerInputSink : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameControllerInputSink(std::nullptr_t = nullptr) noexcept {} + IGameControllerInputSink(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameControllerProvider(std::nullptr_t = nullptr) noexcept {} + IGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGipFirmwareUpdateResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGipFirmwareUpdateResult(std::nullptr_t = nullptr) noexcept {} + IGipFirmwareUpdateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGipGameControllerInputSink : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGipGameControllerInputSink(std::nullptr_t = nullptr) noexcept {} + IGipGameControllerInputSink(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGipGameControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGipGameControllerProvider(std::nullptr_t = nullptr) noexcept {} + IGipGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidGameControllerInputSink : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHidGameControllerInputSink(std::nullptr_t = nullptr) noexcept {} + IHidGameControllerInputSink(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHidGameControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHidGameControllerProvider(std::nullptr_t = nullptr) noexcept {} + IHidGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXusbGameControllerInputSink : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXusbGameControllerInputSink(std::nullptr_t = nullptr) noexcept {} + IXusbGameControllerInputSink(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXusbGameControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IXusbGameControllerProvider(std::nullptr_t = nullptr) noexcept {} + IXusbGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.2.h new file mode 100644 index 0000000000000000000000000000000000000000..67a6bc9e8c8d3193f50e8e8d5e890e028c9a8bbe --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.custom.2.h @@ -0,0 +1,70 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Custom_2_H +#define WINRT_Windows_Gaming_Input_Custom_2_H +#include "winrt/impl/Windows.Gaming.Input.1.h" +#include "winrt/impl/Windows.Gaming.Input.Custom.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Custom +{ + struct GameControllerVersionInfo + { + uint16_t Major {}; + uint16_t Minor {}; + uint16_t Build {}; + uint16_t Revision {}; + }; + inline bool operator==(GameControllerVersionInfo const& left, GameControllerVersionInfo const& right) noexcept + { + return left.Major == right.Major && left.Minor == right.Minor && left.Build == right.Build && left.Revision == right.Revision; + } + inline bool operator!=(GameControllerVersionInfo const& left, GameControllerVersionInfo const& right) noexcept + { + return !(left == right); + } + struct GipFirmwareUpdateProgress + { + double PercentCompleted {}; + uint32_t CurrentComponentId {}; + }; + inline bool operator==(GipFirmwareUpdateProgress const& left, GipFirmwareUpdateProgress const& right) noexcept + { + return left.PercentCompleted == right.PercentCompleted && left.CurrentComponentId == right.CurrentComponentId; + } + inline bool operator!=(GipFirmwareUpdateProgress const& left, GipFirmwareUpdateProgress const& right) noexcept + { + return !(left == right); + } + struct GameControllerFactoryManager + { + GameControllerFactoryManager() = delete; + static auto RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId); + static auto RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId); + static auto RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype); + static auto TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController); + }; + struct WINRT_IMPL_EMPTY_BASES GipFirmwareUpdateResult : winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult + { + GipFirmwareUpdateResult(std::nullptr_t) noexcept {} + GipFirmwareUpdateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GipGameControllerProvider : winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider + { + GipGameControllerProvider(std::nullptr_t) noexcept {} + GipGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HidGameControllerProvider : winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider + { + HidGameControllerProvider(std::nullptr_t) noexcept {} + HidGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XusbGameControllerProvider : winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider + { + XusbGameControllerProvider(std::nullptr_t) noexcept {} + XusbGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d2b9053cfacfc1742706bd221a5709fb63c6199a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.0.h @@ -0,0 +1,288 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_ForceFeedback_0_H +#define WINRT_Windows_Gaming_Input_ForceFeedback_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback +{ + enum class ConditionForceEffectKind : int32_t + { + Spring = 0, + Damper = 1, + Inertia = 2, + Friction = 3, + }; + enum class ForceFeedbackEffectAxes : uint32_t + { + None = 0, + X = 0x1, + Y = 0x2, + Z = 0x4, + }; + enum class ForceFeedbackEffectState : int32_t + { + Stopped = 0, + Running = 1, + Paused = 2, + Faulted = 3, + }; + enum class ForceFeedbackLoadEffectResult : int32_t + { + Succeeded = 0, + EffectStorageFull = 1, + EffectNotSupported = 2, + }; + enum class PeriodicForceEffectKind : int32_t + { + SquareWave = 0, + SineWave = 1, + TriangleWave = 2, + SawtoothWaveUp = 3, + SawtoothWaveDown = 4, + }; + struct IConditionForceEffect; + struct IConditionForceEffectFactory; + struct IConstantForceEffect; + struct IForceFeedbackEffect; + struct IForceFeedbackMotor; + struct IPeriodicForceEffect; + struct IPeriodicForceEffectFactory; + struct IRampForceEffect; + struct ConditionForceEffect; + struct ConstantForceEffect; + struct ForceFeedbackMotor; + struct PeriodicForceEffect; + struct RampForceEffect; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ConditionForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ConstantForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.RampForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ConditionForceEffectKind"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectAxes"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectState"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.ForceFeedbackLoadEffectResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.PeriodicForceEffectKind"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IConditionForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IConditionForceEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IConstantForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IForceFeedbackMotor"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IPeriodicForceEffect"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IPeriodicForceEffectFactory"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.ForceFeedback.IRampForceEffect"; + template <> inline constexpr guid guid_v{ 0x32D1EA68,0x3695,0x4E69,{ 0x85,0xC0,0xCD,0x19,0x44,0x18,0x91,0x40 } }; // 32D1EA68-3695-4E69-85C0-CD1944189140 + template <> inline constexpr guid guid_v{ 0x91A99264,0x1810,0x4EB6,{ 0xA7,0x73,0xBF,0xD3,0xB8,0xCD,0xDB,0xAB } }; // 91A99264-1810-4EB6-A773-BFD3B8CDDBAB + template <> inline constexpr guid guid_v{ 0x9BFA0140,0xF3C7,0x415C,{ 0xB0,0x68,0x0F,0x06,0x87,0x34,0xBC,0xE0 } }; // 9BFA0140-F3C7-415C-B068-0F068734BCE0 + template <> inline constexpr guid guid_v{ 0xA17FBA0C,0x2AE4,0x48C2,{ 0x80,0x63,0xEA,0xBD,0x07,0x77,0xCB,0x89 } }; // A17FBA0C-2AE4-48C2-8063-EABD0777CB89 + template <> inline constexpr guid guid_v{ 0x8D3D417C,0xA5EA,0x4516,{ 0x80,0x26,0x2B,0x00,0xF7,0x4E,0xF6,0xE5 } }; // 8D3D417C-A5EA-4516-8026-2B00F74EF6E5 + template <> inline constexpr guid guid_v{ 0x5C5138D7,0xFC75,0x4D52,{ 0x9A,0x0A,0xEF,0xE4,0xCA,0xB5,0xFE,0x64 } }; // 5C5138D7-FC75-4D52-9A0A-EFE4CAB5FE64 + template <> inline constexpr guid guid_v{ 0x6F62EB1A,0x9851,0x477B,{ 0xB3,0x18,0x35,0xEC,0xAA,0x15,0x07,0x0F } }; // 6F62EB1A-9851-477B-B318-35ECAA15070F + template <> inline constexpr guid guid_v{ 0xF1F81259,0x1CA6,0x4080,{ 0xB5,0x6D,0xB4,0x3F,0x33,0x54,0xD0,0x52 } }; // F1F81259-1CA6-4080-B56D-B43F3354D052 + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetParameters(winrt::Windows::Foundation::Numerics::float3, float, float, float, float, float, float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetParameters(winrt::Windows::Foundation::Numerics::float3, int64_t) noexcept = 0; + virtual int32_t __stdcall SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3, float, float, float, int64_t, int64_t, int64_t, int64_t, uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Gain(double*) noexcept = 0; + virtual int32_t __stdcall put_Gain(double) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AreEffectsPaused(bool*) noexcept = 0; + virtual int32_t __stdcall get_MasterGain(double*) noexcept = 0; + virtual int32_t __stdcall put_MasterGain(double) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedAxes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall LoadEffectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall PauseAllEffects() noexcept = 0; + virtual int32_t __stdcall ResumeAllEffects() noexcept = 0; + virtual int32_t __stdcall StopAllEffects() noexcept = 0; + virtual int32_t __stdcall TryDisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryEnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryResetAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryUnloadEffectAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetParameters(winrt::Windows::Foundation::Numerics::float3, float, float, float, int64_t) noexcept = 0; + virtual int32_t __stdcall SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3, float, float, float, float, float, float, int64_t, int64_t, int64_t, int64_t, uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetParameters(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3, int64_t) noexcept = 0; + virtual int32_t __stdcall SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3, float, float, float, int64_t, int64_t, int64_t, int64_t, uint32_t) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect + { + [[nodiscard]] auto Kind() const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory + { + auto CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect + { + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect + { + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; + [[nodiscard]] auto State() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor + { + [[nodiscard]] auto AreEffectsPaused() const; + [[nodiscard]] auto MasterGain() const; + auto MasterGain(double value) const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto SupportedAxes() const; + auto LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; + auto PauseAllEffects() const; + auto ResumeAllEffects() const; + auto StopAllEffects() const; + auto TryDisableAsync() const; + auto TryEnableAsync() const; + auto TryResetAsync() const; + auto TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect + { + [[nodiscard]] auto Kind() const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory + { + auto CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory; + }; + template + struct consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect + { + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2674375762bb1c85f5c94d6a80563eb508594051 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.1.h @@ -0,0 +1,73 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_ForceFeedback_1_H +#define WINRT_Windows_Gaming_Input_ForceFeedback_1_H +#include "winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback +{ + struct WINRT_IMPL_EMPTY_BASES IConditionForceEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IConditionForceEffect(std::nullptr_t = nullptr) noexcept {} + IConditionForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConditionForceEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConditionForceEffectFactory(std::nullptr_t = nullptr) noexcept {} + IConditionForceEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConstantForceEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IConstantForceEffect(std::nullptr_t = nullptr) noexcept {} + IConstantForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IForceFeedbackEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IForceFeedbackEffect(std::nullptr_t = nullptr) noexcept {} + IForceFeedbackEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IForceFeedbackMotor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IForceFeedbackMotor(std::nullptr_t = nullptr) noexcept {} + IForceFeedbackMotor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeriodicForceEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPeriodicForceEffect(std::nullptr_t = nullptr) noexcept {} + IPeriodicForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeriodicForceEffectFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeriodicForceEffectFactory(std::nullptr_t = nullptr) noexcept {} + IPeriodicForceEffectFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRampForceEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IRampForceEffect(std::nullptr_t = nullptr) noexcept {} + IRampForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.2.h new file mode 100644 index 0000000000000000000000000000000000000000..81b6c3ac27ba385051b703adb6d4e8700bcd644c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.forcefeedback.2.h @@ -0,0 +1,46 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_ForceFeedback_2_H +#define WINRT_Windows_Gaming_Input_ForceFeedback_2_H +#include "winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback +{ + struct WINRT_IMPL_EMPTY_BASES ConditionForceEffect : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect, + impl::require + { + ConditionForceEffect(std::nullptr_t) noexcept {} + ConditionForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect(ptr, take_ownership_from_abi) {} + explicit ConditionForceEffect(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind); + }; + struct WINRT_IMPL_EMPTY_BASES ConstantForceEffect : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect, + impl::require + { + ConstantForceEffect(std::nullptr_t) noexcept {} + ConstantForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect(ptr, take_ownership_from_abi) {} + ConstantForceEffect(); + }; + struct WINRT_IMPL_EMPTY_BASES ForceFeedbackMotor : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor + { + ForceFeedbackMotor(std::nullptr_t) noexcept {} + ForceFeedbackMotor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PeriodicForceEffect : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect, + impl::require + { + PeriodicForceEffect(std::nullptr_t) noexcept {} + PeriodicForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect(ptr, take_ownership_from_abi) {} + explicit PeriodicForceEffect(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind); + }; + struct WINRT_IMPL_EMPTY_BASES RampForceEffect : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect, + impl::require + { + RampForceEffect(std::nullptr_t) noexcept {} + RampForceEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect(ptr, take_ownership_from_abi) {} + RampForceEffect(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..3438faed3ac2881d44a20ff0bb50517a6354c851 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.0.h @@ -0,0 +1,238 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Preview_0_H +#define WINRT_Windows_Gaming_Input_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IMapView; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input +{ + struct IGameController; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Custom +{ + struct IGameControllerProvider; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Preview +{ + enum class DeviceCommand : int32_t + { + Reset = 0, + }; + enum class GameControllerBatteryChargingState : int32_t + { + Unknown = 0, + Inactive = 1, + Active = 2, + Error = 3, + }; + enum class GameControllerBatteryKind : int32_t + { + Unknown = 0, + None = 1, + Standard = 2, + Rechargeable = 3, + }; + enum class GameControllerBatteryLevel : int32_t + { + Unknown = 0, + Critical = 1, + Low = 2, + Medium = 3, + Full = 4, + }; + enum class GameControllerFirmwareCorruptReason : int32_t + { + Unknown = 0, + NotCorrupt = 1, + TwoUpCorrupt = 2, + AppCorrupt = 3, + RadioCorrupt = 4, + EepromCorrupt = 5, + SafeToUpdate = 6, + }; + enum class HeadsetLevel : int32_t + { + Off = 0, + Low = 1, + Medium = 2, + High = 3, + }; + enum class HeadsetOperation : int32_t + { + Geq = 0, + BassBoostGain = 1, + SmartMute = 2, + SideTone = 3, + MuteLedBrightness = 4, + SwapMixAndVolumeDials = 5, + }; + enum class RemappingButtonCategory : int32_t + { + ButtonSettings = 0, + AnalogSettings = 1, + VibrationSettings = 2, + ShareShortPress = 3, + ShareShortPressMetaData = 4, + ShareShortPressMetaDataDisplay = 5, + ShareLongPress = 6, + ShareLongPressMetaData = 7, + ShareLongPressMetaDataDisplay = 8, + ShareDoublePress = 9, + ShareDoublePressMetaData = 10, + ShareDoublePressMetaDataDisplay = 11, + }; + struct IGameControllerProviderInfoStatics; + struct ILegacyGipGameControllerProvider; + struct ILegacyGipGameControllerProviderStatics; + struct GameControllerProviderInfo; + struct LegacyGipGameControllerProvider; + struct HeadsetGeqGains; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.GameControllerProviderInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.LegacyGipGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.DeviceCommand"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.GameControllerBatteryChargingState"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.GameControllerBatteryKind"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.GameControllerBatteryLevel"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.GameControllerFirmwareCorruptReason"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.HeadsetLevel"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.HeadsetOperation"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.RemappingButtonCategory"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.HeadsetGeqGains"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.IGameControllerProviderInfoStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.ILegacyGipGameControllerProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Input.Preview.ILegacyGipGameControllerProviderStatics"; + template <> inline constexpr guid guid_v{ 0x0BE1E6C5,0xD9BD,0x44EE,{ 0x83,0x62,0x48,0x8B,0x2E,0x46,0x4B,0xFB } }; // 0BE1E6C5-D9BD-44EE-8362-488B2E464BFB + template <> inline constexpr guid guid_v{ 0x2DA3ED52,0xFFD9,0x43E2,{ 0x82,0x5C,0x1D,0x27,0x90,0xE0,0x4D,0x14 } }; // 2DA3ED52-FFD9-43E2-825C-1D2790E04D14 + template <> inline constexpr guid guid_v{ 0xD40DDA17,0xB1F4,0x499A,{ 0x87,0x4C,0x70,0x95,0xAA,0xC1,0x52,0x91 } }; // D40DDA17-B1F4-499A-874C-7095AAC15291 + template <> struct default_interface{ using type = winrt::Windows::Gaming::Input::Preview::ILegacyGipGameControllerProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetParentProviderId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetProviderId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BatteryChargingState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BatteryKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BatteryLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDeviceFirmwareCorruptionState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsFirmwareCorrupted(bool*) noexcept = 0; + virtual int32_t __stdcall IsInterfaceSupported(winrt::guid, bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSyntheticDevice(bool*) noexcept = 0; + virtual int32_t __stdcall get_PreferredTypes(void**) noexcept = 0; + virtual int32_t __stdcall ExecuteCommand(int32_t) noexcept = 0; + virtual int32_t __stdcall SetHomeLedIntensity(uint8_t) noexcept = 0; + virtual int32_t __stdcall GetExtendedDeviceInfo(uint32_t* __bufferSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall SetHeadsetOperation(int32_t, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetHeadsetOperation(int32_t, uint32_t* __bufferSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_AppCompatVersion(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetStandardControllerButtonRemapping(void*, bool, void*) noexcept = 0; + virtual int32_t __stdcall GetStandardControllerButtonRemapping(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromGameController(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromGameControllerProvider(void*, void**) noexcept = 0; + virtual int32_t __stdcall PairPilotToCopilot(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall ClearPairing(void*, void*) noexcept = 0; + virtual int32_t __stdcall IsPilot(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall IsCopilot(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics + { + auto GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics; + }; + template + struct consume_Windows_Gaming_Input_Preview_ILegacyGipGameControllerProvider + { + [[nodiscard]] auto BatteryChargingState() const; + [[nodiscard]] auto BatteryKind() const; + [[nodiscard]] auto BatteryLevel() const; + auto GetDeviceFirmwareCorruptionState() const; + [[nodiscard]] auto IsFirmwareCorrupted() const; + auto IsInterfaceSupported(winrt::guid const& interfaceId) const; + [[nodiscard]] auto IsSyntheticDevice() const; + [[nodiscard]] auto PreferredTypes() const; + auto ExecuteCommand(winrt::Windows::Gaming::Input::Preview::DeviceCommand const& command) const; + auto SetHomeLedIntensity(uint8_t intensity) const; + auto GetExtendedDeviceInfo() const; + auto SetHeadsetOperation(winrt::Windows::Gaming::Input::Preview::HeadsetOperation const& operation, array_view buffer) const; + auto GetHeadsetOperation(winrt::Windows::Gaming::Input::Preview::HeadsetOperation const& operation) const; + [[nodiscard]] auto AppCompatVersion() const; + auto SetStandardControllerButtonRemapping(winrt::Windows::System::User const& user, bool previous, param::map_view const& remapping) const; + auto GetStandardControllerButtonRemapping(winrt::Windows::System::User const& user, bool previous) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Preview_ILegacyGipGameControllerProvider; + }; + template + struct consume_Windows_Gaming_Input_Preview_ILegacyGipGameControllerProviderStatics + { + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& controller) const; + auto FromGameControllerProvider(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto PairPilotToCopilot(winrt::Windows::System::User const& user, param::hstring const& pilotControllerProviderId, param::hstring const& copilotControllerProviderId) const; + auto ClearPairing(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId) const; + auto IsPilot(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId) const; + auto IsCopilot(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Input_Preview_ILegacyGipGameControllerProviderStatics; + }; + struct struct_Windows_Gaming_Input_Preview_HeadsetGeqGains + { + int32_t band1Gain; + int32_t band2Gain; + int32_t band3Gain; + int32_t band4Gain; + int32_t band5Gain; + }; + template <> struct abi + { + using type = struct_Windows_Gaming_Input_Preview_HeadsetGeqGains; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8e3332ac60ca1d54eade0450964c0542fa18a24b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Preview_1_H +#define WINRT_Windows_Gaming_Input_Preview_1_H +#include "winrt/impl/Windows.Gaming.Input.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Preview +{ + struct WINRT_IMPL_EMPTY_BASES IGameControllerProviderInfoStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameControllerProviderInfoStatics(std::nullptr_t = nullptr) noexcept {} + IGameControllerProviderInfoStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILegacyGipGameControllerProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILegacyGipGameControllerProvider(std::nullptr_t = nullptr) noexcept {} + ILegacyGipGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILegacyGipGameControllerProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILegacyGipGameControllerProviderStatics(std::nullptr_t = nullptr) noexcept {} + ILegacyGipGameControllerProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..94db988f8d54fec84ef9ac707389854cf9c58025 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.input.preview.2.h @@ -0,0 +1,49 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Input_Preview_2_H +#define WINRT_Windows_Gaming_Input_Preview_2_H +#include "winrt/impl/Windows.Gaming.Input.1.h" +#include "winrt/impl/Windows.Gaming.Input.Custom.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Gaming.Input.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Input::Preview +{ + struct HeadsetGeqGains + { + int32_t band1Gain {}; + int32_t band2Gain {}; + int32_t band3Gain {}; + int32_t band4Gain {}; + int32_t band5Gain {}; + }; + inline bool operator==(HeadsetGeqGains const& left, HeadsetGeqGains const& right) noexcept + { + return left.band1Gain == right.band1Gain && left.band2Gain == right.band2Gain && left.band3Gain == right.band3Gain && left.band4Gain == right.band4Gain && left.band5Gain == right.band5Gain; + } + inline bool operator!=(HeadsetGeqGains const& left, HeadsetGeqGains const& right) noexcept + { + return !(left == right); + } + struct GameControllerProviderInfo + { + GameControllerProviderInfo() = delete; + static auto GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider); + static auto GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider); + }; + struct WINRT_IMPL_EMPTY_BASES LegacyGipGameControllerProvider : winrt::Windows::Gaming::Input::Preview::ILegacyGipGameControllerProvider + { + LegacyGipGameControllerProvider(std::nullptr_t) noexcept {} + LegacyGipGameControllerProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::Preview::ILegacyGipGameControllerProvider(ptr, take_ownership_from_abi) {} + static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& controller); + static auto FromGameControllerProvider(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider); + static auto PairPilotToCopilot(winrt::Windows::System::User const& user, param::hstring const& pilotControllerProviderId, param::hstring const& copilotControllerProviderId); + static auto ClearPairing(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId); + static auto IsPilot(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId); + static auto IsCopilot(winrt::Windows::System::User const& user, param::hstring const& controllerProviderId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4d497fe1a5bb375f32c6d54e99cca13f80bdc322 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.0.h @@ -0,0 +1,303 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_0_H +#define WINRT_Windows_Gaming_Preview_GamesEnumeration_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel +{ + struct AppDisplayInfo; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration +{ + enum class GameListCategory : int32_t + { + Candidate = 0, + ConfirmedBySystem = 1, + ConfirmedByUser = 2, + }; + enum class GameListEntryLaunchableState : int32_t + { + NotLaunchable = 0, + ByLastRunningFullPath = 1, + ByUserProvidedPath = 2, + ByTile = 3, + }; + struct IGameListEntry; + struct IGameListEntry2; + struct IGameListStatics; + struct IGameListStatics2; + struct IGameModeConfiguration; + struct IGameModeUserConfiguration; + struct IGameModeUserConfigurationStatics; + struct GameList; + struct GameListEntry; + struct GameModeConfiguration; + struct GameModeUserConfiguration; + struct GameListChangedEventHandler; + struct GameListRemovedEventHandler; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameList"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameListEntry"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameModeConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameModeUserConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameListCategory"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameListEntryLaunchableState"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameListEntry"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameListEntry2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameListStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameListStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameModeConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameModeUserConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.IGameModeUserConfigurationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameListChangedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.Preview.GamesEnumeration.GameListRemovedEventHandler"; + template <> inline constexpr guid guid_v{ 0x735924D3,0x811F,0x4494,{ 0xB6,0x9C,0xC6,0x41,0xA0,0xC6,0x15,0x43 } }; // 735924D3-811F-4494-B69C-C641A0C61543 + template <> inline constexpr guid guid_v{ 0xD84A8F8B,0x8749,0x4A25,{ 0x90,0xD3,0xF6,0xC5,0xA4,0x27,0x88,0x6D } }; // D84A8F8B-8749-4A25-90D3-F6C5A427886D + template <> inline constexpr guid guid_v{ 0x2DDD0F6F,0x9C66,0x4B05,{ 0x94,0x5C,0xD6,0xED,0x78,0x49,0x1B,0x8C } }; // 2DDD0F6F-9C66-4B05-945C-D6ED78491B8C + template <> inline constexpr guid guid_v{ 0x395F2098,0xEA1A,0x45AA,{ 0x92,0x68,0xA8,0x39,0x05,0x68,0x6F,0x27 } }; // 395F2098-EA1A-45AA-9268-A83905686F27 + template <> inline constexpr guid guid_v{ 0x78E591AF,0xB142,0x4EF0,{ 0x88,0x30,0x55,0xBC,0x2B,0xE4,0xF5,0xEA } }; // 78E591AF-B142-4EF0-8830-55BC2BE4F5EA + template <> inline constexpr guid guid_v{ 0x72D34AF4,0x756B,0x470F,{ 0xA0,0xC2,0xBA,0x62,0xA9,0x07,0x95,0xDB } }; // 72D34AF4-756B-470F-A0C2-BA62A90795DB + template <> inline constexpr guid guid_v{ 0x6E50D97C,0x66EA,0x478E,{ 0xA4,0xA1,0xF5,0x7C,0x0E,0x8D,0x00,0xE7 } }; // 6E50D97C-66EA-478E-A4A1-F57C0E8D00E7 + template <> inline constexpr guid guid_v{ 0x25F6A421,0xD8F5,0x4D91,{ 0xB4,0x0E,0x53,0xD5,0xE8,0x6F,0xDE,0x64 } }; // 25F6A421-D8F5-4D91-B40E-53D5E86FDE64 + template <> inline constexpr guid guid_v{ 0x10C5648F,0x6C8F,0x4712,{ 0x9B,0x38,0x47,0x4B,0xC2,0x2E,0x76,0xD8 } }; // 10C5648F-6C8F-4712-9B38-474BC22E76D8 + template <> struct default_interface{ using type = winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayInfo(void**) noexcept = 0; + virtual int32_t __stdcall LaunchAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Category(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall SetCategoryAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LaunchableState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LauncherExecutable(void**) noexcept = 0; + virtual int32_t __stdcall get_LaunchParameters(void**) noexcept = 0; + virtual int32_t __stdcall SetLauncherExecutableFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetLauncherExecutableFileWithParamsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_TitleId(void**) noexcept = 0; + virtual int32_t __stdcall SetTitleIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_GameModeConfiguration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllAsyncPackageFamilyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_GameAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GameAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GameRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GameRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_GameUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GameUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MergeEntriesAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnmergeEntryAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_RelatedProcessNames(void**) noexcept = 0; + virtual int32_t __stdcall get_PercentGpuTimeAllocatedToGame(void**) noexcept = 0; + virtual int32_t __stdcall put_PercentGpuTimeAllocatedToGame(void*) noexcept = 0; + virtual int32_t __stdcall get_PercentGpuMemoryAllocatedToGame(void**) noexcept = 0; + virtual int32_t __stdcall put_PercentGpuMemoryAllocatedToGame(void*) noexcept = 0; + virtual int32_t __stdcall get_PercentGpuMemoryAllocatedToSystemCompositor(void**) noexcept = 0; + virtual int32_t __stdcall put_PercentGpuMemoryAllocatedToSystemCompositor(void*) noexcept = 0; + virtual int32_t __stdcall get_MaxCpuCount(void**) noexcept = 0; + virtual int32_t __stdcall put_MaxCpuCount(void*) noexcept = 0; + virtual int32_t __stdcall get_CpuExclusivityMaskLow(void**) noexcept = 0; + virtual int32_t __stdcall put_CpuExclusivityMaskLow(void*) noexcept = 0; + virtual int32_t __stdcall get_CpuExclusivityMaskHigh(void**) noexcept = 0; + virtual int32_t __stdcall put_CpuExclusivityMaskHigh(void*) noexcept = 0; + virtual int32_t __stdcall get_AffinitizeToExclusiveCpus(bool*) noexcept = 0; + virtual int32_t __stdcall put_AffinitizeToExclusiveCpus(bool) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GamingRelatedProcessNames(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry + { + [[nodiscard]] auto DisplayInfo() const; + auto LaunchAsync() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Properties() const; + auto SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2 + { + [[nodiscard]] auto LaunchableState() const; + [[nodiscard]] auto LauncherExecutable() const; + [[nodiscard]] auto LaunchParameters() const; + auto SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const; + auto SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const; + [[nodiscard]] auto TitleId() const; + auto SetTitleIdAsync(param::hstring const& id) const; + [[nodiscard]] auto GameModeConfiguration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics + { + auto FindAllAsync() const; + auto FindAllAsync(param::hstring const& packageFamilyName) const; + auto GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + using GameAdded_revoker = impl::event_revoker::remove_GameAdded>; + [[nodiscard]] auto GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + auto GameAdded(winrt::event_token const& token) const noexcept; + auto GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; + using GameRemoved_revoker = impl::event_revoker::remove_GameRemoved>; + [[nodiscard]] auto GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; + auto GameRemoved(winrt::event_token const& token) const noexcept; + auto GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + using GameUpdated_revoker = impl::event_revoker::remove_GameUpdated>; + [[nodiscard]] auto GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + auto GameUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2 + { + auto MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const; + auto UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto RelatedProcessNames() const; + [[nodiscard]] auto PercentGpuTimeAllocatedToGame() const; + auto PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PercentGpuMemoryAllocatedToGame() const; + auto PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PercentGpuMemoryAllocatedToSystemCompositor() const; + auto PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxCpuCount() const; + auto MaxCpuCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CpuExclusivityMaskLow() const; + auto CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CpuExclusivityMaskHigh() const; + auto CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AffinitizeToExclusiveCpus() const; + auto AffinitizeToExclusiveCpus(bool value) const; + auto SaveAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration + { + [[nodiscard]] auto GamingRelatedProcessNames() const; + auto SaveAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration; + }; + template + struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.1.h new file mode 100644 index 0000000000000000000000000000000000000000..def9f72e3d264286bd9318e801973479933edbe5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.1.h @@ -0,0 +1,63 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_1_H +#define WINRT_Windows_Gaming_Preview_GamesEnumeration_1_H +#include "winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration +{ + struct WINRT_IMPL_EMPTY_BASES IGameListEntry : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameListEntry(std::nullptr_t = nullptr) noexcept {} + IGameListEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameListEntry2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGameListEntry2(std::nullptr_t = nullptr) noexcept {} + IGameListEntry2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameListStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameListStatics(std::nullptr_t = nullptr) noexcept {} + IGameListStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameListStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameListStatics2(std::nullptr_t = nullptr) noexcept {} + IGameListStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameModeConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameModeConfiguration(std::nullptr_t = nullptr) noexcept {} + IGameModeConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameModeUserConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameModeUserConfiguration(std::nullptr_t = nullptr) noexcept {} + IGameModeUserConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameModeUserConfigurationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameModeUserConfigurationStatics(std::nullptr_t = nullptr) noexcept {} + IGameModeUserConfigurationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a2e34dae9189646423b3cdde162b4aed75326838 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.preview.gamesenumeration.2.h @@ -0,0 +1,77 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_2_H +#define WINRT_Windows_Gaming_Preview_GamesEnumeration_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration +{ + struct GameListChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + GameListChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + GameListChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template GameListChangedEventHandler(L lambda); + template GameListChangedEventHandler(F* function); + template GameListChangedEventHandler(O* object, M method); + template GameListChangedEventHandler(com_ptr&& object, M method); + template GameListChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template GameListChangedEventHandler(std::shared_ptr&& object, M method); + template GameListChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& game) const; + }; + struct GameListRemovedEventHandler : winrt::Windows::Foundation::IUnknown + { + GameListRemovedEventHandler(std::nullptr_t = nullptr) noexcept {} + GameListRemovedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template GameListRemovedEventHandler(L lambda); + template GameListRemovedEventHandler(F* function); + template GameListRemovedEventHandler(O* object, M method); + template GameListRemovedEventHandler(com_ptr&& object, M method); + template GameListRemovedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template GameListRemovedEventHandler(std::shared_ptr&& object, M method); + template GameListRemovedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(param::hstring const& identifier) const; + }; + struct GameList + { + GameList() = delete; + static auto FindAllAsync(); + static auto FindAllAsync(param::hstring const& packageFamilyName); + static auto GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + using GameAdded_revoker = impl::factory_event_revoker::remove_GameAdded>; + [[nodiscard]] static auto GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + static auto GameAdded(winrt::event_token const& token); + static auto GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler); + using GameRemoved_revoker = impl::factory_event_revoker::remove_GameRemoved>; + [[nodiscard]] static auto GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler); + static auto GameRemoved(winrt::event_token const& token); + static auto GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + using GameUpdated_revoker = impl::factory_event_revoker::remove_GameUpdated>; + [[nodiscard]] static auto GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + static auto GameUpdated(winrt::event_token const& token); + static auto MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right); + static auto UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry); + }; + struct WINRT_IMPL_EMPTY_BASES GameListEntry : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry, + impl::require + { + GameListEntry(std::nullptr_t) noexcept {} + GameListEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameModeConfiguration : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration + { + GameModeConfiguration(std::nullptr_t) noexcept {} + GameModeConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameModeUserConfiguration : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration + { + GameModeUserConfiguration(std::nullptr_t) noexcept {} + GameModeUserConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ebf648385bcf15c93ee6feaffb56dc2cc9a9a9ea --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.0.h @@ -0,0 +1,222 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_UI_0_H +#define WINRT_Windows_Gaming_UI_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::UI +{ + enum class GameChatMessageOrigin : int32_t + { + Voice = 0, + Text = 1, + }; + enum class GameChatOverlayPosition : int32_t + { + BottomCenter = 0, + BottomLeft = 1, + BottomRight = 2, + MiddleRight = 3, + MiddleLeft = 4, + TopCenter = 5, + TopLeft = 6, + TopRight = 7, + }; + struct IGameBarStatics; + struct IGameChatMessageReceivedEventArgs; + struct IGameChatOverlay; + struct IGameChatOverlayMessageSource; + struct IGameChatOverlayStatics; + struct IGameUIProviderActivatedEventArgs; + struct GameBar; + struct GameChatMessageReceivedEventArgs; + struct GameChatOverlay; + struct GameChatOverlayMessageSource; + struct GameUIProviderActivatedEventArgs; + struct GameChatOverlayContract; + struct GamingUIProviderContract; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameBar"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatOverlay"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatOverlayMessageSource"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameUIProviderActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatMessageOrigin"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatOverlayPosition"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameBarStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameChatMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameChatOverlay"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameChatOverlayMessageSource"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameChatOverlayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.IGameUIProviderActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GameChatOverlayContract"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.UI.GamingUIProviderContract"; + template <> inline constexpr guid guid_v{ 0x1DB9A292,0xCC78,0x4173,{ 0xBE,0x45,0xB6,0x1E,0x67,0x28,0x3E,0xA7 } }; // 1DB9A292-CC78-4173-BE45-B61E67283EA7 + template <> inline constexpr guid guid_v{ 0xA28201F1,0x3FB9,0x4E42,{ 0xA4,0x03,0x7A,0xFC,0xE2,0x02,0x3B,0x1E } }; // A28201F1-3FB9-4E42-A403-7AFCE2023B1E + template <> inline constexpr guid guid_v{ 0xFBC64865,0xF6FC,0x4A48,{ 0xAE,0x07,0x03,0xAC,0x6E,0xD4,0x37,0x04 } }; // FBC64865-F6FC-4A48-AE07-03AC6ED43704 + template <> inline constexpr guid guid_v{ 0x1E177397,0x59FB,0x4F4F,{ 0x8E,0x9A,0x80,0xAC,0xF8,0x17,0x74,0x3C } }; // 1E177397-59FB-4F4F-8E9A-80ACF817743C + template <> inline constexpr guid guid_v{ 0x89ACF614,0x7867,0x49F7,{ 0x96,0x87,0x25,0xD9,0xDB,0xF4,0x44,0xD1 } }; // 89ACF614-7867-49F7-9687-25D9DBF444D1 + template <> inline constexpr guid guid_v{ 0xA7B3203E,0xCAF7,0x4DED,{ 0xBB,0xD2,0x47,0xDE,0x43,0xBB,0x6D,0xD5 } }; // A7B3203E-CAF7-4DED-BBD2-47DE43BB6DD5 + template <> struct default_interface{ using type = winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::UI::IGameChatOverlay; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_VisibilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VisibilityChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_IsInputRedirectedChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsInputRedirectedChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Visible(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsInputRedirected(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + virtual int32_t __stdcall get_AppDisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_SenderName(void**) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_Origin(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredPosition(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredPosition(int32_t) noexcept = 0; + virtual int32_t __stdcall AddMessage(void*, void*, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall SetDelayBeforeClosingAfterMessageReceived(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GameUIArgs(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompleted(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_UI_IGameBarStatics + { + auto VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& token) const noexcept; + auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using IsInputRedirectedChanged_revoker = impl::event_revoker::remove_IsInputRedirectedChanged>; + [[nodiscard]] auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsInputRedirectedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Visible() const; + [[nodiscard]] auto IsInputRedirected() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameBarStatics; + }; + template + struct consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs + { + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto AppDisplayName() const; + [[nodiscard]] auto SenderName() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Origin() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs; + }; + template + struct consume_Windows_Gaming_UI_IGameChatOverlay + { + [[nodiscard]] auto DesiredPosition() const; + auto DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const; + auto AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameChatOverlay; + }; + template + struct consume_Windows_Gaming_UI_IGameChatOverlayMessageSource + { + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + auto SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameChatOverlayMessageSource; + }; + template + struct consume_Windows_Gaming_UI_IGameChatOverlayStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameChatOverlayStatics; + }; + template + struct consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs + { + [[nodiscard]] auto GameUIArgs() const; + auto ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.1.h new file mode 100644 index 0000000000000000000000000000000000000000..12008ac4eb82a6561523c9c3efdcb3b8defa4ca0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.1.h @@ -0,0 +1,57 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_UI_1_H +#define WINRT_Windows_Gaming_UI_1_H +#include "winrt/impl/Windows.ApplicationModel.Activation.0.h" +#include "winrt/impl/Windows.Gaming.UI.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::UI +{ + struct WINRT_IMPL_EMPTY_BASES IGameBarStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarStatics(std::nullptr_t = nullptr) noexcept {} + IGameBarStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameChatMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameChatMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGameChatMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameChatOverlay : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameChatOverlay(std::nullptr_t = nullptr) noexcept {} + IGameChatOverlay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameChatOverlayMessageSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameChatOverlayMessageSource(std::nullptr_t = nullptr) noexcept {} + IGameChatOverlayMessageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameChatOverlayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameChatOverlayStatics(std::nullptr_t = nullptr) noexcept {} + IGameChatOverlayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameUIProviderActivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGameUIProviderActivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGameUIProviderActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.2.h new file mode 100644 index 0000000000000000000000000000000000000000..16322fd6ae84fc035839ee02687f98b4d0e0f644 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.ui.2.h @@ -0,0 +1,51 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_UI_2_H +#define WINRT_Windows_Gaming_UI_2_H +#include "winrt/impl/Windows.ApplicationModel.Activation.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Gaming.UI.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::UI +{ + struct GameBar + { + GameBar() = delete; + static auto VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler); + using VisibilityChanged_revoker = impl::factory_event_revoker::remove_VisibilityChanged>; + [[nodiscard]] static auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto VisibilityChanged(winrt::event_token const& token); + static auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler); + using IsInputRedirectedChanged_revoker = impl::factory_event_revoker::remove_IsInputRedirectedChanged>; + [[nodiscard]] static auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto IsInputRedirectedChanged(winrt::event_token const& token); + [[nodiscard]] static auto Visible(); + [[nodiscard]] static auto IsInputRedirected(); + }; + struct WINRT_IMPL_EMPTY_BASES GameChatMessageReceivedEventArgs : winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs + { + GameChatMessageReceivedEventArgs(std::nullptr_t) noexcept {} + GameChatMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameChatOverlay : winrt::Windows::Gaming::UI::IGameChatOverlay + { + GameChatOverlay(std::nullptr_t) noexcept {} + GameChatOverlay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::UI::IGameChatOverlay(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES GameChatOverlayMessageSource : winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource + { + GameChatOverlayMessageSource(std::nullptr_t) noexcept {} + GameChatOverlayMessageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource(ptr, take_ownership_from_abi) {} + GameChatOverlayMessageSource(); + }; + struct WINRT_IMPL_EMPTY_BASES GameUIProviderActivatedEventArgs : winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs + { + GameUIProviderActivatedEventArgs(std::nullptr_t) noexcept {} + GameUIProviderActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c51a08d0d5aecfc5e6a2552eb36dbf3a6a76fd90 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.0.h @@ -0,0 +1,388 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_XboxLive_Storage_0_H +#define WINRT_Windows_Gaming_XboxLive_Storage_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IMapView; + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Gaming::XboxLive::Storage +{ + enum class GameSaveErrorStatus : int32_t + { + Ok = 0, + Abort = -2147467260, + InvalidContainerName = -2138898431, + NoAccess = -2138898430, + OutOfLocalStorage = -2138898429, + UserCanceled = -2138898428, + UpdateTooBig = -2138898427, + QuotaExceeded = -2138898426, + ProvidedBufferTooSmall = -2138898425, + BlobNotFound = -2138898424, + NoXboxLiveInfo = -2138898423, + ContainerNotInSync = -2138898422, + ContainerSyncFailed = -2138898421, + UserHasNoXboxLiveInfo = -2138898420, + ObjectExpired = -2138898419, + }; + struct IGameSaveBlobGetResult; + struct IGameSaveBlobInfo; + struct IGameSaveBlobInfoGetResult; + struct IGameSaveBlobInfoQuery; + struct IGameSaveContainer; + struct IGameSaveContainerInfo; + struct IGameSaveContainerInfoGetResult; + struct IGameSaveContainerInfoQuery; + struct IGameSaveOperationResult; + struct IGameSaveProvider; + struct IGameSaveProviderGetResult; + struct IGameSaveProviderStatics; + struct GameSaveBlobGetResult; + struct GameSaveBlobInfo; + struct GameSaveBlobInfoGetResult; + struct GameSaveBlobInfoQuery; + struct GameSaveContainer; + struct GameSaveContainerInfo; + struct GameSaveContainerInfoGetResult; + struct GameSaveContainerInfoQuery; + struct GameSaveOperationResult; + struct GameSaveProvider; + struct GameSaveProviderGetResult; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveBlobGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveBlobInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoQuery"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveContainer"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveContainerInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoQuery"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveProviderGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.GameSaveErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveBlobGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveBlobInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveBlobInfoGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveBlobInfoQuery"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveContainer"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveContainerInfo"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveContainerInfoGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveContainerInfoQuery"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveProvider"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveProviderGetResult"; + template <> inline constexpr auto& name_v = L"Windows.Gaming.XboxLive.Storage.IGameSaveProviderStatics"; + template <> inline constexpr guid guid_v{ 0x917281E0,0x7201,0x4953,{ 0xAA,0x2C,0x40,0x08,0xF0,0x3A,0xEF,0x45 } }; // 917281E0-7201-4953-AA2C-4008F03AEF45 + template <> inline constexpr guid guid_v{ 0xADD38034,0xBAF0,0x4645,{ 0xB6,0xD0,0x46,0xED,0xAF,0xFB,0x3C,0x2B } }; // ADD38034-BAF0-4645-B6D0-46EDAFFB3C2B + template <> inline constexpr guid guid_v{ 0xC7578582,0x3697,0x42BF,{ 0x98,0x9C,0x66,0x5D,0x92,0x3B,0x52,0x31 } }; // C7578582-3697-42BF-989C-665D923B5231 + template <> inline constexpr guid guid_v{ 0x9FDD74B2,0xEEEE,0x447B,{ 0xA9,0xD2,0x7F,0x96,0xC0,0xF8,0x32,0x08 } }; // 9FDD74B2-EEEE-447B-A9D2-7F96C0F83208 + template <> inline constexpr guid guid_v{ 0xC3C08F89,0x563F,0x4ECD,{ 0x9C,0x6F,0x33,0xFD,0x0E,0x32,0x3D,0x10 } }; // C3C08F89-563F-4ECD-9C6F-33FD0E323D10 + template <> inline constexpr guid guid_v{ 0xB7E27300,0x155D,0x4BB4,{ 0xB2,0xBA,0x93,0x03,0x06,0xF3,0x91,0xB5 } }; // B7E27300-155D-4BB4-B2BA-930306F391B5 + template <> inline constexpr guid guid_v{ 0xFFC50D74,0xC581,0x4F9D,{ 0x9E,0x39,0x30,0xA1,0x0C,0x1E,0x4C,0x50 } }; // FFC50D74-C581-4F9D-9E39-30A10C1E4C50 + template <> inline constexpr guid guid_v{ 0x3C94E863,0x6F80,0x4327,{ 0x93,0x27,0xFF,0xC1,0x1A,0xFD,0x42,0xB3 } }; // 3C94E863-6F80-4327-9327-FFC11AFD42B3 + template <> inline constexpr guid guid_v{ 0xCF0F1A05,0x24A0,0x4582,{ 0x9A,0x55,0xB1,0xBB,0xBB,0x93,0x88,0xD8 } }; // CF0F1A05-24A0-4582-9A55-B1BBBB9388D8 + template <> inline constexpr guid guid_v{ 0x90A60394,0x80FE,0x4211,{ 0x97,0xF8,0xA5,0xDE,0x14,0xDD,0x95,0xD2 } }; // 90A60394-80FE-4211-97F8-A5DE14DD95D2 + template <> inline constexpr guid guid_v{ 0x3AB90816,0xD393,0x4D65,{ 0xAC,0x16,0x41,0xC3,0xE6,0x7A,0xB9,0x45 } }; // 3AB90816-D393-4D65-AC16-41C3E67AB945 + template <> inline constexpr guid guid_v{ 0xD01D3ED0,0x7B03,0x449D,{ 0x8C,0xBD,0x34,0x02,0x84,0x2A,0x10,0x48 } }; // D01D3ED0-7B03-449D-8CBD-3402842A1048 + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetBlobInfoAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetBlobInfoWithIndexAndMaxAsync(uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetItemCountAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Provider(void**) noexcept = 0; + virtual int32_t __stdcall SubmitUpdatesAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ReadAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SubmitPropertySetUpdatesAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateBlobInfoQuery(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_TotalSize(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_LastModifiedTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_NeedsSync(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetContainerInfoAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetContainerInfoWithIndexAndMaxAsync(uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetItemCountAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_User(void**) noexcept = 0; + virtual int32_t __stdcall CreateContainer(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteContainerAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateContainerInfoQuery(void**) noexcept = 0; + virtual int32_t __stdcall CreateContainerInfoQueryWithName(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetRemainingBytesInQuotaAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_ContainersChangedSinceLastSync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUserAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSyncOnDemandForUserAsync(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Size() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery + { + auto GetBlobInfoAsync() const; + auto GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetItemCountAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Provider() const; + auto SubmitUpdatesAsync(param::async_map_view const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; + auto ReadAsync(param::async_map_view const& blobsToRead) const; + auto GetAsync(param::async_iterable const& blobsToRead) const; + auto SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; + auto CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto TotalSize() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto LastModifiedTime() const; + [[nodiscard]] auto NeedsSync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery + { + auto GetContainerInfoAsync() const; + auto GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetItemCountAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider + { + [[nodiscard]] auto User() const; + auto CreateContainer(param::hstring const& name) const; + auto DeleteContainerAsync(param::hstring const& name) const; + auto CreateContainerInfoQuery() const; + auto CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const; + auto GetRemainingBytesInQuotaAsync() const; + [[nodiscard]] auto ContainersChangedSinceLastSync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult; + }; + template + struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics + { + auto GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; + auto GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e25f5742ae0ee1c3527222a54aa290f68bfff30d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_XboxLive_Storage_1_H +#define WINRT_Windows_Gaming_XboxLive_Storage_1_H +#include "winrt/impl/Windows.Gaming.XboxLive.Storage.0.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::XboxLive::Storage +{ + struct WINRT_IMPL_EMPTY_BASES IGameSaveBlobGetResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveBlobGetResult(std::nullptr_t = nullptr) noexcept {} + IGameSaveBlobGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveBlobInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveBlobInfo(std::nullptr_t = nullptr) noexcept {} + IGameSaveBlobInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveBlobInfoGetResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveBlobInfoGetResult(std::nullptr_t = nullptr) noexcept {} + IGameSaveBlobInfoGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveBlobInfoQuery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveBlobInfoQuery(std::nullptr_t = nullptr) noexcept {} + IGameSaveBlobInfoQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveContainer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveContainer(std::nullptr_t = nullptr) noexcept {} + IGameSaveContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveContainerInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveContainerInfo(std::nullptr_t = nullptr) noexcept {} + IGameSaveContainerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveContainerInfoGetResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveContainerInfoGetResult(std::nullptr_t = nullptr) noexcept {} + IGameSaveContainerInfoGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveContainerInfoQuery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveContainerInfoQuery(std::nullptr_t = nullptr) noexcept {} + IGameSaveContainerInfoQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveOperationResult(std::nullptr_t = nullptr) noexcept {} + IGameSaveOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveProvider(std::nullptr_t = nullptr) noexcept {} + IGameSaveProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveProviderGetResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveProviderGetResult(std::nullptr_t = nullptr) noexcept {} + IGameSaveProviderGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameSaveProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameSaveProviderStatics(std::nullptr_t = nullptr) noexcept {} + IGameSaveProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0c8eae574167b1a0c325dcb96c0913f5df9e8aca --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.gaming.xboxlive.storage.2.h @@ -0,0 +1,71 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Gaming_XboxLive_Storage_2_H +#define WINRT_Windows_Gaming_XboxLive_Storage_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Gaming.XboxLive.Storage.1.h" +WINRT_EXPORT namespace winrt::Windows::Gaming::XboxLive::Storage +{ + struct WINRT_IMPL_EMPTY_BASES GameSaveBlobGetResult : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult + { + GameSaveBlobGetResult(std::nullptr_t) noexcept {} + GameSaveBlobGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveBlobInfo : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo + { + GameSaveBlobInfo(std::nullptr_t) noexcept {} + GameSaveBlobInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveBlobInfoGetResult : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult + { + GameSaveBlobInfoGetResult(std::nullptr_t) noexcept {} + GameSaveBlobInfoGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveBlobInfoQuery : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery + { + GameSaveBlobInfoQuery(std::nullptr_t) noexcept {} + GameSaveBlobInfoQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveContainer : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer + { + GameSaveContainer(std::nullptr_t) noexcept {} + GameSaveContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveContainerInfo : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo + { + GameSaveContainerInfo(std::nullptr_t) noexcept {} + GameSaveContainerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveContainerInfoGetResult : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult + { + GameSaveContainerInfoGetResult(std::nullptr_t) noexcept {} + GameSaveContainerInfoGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveContainerInfoQuery : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery + { + GameSaveContainerInfoQuery(std::nullptr_t) noexcept {} + GameSaveContainerInfoQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveOperationResult : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult + { + GameSaveOperationResult(std::nullptr_t) noexcept {} + GameSaveOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveProvider : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider + { + GameSaveProvider(std::nullptr_t) noexcept {} + GameSaveProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider(ptr, take_ownership_from_abi) {} + static auto GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId); + static auto GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId); + }; + struct WINRT_IMPL_EMPTY_BASES GameSaveProviderGetResult : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult + { + GameSaveProviderGetResult(std::nullptr_t) noexcept {} + GameSaveProviderGetResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.0.h new file mode 100644 index 0000000000000000000000000000000000000000..73d7a63990801d64f9f1f170b57600bb78e515f7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.0.h @@ -0,0 +1,1359 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_0_H +#define WINRT_Windows_Globalization_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + enum class DayOfWeek : int32_t + { + Sunday = 0, + Monday = 1, + Tuesday = 2, + Wednesday = 3, + Thursday = 4, + Friday = 5, + Saturday = 6, + }; + enum class LanguageLayoutDirection : int32_t + { + Ltr = 0, + Rtl = 1, + TtbLtr = 2, + TtbRtl = 3, + }; + struct IApplicationLanguagesStatics; + struct IApplicationLanguagesStatics2; + struct ICalendar; + struct ICalendarFactory; + struct ICalendarFactory2; + struct ICalendarIdentifiersStatics; + struct ICalendarIdentifiersStatics2; + struct ICalendarIdentifiersStatics3; + struct IClockIdentifiersStatics; + struct ICurrencyAmount; + struct ICurrencyAmountFactory; + struct ICurrencyIdentifiersStatics; + struct ICurrencyIdentifiersStatics2; + struct ICurrencyIdentifiersStatics3; + struct IGeographicRegion; + struct IGeographicRegionFactory; + struct IGeographicRegionStatics; + struct IJapanesePhoneme; + struct IJapanesePhoneticAnalyzerStatics; + struct ILanguage; + struct ILanguage2; + struct ILanguage3; + struct ILanguageExtensionSubtags; + struct ILanguageFactory; + struct ILanguageStatics; + struct ILanguageStatics2; + struct ILanguageStatics3; + struct INumeralSystemIdentifiersStatics; + struct INumeralSystemIdentifiersStatics2; + struct ITimeZoneOnCalendar; + struct ApplicationLanguages; + struct Calendar; + struct CalendarIdentifiers; + struct ClockIdentifiers; + struct CurrencyAmount; + struct CurrencyIdentifiers; + struct GeographicRegion; + struct JapanesePhoneme; + struct JapanesePhoneticAnalyzer; + struct Language; + struct NumeralSystemIdentifiers; + struct GlobalizationJapanesePhoneticAnalyzerContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ApplicationLanguages"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Calendar"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.CalendarIdentifiers"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ClockIdentifiers"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.CurrencyAmount"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.CurrencyIdentifiers"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.GeographicRegion"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.JapanesePhoneme"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.JapanesePhoneticAnalyzer"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Language"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumeralSystemIdentifiers"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DayOfWeek"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.LanguageLayoutDirection"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IApplicationLanguagesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IApplicationLanguagesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendar"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendarFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendarFactory2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendarIdentifiersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendarIdentifiersStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICalendarIdentifiersStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IClockIdentifiersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICurrencyAmount"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICurrencyAmountFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICurrencyIdentifiersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICurrencyIdentifiersStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ICurrencyIdentifiersStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IGeographicRegion"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IGeographicRegionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IGeographicRegionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IJapanesePhoneme"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.IJapanesePhoneticAnalyzerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguage"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguage2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguage3"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguageExtensionSubtags"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguageStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguageStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ILanguageStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.INumeralSystemIdentifiersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.INumeralSystemIdentifiersStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.ITimeZoneOnCalendar"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract"; + template <> inline constexpr guid guid_v{ 0x75B40847,0x0A4C,0x4A92,{ 0x95,0x65,0xFD,0x63,0xC9,0x5F,0x7A,0xED } }; // 75B40847-0A4C-4A92-9565-FD63C95F7AED + template <> inline constexpr guid guid_v{ 0x1DF0DE4F,0x072B,0x4D7B,{ 0x8F,0x06,0xCB,0x2D,0xB4,0x0F,0x2B,0xB5 } }; // 1DF0DE4F-072B-4D7B-8F06-CB2DB40F2BB5 + template <> inline constexpr guid guid_v{ 0xCA30221D,0x86D9,0x40FB,{ 0xA2,0x6B,0xD4,0x4E,0xB7,0xCF,0x08,0xEA } }; // CA30221D-86D9-40FB-A26B-D44EB7CF08EA + template <> inline constexpr guid guid_v{ 0x83F58412,0xE56B,0x4C75,{ 0xA6,0x6E,0x0F,0x63,0xD5,0x77,0x58,0xA6 } }; // 83F58412-E56B-4C75-A66E-0F63D57758A6 + template <> inline constexpr guid guid_v{ 0xB44B378C,0xCA7E,0x4590,{ 0x9E,0x72,0xEA,0x2B,0xEC,0x1A,0x51,0x15 } }; // B44B378C-CA7E-4590-9E72-EA2BEC1A5115 + template <> inline constexpr guid guid_v{ 0x80653F68,0x2CB2,0x4C1F,{ 0xB5,0x90,0xF0,0xF5,0x2B,0xF4,0xFD,0x1A } }; // 80653F68-2CB2-4C1F-B590-F0F52BF4FD1A + template <> inline constexpr guid guid_v{ 0x7DF4D488,0x5FD0,0x42A7,{ 0x95,0xB5,0x7D,0x98,0xD8,0x23,0x07,0x5F } }; // 7DF4D488-5FD0-42A7-95B5-7D98D823075F + template <> inline constexpr guid guid_v{ 0x2C225423,0x1FAD,0x40C0,{ 0x93,0x34,0xA8,0xEB,0x90,0xDB,0x04,0xF5 } }; // 2C225423-1FAD-40C0-9334-A8EB90DB04F5 + template <> inline constexpr guid guid_v{ 0x523805BB,0x12EC,0x4F83,{ 0xBC,0x31,0xB1,0xB4,0x37,0x6B,0x08,0x08 } }; // 523805BB-12EC-4F83-BC31-B1B4376B0808 + template <> inline constexpr guid guid_v{ 0x74B49942,0xEB75,0x443A,{ 0x95,0xB3,0x7D,0x72,0x3F,0x56,0xF9,0x3C } }; // 74B49942-EB75-443A-95B3-7D723F56F93C + template <> inline constexpr guid guid_v{ 0x48D7168F,0xEF3B,0x4AEE,{ 0xA6,0xA1,0x4B,0x03,0x6F,0xE0,0x3F,0xF0 } }; // 48D7168F-EF3B-4AEE-A6A1-4B036FE03FF0 + template <> inline constexpr guid guid_v{ 0x9F1D091B,0xD586,0x4913,{ 0x9B,0x6A,0xA9,0xBD,0x2D,0xC1,0x28,0x74 } }; // 9F1D091B-D586-4913-9B6A-A9BD2DC12874 + template <> inline constexpr guid guid_v{ 0x1814797F,0xC3B2,0x4C33,{ 0x95,0x91,0x98,0x00,0x11,0x95,0x0D,0x37 } }; // 1814797F-C3B2-4C33-9591-980011950D37 + template <> inline constexpr guid guid_v{ 0x4FB23BFA,0xED25,0x4F4D,{ 0x85,0x7F,0x23,0x7F,0x17,0x48,0xC2,0x1C } }; // 4FB23BFA-ED25-4F4D-857F-237F1748C21C + template <> inline constexpr guid guid_v{ 0x01E9A621,0x4A64,0x4ED9,{ 0x95,0x4F,0x9E,0xDE,0xB0,0x7B,0xD9,0x03 } }; // 01E9A621-4A64-4ED9-954F-9EDEB07BD903 + template <> inline constexpr guid guid_v{ 0x53425270,0x77B4,0x426B,{ 0x85,0x9F,0x81,0xE1,0x9D,0x51,0x25,0x46 } }; // 53425270-77B4-426B-859F-81E19D512546 + template <> inline constexpr guid guid_v{ 0x29E28974,0x7AD9,0x4EF4,{ 0x87,0x99,0xB3,0xB4,0x4F,0xAD,0xEC,0x08 } }; // 29E28974-7AD9-4EF4-8799-B3B44FADEC08 + template <> inline constexpr guid guid_v{ 0x2F6A9300,0xE85B,0x43E6,{ 0x89,0x7D,0x5D,0x82,0xF8,0x62,0xDF,0x21 } }; // 2F6A9300-E85B-43E6-897D-5D82F862DF21 + template <> inline constexpr guid guid_v{ 0x88AB9E90,0x93DE,0x41B2,{ 0xB4,0xD5,0x8E,0xDB,0x22,0x7F,0xD1,0xC2 } }; // 88AB9E90-93DE-41B2-B4D5-8EDB227FD1C2 + template <> inline constexpr guid guid_v{ 0xEA79A752,0xF7C2,0x4265,{ 0xB1,0xBD,0xC4,0xDE,0xC4,0xE4,0xF0,0x80 } }; // EA79A752-F7C2-4265-B1BD-C4DEC4E4F080 + template <> inline constexpr guid guid_v{ 0x6A47E5B5,0xD94D,0x4886,{ 0xA4,0x04,0xA5,0xA5,0xB9,0xD5,0xB4,0x94 } }; // 6A47E5B5-D94D-4886-A404-A5A5B9D5B494 + template <> inline constexpr guid guid_v{ 0xC6AF3D10,0x641A,0x5BA4,{ 0xBB,0x43,0x5E,0x12,0xAE,0xD7,0x59,0x54 } }; // C6AF3D10-641A-5BA4-BB43-5E12AED75954 + template <> inline constexpr guid guid_v{ 0x7D7DAF45,0x368D,0x4364,{ 0x85,0x2B,0xDE,0xC9,0x27,0x03,0x7B,0x85 } }; // 7D7DAF45-368D-4364-852B-DEC927037B85 + template <> inline constexpr guid guid_v{ 0x9B0252AC,0x0C27,0x44F8,{ 0xB7,0x92,0x97,0x93,0xFB,0x66,0xC6,0x3E } }; // 9B0252AC-0C27-44F8-B792-9793FB66C63E + template <> inline constexpr guid guid_v{ 0xB23CD557,0x0865,0x46D4,{ 0x89,0xB8,0xD5,0x9B,0xE8,0x99,0x0F,0x0D } }; // B23CD557-0865-46D4-89B8-D59BE8990F0D + template <> inline constexpr guid guid_v{ 0x30199F6E,0x914B,0x4B2A,{ 0x9D,0x6E,0xE3,0xB0,0xE2,0x7D,0xBE,0x4F } }; // 30199F6E-914B-4B2A-9D6E-E3B0E27DBE4F + template <> inline constexpr guid guid_v{ 0xD15ECB5A,0x71DE,0x5752,{ 0x95,0x42,0xFA,0xC5,0xB4,0xF2,0x72,0x61 } }; // D15ECB5A-71DE-5752-9542-FAC5B4F27261 + template <> inline constexpr guid guid_v{ 0xA5C662C3,0x68C9,0x4D3D,{ 0xB7,0x65,0x97,0x20,0x29,0xE2,0x1D,0xEC } }; // A5C662C3-68C9-4D3D-B765-972029E21DEC + template <> inline constexpr guid guid_v{ 0x7F003228,0x9DDB,0x4A34,{ 0x91,0x04,0x02,0x60,0xC0,0x91,0xA7,0xC7 } }; // 7F003228-9DDB-4A34-9104-0260C091A7C7 + template <> inline constexpr guid guid_v{ 0xBB3C25E5,0x46CF,0x4317,{ 0xA3,0xF5,0x02,0x62,0x1A,0xD5,0x44,0x78 } }; // BB3C25E5-46CF-4317-A3F5-02621AD54478 + template <> struct default_interface{ using type = winrt::Windows::Globalization::ICalendar; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::ICurrencyAmount; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::IGeographicRegion; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::IJapanesePhoneme; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::ILanguage; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrimaryLanguageOverride(void**) noexcept = 0; + virtual int32_t __stdcall put_PrimaryLanguageOverride(void*) noexcept = 0; + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall get_ManifestLanguages(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetLanguagesForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall SetToMin() noexcept = 0; + virtual int32_t __stdcall SetToMax() noexcept = 0; + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall get_NumeralSystem(void**) noexcept = 0; + virtual int32_t __stdcall put_NumeralSystem(void*) noexcept = 0; + virtual int32_t __stdcall GetCalendarSystem(void**) noexcept = 0; + virtual int32_t __stdcall ChangeCalendarSystem(void*) noexcept = 0; + virtual int32_t __stdcall GetClock(void**) noexcept = 0; + virtual int32_t __stdcall ChangeClock(void*) noexcept = 0; + virtual int32_t __stdcall GetDateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall SetDateTime(int64_t) noexcept = 0; + virtual int32_t __stdcall SetToNow() noexcept = 0; + virtual int32_t __stdcall get_FirstEra(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastEra(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfEras(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Era(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Era(int32_t) noexcept = 0; + virtual int32_t __stdcall AddEras(int32_t) noexcept = 0; + virtual int32_t __stdcall EraAsFullString(void**) noexcept = 0; + virtual int32_t __stdcall EraAsString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_FirstYearInThisEra(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastYearInThisEra(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfYearsInThisEra(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Year(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Year(int32_t) noexcept = 0; + virtual int32_t __stdcall AddYears(int32_t) noexcept = 0; + virtual int32_t __stdcall YearAsString(void**) noexcept = 0; + virtual int32_t __stdcall YearAsTruncatedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall YearAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_FirstMonthInThisYear(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastMonthInThisYear(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfMonthsInThisYear(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Month(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Month(int32_t) noexcept = 0; + virtual int32_t __stdcall AddMonths(int32_t) noexcept = 0; + virtual int32_t __stdcall MonthAsFullString(void**) noexcept = 0; + virtual int32_t __stdcall MonthAsString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall MonthAsFullSoloString(void**) noexcept = 0; + virtual int32_t __stdcall MonthAsSoloString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall MonthAsNumericString(void**) noexcept = 0; + virtual int32_t __stdcall MonthAsPaddedNumericString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall AddWeeks(int32_t) noexcept = 0; + virtual int32_t __stdcall get_FirstDayInThisMonth(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastDayInThisMonth(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfDaysInThisMonth(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Day(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Day(int32_t) noexcept = 0; + virtual int32_t __stdcall AddDays(int32_t) noexcept = 0; + virtual int32_t __stdcall DayAsString(void**) noexcept = 0; + virtual int32_t __stdcall DayAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_DayOfWeek(int32_t*) noexcept = 0; + virtual int32_t __stdcall DayOfWeekAsFullString(void**) noexcept = 0; + virtual int32_t __stdcall DayOfWeekAsString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall DayOfWeekAsFullSoloString(void**) noexcept = 0; + virtual int32_t __stdcall DayOfWeekAsSoloString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_FirstPeriodInThisDay(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastPeriodInThisDay(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfPeriodsInThisDay(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Period(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Period(int32_t) noexcept = 0; + virtual int32_t __stdcall AddPeriods(int32_t) noexcept = 0; + virtual int32_t __stdcall PeriodAsFullString(void**) noexcept = 0; + virtual int32_t __stdcall PeriodAsString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_FirstHourInThisPeriod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastHourInThisPeriod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfHoursInThisPeriod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Hour(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Hour(int32_t) noexcept = 0; + virtual int32_t __stdcall AddHours(int32_t) noexcept = 0; + virtual int32_t __stdcall HourAsString(void**) noexcept = 0; + virtual int32_t __stdcall HourAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Minute(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Minute(int32_t) noexcept = 0; + virtual int32_t __stdcall AddMinutes(int32_t) noexcept = 0; + virtual int32_t __stdcall MinuteAsString(void**) noexcept = 0; + virtual int32_t __stdcall MinuteAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Second(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Second(int32_t) noexcept = 0; + virtual int32_t __stdcall AddSeconds(int32_t) noexcept = 0; + virtual int32_t __stdcall SecondAsString(void**) noexcept = 0; + virtual int32_t __stdcall SecondAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Nanosecond(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Nanosecond(int32_t) noexcept = 0; + virtual int32_t __stdcall AddNanoseconds(int32_t) noexcept = 0; + virtual int32_t __stdcall NanosecondAsString(void**) noexcept = 0; + virtual int32_t __stdcall NanosecondAsPaddedString(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall Compare(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall CompareDateTime(int64_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall CopyTo(void*) noexcept = 0; + virtual int32_t __stdcall get_FirstMinuteInThisHour(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastMinuteInThisHour(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfMinutesInThisHour(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FirstSecondInThisMinute(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastSecondInThisMinute(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NumberOfSecondsInThisMinute(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_IsDaylightSavingTime(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCalendarDefaultCalendarAndClock(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCalendar(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCalendarWithTimeZone(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Gregorian(void**) noexcept = 0; + virtual int32_t __stdcall get_Hebrew(void**) noexcept = 0; + virtual int32_t __stdcall get_Hijri(void**) noexcept = 0; + virtual int32_t __stdcall get_Japanese(void**) noexcept = 0; + virtual int32_t __stdcall get_Julian(void**) noexcept = 0; + virtual int32_t __stdcall get_Korean(void**) noexcept = 0; + virtual int32_t __stdcall get_Taiwan(void**) noexcept = 0; + virtual int32_t __stdcall get_Thai(void**) noexcept = 0; + virtual int32_t __stdcall get_UmAlQura(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Persian(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ChineseLunar(void**) noexcept = 0; + virtual int32_t __stdcall get_JapaneseLunar(void**) noexcept = 0; + virtual int32_t __stdcall get_KoreanLunar(void**) noexcept = 0; + virtual int32_t __stdcall get_TaiwanLunar(void**) noexcept = 0; + virtual int32_t __stdcall get_VietnameseLunar(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TwelveHour(void**) noexcept = 0; + virtual int32_t __stdcall get_TwentyFourHour(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Amount(void**) noexcept = 0; + virtual int32_t __stdcall get_Currency(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AED(void**) noexcept = 0; + virtual int32_t __stdcall get_AFN(void**) noexcept = 0; + virtual int32_t __stdcall get_ALL(void**) noexcept = 0; + virtual int32_t __stdcall get_AMD(void**) noexcept = 0; + virtual int32_t __stdcall get_ANG(void**) noexcept = 0; + virtual int32_t __stdcall get_AOA(void**) noexcept = 0; + virtual int32_t __stdcall get_ARS(void**) noexcept = 0; + virtual int32_t __stdcall get_AUD(void**) noexcept = 0; + virtual int32_t __stdcall get_AWG(void**) noexcept = 0; + virtual int32_t __stdcall get_AZN(void**) noexcept = 0; + virtual int32_t __stdcall get_BAM(void**) noexcept = 0; + virtual int32_t __stdcall get_BBD(void**) noexcept = 0; + virtual int32_t __stdcall get_BDT(void**) noexcept = 0; + virtual int32_t __stdcall get_BGN(void**) noexcept = 0; + virtual int32_t __stdcall get_BHD(void**) noexcept = 0; + virtual int32_t __stdcall get_BIF(void**) noexcept = 0; + virtual int32_t __stdcall get_BMD(void**) noexcept = 0; + virtual int32_t __stdcall get_BND(void**) noexcept = 0; + virtual int32_t __stdcall get_BOB(void**) noexcept = 0; + virtual int32_t __stdcall get_BRL(void**) noexcept = 0; + virtual int32_t __stdcall get_BSD(void**) noexcept = 0; + virtual int32_t __stdcall get_BTN(void**) noexcept = 0; + virtual int32_t __stdcall get_BWP(void**) noexcept = 0; + virtual int32_t __stdcall get_BYR(void**) noexcept = 0; + virtual int32_t __stdcall get_BZD(void**) noexcept = 0; + virtual int32_t __stdcall get_CAD(void**) noexcept = 0; + virtual int32_t __stdcall get_CDF(void**) noexcept = 0; + virtual int32_t __stdcall get_CHF(void**) noexcept = 0; + virtual int32_t __stdcall get_CLP(void**) noexcept = 0; + virtual int32_t __stdcall get_CNY(void**) noexcept = 0; + virtual int32_t __stdcall get_COP(void**) noexcept = 0; + virtual int32_t __stdcall get_CRC(void**) noexcept = 0; + virtual int32_t __stdcall get_CUP(void**) noexcept = 0; + virtual int32_t __stdcall get_CVE(void**) noexcept = 0; + virtual int32_t __stdcall get_CZK(void**) noexcept = 0; + virtual int32_t __stdcall get_DJF(void**) noexcept = 0; + virtual int32_t __stdcall get_DKK(void**) noexcept = 0; + virtual int32_t __stdcall get_DOP(void**) noexcept = 0; + virtual int32_t __stdcall get_DZD(void**) noexcept = 0; + virtual int32_t __stdcall get_EGP(void**) noexcept = 0; + virtual int32_t __stdcall get_ERN(void**) noexcept = 0; + virtual int32_t __stdcall get_ETB(void**) noexcept = 0; + virtual int32_t __stdcall get_EUR(void**) noexcept = 0; + virtual int32_t __stdcall get_FJD(void**) noexcept = 0; + virtual int32_t __stdcall get_FKP(void**) noexcept = 0; + virtual int32_t __stdcall get_GBP(void**) noexcept = 0; + virtual int32_t __stdcall get_GEL(void**) noexcept = 0; + virtual int32_t __stdcall get_GHS(void**) noexcept = 0; + virtual int32_t __stdcall get_GIP(void**) noexcept = 0; + virtual int32_t __stdcall get_GMD(void**) noexcept = 0; + virtual int32_t __stdcall get_GNF(void**) noexcept = 0; + virtual int32_t __stdcall get_GTQ(void**) noexcept = 0; + virtual int32_t __stdcall get_GYD(void**) noexcept = 0; + virtual int32_t __stdcall get_HKD(void**) noexcept = 0; + virtual int32_t __stdcall get_HNL(void**) noexcept = 0; + virtual int32_t __stdcall get_HRK(void**) noexcept = 0; + virtual int32_t __stdcall get_HTG(void**) noexcept = 0; + virtual int32_t __stdcall get_HUF(void**) noexcept = 0; + virtual int32_t __stdcall get_IDR(void**) noexcept = 0; + virtual int32_t __stdcall get_ILS(void**) noexcept = 0; + virtual int32_t __stdcall get_INR(void**) noexcept = 0; + virtual int32_t __stdcall get_IQD(void**) noexcept = 0; + virtual int32_t __stdcall get_IRR(void**) noexcept = 0; + virtual int32_t __stdcall get_ISK(void**) noexcept = 0; + virtual int32_t __stdcall get_JMD(void**) noexcept = 0; + virtual int32_t __stdcall get_JOD(void**) noexcept = 0; + virtual int32_t __stdcall get_JPY(void**) noexcept = 0; + virtual int32_t __stdcall get_KES(void**) noexcept = 0; + virtual int32_t __stdcall get_KGS(void**) noexcept = 0; + virtual int32_t __stdcall get_KHR(void**) noexcept = 0; + virtual int32_t __stdcall get_KMF(void**) noexcept = 0; + virtual int32_t __stdcall get_KPW(void**) noexcept = 0; + virtual int32_t __stdcall get_KRW(void**) noexcept = 0; + virtual int32_t __stdcall get_KWD(void**) noexcept = 0; + virtual int32_t __stdcall get_KYD(void**) noexcept = 0; + virtual int32_t __stdcall get_KZT(void**) noexcept = 0; + virtual int32_t __stdcall get_LAK(void**) noexcept = 0; + virtual int32_t __stdcall get_LBP(void**) noexcept = 0; + virtual int32_t __stdcall get_LKR(void**) noexcept = 0; + virtual int32_t __stdcall get_LRD(void**) noexcept = 0; + virtual int32_t __stdcall get_LSL(void**) noexcept = 0; + virtual int32_t __stdcall get_LTL(void**) noexcept = 0; + virtual int32_t __stdcall get_LVL(void**) noexcept = 0; + virtual int32_t __stdcall get_LYD(void**) noexcept = 0; + virtual int32_t __stdcall get_MAD(void**) noexcept = 0; + virtual int32_t __stdcall get_MDL(void**) noexcept = 0; + virtual int32_t __stdcall get_MGA(void**) noexcept = 0; + virtual int32_t __stdcall get_MKD(void**) noexcept = 0; + virtual int32_t __stdcall get_MMK(void**) noexcept = 0; + virtual int32_t __stdcall get_MNT(void**) noexcept = 0; + virtual int32_t __stdcall get_MOP(void**) noexcept = 0; + virtual int32_t __stdcall get_MRO(void**) noexcept = 0; + virtual int32_t __stdcall get_MUR(void**) noexcept = 0; + virtual int32_t __stdcall get_MVR(void**) noexcept = 0; + virtual int32_t __stdcall get_MWK(void**) noexcept = 0; + virtual int32_t __stdcall get_MXN(void**) noexcept = 0; + virtual int32_t __stdcall get_MYR(void**) noexcept = 0; + virtual int32_t __stdcall get_MZN(void**) noexcept = 0; + virtual int32_t __stdcall get_NAD(void**) noexcept = 0; + virtual int32_t __stdcall get_NGN(void**) noexcept = 0; + virtual int32_t __stdcall get_NIO(void**) noexcept = 0; + virtual int32_t __stdcall get_NOK(void**) noexcept = 0; + virtual int32_t __stdcall get_NPR(void**) noexcept = 0; + virtual int32_t __stdcall get_NZD(void**) noexcept = 0; + virtual int32_t __stdcall get_OMR(void**) noexcept = 0; + virtual int32_t __stdcall get_PAB(void**) noexcept = 0; + virtual int32_t __stdcall get_PEN(void**) noexcept = 0; + virtual int32_t __stdcall get_PGK(void**) noexcept = 0; + virtual int32_t __stdcall get_PHP(void**) noexcept = 0; + virtual int32_t __stdcall get_PKR(void**) noexcept = 0; + virtual int32_t __stdcall get_PLN(void**) noexcept = 0; + virtual int32_t __stdcall get_PYG(void**) noexcept = 0; + virtual int32_t __stdcall get_QAR(void**) noexcept = 0; + virtual int32_t __stdcall get_RON(void**) noexcept = 0; + virtual int32_t __stdcall get_RSD(void**) noexcept = 0; + virtual int32_t __stdcall get_RUB(void**) noexcept = 0; + virtual int32_t __stdcall get_RWF(void**) noexcept = 0; + virtual int32_t __stdcall get_SAR(void**) noexcept = 0; + virtual int32_t __stdcall get_SBD(void**) noexcept = 0; + virtual int32_t __stdcall get_SCR(void**) noexcept = 0; + virtual int32_t __stdcall get_SDG(void**) noexcept = 0; + virtual int32_t __stdcall get_SEK(void**) noexcept = 0; + virtual int32_t __stdcall get_SGD(void**) noexcept = 0; + virtual int32_t __stdcall get_SHP(void**) noexcept = 0; + virtual int32_t __stdcall get_SLL(void**) noexcept = 0; + virtual int32_t __stdcall get_SOS(void**) noexcept = 0; + virtual int32_t __stdcall get_SRD(void**) noexcept = 0; + virtual int32_t __stdcall get_STD(void**) noexcept = 0; + virtual int32_t __stdcall get_SYP(void**) noexcept = 0; + virtual int32_t __stdcall get_SZL(void**) noexcept = 0; + virtual int32_t __stdcall get_THB(void**) noexcept = 0; + virtual int32_t __stdcall get_TJS(void**) noexcept = 0; + virtual int32_t __stdcall get_TMT(void**) noexcept = 0; + virtual int32_t __stdcall get_TND(void**) noexcept = 0; + virtual int32_t __stdcall get_TOP(void**) noexcept = 0; + virtual int32_t __stdcall get_TRY(void**) noexcept = 0; + virtual int32_t __stdcall get_TTD(void**) noexcept = 0; + virtual int32_t __stdcall get_TWD(void**) noexcept = 0; + virtual int32_t __stdcall get_TZS(void**) noexcept = 0; + virtual int32_t __stdcall get_UAH(void**) noexcept = 0; + virtual int32_t __stdcall get_UGX(void**) noexcept = 0; + virtual int32_t __stdcall get_USD(void**) noexcept = 0; + virtual int32_t __stdcall get_UYU(void**) noexcept = 0; + virtual int32_t __stdcall get_UZS(void**) noexcept = 0; + virtual int32_t __stdcall get_VEF(void**) noexcept = 0; + virtual int32_t __stdcall get_VND(void**) noexcept = 0; + virtual int32_t __stdcall get_VUV(void**) noexcept = 0; + virtual int32_t __stdcall get_WST(void**) noexcept = 0; + virtual int32_t __stdcall get_XAF(void**) noexcept = 0; + virtual int32_t __stdcall get_XCD(void**) noexcept = 0; + virtual int32_t __stdcall get_XOF(void**) noexcept = 0; + virtual int32_t __stdcall get_XPF(void**) noexcept = 0; + virtual int32_t __stdcall get_XXX(void**) noexcept = 0; + virtual int32_t __stdcall get_YER(void**) noexcept = 0; + virtual int32_t __stdcall get_ZAR(void**) noexcept = 0; + virtual int32_t __stdcall get_ZMW(void**) noexcept = 0; + virtual int32_t __stdcall get_ZWL(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BYN(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MRU(void**) noexcept = 0; + virtual int32_t __stdcall get_SSP(void**) noexcept = 0; + virtual int32_t __stdcall get_STN(void**) noexcept = 0; + virtual int32_t __stdcall get_VES(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Code(void**) noexcept = 0; + virtual int32_t __stdcall get_CodeTwoLetter(void**) noexcept = 0; + virtual int32_t __stdcall get_CodeThreeLetter(void**) noexcept = 0; + virtual int32_t __stdcall get_CodeThreeDigit(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_NativeName(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrenciesInUse(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateGeographicRegion(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayText(void**) noexcept = 0; + virtual int32_t __stdcall get_YomiText(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPhraseStart(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetWords(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetWordsWithMonoRubyOption(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LanguageTag(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_NativeName(void**) noexcept = 0; + virtual int32_t __stdcall get_Script(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LayoutDirection(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbbreviatedName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetExtensionSubtags(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLanguage(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsWellFormed(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_CurrentInputMethodLanguageTag(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TrySetInputMethodLanguageTag(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetMuiCompatibleLanguageListFromLanguageTags(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Arab(void**) noexcept = 0; + virtual int32_t __stdcall get_ArabExt(void**) noexcept = 0; + virtual int32_t __stdcall get_Bali(void**) noexcept = 0; + virtual int32_t __stdcall get_Beng(void**) noexcept = 0; + virtual int32_t __stdcall get_Cham(void**) noexcept = 0; + virtual int32_t __stdcall get_Deva(void**) noexcept = 0; + virtual int32_t __stdcall get_FullWide(void**) noexcept = 0; + virtual int32_t __stdcall get_Gujr(void**) noexcept = 0; + virtual int32_t __stdcall get_Guru(void**) noexcept = 0; + virtual int32_t __stdcall get_HaniDec(void**) noexcept = 0; + virtual int32_t __stdcall get_Java(void**) noexcept = 0; + virtual int32_t __stdcall get_Kali(void**) noexcept = 0; + virtual int32_t __stdcall get_Khmr(void**) noexcept = 0; + virtual int32_t __stdcall get_Knda(void**) noexcept = 0; + virtual int32_t __stdcall get_Lana(void**) noexcept = 0; + virtual int32_t __stdcall get_LanaTham(void**) noexcept = 0; + virtual int32_t __stdcall get_Laoo(void**) noexcept = 0; + virtual int32_t __stdcall get_Latn(void**) noexcept = 0; + virtual int32_t __stdcall get_Lepc(void**) noexcept = 0; + virtual int32_t __stdcall get_Limb(void**) noexcept = 0; + virtual int32_t __stdcall get_Mlym(void**) noexcept = 0; + virtual int32_t __stdcall get_Mong(void**) noexcept = 0; + virtual int32_t __stdcall get_Mtei(void**) noexcept = 0; + virtual int32_t __stdcall get_Mymr(void**) noexcept = 0; + virtual int32_t __stdcall get_MymrShan(void**) noexcept = 0; + virtual int32_t __stdcall get_Nkoo(void**) noexcept = 0; + virtual int32_t __stdcall get_Olck(void**) noexcept = 0; + virtual int32_t __stdcall get_Orya(void**) noexcept = 0; + virtual int32_t __stdcall get_Saur(void**) noexcept = 0; + virtual int32_t __stdcall get_Sund(void**) noexcept = 0; + virtual int32_t __stdcall get_Talu(void**) noexcept = 0; + virtual int32_t __stdcall get_TamlDec(void**) noexcept = 0; + virtual int32_t __stdcall get_Telu(void**) noexcept = 0; + virtual int32_t __stdcall get_Thai(void**) noexcept = 0; + virtual int32_t __stdcall get_Tibt(void**) noexcept = 0; + virtual int32_t __stdcall get_Vaii(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Brah(void**) noexcept = 0; + virtual int32_t __stdcall get_Osma(void**) noexcept = 0; + virtual int32_t __stdcall get_MathBold(void**) noexcept = 0; + virtual int32_t __stdcall get_MathDbl(void**) noexcept = 0; + virtual int32_t __stdcall get_MathSans(void**) noexcept = 0; + virtual int32_t __stdcall get_MathSanb(void**) noexcept = 0; + virtual int32_t __stdcall get_MathMono(void**) noexcept = 0; + virtual int32_t __stdcall get_ZmthBold(void**) noexcept = 0; + virtual int32_t __stdcall get_ZmthDbl(void**) noexcept = 0; + virtual int32_t __stdcall get_ZmthSans(void**) noexcept = 0; + virtual int32_t __stdcall get_ZmthSanb(void**) noexcept = 0; + virtual int32_t __stdcall get_ZmthMono(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTimeZone(void**) noexcept = 0; + virtual int32_t __stdcall ChangeTimeZone(void*) noexcept = 0; + virtual int32_t __stdcall TimeZoneAsFullString(void**) noexcept = 0; + virtual int32_t __stdcall TimeZoneAsString(int32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_IApplicationLanguagesStatics + { + [[nodiscard]] auto PrimaryLanguageOverride() const; + auto PrimaryLanguageOverride(param::hstring const& value) const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto ManifestLanguages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IApplicationLanguagesStatics; + }; + template + struct consume_Windows_Globalization_IApplicationLanguagesStatics2 + { + auto GetLanguagesForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IApplicationLanguagesStatics2; + }; + template + struct consume_Windows_Globalization_ICalendar + { + auto Clone() const; + auto SetToMin() const; + auto SetToMax() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + auto GetCalendarSystem() const; + auto ChangeCalendarSystem(param::hstring const& value) const; + auto GetClock() const; + auto ChangeClock(param::hstring const& value) const; + auto GetDateTime() const; + auto SetDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto SetToNow() const; + [[nodiscard]] auto FirstEra() const; + [[nodiscard]] auto LastEra() const; + [[nodiscard]] auto NumberOfEras() const; + [[nodiscard]] auto Era() const; + auto Era(int32_t value) const; + auto AddEras(int32_t eras) const; + auto EraAsString() const; + auto EraAsString(int32_t idealLength) const; + [[nodiscard]] auto FirstYearInThisEra() const; + [[nodiscard]] auto LastYearInThisEra() const; + [[nodiscard]] auto NumberOfYearsInThisEra() const; + [[nodiscard]] auto Year() const; + auto Year(int32_t value) const; + auto AddYears(int32_t years) const; + auto YearAsString() const; + auto YearAsTruncatedString(int32_t remainingDigits) const; + auto YearAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto FirstMonthInThisYear() const; + [[nodiscard]] auto LastMonthInThisYear() const; + [[nodiscard]] auto NumberOfMonthsInThisYear() const; + [[nodiscard]] auto Month() const; + auto Month(int32_t value) const; + auto AddMonths(int32_t months) const; + auto MonthAsString() const; + auto MonthAsString(int32_t idealLength) const; + auto MonthAsSoloString() const; + auto MonthAsSoloString(int32_t idealLength) const; + auto MonthAsNumericString() const; + auto MonthAsPaddedNumericString(int32_t minDigits) const; + auto AddWeeks(int32_t weeks) const; + [[nodiscard]] auto FirstDayInThisMonth() const; + [[nodiscard]] auto LastDayInThisMonth() const; + [[nodiscard]] auto NumberOfDaysInThisMonth() const; + [[nodiscard]] auto Day() const; + auto Day(int32_t value) const; + auto AddDays(int32_t days) const; + auto DayAsString() const; + auto DayAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto DayOfWeek() const; + auto DayOfWeekAsString() const; + auto DayOfWeekAsString(int32_t idealLength) const; + auto DayOfWeekAsSoloString() const; + auto DayOfWeekAsSoloString(int32_t idealLength) const; + [[nodiscard]] auto FirstPeriodInThisDay() const; + [[nodiscard]] auto LastPeriodInThisDay() const; + [[nodiscard]] auto NumberOfPeriodsInThisDay() const; + [[nodiscard]] auto Period() const; + auto Period(int32_t value) const; + auto AddPeriods(int32_t periods) const; + auto PeriodAsString() const; + auto PeriodAsString(int32_t idealLength) const; + [[nodiscard]] auto FirstHourInThisPeriod() const; + [[nodiscard]] auto LastHourInThisPeriod() const; + [[nodiscard]] auto NumberOfHoursInThisPeriod() const; + [[nodiscard]] auto Hour() const; + auto Hour(int32_t value) const; + auto AddHours(int32_t hours) const; + auto HourAsString() const; + auto HourAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Minute() const; + auto Minute(int32_t value) const; + auto AddMinutes(int32_t minutes) const; + auto MinuteAsString() const; + auto MinuteAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Second() const; + auto Second(int32_t value) const; + auto AddSeconds(int32_t seconds) const; + auto SecondAsString() const; + auto SecondAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Nanosecond() const; + auto Nanosecond(int32_t value) const; + auto AddNanoseconds(int32_t nanoseconds) const; + auto NanosecondAsString() const; + auto NanosecondAsPaddedString(int32_t minDigits) const; + auto Compare(winrt::Windows::Globalization::Calendar const& other) const; + auto CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const; + auto CopyTo(winrt::Windows::Globalization::Calendar const& other) const; + [[nodiscard]] auto FirstMinuteInThisHour() const; + [[nodiscard]] auto LastMinuteInThisHour() const; + [[nodiscard]] auto NumberOfMinutesInThisHour() const; + [[nodiscard]] auto FirstSecondInThisMinute() const; + [[nodiscard]] auto LastSecondInThisMinute() const; + [[nodiscard]] auto NumberOfSecondsInThisMinute() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto IsDaylightSavingTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendar; + }; + template + struct consume_Windows_Globalization_ICalendarFactory + { + auto CreateCalendarDefaultCalendarAndClock(param::iterable const& languages) const; + auto CreateCalendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendarFactory; + }; + template + struct consume_Windows_Globalization_ICalendarFactory2 + { + auto CreateCalendarWithTimeZone(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendarFactory2; + }; + template + struct consume_Windows_Globalization_ICalendarIdentifiersStatics + { + [[nodiscard]] auto Gregorian() const; + [[nodiscard]] auto Hebrew() const; + [[nodiscard]] auto Hijri() const; + [[nodiscard]] auto Japanese() const; + [[nodiscard]] auto Julian() const; + [[nodiscard]] auto Korean() const; + [[nodiscard]] auto Taiwan() const; + [[nodiscard]] auto Thai() const; + [[nodiscard]] auto UmAlQura() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendarIdentifiersStatics; + }; + template + struct consume_Windows_Globalization_ICalendarIdentifiersStatics2 + { + [[nodiscard]] auto Persian() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendarIdentifiersStatics2; + }; + template + struct consume_Windows_Globalization_ICalendarIdentifiersStatics3 + { + [[nodiscard]] auto ChineseLunar() const; + [[nodiscard]] auto JapaneseLunar() const; + [[nodiscard]] auto KoreanLunar() const; + [[nodiscard]] auto TaiwanLunar() const; + [[nodiscard]] auto VietnameseLunar() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICalendarIdentifiersStatics3; + }; + template + struct consume_Windows_Globalization_IClockIdentifiersStatics + { + [[nodiscard]] auto TwelveHour() const; + [[nodiscard]] auto TwentyFourHour() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IClockIdentifiersStatics; + }; + template + struct consume_Windows_Globalization_ICurrencyAmount + { + [[nodiscard]] auto Amount() const; + [[nodiscard]] auto Currency() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICurrencyAmount; + }; + template + struct consume_Windows_Globalization_ICurrencyAmountFactory + { + auto Create(param::hstring const& amount, param::hstring const& currency) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICurrencyAmountFactory; + }; + template + struct consume_Windows_Globalization_ICurrencyIdentifiersStatics + { + [[nodiscard]] auto AED() const; + [[nodiscard]] auto AFN() const; + [[nodiscard]] auto ALL() const; + [[nodiscard]] auto AMD() const; + [[nodiscard]] auto ANG() const; + [[nodiscard]] auto AOA() const; + [[nodiscard]] auto ARS() const; + [[nodiscard]] auto AUD() const; + [[nodiscard]] auto AWG() const; + [[nodiscard]] auto AZN() const; + [[nodiscard]] auto BAM() const; + [[nodiscard]] auto BBD() const; + [[nodiscard]] auto BDT() const; + [[nodiscard]] auto BGN() const; + [[nodiscard]] auto BHD() const; + [[nodiscard]] auto BIF() const; + [[nodiscard]] auto BMD() const; + [[nodiscard]] auto BND() const; + [[nodiscard]] auto BOB() const; + [[nodiscard]] auto BRL() const; + [[nodiscard]] auto BSD() const; + [[nodiscard]] auto BTN() const; + [[nodiscard]] auto BWP() const; + [[nodiscard]] auto BYR() const; + [[nodiscard]] auto BZD() const; + [[nodiscard]] auto CAD() const; + [[nodiscard]] auto CDF() const; + [[nodiscard]] auto CHF() const; + [[nodiscard]] auto CLP() const; + [[nodiscard]] auto CNY() const; + [[nodiscard]] auto COP() const; + [[nodiscard]] auto CRC() const; + [[nodiscard]] auto CUP() const; + [[nodiscard]] auto CVE() const; + [[nodiscard]] auto CZK() const; + [[nodiscard]] auto DJF() const; + [[nodiscard]] auto DKK() const; + [[nodiscard]] auto DOP() const; + [[nodiscard]] auto DZD() const; + [[nodiscard]] auto EGP() const; + [[nodiscard]] auto ERN() const; + [[nodiscard]] auto ETB() const; + [[nodiscard]] auto EUR() const; + [[nodiscard]] auto FJD() const; + [[nodiscard]] auto FKP() const; + [[nodiscard]] auto GBP() const; + [[nodiscard]] auto GEL() const; + [[nodiscard]] auto GHS() const; + [[nodiscard]] auto GIP() const; + [[nodiscard]] auto GMD() const; + [[nodiscard]] auto GNF() const; + [[nodiscard]] auto GTQ() const; + [[nodiscard]] auto GYD() const; + [[nodiscard]] auto HKD() const; + [[nodiscard]] auto HNL() const; + [[nodiscard]] auto HRK() const; + [[nodiscard]] auto HTG() const; + [[nodiscard]] auto HUF() const; + [[nodiscard]] auto IDR() const; + [[nodiscard]] auto ILS() const; + [[nodiscard]] auto INR() const; + [[nodiscard]] auto IQD() const; + [[nodiscard]] auto IRR() const; + [[nodiscard]] auto ISK() const; + [[nodiscard]] auto JMD() const; + [[nodiscard]] auto JOD() const; + [[nodiscard]] auto JPY() const; + [[nodiscard]] auto KES() const; + [[nodiscard]] auto KGS() const; + [[nodiscard]] auto KHR() const; + [[nodiscard]] auto KMF() const; + [[nodiscard]] auto KPW() const; + [[nodiscard]] auto KRW() const; + [[nodiscard]] auto KWD() const; + [[nodiscard]] auto KYD() const; + [[nodiscard]] auto KZT() const; + [[nodiscard]] auto LAK() const; + [[nodiscard]] auto LBP() const; + [[nodiscard]] auto LKR() const; + [[nodiscard]] auto LRD() const; + [[nodiscard]] auto LSL() const; + [[nodiscard]] auto LTL() const; + [[nodiscard]] auto LVL() const; + [[nodiscard]] auto LYD() const; + [[nodiscard]] auto MAD() const; + [[nodiscard]] auto MDL() const; + [[nodiscard]] auto MGA() const; + [[nodiscard]] auto MKD() const; + [[nodiscard]] auto MMK() const; + [[nodiscard]] auto MNT() const; + [[nodiscard]] auto MOP() const; + [[nodiscard]] auto MRO() const; + [[nodiscard]] auto MUR() const; + [[nodiscard]] auto MVR() const; + [[nodiscard]] auto MWK() const; + [[nodiscard]] auto MXN() const; + [[nodiscard]] auto MYR() const; + [[nodiscard]] auto MZN() const; + [[nodiscard]] auto NAD() const; + [[nodiscard]] auto NGN() const; + [[nodiscard]] auto NIO() const; + [[nodiscard]] auto NOK() const; + [[nodiscard]] auto NPR() const; + [[nodiscard]] auto NZD() const; + [[nodiscard]] auto OMR() const; + [[nodiscard]] auto PAB() const; + [[nodiscard]] auto PEN() const; + [[nodiscard]] auto PGK() const; + [[nodiscard]] auto PHP() const; + [[nodiscard]] auto PKR() const; + [[nodiscard]] auto PLN() const; + [[nodiscard]] auto PYG() const; + [[nodiscard]] auto QAR() const; + [[nodiscard]] auto RON() const; + [[nodiscard]] auto RSD() const; + [[nodiscard]] auto RUB() const; + [[nodiscard]] auto RWF() const; + [[nodiscard]] auto SAR() const; + [[nodiscard]] auto SBD() const; + [[nodiscard]] auto SCR() const; + [[nodiscard]] auto SDG() const; + [[nodiscard]] auto SEK() const; + [[nodiscard]] auto SGD() const; + [[nodiscard]] auto SHP() const; + [[nodiscard]] auto SLL() const; + [[nodiscard]] auto SOS() const; + [[nodiscard]] auto SRD() const; + [[nodiscard]] auto STD() const; + [[nodiscard]] auto SYP() const; + [[nodiscard]] auto SZL() const; + [[nodiscard]] auto THB() const; + [[nodiscard]] auto TJS() const; + [[nodiscard]] auto TMT() const; + [[nodiscard]] auto TND() const; + [[nodiscard]] auto TOP() const; + [[nodiscard]] auto TRY() const; + [[nodiscard]] auto TTD() const; + [[nodiscard]] auto TWD() const; + [[nodiscard]] auto TZS() const; + [[nodiscard]] auto UAH() const; + [[nodiscard]] auto UGX() const; + [[nodiscard]] auto USD() const; + [[nodiscard]] auto UYU() const; + [[nodiscard]] auto UZS() const; + [[nodiscard]] auto VEF() const; + [[nodiscard]] auto VND() const; + [[nodiscard]] auto VUV() const; + [[nodiscard]] auto WST() const; + [[nodiscard]] auto XAF() const; + [[nodiscard]] auto XCD() const; + [[nodiscard]] auto XOF() const; + [[nodiscard]] auto XPF() const; + [[nodiscard]] auto XXX() const; + [[nodiscard]] auto YER() const; + [[nodiscard]] auto ZAR() const; + [[nodiscard]] auto ZMW() const; + [[nodiscard]] auto ZWL() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICurrencyIdentifiersStatics; + }; + template + struct consume_Windows_Globalization_ICurrencyIdentifiersStatics2 + { + [[nodiscard]] auto BYN() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICurrencyIdentifiersStatics2; + }; + template + struct consume_Windows_Globalization_ICurrencyIdentifiersStatics3 + { + [[nodiscard]] auto MRU() const; + [[nodiscard]] auto SSP() const; + [[nodiscard]] auto STN() const; + [[nodiscard]] auto VES() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ICurrencyIdentifiersStatics3; + }; + template + struct consume_Windows_Globalization_IGeographicRegion + { + [[nodiscard]] auto Code() const; + [[nodiscard]] auto CodeTwoLetter() const; + [[nodiscard]] auto CodeThreeLetter() const; + [[nodiscard]] auto CodeThreeDigit() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto NativeName() const; + [[nodiscard]] auto CurrenciesInUse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IGeographicRegion; + }; + template + struct consume_Windows_Globalization_IGeographicRegionFactory + { + auto CreateGeographicRegion(param::hstring const& geographicRegionCode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IGeographicRegionFactory; + }; + template + struct consume_Windows_Globalization_IGeographicRegionStatics + { + auto IsSupported(param::hstring const& geographicRegionCode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IGeographicRegionStatics; + }; + template + struct consume_Windows_Globalization_IJapanesePhoneme + { + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto YomiText() const; + [[nodiscard]] auto IsPhraseStart() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IJapanesePhoneme; + }; + template + struct consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics + { + auto GetWords(param::hstring const& input) const; + auto GetWords(param::hstring const& input, bool monoRuby) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics; + }; + template + struct consume_Windows_Globalization_ILanguage + { + [[nodiscard]] auto LanguageTag() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto NativeName() const; + [[nodiscard]] auto Script() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguage; + }; + template + struct consume_Windows_Globalization_ILanguage2 + { + [[nodiscard]] auto LayoutDirection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguage2; + }; + template + struct consume_Windows_Globalization_ILanguage3 + { + [[nodiscard]] auto AbbreviatedName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguage3; + }; + template + struct consume_Windows_Globalization_ILanguageExtensionSubtags + { + auto GetExtensionSubtags(param::hstring const& singleton) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguageExtensionSubtags; + }; + template + struct consume_Windows_Globalization_ILanguageFactory + { + auto CreateLanguage(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguageFactory; + }; + template + struct consume_Windows_Globalization_ILanguageStatics + { + auto IsWellFormed(param::hstring const& languageTag) const; + [[nodiscard]] auto CurrentInputMethodLanguageTag() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguageStatics; + }; + template + struct consume_Windows_Globalization_ILanguageStatics2 + { + auto TrySetInputMethodLanguageTag(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguageStatics2; + }; + template + struct consume_Windows_Globalization_ILanguageStatics3 + { + auto GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ILanguageStatics3; + }; + template + struct consume_Windows_Globalization_INumeralSystemIdentifiersStatics + { + [[nodiscard]] auto Arab() const; + [[nodiscard]] auto ArabExt() const; + [[nodiscard]] auto Bali() const; + [[nodiscard]] auto Beng() const; + [[nodiscard]] auto Cham() const; + [[nodiscard]] auto Deva() const; + [[nodiscard]] auto FullWide() const; + [[nodiscard]] auto Gujr() const; + [[nodiscard]] auto Guru() const; + [[nodiscard]] auto HaniDec() const; + [[nodiscard]] auto Java() const; + [[nodiscard]] auto Kali() const; + [[nodiscard]] auto Khmr() const; + [[nodiscard]] auto Knda() const; + [[nodiscard]] auto Lana() const; + [[nodiscard]] auto LanaTham() const; + [[nodiscard]] auto Laoo() const; + [[nodiscard]] auto Latn() const; + [[nodiscard]] auto Lepc() const; + [[nodiscard]] auto Limb() const; + [[nodiscard]] auto Mlym() const; + [[nodiscard]] auto Mong() const; + [[nodiscard]] auto Mtei() const; + [[nodiscard]] auto Mymr() const; + [[nodiscard]] auto MymrShan() const; + [[nodiscard]] auto Nkoo() const; + [[nodiscard]] auto Olck() const; + [[nodiscard]] auto Orya() const; + [[nodiscard]] auto Saur() const; + [[nodiscard]] auto Sund() const; + [[nodiscard]] auto Talu() const; + [[nodiscard]] auto TamlDec() const; + [[nodiscard]] auto Telu() const; + [[nodiscard]] auto Thai() const; + [[nodiscard]] auto Tibt() const; + [[nodiscard]] auto Vaii() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_INumeralSystemIdentifiersStatics; + }; + template + struct consume_Windows_Globalization_INumeralSystemIdentifiersStatics2 + { + [[nodiscard]] auto Brah() const; + [[nodiscard]] auto Osma() const; + [[nodiscard]] auto MathBold() const; + [[nodiscard]] auto MathDbl() const; + [[nodiscard]] auto MathSans() const; + [[nodiscard]] auto MathSanb() const; + [[nodiscard]] auto MathMono() const; + [[nodiscard]] auto ZmthBold() const; + [[nodiscard]] auto ZmthDbl() const; + [[nodiscard]] auto ZmthSans() const; + [[nodiscard]] auto ZmthSanb() const; + [[nodiscard]] auto ZmthMono() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_INumeralSystemIdentifiersStatics2; + }; + template + struct consume_Windows_Globalization_ITimeZoneOnCalendar + { + auto GetTimeZone() const; + auto ChangeTimeZone(param::hstring const& timeZoneId) const; + auto TimeZoneAsString() const; + auto TimeZoneAsString(int32_t idealLength) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_ITimeZoneOnCalendar; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1f11e6e295b6edafea19921e216490014539033e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.1.h @@ -0,0 +1,223 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_1_H +#define WINRT_Windows_Globalization_1_H +#include "winrt/impl/Windows.Globalization.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + struct WINRT_IMPL_EMPTY_BASES IApplicationLanguagesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IApplicationLanguagesStatics(std::nullptr_t = nullptr) noexcept {} + IApplicationLanguagesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IApplicationLanguagesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IApplicationLanguagesStatics2(std::nullptr_t = nullptr) noexcept {} + IApplicationLanguagesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendar : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendar(std::nullptr_t = nullptr) noexcept {} + ICalendar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendarFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendarFactory(std::nullptr_t = nullptr) noexcept {} + ICalendarFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendarFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendarFactory2(std::nullptr_t = nullptr) noexcept {} + ICalendarFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendarIdentifiersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendarIdentifiersStatics(std::nullptr_t = nullptr) noexcept {} + ICalendarIdentifiersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendarIdentifiersStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendarIdentifiersStatics2(std::nullptr_t = nullptr) noexcept {} + ICalendarIdentifiersStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICalendarIdentifiersStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICalendarIdentifiersStatics3(std::nullptr_t = nullptr) noexcept {} + ICalendarIdentifiersStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClockIdentifiersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClockIdentifiersStatics(std::nullptr_t = nullptr) noexcept {} + IClockIdentifiersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyAmount : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyAmount(std::nullptr_t = nullptr) noexcept {} + ICurrencyAmount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyAmountFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyAmountFactory(std::nullptr_t = nullptr) noexcept {} + ICurrencyAmountFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyIdentifiersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyIdentifiersStatics(std::nullptr_t = nullptr) noexcept {} + ICurrencyIdentifiersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyIdentifiersStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyIdentifiersStatics2(std::nullptr_t = nullptr) noexcept {} + ICurrencyIdentifiersStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyIdentifiersStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyIdentifiersStatics3(std::nullptr_t = nullptr) noexcept {} + ICurrencyIdentifiersStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeographicRegion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeographicRegion(std::nullptr_t = nullptr) noexcept {} + IGeographicRegion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeographicRegionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeographicRegionFactory(std::nullptr_t = nullptr) noexcept {} + IGeographicRegionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGeographicRegionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeographicRegionStatics(std::nullptr_t = nullptr) noexcept {} + IGeographicRegionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJapanesePhoneme : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJapanesePhoneme(std::nullptr_t = nullptr) noexcept {} + IJapanesePhoneme(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IJapanesePhoneticAnalyzerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IJapanesePhoneticAnalyzerStatics(std::nullptr_t = nullptr) noexcept {} + IJapanesePhoneticAnalyzerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguage(std::nullptr_t = nullptr) noexcept {} + ILanguage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguage2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguage2(std::nullptr_t = nullptr) noexcept {} + ILanguage2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguage3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguage3(std::nullptr_t = nullptr) noexcept {} + ILanguage3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageExtensionSubtags : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageExtensionSubtags(std::nullptr_t = nullptr) noexcept {} + ILanguageExtensionSubtags(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageFactory(std::nullptr_t = nullptr) noexcept {} + ILanguageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageStatics(std::nullptr_t = nullptr) noexcept {} + ILanguageStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageStatics2(std::nullptr_t = nullptr) noexcept {} + ILanguageStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageStatics3(std::nullptr_t = nullptr) noexcept {} + ILanguageStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumeralSystemIdentifiersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumeralSystemIdentifiersStatics(std::nullptr_t = nullptr) noexcept {} + INumeralSystemIdentifiersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumeralSystemIdentifiersStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumeralSystemIdentifiersStatics2(std::nullptr_t = nullptr) noexcept {} + INumeralSystemIdentifiersStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimeZoneOnCalendar : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimeZoneOnCalendar(std::nullptr_t = nullptr) noexcept {} + ITimeZoneOnCalendar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a91e1dee1339204b944dd536ba0d7b0cc771cfd5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.2.h @@ -0,0 +1,313 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_2_H +#define WINRT_Windows_Globalization_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Globalization.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + struct ApplicationLanguages + { + ApplicationLanguages() = delete; + [[nodiscard]] static auto PrimaryLanguageOverride(); + static auto PrimaryLanguageOverride(param::hstring const& value); + [[nodiscard]] static auto Languages(); + [[nodiscard]] static auto ManifestLanguages(); + static auto GetLanguagesForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES Calendar : winrt::Windows::Globalization::ICalendar, + impl::require + { + Calendar(std::nullptr_t) noexcept {} + Calendar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::ICalendar(ptr, take_ownership_from_abi) {} + Calendar(); + explicit Calendar(param::iterable const& languages); + Calendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock); + Calendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId); + }; + struct CalendarIdentifiers + { + CalendarIdentifiers() = delete; + [[nodiscard]] static auto Gregorian(); + [[nodiscard]] static auto Hebrew(); + [[nodiscard]] static auto Hijri(); + [[nodiscard]] static auto Japanese(); + [[nodiscard]] static auto Julian(); + [[nodiscard]] static auto Korean(); + [[nodiscard]] static auto Taiwan(); + [[nodiscard]] static auto Thai(); + [[nodiscard]] static auto UmAlQura(); + [[nodiscard]] static auto Persian(); + [[nodiscard]] static auto ChineseLunar(); + [[nodiscard]] static auto JapaneseLunar(); + [[nodiscard]] static auto KoreanLunar(); + [[nodiscard]] static auto TaiwanLunar(); + [[nodiscard]] static auto VietnameseLunar(); + }; + struct ClockIdentifiers + { + ClockIdentifiers() = delete; + [[nodiscard]] static auto TwelveHour(); + [[nodiscard]] static auto TwentyFourHour(); + }; + struct WINRT_IMPL_EMPTY_BASES CurrencyAmount : winrt::Windows::Globalization::ICurrencyAmount + { + CurrencyAmount(std::nullptr_t) noexcept {} + CurrencyAmount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::ICurrencyAmount(ptr, take_ownership_from_abi) {} + CurrencyAmount(param::hstring const& amount, param::hstring const& currency); + }; + struct CurrencyIdentifiers + { + CurrencyIdentifiers() = delete; + [[nodiscard]] static auto AED(); + [[nodiscard]] static auto AFN(); + [[nodiscard]] static auto ALL(); + [[nodiscard]] static auto AMD(); + [[nodiscard]] static auto ANG(); + [[nodiscard]] static auto AOA(); + [[nodiscard]] static auto ARS(); + [[nodiscard]] static auto AUD(); + [[nodiscard]] static auto AWG(); + [[nodiscard]] static auto AZN(); + [[nodiscard]] static auto BAM(); + [[nodiscard]] static auto BBD(); + [[nodiscard]] static auto BDT(); + [[nodiscard]] static auto BGN(); + [[nodiscard]] static auto BHD(); + [[nodiscard]] static auto BIF(); + [[nodiscard]] static auto BMD(); + [[nodiscard]] static auto BND(); + [[nodiscard]] static auto BOB(); + [[nodiscard]] static auto BRL(); + [[nodiscard]] static auto BSD(); + [[nodiscard]] static auto BTN(); + [[nodiscard]] static auto BWP(); + [[nodiscard]] static auto BYR(); + [[nodiscard]] static auto BZD(); + [[nodiscard]] static auto CAD(); + [[nodiscard]] static auto CDF(); + [[nodiscard]] static auto CHF(); + [[nodiscard]] static auto CLP(); + [[nodiscard]] static auto CNY(); + [[nodiscard]] static auto COP(); + [[nodiscard]] static auto CRC(); + [[nodiscard]] static auto CUP(); + [[nodiscard]] static auto CVE(); + [[nodiscard]] static auto CZK(); + [[nodiscard]] static auto DJF(); + [[nodiscard]] static auto DKK(); + [[nodiscard]] static auto DOP(); + [[nodiscard]] static auto DZD(); + [[nodiscard]] static auto EGP(); + [[nodiscard]] static auto ERN(); + [[nodiscard]] static auto ETB(); + [[nodiscard]] static auto EUR(); + [[nodiscard]] static auto FJD(); + [[nodiscard]] static auto FKP(); + [[nodiscard]] static auto GBP(); + [[nodiscard]] static auto GEL(); + [[nodiscard]] static auto GHS(); + [[nodiscard]] static auto GIP(); + [[nodiscard]] static auto GMD(); + [[nodiscard]] static auto GNF(); + [[nodiscard]] static auto GTQ(); + [[nodiscard]] static auto GYD(); + [[nodiscard]] static auto HKD(); + [[nodiscard]] static auto HNL(); + [[nodiscard]] static auto HRK(); + [[nodiscard]] static auto HTG(); + [[nodiscard]] static auto HUF(); + [[nodiscard]] static auto IDR(); + [[nodiscard]] static auto ILS(); + [[nodiscard]] static auto INR(); + [[nodiscard]] static auto IQD(); + [[nodiscard]] static auto IRR(); + [[nodiscard]] static auto ISK(); + [[nodiscard]] static auto JMD(); + [[nodiscard]] static auto JOD(); + [[nodiscard]] static auto JPY(); + [[nodiscard]] static auto KES(); + [[nodiscard]] static auto KGS(); + [[nodiscard]] static auto KHR(); + [[nodiscard]] static auto KMF(); + [[nodiscard]] static auto KPW(); + [[nodiscard]] static auto KRW(); + [[nodiscard]] static auto KWD(); + [[nodiscard]] static auto KYD(); + [[nodiscard]] static auto KZT(); + [[nodiscard]] static auto LAK(); + [[nodiscard]] static auto LBP(); + [[nodiscard]] static auto LKR(); + [[nodiscard]] static auto LRD(); + [[nodiscard]] static auto LSL(); + [[nodiscard]] static auto LTL(); + [[nodiscard]] static auto LVL(); + [[nodiscard]] static auto LYD(); + [[nodiscard]] static auto MAD(); + [[nodiscard]] static auto MDL(); + [[nodiscard]] static auto MGA(); + [[nodiscard]] static auto MKD(); + [[nodiscard]] static auto MMK(); + [[nodiscard]] static auto MNT(); + [[nodiscard]] static auto MOP(); + [[nodiscard]] static auto MRO(); + [[nodiscard]] static auto MUR(); + [[nodiscard]] static auto MVR(); + [[nodiscard]] static auto MWK(); + [[nodiscard]] static auto MXN(); + [[nodiscard]] static auto MYR(); + [[nodiscard]] static auto MZN(); + [[nodiscard]] static auto NAD(); + [[nodiscard]] static auto NGN(); + [[nodiscard]] static auto NIO(); + [[nodiscard]] static auto NOK(); + [[nodiscard]] static auto NPR(); + [[nodiscard]] static auto NZD(); + [[nodiscard]] static auto OMR(); + [[nodiscard]] static auto PAB(); + [[nodiscard]] static auto PEN(); + [[nodiscard]] static auto PGK(); + [[nodiscard]] static auto PHP(); + [[nodiscard]] static auto PKR(); + [[nodiscard]] static auto PLN(); + [[nodiscard]] static auto PYG(); + [[nodiscard]] static auto QAR(); + [[nodiscard]] static auto RON(); + [[nodiscard]] static auto RSD(); + [[nodiscard]] static auto RUB(); + [[nodiscard]] static auto RWF(); + [[nodiscard]] static auto SAR(); + [[nodiscard]] static auto SBD(); + [[nodiscard]] static auto SCR(); + [[nodiscard]] static auto SDG(); + [[nodiscard]] static auto SEK(); + [[nodiscard]] static auto SGD(); + [[nodiscard]] static auto SHP(); + [[nodiscard]] static auto SLL(); + [[nodiscard]] static auto SOS(); + [[nodiscard]] static auto SRD(); + [[nodiscard]] static auto STD(); + [[nodiscard]] static auto SYP(); + [[nodiscard]] static auto SZL(); + [[nodiscard]] static auto THB(); + [[nodiscard]] static auto TJS(); + [[nodiscard]] static auto TMT(); + [[nodiscard]] static auto TND(); + [[nodiscard]] static auto TOP(); + [[nodiscard]] static auto TRY(); + [[nodiscard]] static auto TTD(); + [[nodiscard]] static auto TWD(); + [[nodiscard]] static auto TZS(); + [[nodiscard]] static auto UAH(); + [[nodiscard]] static auto UGX(); + [[nodiscard]] static auto USD(); + [[nodiscard]] static auto UYU(); + [[nodiscard]] static auto UZS(); + [[nodiscard]] static auto VEF(); + [[nodiscard]] static auto VND(); + [[nodiscard]] static auto VUV(); + [[nodiscard]] static auto WST(); + [[nodiscard]] static auto XAF(); + [[nodiscard]] static auto XCD(); + [[nodiscard]] static auto XOF(); + [[nodiscard]] static auto XPF(); + [[nodiscard]] static auto XXX(); + [[nodiscard]] static auto YER(); + [[nodiscard]] static auto ZAR(); + [[nodiscard]] static auto ZMW(); + [[nodiscard]] static auto ZWL(); + [[nodiscard]] static auto BYN(); + [[nodiscard]] static auto MRU(); + [[nodiscard]] static auto SSP(); + [[nodiscard]] static auto STN(); + [[nodiscard]] static auto VES(); + }; + struct WINRT_IMPL_EMPTY_BASES GeographicRegion : winrt::Windows::Globalization::IGeographicRegion + { + GeographicRegion(std::nullptr_t) noexcept {} + GeographicRegion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::IGeographicRegion(ptr, take_ownership_from_abi) {} + GeographicRegion(); + explicit GeographicRegion(param::hstring const& geographicRegionCode); + static auto IsSupported(param::hstring const& geographicRegionCode); + }; + struct WINRT_IMPL_EMPTY_BASES JapanesePhoneme : winrt::Windows::Globalization::IJapanesePhoneme + { + JapanesePhoneme(std::nullptr_t) noexcept {} + JapanesePhoneme(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::IJapanesePhoneme(ptr, take_ownership_from_abi) {} + }; + struct JapanesePhoneticAnalyzer + { + JapanesePhoneticAnalyzer() = delete; + static auto GetWords(param::hstring const& input); + static auto GetWords(param::hstring const& input, bool monoRuby); + }; + struct WINRT_IMPL_EMPTY_BASES Language : winrt::Windows::Globalization::ILanguage, + impl::require + { + Language(std::nullptr_t) noexcept {} + Language(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::ILanguage(ptr, take_ownership_from_abi) {} + explicit Language(param::hstring const& languageTag); + static auto IsWellFormed(param::hstring const& languageTag); + [[nodiscard]] static auto CurrentInputMethodLanguageTag(); + static auto TrySetInputMethodLanguageTag(param::hstring const& languageTag); + static auto GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags); + }; + struct NumeralSystemIdentifiers + { + NumeralSystemIdentifiers() = delete; + [[nodiscard]] static auto Arab(); + [[nodiscard]] static auto ArabExt(); + [[nodiscard]] static auto Bali(); + [[nodiscard]] static auto Beng(); + [[nodiscard]] static auto Cham(); + [[nodiscard]] static auto Deva(); + [[nodiscard]] static auto FullWide(); + [[nodiscard]] static auto Gujr(); + [[nodiscard]] static auto Guru(); + [[nodiscard]] static auto HaniDec(); + [[nodiscard]] static auto Java(); + [[nodiscard]] static auto Kali(); + [[nodiscard]] static auto Khmr(); + [[nodiscard]] static auto Knda(); + [[nodiscard]] static auto Lana(); + [[nodiscard]] static auto LanaTham(); + [[nodiscard]] static auto Laoo(); + [[nodiscard]] static auto Latn(); + [[nodiscard]] static auto Lepc(); + [[nodiscard]] static auto Limb(); + [[nodiscard]] static auto Mlym(); + [[nodiscard]] static auto Mong(); + [[nodiscard]] static auto Mtei(); + [[nodiscard]] static auto Mymr(); + [[nodiscard]] static auto MymrShan(); + [[nodiscard]] static auto Nkoo(); + [[nodiscard]] static auto Olck(); + [[nodiscard]] static auto Orya(); + [[nodiscard]] static auto Saur(); + [[nodiscard]] static auto Sund(); + [[nodiscard]] static auto Talu(); + [[nodiscard]] static auto TamlDec(); + [[nodiscard]] static auto Telu(); + [[nodiscard]] static auto Thai(); + [[nodiscard]] static auto Tibt(); + [[nodiscard]] static auto Vaii(); + [[nodiscard]] static auto Brah(); + [[nodiscard]] static auto Osma(); + [[nodiscard]] static auto MathBold(); + [[nodiscard]] static auto MathDbl(); + [[nodiscard]] static auto MathSans(); + [[nodiscard]] static auto MathSanb(); + [[nodiscard]] static auto MathMono(); + [[nodiscard]] static auto ZmthBold(); + [[nodiscard]] static auto ZmthDbl(); + [[nodiscard]] static auto ZmthSans(); + [[nodiscard]] static auto ZmthSanb(); + [[nodiscard]] static auto ZmthMono(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b6dc56b798d50c77f24deadcf1fb51d14886e544 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.0.h @@ -0,0 +1,85 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Collation_0_H +#define WINRT_Windows_Globalization_Collation_0_H +WINRT_EXPORT namespace winrt::Windows::Globalization::Collation +{ + struct ICharacterGrouping; + struct ICharacterGroupings; + struct ICharacterGroupingsFactory; + struct CharacterGrouping; + struct CharacterGroupings; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Collation.CharacterGrouping"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Collation.CharacterGroupings"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Collation.ICharacterGrouping"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Collation.ICharacterGroupings"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Collation.ICharacterGroupingsFactory"; + template <> inline constexpr guid guid_v{ 0xFAE761BB,0x805D,0x4BB0,{ 0x95,0xBB,0xC1,0xF7,0xC3,0xE8,0xEB,0x8E } }; // FAE761BB-805D-4BB0-95BB-C1F7C3E8EB8E + template <> inline constexpr guid guid_v{ 0xB8D20A75,0xD4CF,0x4055,{ 0x80,0xE5,0xCE,0x16,0x9C,0x22,0x64,0x96 } }; // B8D20A75-D4CF-4055-80E5-CE169C226496 + template <> inline constexpr guid guid_v{ 0x99EA9FD9,0x886D,0x4401,{ 0x9F,0x98,0x69,0xC8,0x2D,0x4C,0x2F,0x78 } }; // 99EA9FD9-886D-4401-9F98-69C82D4C2F78 + template <> struct default_interface{ using type = winrt::Windows::Globalization::Collation::ICharacterGrouping; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::Collation::ICharacterGroupings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_First(void**) noexcept = 0; + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Lookup(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_Collation_ICharacterGrouping + { + [[nodiscard]] auto First() const; + [[nodiscard]] auto Label() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Collation_ICharacterGrouping; + }; + template + struct consume_Windows_Globalization_Collation_ICharacterGroupings + { + auto Lookup(param::hstring const& text) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Collation_ICharacterGroupings; + }; + template + struct consume_Windows_Globalization_Collation_ICharacterGroupingsFactory + { + auto Create(param::hstring const& language) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Collation_ICharacterGroupingsFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0b7ea6df29c3f1785e26fff659728b8c9bfeb035 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.1.h @@ -0,0 +1,36 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Collation_1_H +#define WINRT_Windows_Globalization_Collation_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.Globalization.Collation.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::Collation +{ + struct WINRT_IMPL_EMPTY_BASES ICharacterGrouping : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICharacterGrouping(std::nullptr_t = nullptr) noexcept {} + ICharacterGrouping(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICharacterGroupings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require, winrt::Windows::Foundation::Collections::IVectorView> + { + ICharacterGroupings(std::nullptr_t = nullptr) noexcept {} + ICharacterGroupings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICharacterGroupingsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICharacterGroupingsFactory(std::nullptr_t = nullptr) noexcept {} + ICharacterGroupingsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.2.h new file mode 100644 index 0000000000000000000000000000000000000000..d0283397ab7fcd58cdefd9bb22e028733e241f9a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.collation.2.h @@ -0,0 +1,26 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Collation_2_H +#define WINRT_Windows_Globalization_Collation_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Globalization.Collation.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::Collation +{ + struct WINRT_IMPL_EMPTY_BASES CharacterGrouping : winrt::Windows::Globalization::Collation::ICharacterGrouping + { + CharacterGrouping(std::nullptr_t) noexcept {} + CharacterGrouping(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::Collation::ICharacterGrouping(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CharacterGroupings : winrt::Windows::Globalization::Collation::ICharacterGroupings + { + CharacterGroupings(std::nullptr_t) noexcept {} + CharacterGroupings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::Collation::ICharacterGroupings(ptr, take_ownership_from_abi) {} + CharacterGroupings(); + explicit CharacterGroupings(param::hstring const& language); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2ffde66256b7fc5e2ad93a08fc910f5ef2cf1bdf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.0.h @@ -0,0 +1,214 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_DateTimeFormatting_0_H +#define WINRT_Windows_Globalization_DateTimeFormatting_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Globalization::DateTimeFormatting +{ + enum class DayFormat : int32_t + { + None = 0, + Default = 1, + }; + enum class DayOfWeekFormat : int32_t + { + None = 0, + Default = 1, + Abbreviated = 2, + Full = 3, + }; + enum class HourFormat : int32_t + { + None = 0, + Default = 1, + }; + enum class MinuteFormat : int32_t + { + None = 0, + Default = 1, + }; + enum class MonthFormat : int32_t + { + None = 0, + Default = 1, + Abbreviated = 2, + Full = 3, + Numeric = 4, + }; + enum class SecondFormat : int32_t + { + None = 0, + Default = 1, + }; + enum class YearFormat : int32_t + { + None = 0, + Default = 1, + Abbreviated = 2, + Full = 3, + }; + struct IDateTimeFormatter; + struct IDateTimeFormatter2; + struct IDateTimeFormatterFactory; + struct IDateTimeFormatterStatics; + struct DateTimeFormatter; +} +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 = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.DateTimeFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.DayFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.DayOfWeekFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.HourFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.MinuteFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.MonthFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.SecondFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.YearFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.IDateTimeFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.IDateTimeFormatter2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.IDateTimeFormatterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.DateTimeFormatting.IDateTimeFormatterStatics"; + template <> inline constexpr guid guid_v{ 0x95EECA10,0x73E0,0x4E4B,{ 0xA1,0x83,0x3D,0x6A,0xD0,0xBA,0x35,0xEC } }; // 95EECA10-73E0-4E4B-A183-3D6AD0BA35EC + template <> inline constexpr guid guid_v{ 0x27C91A86,0xBDAA,0x4FD0,{ 0x9E,0x36,0x67,0x1D,0x5A,0xA5,0xEE,0x03 } }; // 27C91A86-BDAA-4FD0-9E36-671D5AA5EE03 + template <> inline constexpr guid guid_v{ 0xEC8D8A53,0x1A2E,0x412D,{ 0x88,0x15,0x3B,0x74,0x5F,0xB1,0xA2,0xA0 } }; // EC8D8A53-1A2E-412D-8815-3B745FB1A2A0 + template <> inline constexpr guid guid_v{ 0xBFCDE7C0,0xDF4C,0x4A2E,{ 0x90,0x12,0xF4,0x7D,0xAF,0x3F,0x12,0x12 } }; // BFCDE7C0-DF4C-4A2E-9012-F47DAF3F1212 + template <> struct default_interface{ using type = winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall get_GeographicRegion(void**) noexcept = 0; + virtual int32_t __stdcall get_Calendar(void**) noexcept = 0; + virtual int32_t __stdcall get_Clock(void**) noexcept = 0; + virtual int32_t __stdcall get_NumeralSystem(void**) noexcept = 0; + virtual int32_t __stdcall put_NumeralSystem(void*) noexcept = 0; + virtual int32_t __stdcall get_Patterns(void**) noexcept = 0; + virtual int32_t __stdcall get_Template(void**) noexcept = 0; + virtual int32_t __stdcall Format(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall get_IncludeYear(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeMonth(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeDayOfWeek(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeDay(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeHour(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeMinute(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IncludeSecond(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_ResolvedGeographicRegion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FormatUsingTimeZone(int64_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateDateTimeFormatter(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterLanguages(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterContext(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterDate(int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterTime(int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterDateTimeLanguages(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDateTimeFormatterDateTimeContext(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LongDate(void**) noexcept = 0; + virtual int32_t __stdcall get_LongTime(void**) noexcept = 0; + virtual int32_t __stdcall get_ShortDate(void**) noexcept = 0; + virtual int32_t __stdcall get_ShortTime(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter + { + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto Calendar() const; + [[nodiscard]] auto Clock() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + [[nodiscard]] auto Patterns() const; + [[nodiscard]] auto Template() const; + auto Format(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IncludeYear() const; + [[nodiscard]] auto IncludeMonth() const; + [[nodiscard]] auto IncludeDayOfWeek() const; + [[nodiscard]] auto IncludeDay() const; + [[nodiscard]] auto IncludeHour() const; + [[nodiscard]] auto IncludeMinute() const; + [[nodiscard]] auto IncludeSecond() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto ResolvedGeographicRegion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter; + }; + template + struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2 + { + auto Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2; + }; + template + struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory + { + auto CreateDateTimeFormatter(param::hstring const& formatTemplate) const; + auto CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable const& languages) const; + auto CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; + auto CreateDateTimeFormatterDate(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat) const; + auto CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const; + auto CreateDateTimeFormatterDateTimeLanguages(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages) const; + auto CreateDateTimeFormatterDateTimeContext(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory; + }; + template + struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics + { + [[nodiscard]] auto LongDate() const; + [[nodiscard]] auto LongTime() const; + [[nodiscard]] auto ShortDate() const; + [[nodiscard]] auto ShortTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.1.h new file mode 100644 index 0000000000000000000000000000000000000000..45b6894bd4d58cf5680a0d97ba5298beae1be7be --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_DateTimeFormatting_1_H +#define WINRT_Windows_Globalization_DateTimeFormatting_1_H +#include "winrt/impl/Windows.Globalization.DateTimeFormatting.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::DateTimeFormatting +{ + struct WINRT_IMPL_EMPTY_BASES IDateTimeFormatter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDateTimeFormatter(std::nullptr_t = nullptr) noexcept {} + IDateTimeFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDateTimeFormatter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDateTimeFormatter2(std::nullptr_t = nullptr) noexcept {} + IDateTimeFormatter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDateTimeFormatterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDateTimeFormatterFactory(std::nullptr_t = nullptr) noexcept {} + IDateTimeFormatterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDateTimeFormatterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDateTimeFormatterStatics(std::nullptr_t = nullptr) noexcept {} + IDateTimeFormatterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1cc38210d1e9e200284bfda663747aa6a1419e68 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.datetimeformatting.2.h @@ -0,0 +1,33 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_DateTimeFormatting_2_H +#define WINRT_Windows_Globalization_DateTimeFormatting_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Globalization.DateTimeFormatting.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::DateTimeFormatting +{ + struct WINRT_IMPL_EMPTY_BASES DateTimeFormatter : winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter, + impl::require + { + DateTimeFormatter(std::nullptr_t) noexcept {} + DateTimeFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter(ptr, take_ownership_from_abi) {} + explicit DateTimeFormatter(param::hstring const& formatTemplate); + DateTimeFormatter(param::hstring const& formatTemplate, param::iterable const& languages); + DateTimeFormatter(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock); + DateTimeFormatter(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat); + DateTimeFormatter(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat); + DateTimeFormatter(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages); + DateTimeFormatter(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock); + using winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter::Format; + using impl::consume_t::Format; + [[nodiscard]] static auto LongDate(); + [[nodiscard]] static auto LongTime(); + [[nodiscard]] static auto ShortDate(); + [[nodiscard]] static auto ShortTime(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0527cc97c4346dc5d11bced07fd6b19a291fd937 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.0.h @@ -0,0 +1,117 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Fonts_0_H +#define WINRT_Windows_Globalization_Fonts_0_H +WINRT_EXPORT namespace winrt::Windows::UI::Text +{ + enum class FontStretch : int32_t; + enum class FontStyle : int32_t; + struct FontWeight; +} +WINRT_EXPORT namespace winrt::Windows::Globalization::Fonts +{ + struct ILanguageFont; + struct ILanguageFontGroup; + struct ILanguageFontGroupFactory; + struct LanguageFont; + struct LanguageFontGroup; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Fonts.LanguageFont"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Fonts.LanguageFontGroup"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Fonts.ILanguageFont"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Fonts.ILanguageFontGroup"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.Fonts.ILanguageFontGroupFactory"; + template <> inline constexpr guid guid_v{ 0xB12E5C3A,0xB76D,0x459B,{ 0xBE,0xEB,0x90,0x11,0x51,0xCD,0x77,0xD1 } }; // B12E5C3A-B76D-459B-BEEB-901151CD77D1 + template <> inline constexpr guid guid_v{ 0xF33A7FC3,0x3A5C,0x4AEA,{ 0xB9,0xFF,0xB3,0x9F,0xB2,0x42,0xF7,0xF6 } }; // F33A7FC3-3A5C-4AEA-B9FF-B39FB242F7F6 + template <> inline constexpr guid guid_v{ 0xFCAEAC67,0x4E77,0x49C7,{ 0xB8,0x56,0xDD,0xE9,0x34,0xFC,0x73,0x5B } }; // FCAEAC67-4E77-49C7-B856-DDE934FC735B + template <> struct default_interface{ using type = winrt::Windows::Globalization::Fonts::ILanguageFont; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::Fonts::ILanguageFontGroup; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FontFamily(void**) noexcept = 0; + virtual int32_t __stdcall get_FontWeight(struct struct_Windows_UI_Text_FontWeight*) noexcept = 0; + virtual int32_t __stdcall get_FontStretch(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FontStyle(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ScaleFactor(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UITextFont(void**) noexcept = 0; + virtual int32_t __stdcall get_UIHeadingFont(void**) noexcept = 0; + virtual int32_t __stdcall get_UITitleFont(void**) noexcept = 0; + virtual int32_t __stdcall get_UICaptionFont(void**) noexcept = 0; + virtual int32_t __stdcall get_UINotificationHeadingFont(void**) noexcept = 0; + virtual int32_t __stdcall get_TraditionalDocumentFont(void**) noexcept = 0; + virtual int32_t __stdcall get_ModernDocumentFont(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentHeadingFont(void**) noexcept = 0; + virtual int32_t __stdcall get_FixedWidthTextFont(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentAlternate1Font(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentAlternate2Font(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLanguageFontGroup(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_Fonts_ILanguageFont + { + [[nodiscard]] auto FontFamily() const; + [[nodiscard]] auto FontWeight() const; + [[nodiscard]] auto FontStretch() const; + [[nodiscard]] auto FontStyle() const; + [[nodiscard]] auto ScaleFactor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Fonts_ILanguageFont; + }; + template + struct consume_Windows_Globalization_Fonts_ILanguageFontGroup + { + [[nodiscard]] auto UITextFont() const; + [[nodiscard]] auto UIHeadingFont() const; + [[nodiscard]] auto UITitleFont() const; + [[nodiscard]] auto UICaptionFont() const; + [[nodiscard]] auto UINotificationHeadingFont() const; + [[nodiscard]] auto TraditionalDocumentFont() const; + [[nodiscard]] auto ModernDocumentFont() const; + [[nodiscard]] auto DocumentHeadingFont() const; + [[nodiscard]] auto FixedWidthTextFont() const; + [[nodiscard]] auto DocumentAlternate1Font() const; + [[nodiscard]] auto DocumentAlternate2Font() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Fonts_ILanguageFontGroup; + }; + template + struct consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory + { + auto CreateLanguageFontGroup(param::hstring const& languageTag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.1.h new file mode 100644 index 0000000000000000000000000000000000000000..30bfc202e49be835dc809611d366d5590143d0ad --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Fonts_1_H +#define WINRT_Windows_Globalization_Fonts_1_H +#include "winrt/impl/Windows.Globalization.Fonts.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::Fonts +{ + struct WINRT_IMPL_EMPTY_BASES ILanguageFont : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageFont(std::nullptr_t = nullptr) noexcept {} + ILanguageFont(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageFontGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageFontGroup(std::nullptr_t = nullptr) noexcept {} + ILanguageFontGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanguageFontGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanguageFontGroupFactory(std::nullptr_t = nullptr) noexcept {} + ILanguageFontGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.2.h new file mode 100644 index 0000000000000000000000000000000000000000..fd76a8ab4675405790d9b7e4e023f92e6e56fb9d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.fonts.2.h @@ -0,0 +1,24 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_Fonts_2_H +#define WINRT_Windows_Globalization_Fonts_2_H +#include "winrt/impl/Windows.Globalization.Fonts.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::Fonts +{ + struct WINRT_IMPL_EMPTY_BASES LanguageFont : winrt::Windows::Globalization::Fonts::ILanguageFont + { + LanguageFont(std::nullptr_t) noexcept {} + LanguageFont(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::Fonts::ILanguageFont(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LanguageFontGroup : winrt::Windows::Globalization::Fonts::ILanguageFontGroup + { + LanguageFontGroup(std::nullptr_t) noexcept {} + LanguageFontGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::Fonts::ILanguageFontGroup(ptr, take_ownership_from_abi) {} + explicit LanguageFontGroup(param::hstring const& languageTag); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b6497c9926440074c05fcca154d33745a932a1b1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.0.h @@ -0,0 +1,512 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_NumberFormatting_0_H +#define WINRT_Windows_Globalization_NumberFormatting_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Globalization::NumberFormatting +{ + enum class CurrencyFormatterMode : int32_t + { + UseSymbol = 0, + UseCurrencyCode = 1, + }; + enum class RoundingAlgorithm : int32_t + { + None = 0, + RoundDown = 1, + RoundUp = 2, + RoundTowardsZero = 3, + RoundAwayFromZero = 4, + RoundHalfDown = 5, + RoundHalfUp = 6, + RoundHalfTowardsZero = 7, + RoundHalfAwayFromZero = 8, + RoundHalfToEven = 9, + RoundHalfToOdd = 10, + }; + struct ICurrencyFormatter; + struct ICurrencyFormatter2; + struct ICurrencyFormatterFactory; + struct IDecimalFormatterFactory; + struct IIncrementNumberRounder; + struct INumberFormatter; + struct INumberFormatter2; + struct INumberFormatterOptions; + struct INumberParser; + struct INumberRounder; + struct INumberRounderOption; + struct INumeralSystemTranslator; + struct INumeralSystemTranslatorFactory; + struct IPercentFormatterFactory; + struct IPermilleFormatterFactory; + struct ISignedZeroOption; + struct ISignificantDigitsNumberRounder; + struct ISignificantDigitsOption; + struct CurrencyFormatter; + struct DecimalFormatter; + struct IncrementNumberRounder; + struct NumeralSystemTranslator; + struct PercentFormatter; + struct PermilleFormatter; + struct SignificantDigitsNumberRounder; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.CurrencyFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.DecimalFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.IncrementNumberRounder"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.NumeralSystemTranslator"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.PercentFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.PermilleFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.CurrencyFormatterMode"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.RoundingAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ICurrencyFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ICurrencyFormatter2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ICurrencyFormatterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.IDecimalFormatterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.IIncrementNumberRounder"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberFormatter2"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberFormatterOptions"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberParser"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberRounder"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumberRounderOption"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumeralSystemTranslator"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.INumeralSystemTranslatorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.IPercentFormatterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.IPermilleFormatterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ISignedZeroOption"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ISignificantDigitsNumberRounder"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.NumberFormatting.ISignificantDigitsOption"; + template <> inline constexpr guid guid_v{ 0x11730CA5,0x4B00,0x41B2,{ 0xB3,0x32,0x73,0xB1,0x2A,0x49,0x7D,0x54 } }; // 11730CA5-4B00-41B2-B332-73B12A497D54 + template <> inline constexpr guid guid_v{ 0x072C2F1D,0xE7BA,0x4197,{ 0x92,0x0E,0x24,0x7C,0x92,0xF7,0xDE,0xA6 } }; // 072C2F1D-E7BA-4197-920E-247C92F7DEA6 + template <> inline constexpr guid guid_v{ 0x86C7537E,0xB938,0x4AA2,{ 0x84,0xB0,0x2C,0x33,0xDC,0x5B,0x14,0x50 } }; // 86C7537E-B938-4AA2-84B0-2C33DC5B1450 + template <> inline constexpr guid guid_v{ 0x0D018C9A,0xE393,0x46B8,{ 0xB8,0x30,0x7A,0x69,0xC8,0xF8,0x9F,0xBB } }; // 0D018C9A-E393-46B8-B830-7A69C8F89FBB + template <> inline constexpr guid guid_v{ 0x70A64FF8,0x66AB,0x4155,{ 0x9D,0xA1,0x73,0x9E,0x46,0x76,0x45,0x43 } }; // 70A64FF8-66AB-4155-9DA1-739E46764543 + template <> inline constexpr guid guid_v{ 0xA5007C49,0x7676,0x4DB7,{ 0x86,0x31,0x1B,0x6F,0xF2,0x65,0xCA,0xA9 } }; // A5007C49-7676-4DB7-8631-1B6FF265CAA9 + template <> inline constexpr guid guid_v{ 0xD4A8C1F0,0x80D0,0x4B0D,{ 0xA8,0x9E,0x88,0x2C,0x1E,0x8F,0x83,0x10 } }; // D4A8C1F0-80D0-4B0D-A89E-882C1E8F8310 + template <> inline constexpr guid guid_v{ 0x80332D21,0xAEE1,0x4A39,{ 0xBA,0xA2,0x07,0xED,0x8C,0x96,0xDA,0xF6 } }; // 80332D21-AEE1-4A39-BAA2-07ED8C96DAF6 + template <> inline constexpr guid guid_v{ 0xE6659412,0x4A13,0x4A53,{ 0x83,0xA1,0x39,0x2F,0xBE,0x4C,0xFF,0x9F } }; // E6659412-4A13-4A53-83A1-392FBE4CFF9F + template <> inline constexpr guid guid_v{ 0x5473C375,0x38ED,0x4631,{ 0xB8,0x0C,0xEF,0x34,0xFC,0x48,0xB7,0xF5 } }; // 5473C375-38ED-4631-B80C-EF34FC48B7F5 + template <> inline constexpr guid guid_v{ 0x3B088433,0x646F,0x4EFE,{ 0x8D,0x48,0x66,0xEB,0x2E,0x49,0xE7,0x36 } }; // 3B088433-646F-4EFE-8D48-66EB2E49E736 + template <> inline constexpr guid guid_v{ 0x28F5BC2C,0x8C23,0x4234,{ 0xAD,0x2E,0xFA,0x5A,0x3A,0x42,0x6E,0x9B } }; // 28F5BC2C-8C23-4234-AD2E-FA5A3A426E9B + template <> inline constexpr guid guid_v{ 0x9630C8DA,0x36EF,0x4D88,{ 0xA8,0x5C,0x6F,0x0D,0x98,0xD6,0x20,0xA6 } }; // 9630C8DA-36EF-4D88-A85C-6F0D98D620A6 + template <> inline constexpr guid guid_v{ 0xB7828AEF,0xFED4,0x4018,{ 0xA6,0xE2,0xE0,0x99,0x61,0xE0,0x37,0x65 } }; // B7828AEF-FED4-4018-A6E2-E09961E03765 + template <> inline constexpr guid guid_v{ 0x2B37B4AC,0xE638,0x4ED5,{ 0xA9,0x98,0x62,0xF6,0xB0,0x6A,0x49,0xAE } }; // 2B37B4AC-E638-4ED5-A998-62F6B06A49AE + template <> inline constexpr guid guid_v{ 0xFD1CDD31,0x0A3C,0x49C4,{ 0xA6,0x42,0x96,0xA1,0x56,0x4F,0x4F,0x30 } }; // FD1CDD31-0A3C-49C4-A642-96A1564F4F30 + template <> inline constexpr guid guid_v{ 0xF5941BCA,0x6646,0x4913,{ 0x8C,0x76,0x1B,0x19,0x1F,0xF9,0x4D,0xFD } }; // F5941BCA-6646-4913-8C76-1B191FF94DFD + template <> inline constexpr guid guid_v{ 0x1D4DFCDD,0x2D43,0x4EE8,{ 0xBB,0xF1,0xC1,0xB2,0x6A,0x71,0x1A,0x58 } }; // 1D4DFCDD-2D43-4EE8-BBF1-C1B26A711A58 + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumberFormatter; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumberRounder; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumberFormatter; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumberFormatter; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::NumberFormatting::INumberRounder; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Currency(void**) noexcept = 0; + virtual int32_t __stdcall put_Currency(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall ApplyRoundingForCurrency(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCurrencyFormatterCode(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCurrencyFormatterCodeContext(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateDecimalFormatter(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RoundingAlgorithm(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RoundingAlgorithm(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Increment(double*) noexcept = 0; + virtual int32_t __stdcall put_Increment(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FormatInt(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall FormatUInt(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall FormatDouble(double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FormatInt(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall FormatUInt(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall FormatDouble(double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall get_GeographicRegion(void**) noexcept = 0; + virtual int32_t __stdcall get_IntegerDigits(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IntegerDigits(int32_t) noexcept = 0; + virtual int32_t __stdcall get_FractionDigits(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FractionDigits(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsGrouped(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsGrouped(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDecimalPointAlwaysDisplayed(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDecimalPointAlwaysDisplayed(bool) noexcept = 0; + virtual int32_t __stdcall get_NumeralSystem(void**) noexcept = 0; + virtual int32_t __stdcall put_NumeralSystem(void*) noexcept = 0; + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_ResolvedGeographicRegion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ParseInt(void*, void**) noexcept = 0; + virtual int32_t __stdcall ParseUInt(void*, void**) noexcept = 0; + virtual int32_t __stdcall ParseDouble(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RoundInt32(int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall RoundUInt32(uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall RoundInt64(int64_t, int64_t*) noexcept = 0; + virtual int32_t __stdcall RoundUInt64(uint64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall RoundSingle(float, float*) noexcept = 0; + virtual int32_t __stdcall RoundDouble(double, double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NumberRounder(void**) noexcept = 0; + virtual int32_t __stdcall put_NumberRounder(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Languages(void**) noexcept = 0; + virtual int32_t __stdcall get_ResolvedLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_NumeralSystem(void**) noexcept = 0; + virtual int32_t __stdcall put_NumeralSystem(void*) noexcept = 0; + virtual int32_t __stdcall TranslateNumerals(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePercentFormatter(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePermilleFormatter(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsZeroSigned(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsZeroSigned(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RoundingAlgorithm(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RoundingAlgorithm(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SignificantDigits(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_SignificantDigits(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SignificantDigits(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SignificantDigits(int32_t) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter + { + [[nodiscard]] auto Currency() const; + auto Currency(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2 + { + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const; + auto ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory + { + auto CreateCurrencyFormatterCode(param::hstring const& currencyCode) const; + auto CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory; + }; + template + struct consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory + { + auto CreateDecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory; + }; + template + struct consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder + { + [[nodiscard]] auto RoundingAlgorithm() const; + auto RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; + [[nodiscard]] auto Increment() const; + auto Increment(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberFormatter + { + auto Format(int64_t value) const; + auto Format(uint64_t value) const; + auto Format(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberFormatter; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberFormatter2 + { + auto FormatInt(int64_t value) const; + auto FormatUInt(uint64_t value) const; + auto FormatDouble(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberFormatter2; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions + { + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto IntegerDigits() const; + auto IntegerDigits(int32_t value) const; + [[nodiscard]] auto FractionDigits() const; + auto FractionDigits(int32_t value) const; + [[nodiscard]] auto IsGrouped() const; + auto IsGrouped(bool value) const; + [[nodiscard]] auto IsDecimalPointAlwaysDisplayed() const; + auto IsDecimalPointAlwaysDisplayed(bool value) const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto ResolvedGeographicRegion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberParser + { + auto ParseInt(param::hstring const& text) const; + auto ParseUInt(param::hstring const& text) const; + auto ParseDouble(param::hstring const& text) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberParser; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberRounder + { + auto RoundInt32(int32_t value) const; + auto RoundUInt32(uint32_t value) const; + auto RoundInt64(int64_t value) const; + auto RoundUInt64(uint64_t value) const; + auto RoundSingle(float value) const; + auto RoundDouble(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberRounder; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumberRounderOption + { + [[nodiscard]] auto NumberRounder() const; + auto NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumberRounderOption; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator + { + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + auto TranslateNumerals(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator; + }; + template + struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory + { + auto Create(param::iterable const& languages) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory; + }; + template + struct consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory + { + auto CreatePercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory; + }; + template + struct consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory + { + auto CreatePermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ISignedZeroOption + { + [[nodiscard]] auto IsZeroSigned() const; + auto IsZeroSigned(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ISignedZeroOption; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder + { + [[nodiscard]] auto RoundingAlgorithm() const; + auto RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; + [[nodiscard]] auto SignificantDigits() const; + auto SignificantDigits(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder; + }; + template + struct consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption + { + [[nodiscard]] auto SignificantDigits() const; + auto SignificantDigits(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a1d49d4bd935e2da0a1dfa165c34869fda35a092 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.1.h @@ -0,0 +1,140 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_NumberFormatting_1_H +#define WINRT_Windows_Globalization_NumberFormatting_1_H +#include "winrt/impl/Windows.Globalization.NumberFormatting.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::NumberFormatting +{ + struct WINRT_IMPL_EMPTY_BASES ICurrencyFormatter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICurrencyFormatter(std::nullptr_t = nullptr) noexcept {} + ICurrencyFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyFormatter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyFormatter2(std::nullptr_t = nullptr) noexcept {} + ICurrencyFormatter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrencyFormatterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrencyFormatterFactory(std::nullptr_t = nullptr) noexcept {} + ICurrencyFormatterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDecimalFormatterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDecimalFormatterFactory(std::nullptr_t = nullptr) noexcept {} + IDecimalFormatterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIncrementNumberRounder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIncrementNumberRounder(std::nullptr_t = nullptr) noexcept {} + IIncrementNumberRounder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberFormatter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberFormatter(std::nullptr_t = nullptr) noexcept {} + INumberFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberFormatter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberFormatter2(std::nullptr_t = nullptr) noexcept {} + INumberFormatter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberFormatterOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberFormatterOptions(std::nullptr_t = nullptr) noexcept {} + INumberFormatterOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberParser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberParser(std::nullptr_t = nullptr) noexcept {} + INumberParser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberRounder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberRounder(std::nullptr_t = nullptr) noexcept {} + INumberRounder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumberRounderOption : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumberRounderOption(std::nullptr_t = nullptr) noexcept {} + INumberRounderOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumeralSystemTranslator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumeralSystemTranslator(std::nullptr_t = nullptr) noexcept {} + INumeralSystemTranslator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INumeralSystemTranslatorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INumeralSystemTranslatorFactory(std::nullptr_t = nullptr) noexcept {} + INumeralSystemTranslatorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPercentFormatterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPercentFormatterFactory(std::nullptr_t = nullptr) noexcept {} + IPercentFormatterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPermilleFormatterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPermilleFormatterFactory(std::nullptr_t = nullptr) noexcept {} + IPermilleFormatterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISignedZeroOption : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISignedZeroOption(std::nullptr_t = nullptr) noexcept {} + ISignedZeroOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISignificantDigitsNumberRounder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISignificantDigitsNumberRounder(std::nullptr_t = nullptr) noexcept {} + ISignificantDigitsNumberRounder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISignificantDigitsOption : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISignificantDigitsOption(std::nullptr_t = nullptr) noexcept {} + ISignificantDigitsOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.2.h new file mode 100644 index 0000000000000000000000000000000000000000..dff24948330f3acbd50bdf90a1b0660f5f04b5cc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.numberformatting.2.h @@ -0,0 +1,67 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_NumberFormatting_2_H +#define WINRT_Windows_Globalization_NumberFormatting_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Globalization.NumberFormatting.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::NumberFormatting +{ + struct WINRT_IMPL_EMPTY_BASES CurrencyFormatter : winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter, + impl::require + { + CurrencyFormatter(std::nullptr_t) noexcept {} + CurrencyFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter(ptr, take_ownership_from_abi) {} + explicit CurrencyFormatter(param::hstring const& currencyCode); + CurrencyFormatter(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion); + }; + struct WINRT_IMPL_EMPTY_BASES DecimalFormatter : winrt::Windows::Globalization::NumberFormatting::INumberFormatter, + impl::require + { + DecimalFormatter(std::nullptr_t) noexcept {} + DecimalFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumberFormatter(ptr, take_ownership_from_abi) {} + DecimalFormatter(); + DecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion); + }; + struct WINRT_IMPL_EMPTY_BASES IncrementNumberRounder : winrt::Windows::Globalization::NumberFormatting::INumberRounder, + impl::require + { + IncrementNumberRounder(std::nullptr_t) noexcept {} + IncrementNumberRounder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumberRounder(ptr, take_ownership_from_abi) {} + IncrementNumberRounder(); + }; + struct WINRT_IMPL_EMPTY_BASES NumeralSystemTranslator : winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator + { + NumeralSystemTranslator(std::nullptr_t) noexcept {} + NumeralSystemTranslator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator(ptr, take_ownership_from_abi) {} + NumeralSystemTranslator(); + explicit NumeralSystemTranslator(param::iterable const& languages); + }; + struct WINRT_IMPL_EMPTY_BASES PercentFormatter : winrt::Windows::Globalization::NumberFormatting::INumberFormatter, + impl::require + { + PercentFormatter(std::nullptr_t) noexcept {} + PercentFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumberFormatter(ptr, take_ownership_from_abi) {} + PercentFormatter(); + PercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion); + }; + struct WINRT_IMPL_EMPTY_BASES PermilleFormatter : winrt::Windows::Globalization::NumberFormatting::INumberFormatter, + impl::require + { + PermilleFormatter(std::nullptr_t) noexcept {} + PermilleFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumberFormatter(ptr, take_ownership_from_abi) {} + PermilleFormatter(); + PermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion); + }; + struct WINRT_IMPL_EMPTY_BASES SignificantDigitsNumberRounder : winrt::Windows::Globalization::NumberFormatting::INumberRounder, + impl::require + { + SignificantDigitsNumberRounder(std::nullptr_t) noexcept {} + SignificantDigitsNumberRounder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::NumberFormatting::INumberRounder(ptr, take_ownership_from_abi) {} + SignificantDigitsNumberRounder(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.0.h new file mode 100644 index 0000000000000000000000000000000000000000..06fbd3c4c515f0d80131e914191de0bc40608882 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.0.h @@ -0,0 +1,198 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_0_H +#define WINRT_Windows_Globalization_PhoneNumberFormatting_0_H +WINRT_EXPORT namespace winrt::Windows::Globalization::PhoneNumberFormatting +{ + enum class PhoneNumberFormat : int32_t + { + E164 = 0, + International = 1, + National = 2, + Rfc3966 = 3, + }; + enum class PhoneNumberMatchResult : int32_t + { + NoMatch = 0, + ShortNationalSignificantNumberMatch = 1, + NationalSignificantNumberMatch = 2, + ExactMatch = 3, + }; + enum class PhoneNumberParseResult : int32_t + { + Valid = 0, + NotANumber = 1, + InvalidCountryCode = 2, + TooShort = 3, + TooLong = 4, + }; + enum class PredictedPhoneNumberKind : int32_t + { + FixedLine = 0, + Mobile = 1, + FixedLineOrMobile = 2, + TollFree = 3, + PremiumRate = 4, + SharedCost = 5, + Voip = 6, + PersonalNumber = 7, + Pager = 8, + UniversalAccountNumber = 9, + Voicemail = 10, + Unknown = 11, + }; + struct IPhoneNumberFormatter; + struct IPhoneNumberFormatterStatics; + struct IPhoneNumberInfo; + struct IPhoneNumberInfoFactory; + struct IPhoneNumberInfoStatics; + struct PhoneNumberFormatter; + struct PhoneNumberInfo; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormat"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PhoneNumberMatchResult"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PhoneNumberParseResult"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.PredictedPhoneNumberKind"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.IPhoneNumberFormatter"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.IPhoneNumberFormatterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.IPhoneNumberInfo"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.IPhoneNumberInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Globalization.PhoneNumberFormatting.IPhoneNumberInfoStatics"; + template <> inline constexpr guid guid_v{ 0x1556B49E,0xBAD4,0x4B4A,{ 0x90,0x0D,0x44,0x07,0xAD,0xB7,0xC9,0x81 } }; // 1556B49E-BAD4-4B4A-900D-4407ADB7C981 + template <> inline constexpr guid guid_v{ 0x5CA6F931,0x84D9,0x414B,{ 0xAB,0x4E,0xA0,0x55,0x2C,0x87,0x86,0x02 } }; // 5CA6F931-84D9-414B-AB4E-A0552C878602 + template <> inline constexpr guid guid_v{ 0x1C7CE4DD,0xC8B4,0x4EA3,{ 0x9A,0xEF,0xB3,0x42,0xE2,0xC5,0xB4,0x17 } }; // 1C7CE4DD-C8B4-4EA3-9AEF-B342E2C5B417 + template <> inline constexpr guid guid_v{ 0x8202B964,0xADAA,0x4CFF,{ 0x8F,0xCF,0x17,0xE7,0x51,0x6A,0x28,0xFF } }; // 8202B964-ADAA-4CFF-8FCF-17E7516A28FF + template <> inline constexpr guid guid_v{ 0x5B3F4F6A,0x86A9,0x40E9,{ 0x86,0x49,0x6D,0x61,0x16,0x19,0x28,0xD4 } }; // 5B3F4F6A-86A9-40E9-8649-6D61161928D4 + template <> struct default_interface{ using type = winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter; }; + template <> struct default_interface{ using type = winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Format(void*, void**) noexcept = 0; + virtual int32_t __stdcall FormatWithOutputFormat(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FormatPartialString(void*, void**) noexcept = 0; + virtual int32_t __stdcall FormatString(void*, void**) noexcept = 0; + virtual int32_t __stdcall FormatStringWithLeftToRightMarkers(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCreate(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCountryCodeForRegion(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetNationalDirectDialingPrefixForRegion(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall WrapWithLeftToRightMarkers(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CountryCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhoneNumber(void**) noexcept = 0; + virtual int32_t __stdcall GetLengthOfGeographicalAreaCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetNationalSignificantNumber(void**) noexcept = 0; + virtual int32_t __stdcall GetLengthOfNationalDestinationCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall PredictNumberKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetGeographicRegionCode(void**) noexcept = 0; + virtual int32_t __stdcall CheckNumberMatch(void*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryParse(void*, void**, int32_t*) noexcept = 0; + virtual int32_t __stdcall TryParseWithRegion(void*, void*, void**, int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter + { + auto Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const; + auto Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const; + auto FormatPartialString(param::hstring const& number) const; + auto FormatString(param::hstring const& number) const; + auto FormatStringWithLeftToRightMarkers(param::hstring const& number) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter; + }; + template + struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics + { + auto TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const; + auto GetCountryCodeForRegion(param::hstring const& regionCode) const; + auto GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const; + auto WrapWithLeftToRightMarkers(param::hstring const& number) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics; + }; + template + struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo + { + [[nodiscard]] auto CountryCode() const; + [[nodiscard]] auto PhoneNumber() const; + auto GetLengthOfGeographicalAreaCode() const; + auto GetNationalSignificantNumber() const; + auto GetLengthOfNationalDestinationCode() const; + auto PredictNumberKind() const; + auto GetGeographicRegionCode() const; + auto CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo; + }; + template + struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory + { + auto Create(param::hstring const& number) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory; + }; + template + struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics + { + auto TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; + auto TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.1.h new file mode 100644 index 0000000000000000000000000000000000000000..31bd01093b41780257cde69f57f47a0c05d47a49 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_1_H +#define WINRT_Windows_Globalization_PhoneNumberFormatting_1_H +#include "winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::PhoneNumberFormatting +{ + struct WINRT_IMPL_EMPTY_BASES IPhoneNumberFormatter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhoneNumberFormatter(std::nullptr_t = nullptr) noexcept {} + IPhoneNumberFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhoneNumberFormatterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhoneNumberFormatterStatics(std::nullptr_t = nullptr) noexcept {} + IPhoneNumberFormatterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhoneNumberInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhoneNumberInfo(std::nullptr_t = nullptr) noexcept {} + IPhoneNumberInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhoneNumberInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhoneNumberInfoFactory(std::nullptr_t = nullptr) noexcept {} + IPhoneNumberInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhoneNumberInfoStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhoneNumberInfoStatics(std::nullptr_t = nullptr) noexcept {} + IPhoneNumberInfoStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0a44e28b65e36c7f0032b125641bc32e5921f0dc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.globalization.phonenumberformatting.2.h @@ -0,0 +1,33 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_2_H +#define WINRT_Windows_Globalization_PhoneNumberFormatting_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h" +WINRT_EXPORT namespace winrt::Windows::Globalization::PhoneNumberFormatting +{ + struct WINRT_IMPL_EMPTY_BASES PhoneNumberFormatter : winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter + { + PhoneNumberFormatter(std::nullptr_t) noexcept {} + PhoneNumberFormatter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter(ptr, take_ownership_from_abi) {} + PhoneNumberFormatter(); + static auto TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber); + static auto GetCountryCodeForRegion(param::hstring const& regionCode); + static auto GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit); + static auto WrapWithLeftToRightMarkers(param::hstring const& number); + }; + struct WINRT_IMPL_EMPTY_BASES PhoneNumberInfo : winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo, + impl::require + { + PhoneNumberInfo(std::nullptr_t) noexcept {} + PhoneNumberInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo(ptr, take_ownership_from_abi) {} + explicit PhoneNumberInfo(param::hstring const& number); + static auto TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber); + static auto TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.0.h new file mode 100644 index 0000000000000000000000000000000000000000..dfc3e2cd153f2c2459ac1514d15a941101c939c6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.0.h @@ -0,0 +1,94 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_0_H +#define WINRT_Windows_Graphics_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct IGeometrySource2D; + struct DisplayAdapterId; + struct DisplayId; + struct PointInt32; + struct RectInt32; + struct SizeInt32; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DisplayAdapterId"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DisplayId"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.PointInt32"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.RectInt32"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.SizeInt32"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.IGeometrySource2D"; + template <> inline constexpr guid guid_v{ 0xCAFF7902,0x670C,0x4181,{ 0xA6,0x24,0xDA,0x97,0x72,0x03,0xB8,0x45 } }; // CAFF7902-670C-4181-A624-DA977203B845 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template + struct consume_Windows_Graphics_IGeometrySource2D + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_IGeometrySource2D; + }; + struct struct_Windows_Graphics_DisplayAdapterId + { + uint32_t LowPart; + int32_t HighPart; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_DisplayAdapterId; + }; + struct struct_Windows_Graphics_DisplayId + { + uint64_t Value; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_DisplayId; + }; + struct struct_Windows_Graphics_PointInt32 + { + int32_t X; + int32_t Y; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_PointInt32; + }; + struct struct_Windows_Graphics_RectInt32 + { + int32_t X; + int32_t Y; + int32_t Width; + int32_t Height; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_RectInt32; + }; + struct struct_Windows_Graphics_SizeInt32 + { + int32_t Width; + int32_t Height; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_SizeInt32; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.1.h new file mode 100644 index 0000000000000000000000000000000000000000..b4253f22ef0c88c8f4b81b6afb0f2efac37f2a68 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_1_H +#define WINRT_Windows_Graphics_1_H +#include "winrt/impl/Windows.Graphics.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct WINRT_IMPL_EMPTY_BASES IGeometrySource2D : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeometrySource2D(std::nullptr_t = nullptr) noexcept {} + IGeometrySource2D(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.2.h new file mode 100644 index 0000000000000000000000000000000000000000..94c51985003136ecfedf32789fccbecd28a562d4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.2.h @@ -0,0 +1,79 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_2_H +#define WINRT_Windows_Graphics_2_H +#include "winrt/impl/Windows.Graphics.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayAdapterId + { + uint32_t LowPart {}; + int32_t HighPart {}; + }; + inline bool operator==(DisplayAdapterId const& left, DisplayAdapterId const& right) noexcept + { + return left.LowPart == right.LowPart && left.HighPart == right.HighPart; + } + inline bool operator!=(DisplayAdapterId const& left, DisplayAdapterId const& right) noexcept + { + return !(left == right); + } + struct DisplayId + { + uint64_t Value {}; + }; + inline bool operator==(DisplayId const& left, DisplayId const& right) noexcept + { + return left.Value == right.Value; + } + inline bool operator!=(DisplayId const& left, DisplayId const& right) noexcept + { + return !(left == right); + } + struct PointInt32 + { + int32_t X {}; + int32_t Y {}; + }; + inline bool operator==(PointInt32 const& left, PointInt32 const& right) noexcept + { + return left.X == right.X && left.Y == right.Y; + } + inline bool operator!=(PointInt32 const& left, PointInt32 const& right) noexcept + { + return !(left == right); + } + struct RectInt32 + { + int32_t X {}; + int32_t Y {}; + int32_t Width {}; + int32_t Height {}; + }; + inline bool operator==(RectInt32 const& left, RectInt32 const& right) noexcept + { + return left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; + } + inline bool operator!=(RectInt32 const& left, RectInt32 const& right) noexcept + { + return !(left == right); + } + struct SizeInt32 + { + int32_t Width {}; + int32_t Height {}; + }; + inline bool operator==(SizeInt32 const& left, SizeInt32 const& right) noexcept + { + return left.Width == right.Width && left.Height == right.Height; + } + inline bool operator!=(SizeInt32 const& left, SizeInt32 const& right) noexcept + { + return !(left == right); + } +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.0.h new file mode 100644 index 0000000000000000000000000000000000000000..98b534a7436829622d203d30f1967db20f08a012 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.0.h @@ -0,0 +1,461 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Capture_0_H +#define WINRT_Windows_Graphics_Capture_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayId; + struct SizeInt32; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DDevice; + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct DispatcherQueue; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct WindowId; +} +WINRT_EXPORT namespace winrt::Windows::UI::Composition +{ + struct Visual; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Capture +{ + enum class GraphicsCaptureAccessKind : int32_t + { + Borderless = 0, + Programmatic = 1, + }; + enum class GraphicsCaptureDirtyRegionMode : int32_t + { + ReportOnly = 0, + ReportAndRender = 1, + }; + struct IDirect3D11CaptureFrame; + struct IDirect3D11CaptureFrame2; + struct IDirect3D11CaptureFramePool; + struct IDirect3D11CaptureFramePoolStatics; + struct IDirect3D11CaptureFramePoolStatics2; + struct IGraphicsCaptureAccessStatics; + struct IGraphicsCaptureItem; + struct IGraphicsCaptureItemStatics; + struct IGraphicsCaptureItemStatics2; + struct IGraphicsCapturePicker; + struct IGraphicsCaptureSession; + struct IGraphicsCaptureSession2; + struct IGraphicsCaptureSession3; + struct IGraphicsCaptureSession4; + struct IGraphicsCaptureSession5; + struct IGraphicsCaptureSession6; + struct IGraphicsCaptureSessionStatics; + struct Direct3D11CaptureFrame; + struct Direct3D11CaptureFramePool; + struct GraphicsCaptureAccess; + struct GraphicsCaptureItem; + struct GraphicsCapturePicker; + struct GraphicsCaptureSession; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.Direct3D11CaptureFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.Direct3D11CaptureFramePool"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureAccess"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureItem"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCapturePicker"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureAccessKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureDirtyRegionMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePool"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureAccessStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItem"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCapturePicker"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession4"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession5"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession6"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSessionStatics"; + template <> inline constexpr guid guid_v{ 0xFA50C623,0x38DA,0x4B32,{ 0xAC,0xF3,0xFA,0x97,0x34,0xAD,0x80,0x0E } }; // FA50C623-38DA-4B32-ACF3-FA9734AD800E + template <> inline constexpr guid guid_v{ 0x37869CFA,0x2B48,0x5EBF,{ 0x9A,0xFB,0xDF,0xFD,0x80,0x5D,0xEF,0xDB } }; // 37869CFA-2B48-5EBF-9AFB-DFFD805DEFDB + template <> inline constexpr guid guid_v{ 0x24EB6D22,0x1975,0x422E,{ 0x82,0xE7,0x78,0x0D,0xBD,0x8D,0xDF,0x24 } }; // 24EB6D22-1975-422E-82E7-780DBD8DDF24 + template <> inline constexpr guid guid_v{ 0x7784056A,0x67AA,0x4D53,{ 0xAE,0x54,0x10,0x88,0xD5,0xA8,0xCA,0x21 } }; // 7784056A-67AA-4D53-AE54-1088D5A8CA21 + template <> inline constexpr guid guid_v{ 0x589B103F,0x6BBC,0x5DF5,{ 0xA9,0x91,0x02,0xE2,0x8B,0x3B,0x66,0xD5 } }; // 589B103F-6BBC-5DF5-A991-02E28B3B66D5 + template <> inline constexpr guid guid_v{ 0x743ED370,0x06EC,0x5040,{ 0xA5,0x8A,0x90,0x1F,0x0F,0x75,0x70,0x95 } }; // 743ED370-06EC-5040-A58A-901F0F757095 + template <> inline constexpr guid guid_v{ 0x79C3F95B,0x31F7,0x4EC2,{ 0xA4,0x64,0x63,0x2E,0xF5,0xD3,0x07,0x60 } }; // 79C3F95B-31F7-4EC2-A464-632EF5D30760 + template <> inline constexpr guid guid_v{ 0xA87EBEA5,0x457C,0x5788,{ 0xAB,0x47,0x0C,0xF1,0xD3,0x63,0x7E,0x74 } }; // A87EBEA5-457C-5788-AB47-0CF1D3637E74 + template <> inline constexpr guid guid_v{ 0x3B92ACC9,0xE584,0x5862,{ 0xBF,0x5C,0x9C,0x31,0x6C,0x6D,0x2D,0xBB } }; // 3B92ACC9-E584-5862-BF5C-9C316C6D2DBB + template <> inline constexpr guid guid_v{ 0x5A1711B3,0xAD79,0x4B4A,{ 0x93,0x36,0x13,0x18,0xFD,0xDE,0x35,0x39 } }; // 5A1711B3-AD79-4B4A-9336-1318FDDE3539 + template <> inline constexpr guid guid_v{ 0x814E42A9,0xF70F,0x4AD7,{ 0x93,0x9B,0xFD,0xDC,0xC6,0xEB,0x88,0x0D } }; // 814E42A9-F70F-4AD7-939B-FDDCC6EB880D + template <> inline constexpr guid guid_v{ 0x2C39AE40,0x7D2E,0x5044,{ 0x80,0x4E,0x8B,0x67,0x99,0xD4,0xCF,0x9E } }; // 2C39AE40-7D2E-5044-804E-8B6799D4CF9E + template <> inline constexpr guid guid_v{ 0xF2CDD966,0x22AE,0x5EA1,{ 0x95,0x96,0x3A,0x28,0x93,0x44,0xC3,0xBE } }; // F2CDD966-22AE-5EA1-9596-3A289344C3BE + template <> inline constexpr guid guid_v{ 0xAE99813C,0xC257,0x5759,{ 0x8E,0xD0,0x66,0x8C,0x9B,0x55,0x7E,0xD4 } }; // AE99813C-C257-5759-8ED0-668C9B557ED4 + template <> inline constexpr guid guid_v{ 0x67C0EA62,0x1F85,0x5061,{ 0x92,0x5A,0x23,0x9B,0xE0,0xAC,0x09,0xCB } }; // 67C0EA62-1F85-5061-925A-239BE0AC09CB + template <> inline constexpr guid guid_v{ 0xD7419236,0xBE20,0x5E9F,{ 0xBC,0xD6,0xC4,0xE9,0x8F,0xD6,0xAF,0xDC } }; // D7419236-BE20-5E9F-BCD6-C4E98FD6AFDC + template <> inline constexpr guid guid_v{ 0x2224A540,0x5974,0x49AA,{ 0xB2,0x32,0x08,0x82,0x53,0x6F,0x4C,0xB5 } }; // 2224A540-5974-49AA-B232-0882536F4CB5 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IGraphicsCaptureItem; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IGraphicsCapturePicker; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IGraphicsCaptureSession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Surface(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ContentSize(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DirtyRegions(void**) noexcept = 0; + virtual int32_t __stdcall get_DirtyRegionMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Recreate(void*, int32_t, int32_t, struct struct_Windows_Graphics_SizeInt32) noexcept = 0; + virtual int32_t __stdcall TryGetNextFrame(void**) noexcept = 0; + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateCaptureSession(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_DispatcherQueue(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, int32_t, int32_t, struct struct_Windows_Graphics_SizeInt32, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFreeThreaded(void*, int32_t, int32_t, struct struct_Windows_Graphics_SizeInt32, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Size(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromVisual(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCreateFromWindowId(struct struct_Windows_UI_WindowId, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFromDisplayId(struct struct_Windows_Graphics_DisplayId, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PickSingleItemAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartCapture() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCursorCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCursorCaptureEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBorderRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsBorderRequired(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DirtyRegionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DirtyRegionMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinUpdateInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_MinUpdateInterval(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludeSecondaryWindows(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeSecondaryWindows(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame + { + [[nodiscard]] auto Surface() const; + [[nodiscard]] auto SystemRelativeTime() const; + [[nodiscard]] auto ContentSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame; + }; + template + struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame2 + { + [[nodiscard]] auto DirtyRegions() const; + [[nodiscard]] auto DirtyRegionMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame2; + }; + template + struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool + { + auto Recreate(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + auto TryGetNextFrame() const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const; + [[nodiscard]] auto DispatcherQueue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool; + }; + template + struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics + { + auto Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics; + }; + template + struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2 + { + auto CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics + { + auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureItem + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Size() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItem; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics + { + auto CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2 + { + auto TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const; + auto TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCapturePicker + { + auto PickSingleItemAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCapturePicker; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession + { + auto StartCapture() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession2 + { + [[nodiscard]] auto IsCursorCaptureEnabled() const; + auto IsCursorCaptureEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession2; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession3 + { + [[nodiscard]] auto IsBorderRequired() const; + auto IsBorderRequired(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession3; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession4 + { + [[nodiscard]] auto DirtyRegionMode() const; + auto DirtyRegionMode(winrt::Windows::Graphics::Capture::GraphicsCaptureDirtyRegionMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession4; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession5 + { + [[nodiscard]] auto MinUpdateInterval() const; + auto MinUpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession5; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession6 + { + [[nodiscard]] auto IncludeSecondaryWindows() const; + auto IncludeSecondaryWindows(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession6; + }; + template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics + { + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ea8f69c44a5b5089aa459fcb3b153e2245705c9e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.1.h @@ -0,0 +1,132 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Capture_1_H +#define WINRT_Windows_Graphics_Capture_1_H +#include "winrt/impl/Windows.Graphics.Capture.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Capture +{ + struct WINRT_IMPL_EMPTY_BASES IDirect3D11CaptureFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDirect3D11CaptureFrame(std::nullptr_t = nullptr) noexcept {} + IDirect3D11CaptureFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDirect3D11CaptureFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDirect3D11CaptureFrame2(std::nullptr_t = nullptr) noexcept {} + IDirect3D11CaptureFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDirect3D11CaptureFramePool : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDirect3D11CaptureFramePool(std::nullptr_t = nullptr) noexcept {} + IDirect3D11CaptureFramePool(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDirect3D11CaptureFramePoolStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDirect3D11CaptureFramePoolStatics(std::nullptr_t = nullptr) noexcept {} + IDirect3D11CaptureFramePoolStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDirect3D11CaptureFramePoolStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDirect3D11CaptureFramePoolStatics2(std::nullptr_t = nullptr) noexcept {} + IDirect3D11CaptureFramePoolStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureAccessStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureAccessStatics(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureAccessStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureItem(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureItemStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureItemStatics(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureItemStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureItemStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureItemStatics2(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureItemStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCapturePicker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCapturePicker(std::nullptr_t = nullptr) noexcept {} + IGraphicsCapturePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession2(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession3(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession4(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession5(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSession6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession6(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsCaptureSessionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSessionStatics(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSessionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8f20e0f391ebe2372ba66ee0c5bb7dfbe3438c50 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.capture.2.h @@ -0,0 +1,59 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Capture_2_H +#define WINRT_Windows_Graphics_Capture_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Graphics.1.h" +#include "winrt/impl/Windows.Graphics.DirectX.1.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h" +#include "winrt/impl/Windows.UI.1.h" +#include "winrt/impl/Windows.UI.Composition.1.h" +#include "winrt/impl/Windows.Graphics.Capture.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Capture +{ + struct WINRT_IMPL_EMPTY_BASES Direct3D11CaptureFrame : winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame, + impl::require + { + Direct3D11CaptureFrame(std::nullptr_t) noexcept {} + Direct3D11CaptureFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Direct3D11CaptureFramePool : winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool, + impl::require + { + Direct3D11CaptureFramePool(std::nullptr_t) noexcept {} + Direct3D11CaptureFramePool(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool(ptr, take_ownership_from_abi) {} + static auto Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size); + static auto CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size); + }; + struct GraphicsCaptureAccess + { + GraphicsCaptureAccess() = delete; + static auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request); + }; + struct WINRT_IMPL_EMPTY_BASES GraphicsCaptureItem : winrt::Windows::Graphics::Capture::IGraphicsCaptureItem + { + GraphicsCaptureItem(std::nullptr_t) noexcept {} + GraphicsCaptureItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IGraphicsCaptureItem(ptr, take_ownership_from_abi) {} + static auto CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual); + static auto TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId); + static auto TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId); + }; + struct WINRT_IMPL_EMPTY_BASES GraphicsCapturePicker : winrt::Windows::Graphics::Capture::IGraphicsCapturePicker + { + GraphicsCapturePicker(std::nullptr_t) noexcept {} + GraphicsCapturePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IGraphicsCapturePicker(ptr, take_ownership_from_abi) {} + GraphicsCapturePicker(); + }; + struct WINRT_IMPL_EMPTY_BASES GraphicsCaptureSession : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession, + impl::require + { + GraphicsCaptureSession(std::nullptr_t) noexcept {} + GraphicsCaptureSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession(ptr, take_ownership_from_abi) {} + static auto IsSupported(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b9284c7f814c6c5bdc00106331306a3a48c34008 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.0.h @@ -0,0 +1,192 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_0_H +#define WINRT_Windows_Graphics_DirectX_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXAlphaMode : int32_t + { + Unspecified = 0, + Premultiplied = 1, + Straight = 2, + Ignore = 3, + }; + enum class DirectXColorSpace : int32_t + { + RgbFullG22NoneP709 = 0, + RgbFullG10NoneP709 = 1, + RgbStudioG22NoneP709 = 2, + RgbStudioG22NoneP2020 = 3, + Reserved = 4, + YccFullG22NoneP709X601 = 5, + YccStudioG22LeftP601 = 6, + YccFullG22LeftP601 = 7, + YccStudioG22LeftP709 = 8, + YccFullG22LeftP709 = 9, + YccStudioG22LeftP2020 = 10, + YccFullG22LeftP2020 = 11, + RgbFullG2084NoneP2020 = 12, + YccStudioG2084LeftP2020 = 13, + RgbStudioG2084NoneP2020 = 14, + YccStudioG22TopLeftP2020 = 15, + YccStudioG2084TopLeftP2020 = 16, + RgbFullG22NoneP2020 = 17, + YccStudioGHlgTopLeftP2020 = 18, + YccFullGHlgTopLeftP2020 = 19, + RgbStudioG24NoneP709 = 20, + RgbStudioG24NoneP2020 = 21, + YccStudioG24LeftP709 = 22, + YccStudioG24LeftP2020 = 23, + YccStudioG24TopLeftP2020 = 24, + }; + enum class DirectXPixelFormat : int32_t + { + Unknown = 0, + R32G32B32A32Typeless = 1, + R32G32B32A32Float = 2, + R32G32B32A32UInt = 3, + R32G32B32A32Int = 4, + R32G32B32Typeless = 5, + R32G32B32Float = 6, + R32G32B32UInt = 7, + R32G32B32Int = 8, + R16G16B16A16Typeless = 9, + R16G16B16A16Float = 10, + R16G16B16A16UIntNormalized = 11, + R16G16B16A16UInt = 12, + R16G16B16A16IntNormalized = 13, + R16G16B16A16Int = 14, + R32G32Typeless = 15, + R32G32Float = 16, + R32G32UInt = 17, + R32G32Int = 18, + R32G8X24Typeless = 19, + D32FloatS8X24UInt = 20, + R32FloatX8X24Typeless = 21, + X32TypelessG8X24UInt = 22, + R10G10B10A2Typeless = 23, + R10G10B10A2UIntNormalized = 24, + R10G10B10A2UInt = 25, + R11G11B10Float = 26, + R8G8B8A8Typeless = 27, + R8G8B8A8UIntNormalized = 28, + R8G8B8A8UIntNormalizedSrgb = 29, + R8G8B8A8UInt = 30, + R8G8B8A8IntNormalized = 31, + R8G8B8A8Int = 32, + R16G16Typeless = 33, + R16G16Float = 34, + R16G16UIntNormalized = 35, + R16G16UInt = 36, + R16G16IntNormalized = 37, + R16G16Int = 38, + R32Typeless = 39, + D32Float = 40, + R32Float = 41, + R32UInt = 42, + R32Int = 43, + R24G8Typeless = 44, + D24UIntNormalizedS8UInt = 45, + R24UIntNormalizedX8Typeless = 46, + X24TypelessG8UInt = 47, + R8G8Typeless = 48, + R8G8UIntNormalized = 49, + R8G8UInt = 50, + R8G8IntNormalized = 51, + R8G8Int = 52, + R16Typeless = 53, + R16Float = 54, + D16UIntNormalized = 55, + R16UIntNormalized = 56, + R16UInt = 57, + R16IntNormalized = 58, + R16Int = 59, + R8Typeless = 60, + R8UIntNormalized = 61, + R8UInt = 62, + R8IntNormalized = 63, + R8Int = 64, + A8UIntNormalized = 65, + R1UIntNormalized = 66, + R9G9B9E5SharedExponent = 67, + R8G8B8G8UIntNormalized = 68, + G8R8G8B8UIntNormalized = 69, + BC1Typeless = 70, + BC1UIntNormalized = 71, + BC1UIntNormalizedSrgb = 72, + BC2Typeless = 73, + BC2UIntNormalized = 74, + BC2UIntNormalizedSrgb = 75, + BC3Typeless = 76, + BC3UIntNormalized = 77, + BC3UIntNormalizedSrgb = 78, + BC4Typeless = 79, + BC4UIntNormalized = 80, + BC4IntNormalized = 81, + BC5Typeless = 82, + BC5UIntNormalized = 83, + BC5IntNormalized = 84, + B5G6R5UIntNormalized = 85, + B5G5R5A1UIntNormalized = 86, + B8G8R8A8UIntNormalized = 87, + B8G8R8X8UIntNormalized = 88, + R10G10B10XRBiasA2UIntNormalized = 89, + B8G8R8A8Typeless = 90, + B8G8R8A8UIntNormalizedSrgb = 91, + B8G8R8X8Typeless = 92, + B8G8R8X8UIntNormalizedSrgb = 93, + BC6HTypeless = 94, + BC6H16UnsignedFloat = 95, + BC6H16Float = 96, + BC7Typeless = 97, + BC7UIntNormalized = 98, + BC7UIntNormalizedSrgb = 99, + Ayuv = 100, + Y410 = 101, + Y416 = 102, + NV12 = 103, + P010 = 104, + P016 = 105, + Opaque420 = 106, + Yuy2 = 107, + Y210 = 108, + Y216 = 109, + NV11 = 110, + AI44 = 111, + IA44 = 112, + P8 = 113, + A8P8 = 114, + B4G4R4A4UIntNormalized = 115, + P208 = 130, + V208 = 131, + V408 = 132, + SamplerFeedbackMinMipOpaque = 189, + SamplerFeedbackMipRegionUsedOpaque = 190, + A4B4G4R4 = 191, + }; + enum class DirectXPrimitiveTopology : int32_t + { + Undefined = 0, + PointList = 1, + LineList = 2, + LineStrip = 3, + TriangleList = 4, + TriangleStrip = 5, + }; +} +namespace winrt::impl +{ + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.DirectXAlphaMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.DirectXColorSpace"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.DirectXPixelFormat"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.DirectXPrimitiveTopology"; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6b83c9844f32f32666543ea3bef8903e0f58a6d3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.1.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_1_H +#define WINRT_Windows_Graphics_DirectX_1_H +#include "winrt/impl/Windows.Graphics.DirectX.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.2.h new file mode 100644 index 0000000000000000000000000000000000000000..4b1b5575860a65c7cbb0eab8a6fec6d5f617a129 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.2.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_2_H +#define WINRT_Windows_Graphics_DirectX_2_H +#include "winrt/impl/Windows.Graphics.DirectX.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ac3dfcaad3d3560f68c75f59020cc98ea3e6969c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.0.h @@ -0,0 +1,109 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_0_H +#define WINRT_Windows_Graphics_DirectX_Direct3D11_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + enum class Direct3DBindings : uint32_t + { + VertexBuffer = 0x1, + IndexBuffer = 0x2, + ConstantBuffer = 0x4, + ShaderResource = 0x8, + StreamOutput = 0x10, + RenderTarget = 0x20, + DepthStencil = 0x40, + UnorderedAccess = 0x80, + Decoder = 0x200, + VideoEncoder = 0x400, + }; + enum class Direct3DUsage : int32_t + { + Default = 0, + Immutable = 1, + Dynamic = 2, + Staging = 3, + }; + struct IDirect3DDevice; + struct IDirect3DSurface; + struct Direct3DMultisampleDescription; + struct Direct3DSurfaceDescription; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.Direct3DBindings"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.Direct3DUsage"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.Direct3DSurfaceDescription"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.IDirect3DDevice"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface"; + template <> inline constexpr guid guid_v{ 0xA37624AB,0x8D5F,0x4650,{ 0x9D,0x3E,0x9E,0xAE,0x3D,0x9B,0xC6,0x70 } }; // A37624AB-8D5F-4650-9D3E-9EAE3D9BC670 + template <> inline constexpr guid guid_v{ 0x0BF4A146,0x13C1,0x4694,{ 0xBE,0xE3,0x7A,0xBF,0x15,0xEA,0xF5,0x86 } }; // 0BF4A146-13C1-4694-BEE3-7ABF15EAF586 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Trim() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Description(struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DSurfaceDescription*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice + { + auto Trim() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice; + }; + template + struct consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface + { + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface; + }; + struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription + { + int32_t Count; + int32_t Quality; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription; + }; + struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DSurfaceDescription + { + int32_t Width; + int32_t Height; + int32_t Format; + struct{ int32_t Count; int32_t Quality; } MultisampleDescription; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_DirectX_Direct3D11_Direct3DSurfaceDescription; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.1.h new file mode 100644 index 0000000000000000000000000000000000000000..adbf5a082959992dddbbb155c5faaac81b40a30e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.1.h @@ -0,0 +1,30 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_1_H +#define WINRT_Windows_Graphics_DirectX_Direct3D11_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct WINRT_IMPL_EMPTY_BASES IDirect3DDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDirect3DDevice(std::nullptr_t = nullptr) noexcept {} + IDirect3DDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDirect3DSurface : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDirect3DSurface(std::nullptr_t = nullptr) noexcept {} + IDirect3DSurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7b70d1e0a6ff33dc128784ad40e84d67f718c715 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.directx.direct3d11.2.h @@ -0,0 +1,42 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_2_H +#define WINRT_Windows_Graphics_DirectX_Direct3D11_2_H +#include "winrt/impl/Windows.Graphics.DirectX.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct Direct3DMultisampleDescription + { + int32_t Count {}; + int32_t Quality {}; + }; + inline bool operator==(Direct3DMultisampleDescription const& left, Direct3DMultisampleDescription const& right) noexcept + { + return left.Count == right.Count && left.Quality == right.Quality; + } + inline bool operator!=(Direct3DMultisampleDescription const& left, Direct3DMultisampleDescription const& right) noexcept + { + return !(left == right); + } + struct Direct3DSurfaceDescription + { + int32_t Width {}; + int32_t Height {}; + winrt::Windows::Graphics::DirectX::DirectXPixelFormat Format {}; + winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription MultisampleDescription {}; + }; + inline bool operator==(Direct3DSurfaceDescription const& left, Direct3DSurfaceDescription const& right) noexcept + { + return left.Width == right.Width && left.Height == right.Height && left.Format == right.Format && left.MultisampleDescription == right.MultisampleDescription; + } + inline bool operator!=(Direct3DSurfaceDescription const& left, Direct3DSurfaceDescription const& right) noexcept + { + return !(left == right); + } +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6b845424e36ff1581e94d7b573076cc69c82bc87 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.0.h @@ -0,0 +1,763 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_0_H +#define WINRT_Windows_Graphics_Display_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Point; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayId; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Display +{ + enum class AdvancedColorKind : int32_t + { + StandardDynamicRange = 0, + WideColorGamut = 1, + HighDynamicRange = 2, + }; + enum class DisplayBrightnessOverrideOptions : uint32_t + { + None = 0, + UseDimmedPolicyWhenBatteryIsLow = 0x1, + }; + enum class DisplayBrightnessOverrideScenario : int32_t + { + IdleBrightness = 0, + BarcodeReadingBrightness = 1, + FullBrightness = 2, + }; + enum class DisplayBrightnessScenario : int32_t + { + DefaultBrightness = 0, + IdleBrightness = 1, + BarcodeReadingBrightness = 2, + FullBrightness = 3, + }; + enum class DisplayColorOverrideScenario : int32_t + { + Accurate = 0, + }; + enum class DisplayOrientations : uint32_t + { + None = 0, + Landscape = 0x1, + Portrait = 0x2, + LandscapeFlipped = 0x4, + PortraitFlipped = 0x8, + }; + enum class HdrMetadataFormat : int32_t + { + Hdr10 = 0, + Hdr10Plus = 1, + }; + enum class ResolutionScale : int32_t + { + Invalid = 0, + Scale100Percent = 100, + Scale120Percent = 120, + Scale125Percent = 125, + Scale140Percent = 140, + Scale150Percent = 150, + Scale160Percent = 160, + Scale175Percent = 175, + Scale180Percent = 180, + Scale200Percent = 200, + Scale225Percent = 225, + Scale250Percent = 250, + Scale300Percent = 300, + Scale350Percent = 350, + Scale400Percent = 400, + Scale450Percent = 450, + Scale500Percent = 500, + }; + struct IAdvancedColorInfo; + struct IBrightnessOverride; + struct IBrightnessOverrideSettings; + struct IBrightnessOverrideSettingsStatics; + struct IBrightnessOverrideStatics; + struct IColorOverrideSettings; + struct IColorOverrideSettingsStatics; + struct IDisplayEnhancementOverride; + struct IDisplayEnhancementOverrideCapabilities; + struct IDisplayEnhancementOverrideCapabilitiesChangedEventArgs; + struct IDisplayEnhancementOverrideStatics; + struct IDisplayInformation; + struct IDisplayInformation2; + struct IDisplayInformation3; + struct IDisplayInformation4; + struct IDisplayInformation5; + struct IDisplayInformationStatics; + struct IDisplayPropertiesStatics; + struct IDisplayServices; + struct IDisplayServicesStatics; + struct AdvancedColorInfo; + struct BrightnessOverride; + struct BrightnessOverrideSettings; + struct ColorOverrideSettings; + struct DisplayEnhancementOverride; + struct DisplayEnhancementOverrideCapabilities; + struct DisplayEnhancementOverrideCapabilitiesChangedEventArgs; + struct DisplayInformation; + struct DisplayProperties; + struct DisplayServices; + struct NitRange; + struct DisplayPropertiesEventHandler; +} +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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.AdvancedColorInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.BrightnessOverride"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.BrightnessOverrideSettings"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.ColorOverrideSettings"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayEnhancementOverride"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayEnhancementOverrideCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayServices"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.AdvancedColorKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayBrightnessOverrideOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayBrightnessOverrideScenario"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayBrightnessScenario"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayColorOverrideScenario"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayOrientations"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.HdrMetadataFormat"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.ResolutionScale"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.NitRange"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IAdvancedColorInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IBrightnessOverride"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IBrightnessOverrideSettings"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IBrightnessOverrideSettingsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IBrightnessOverrideStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IColorOverrideSettings"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IColorOverrideSettingsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayEnhancementOverride"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayEnhancementOverrideCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayEnhancementOverrideCapabilitiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayEnhancementOverrideStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation4"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation5"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayServices"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayServicesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayPropertiesEventHandler"; + template <> inline constexpr guid guid_v{ 0x8797DCFB,0xB229,0x4081,{ 0xAE,0x9A,0x2C,0xC8,0x5E,0x34,0xAD,0x6A } }; // 8797DCFB-B229-4081-AE9A-2CC85E34AD6A + template <> inline constexpr guid guid_v{ 0x96C9621A,0xC143,0x4392,{ 0xBE,0xDD,0x4A,0x7E,0x95,0x74,0xC8,0xFD } }; // 96C9621A-C143-4392-BEDD-4A7E9574C8FD + template <> inline constexpr guid guid_v{ 0xD112AB2A,0x7604,0x4DBA,{ 0xBC,0xF8,0x4B,0x6F,0x49,0x50,0x2C,0xB0 } }; // D112AB2A-7604-4DBA-BCF8-4B6F49502CB0 + template <> inline constexpr guid guid_v{ 0xD487DC90,0x6F74,0x440B,{ 0xB3,0x83,0x5F,0xE9,0x6C,0xF0,0x0B,0x0F } }; // D487DC90-6F74-440B-B383-5FE96CF00B0F + template <> inline constexpr guid guid_v{ 0x03A7B9ED,0xE1F1,0x4A68,{ 0xA1,0x1F,0x94,0x6A,0xD8,0xCE,0x53,0x93 } }; // 03A7B9ED-E1F1-4A68-A11F-946AD8CE5393 + template <> inline constexpr guid guid_v{ 0xFBEFA134,0x4A81,0x4C4D,{ 0xA5,0xB6,0x7D,0x1B,0x5C,0x4B,0xD0,0x0B } }; // FBEFA134-4A81-4C4D-A5B6-7D1B5C4BD00B + template <> inline constexpr guid guid_v{ 0xB068E05F,0xC41F,0x4AC9,{ 0xAF,0xAB,0x82,0x7A,0xB6,0x24,0x8F,0x9A } }; // B068E05F-C41F-4AC9-AFAB-827AB6248F9A + template <> inline constexpr guid guid_v{ 0x429594CF,0xD97A,0x4B02,{ 0xA4,0x28,0x5C,0x42,0x92,0xF7,0xF5,0x22 } }; // 429594CF-D97A-4B02-A428-5C4292F7F522 + template <> inline constexpr guid guid_v{ 0x457060DE,0xEE5A,0x47B7,{ 0x99,0x18,0x1E,0x51,0xE8,0x12,0xCC,0xC8 } }; // 457060DE-EE5A-47B7-9918-1E51E812CCC8 + template <> inline constexpr guid guid_v{ 0xDB61E664,0x15FA,0x49DA,{ 0x8B,0x77,0x07,0xDB,0xD2,0xAF,0x58,0x5D } }; // DB61E664-15FA-49DA-8B77-07DBD2AF585D + template <> inline constexpr guid guid_v{ 0xCF5B7EC1,0x9791,0x4453,{ 0xB0,0x13,0x29,0xB6,0xF7,0x78,0xE5,0x19 } }; // CF5B7EC1-9791-4453-B013-29B6F778E519 + template <> inline constexpr guid guid_v{ 0xBED112AE,0xADC3,0x4DC9,{ 0xAE,0x65,0x85,0x1F,0x4D,0x7D,0x47,0x99 } }; // BED112AE-ADC3-4DC9-AE65-851F4D7D4799 + template <> inline constexpr guid guid_v{ 0x4DCD0021,0xFAD1,0x4B8E,{ 0x8E,0xDF,0x77,0x58,0x87,0xB8,0xBF,0x19 } }; // 4DCD0021-FAD1-4B8E-8EDF-775887B8BF19 + template <> inline constexpr guid guid_v{ 0xDB15011D,0x0F09,0x4466,{ 0x8F,0xF3,0x11,0xDE,0x9A,0x3C,0x92,0x9A } }; // DB15011D-0F09-4466-8FF3-11DE9A3C929A + template <> inline constexpr guid guid_v{ 0xC972CE2F,0x1242,0x46BE,{ 0xB5,0x36,0xE1,0xAA,0xFE,0x9E,0x7A,0xCF } }; // C972CE2F-1242-46BE-B536-E1AAFE9E7ACF + template <> inline constexpr guid guid_v{ 0x3A5442DC,0x2CDE,0x4A8D,{ 0x80,0xD1,0x21,0xDC,0x5A,0xDC,0xC1,0xAA } }; // 3A5442DC-2CDE-4A8D-80D1-21DC5ADCC1AA + template <> inline constexpr guid guid_v{ 0xC6A02A6C,0xD452,0x44DC,{ 0xBA,0x07,0x96,0xF3,0xC6,0xAD,0xF9,0xD1 } }; // C6A02A6C-D452-44DC-BA07-96F3C6ADF9D1 + template <> inline constexpr guid guid_v{ 0x6937ED8D,0x30EA,0x4DED,{ 0x82,0x71,0x45,0x53,0xFF,0x02,0xF6,0x8A } }; // 6937ED8D-30EA-4DED-8271-4553FF02F68A + template <> inline constexpr guid guid_v{ 0x1B54F32B,0x890D,0x5747,{ 0xBD,0x26,0xFD,0xBD,0xEB,0x0C,0x8A,0x71 } }; // 1B54F32B-890D-5747-BD26-FDBDEB0C8A71 + template <> inline constexpr guid guid_v{ 0xDC2096BF,0x730A,0x5560,{ 0xB4,0x61,0x91,0xC1,0x3D,0x69,0x2E,0x0C } }; // DC2096BF-730A-5560-B461-91C13D692E0C + template <> inline constexpr guid guid_v{ 0xDBDD8B01,0xF1A1,0x46D1,{ 0x9E,0xE3,0x54,0x3B,0xCC,0x99,0x59,0x80 } }; // DBDD8B01-F1A1-46D1-9EE3-543BCC995980 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IAdvancedColorInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IBrightnessOverride; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IBrightnessOverrideSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IColorOverrideSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverride; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayServices; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentAdvancedColorKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RedPrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_GreenPrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_BluePrimary(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_WhitePoint(winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall get_MaxLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall get_MinLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall get_MaxAverageFullFrameLuminanceInNits(float*) noexcept = 0; + virtual int32_t __stdcall get_SdrWhiteLevelInNits(float*) noexcept = 0; + virtual int32_t __stdcall IsHdrMetadataFormatCurrentlySupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsAdvancedColorKindAvailable(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsOverrideActive(bool*) noexcept = 0; + virtual int32_t __stdcall get_BrightnessLevel(double*) noexcept = 0; + virtual int32_t __stdcall SetBrightnessLevel(double, uint32_t) noexcept = 0; + virtual int32_t __stdcall SetBrightnessScenario(int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall GetLevelForScenario(int32_t, double*) noexcept = 0; + virtual int32_t __stdcall StartOverride() noexcept = 0; + virtual int32_t __stdcall StopOverride() noexcept = 0; + virtual int32_t __stdcall add_IsSupportedChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsSupportedChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_IsOverrideActiveChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsOverrideActiveChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BrightnessLevelChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BrightnessLevelChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredLevel(double*) noexcept = 0; + virtual int32_t __stdcall get_DesiredNits(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromLevel(double, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromNits(float, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromDisplayBrightnessOverrideScenario(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultForSystem(void**) noexcept = 0; + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall SaveForSystemAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredDisplayColorOverrideScenario(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromDisplayColorOverrideScenario(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ColorOverrideSettings(void**) noexcept = 0; + virtual int32_t __stdcall put_ColorOverrideSettings(void*) noexcept = 0; + virtual int32_t __stdcall get_BrightnessOverrideSettings(void**) noexcept = 0; + virtual int32_t __stdcall put_BrightnessOverrideSettings(void*) noexcept = 0; + virtual int32_t __stdcall get_CanOverride(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsOverrideActive(bool*) noexcept = 0; + virtual int32_t __stdcall GetCurrentDisplayEnhancementOverrideCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall RequestOverride() noexcept = 0; + virtual int32_t __stdcall StopOverride() noexcept = 0; + virtual int32_t __stdcall add_CanOverrideChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CanOverrideChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_IsOverrideActiveChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsOverrideActiveChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DisplayEnhancementOverrideCapabilitiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBrightnessControlSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBrightnessNitsControlSupported(bool*) noexcept = 0; + virtual int32_t __stdcall GetSupportedNitRanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentOrientation(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NativeOrientation(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_OrientationChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OrientationChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_ResolutionScale(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LogicalDpi(float*) noexcept = 0; + virtual int32_t __stdcall get_RawDpiX(float*) noexcept = 0; + virtual int32_t __stdcall get_RawDpiY(float*) noexcept = 0; + virtual int32_t __stdcall add_DpiChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DpiChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_StereoEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall add_StereoEnabledChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StereoEnabledChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetColorProfileAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_ColorProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ColorProfileChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RawPixelsPerViewPixel(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DiagonalSizeInInches(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ScreenWidthInRawPixels(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ScreenHeightInRawPixels(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAdvancedColorInfo(void**) noexcept = 0; + virtual int32_t __stdcall add_AdvancedColorInfoChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AdvancedColorInfoChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoRotationPreferences(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoRotationPreferences(uint32_t) noexcept = 0; + virtual int32_t __stdcall add_DisplayContentsInvalidated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisplayContentsInvalidated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentOrientation(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NativeOrientation(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AutoRotationPreferences(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoRotationPreferences(uint32_t) noexcept = 0; + virtual int32_t __stdcall add_OrientationChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OrientationChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_ResolutionScale(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LogicalDpi(float*) noexcept = 0; + virtual int32_t __stdcall add_LogicalDpiChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LogicalDpiChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_StereoEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall add_StereoEnabledChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StereoEnabledChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetColorProfileAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_ColorProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ColorProfileChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DisplayContentsInvalidated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisplayContentsInvalidated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Display_IAdvancedColorInfo + { + [[nodiscard]] auto CurrentAdvancedColorKind() const; + [[nodiscard]] auto RedPrimary() const; + [[nodiscard]] auto GreenPrimary() const; + [[nodiscard]] auto BluePrimary() const; + [[nodiscard]] auto WhitePoint() const; + [[nodiscard]] auto MaxLuminanceInNits() const; + [[nodiscard]] auto MinLuminanceInNits() const; + [[nodiscard]] auto MaxAverageFullFrameLuminanceInNits() const; + [[nodiscard]] auto SdrWhiteLevelInNits() const; + auto IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const; + auto IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IAdvancedColorInfo; + }; + template + struct consume_Windows_Graphics_Display_IBrightnessOverride + { + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto IsOverrideActive() const; + [[nodiscard]] auto BrightnessLevel() const; + auto SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; + auto SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; + auto GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const; + auto StartOverride() const; + auto StopOverride() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsOverrideActiveChanged_revoker = impl::event_revoker::remove_IsOverrideActiveChanged>; + [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; + auto BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BrightnessLevelChanged_revoker = impl::event_revoker::remove_BrightnessLevelChanged>; + [[nodiscard]] auto BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BrightnessLevelChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IBrightnessOverride; + }; + template + struct consume_Windows_Graphics_Display_IBrightnessOverrideSettings + { + [[nodiscard]] auto DesiredLevel() const; + [[nodiscard]] auto DesiredNits() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IBrightnessOverrideSettings; + }; + template + struct consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics + { + auto CreateFromLevel(double level) const; + auto CreateFromNits(float nits) const; + auto CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics; + }; + template + struct consume_Windows_Graphics_Display_IBrightnessOverrideStatics + { + auto GetDefaultForSystem() const; + auto GetForCurrentView() const; + auto SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IBrightnessOverrideStatics; + }; + template + struct consume_Windows_Graphics_Display_IColorOverrideSettings + { + [[nodiscard]] auto DesiredDisplayColorOverrideScenario() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IColorOverrideSettings; + }; + template + struct consume_Windows_Graphics_Display_IColorOverrideSettingsStatics + { + auto CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IColorOverrideSettingsStatics; + }; + template + struct consume_Windows_Graphics_Display_IDisplayEnhancementOverride + { + [[nodiscard]] auto ColorOverrideSettings() const; + auto ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const; + [[nodiscard]] auto BrightnessOverrideSettings() const; + auto BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const; + [[nodiscard]] auto CanOverride() const; + [[nodiscard]] auto IsOverrideActive() const; + auto GetCurrentDisplayEnhancementOverrideCapabilities() const; + auto RequestOverride() const; + auto StopOverride() const; + auto CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CanOverrideChanged_revoker = impl::event_revoker::remove_CanOverrideChanged>; + [[nodiscard]] auto CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CanOverrideChanged(winrt::event_token const& token) const noexcept; + auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsOverrideActiveChanged_revoker = impl::event_revoker::remove_IsOverrideActiveChanged>; + [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; + auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DisplayEnhancementOverrideCapabilitiesChanged_revoker = impl::event_revoker::remove_DisplayEnhancementOverrideCapabilitiesChanged>; + [[nodiscard]] auto DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayEnhancementOverride; + }; + template + struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities + { + [[nodiscard]] auto IsBrightnessControlSupported() const; + [[nodiscard]] auto IsBrightnessNitsControlSupported() const; + auto GetSupportedNitRanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities; + }; + template + struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs + { + [[nodiscard]] auto Capabilities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs; + }; + template + struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformation + { + [[nodiscard]] auto CurrentOrientation() const; + [[nodiscard]] auto NativeOrientation() const; + auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ResolutionScale() const; + [[nodiscard]] auto LogicalDpi() const; + [[nodiscard]] auto RawDpiX() const; + [[nodiscard]] auto RawDpiY() const; + auto DpiChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DpiChanged_revoker = impl::event_revoker::remove_DpiChanged>; + [[nodiscard]] auto DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DpiChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StereoEnabled() const; + auto StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StereoEnabledChanged_revoker = impl::event_revoker::remove_StereoEnabledChanged>; + [[nodiscard]] auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StereoEnabledChanged(winrt::event_token const& token) const noexcept; + auto GetColorProfileAsync() const; + auto ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ColorProfileChanged_revoker = impl::event_revoker::remove_ColorProfileChanged>; + [[nodiscard]] auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ColorProfileChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformation; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformation2 + { + [[nodiscard]] auto RawPixelsPerViewPixel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformation2; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformation3 + { + [[nodiscard]] auto DiagonalSizeInInches() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformation3; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformation4 + { + [[nodiscard]] auto ScreenWidthInRawPixels() const; + [[nodiscard]] auto ScreenHeightInRawPixels() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformation4; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformation5 + { + auto GetAdvancedColorInfo() const; + auto AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AdvancedColorInfoChanged_revoker = impl::event_revoker::remove_AdvancedColorInfoChanged>; + [[nodiscard]] auto AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformation5; + }; + template + struct consume_Windows_Graphics_Display_IDisplayInformationStatics + { + auto GetForCurrentView() const; + [[nodiscard]] auto AutoRotationPreferences() const; + auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + auto DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DisplayContentsInvalidated_revoker = impl::event_revoker::remove_DisplayContentsInvalidated>; + [[nodiscard]] auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayInformationStatics; + }; + template + struct consume_Windows_Graphics_Display_IDisplayPropertiesStatics + { + [[nodiscard]] auto CurrentOrientation() const; + [[nodiscard]] auto NativeOrientation() const; + [[nodiscard]] auto AutoRotationPreferences() const; + auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + auto OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ResolutionScale() const; + [[nodiscard]] auto LogicalDpi() const; + auto LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + using LogicalDpiChanged_revoker = impl::event_revoker::remove_LogicalDpiChanged>; + [[nodiscard]] auto LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto LogicalDpiChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StereoEnabled() const; + auto StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + using StereoEnabledChanged_revoker = impl::event_revoker::remove_StereoEnabledChanged>; + [[nodiscard]] auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto StereoEnabledChanged(winrt::event_token const& token) const noexcept; + auto GetColorProfileAsync() const; + auto ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + using ColorProfileChanged_revoker = impl::event_revoker::remove_ColorProfileChanged>; + [[nodiscard]] auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto ColorProfileChanged(winrt::event_token const& token) const noexcept; + auto DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + using DisplayContentsInvalidated_revoker = impl::event_revoker::remove_DisplayContentsInvalidated>; + [[nodiscard]] auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayPropertiesStatics; + }; + template + struct consume_Windows_Graphics_Display_IDisplayServices + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayServices; + }; + template + struct consume_Windows_Graphics_Display_IDisplayServicesStatics + { + auto FindAll() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayServicesStatics; + }; + struct struct_Windows_Graphics_Display_NitRange + { + float MinNits; + float MaxNits; + float StepSizeNits; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Display_NitRange; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.1.h new file mode 100644 index 0000000000000000000000000000000000000000..61333f7ebad857b5146d9612c6633f32f0ce06ef --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.1.h @@ -0,0 +1,154 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_1_H +#define WINRT_Windows_Graphics_Display_1_H +#include "winrt/impl/Windows.Graphics.Display.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Display +{ + struct WINRT_IMPL_EMPTY_BASES IAdvancedColorInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedColorInfo(std::nullptr_t = nullptr) noexcept {} + IAdvancedColorInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBrightnessOverride : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBrightnessOverride(std::nullptr_t = nullptr) noexcept {} + IBrightnessOverride(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBrightnessOverrideSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBrightnessOverrideSettings(std::nullptr_t = nullptr) noexcept {} + IBrightnessOverrideSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBrightnessOverrideSettingsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBrightnessOverrideSettingsStatics(std::nullptr_t = nullptr) noexcept {} + IBrightnessOverrideSettingsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBrightnessOverrideStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBrightnessOverrideStatics(std::nullptr_t = nullptr) noexcept {} + IBrightnessOverrideStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IColorOverrideSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IColorOverrideSettings(std::nullptr_t = nullptr) noexcept {} + IColorOverrideSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IColorOverrideSettingsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IColorOverrideSettingsStatics(std::nullptr_t = nullptr) noexcept {} + IColorOverrideSettingsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayEnhancementOverride : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayEnhancementOverride(std::nullptr_t = nullptr) noexcept {} + IDisplayEnhancementOverride(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayEnhancementOverrideCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayEnhancementOverrideCapabilities(std::nullptr_t = nullptr) noexcept {} + IDisplayEnhancementOverrideCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayEnhancementOverrideCapabilitiesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayEnhancementOverrideCapabilitiesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDisplayEnhancementOverrideCapabilitiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayEnhancementOverrideStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayEnhancementOverrideStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayEnhancementOverrideStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayInformation(std::nullptr_t = nullptr) noexcept {} + IDisplayInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDisplayInformation2(std::nullptr_t = nullptr) noexcept {} + IDisplayInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformation3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayInformation3(std::nullptr_t = nullptr) noexcept {} + IDisplayInformation3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformation4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayInformation4(std::nullptr_t = nullptr) noexcept {} + IDisplayInformation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformation5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayInformation5(std::nullptr_t = nullptr) noexcept {} + IDisplayInformation5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayInformationStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayServices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayServices(std::nullptr_t = nullptr) noexcept {} + IDisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDisplayServicesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayServicesStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayServicesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.2.h new file mode 100644 index 0000000000000000000000000000000000000000..cce81316998b65038fc99468627e38f15c857437 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.2.h @@ -0,0 +1,135 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_2_H +#define WINRT_Windows_Graphics_Display_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Graphics.Display.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Display +{ + struct DisplayPropertiesEventHandler : winrt::Windows::Foundation::IUnknown + { + DisplayPropertiesEventHandler(std::nullptr_t = nullptr) noexcept {} + DisplayPropertiesEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DisplayPropertiesEventHandler(L lambda); + template DisplayPropertiesEventHandler(F* function); + template DisplayPropertiesEventHandler(O* object, M method); + template DisplayPropertiesEventHandler(com_ptr&& object, M method); + template DisplayPropertiesEventHandler(weak_ref&& object, LM&& lambda_or_method); + template DisplayPropertiesEventHandler(std::shared_ptr&& object, M method); + template DisplayPropertiesEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IInspectable const& sender) const; + }; + struct NitRange + { + float MinNits {}; + float MaxNits {}; + float StepSizeNits {}; + }; + inline bool operator==(NitRange const& left, NitRange const& right) noexcept + { + return left.MinNits == right.MinNits && left.MaxNits == right.MaxNits && left.StepSizeNits == right.StepSizeNits; + } + inline bool operator!=(NitRange const& left, NitRange const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AdvancedColorInfo : winrt::Windows::Graphics::Display::IAdvancedColorInfo + { + AdvancedColorInfo(std::nullptr_t) noexcept {} + AdvancedColorInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IAdvancedColorInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BrightnessOverride : winrt::Windows::Graphics::Display::IBrightnessOverride + { + BrightnessOverride(std::nullptr_t) noexcept {} + BrightnessOverride(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IBrightnessOverride(ptr, take_ownership_from_abi) {} + static auto GetDefaultForSystem(); + static auto GetForCurrentView(); + static auto SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value); + }; + struct WINRT_IMPL_EMPTY_BASES BrightnessOverrideSettings : winrt::Windows::Graphics::Display::IBrightnessOverrideSettings + { + BrightnessOverrideSettings(std::nullptr_t) noexcept {} + BrightnessOverrideSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IBrightnessOverrideSettings(ptr, take_ownership_from_abi) {} + static auto CreateFromLevel(double level); + static auto CreateFromNits(float nits); + static auto CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario); + }; + struct WINRT_IMPL_EMPTY_BASES ColorOverrideSettings : winrt::Windows::Graphics::Display::IColorOverrideSettings + { + ColorOverrideSettings(std::nullptr_t) noexcept {} + ColorOverrideSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IColorOverrideSettings(ptr, take_ownership_from_abi) {} + static auto CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayEnhancementOverride : winrt::Windows::Graphics::Display::IDisplayEnhancementOverride + { + DisplayEnhancementOverride(std::nullptr_t) noexcept {} + DisplayEnhancementOverride(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayEnhancementOverride(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayEnhancementOverrideCapabilities : winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities + { + DisplayEnhancementOverrideCapabilities(std::nullptr_t) noexcept {} + DisplayEnhancementOverrideCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayEnhancementOverrideCapabilitiesChangedEventArgs : winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs + { + DisplayEnhancementOverrideCapabilitiesChangedEventArgs(std::nullptr_t) noexcept {} + DisplayEnhancementOverrideCapabilitiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DisplayInformation : winrt::Windows::Graphics::Display::IDisplayInformation, + impl::require + { + DisplayInformation(std::nullptr_t) noexcept {} + DisplayInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayInformation(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + [[nodiscard]] static auto AutoRotationPreferences(); + static auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value); + static auto DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler); + using DisplayContentsInvalidated_revoker = impl::factory_event_revoker::remove_DisplayContentsInvalidated>; + [[nodiscard]] static auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + static auto DisplayContentsInvalidated(winrt::event_token const& token); + }; + struct DisplayProperties + { + DisplayProperties() = delete; + [[nodiscard]] static auto CurrentOrientation(); + [[nodiscard]] static auto NativeOrientation(); + [[nodiscard]] static auto AutoRotationPreferences(); + static auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value); + static auto OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + using OrientationChanged_revoker = impl::factory_event_revoker::remove_OrientationChanged>; + [[nodiscard]] static auto OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + static auto OrientationChanged(winrt::event_token const& token); + [[nodiscard]] static auto ResolutionScale(); + [[nodiscard]] static auto LogicalDpi(); + static auto LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + using LogicalDpiChanged_revoker = impl::factory_event_revoker::remove_LogicalDpiChanged>; + [[nodiscard]] static auto LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + static auto LogicalDpiChanged(winrt::event_token const& token); + [[nodiscard]] static auto StereoEnabled(); + static auto StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + using StereoEnabledChanged_revoker = impl::factory_event_revoker::remove_StereoEnabledChanged>; + [[nodiscard]] static auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + static auto StereoEnabledChanged(winrt::event_token const& token); + static auto GetColorProfileAsync(); + static auto ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + using ColorProfileChanged_revoker = impl::factory_event_revoker::remove_ColorProfileChanged>; + [[nodiscard]] static auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + static auto ColorProfileChanged(winrt::event_token const& token); + static auto DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + using DisplayContentsInvalidated_revoker = impl::factory_event_revoker::remove_DisplayContentsInvalidated>; + [[nodiscard]] static auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + static auto DisplayContentsInvalidated(winrt::event_token const& token); + }; + struct WINRT_IMPL_EMPTY_BASES DisplayServices : winrt::Windows::Graphics::Display::IDisplayServices + { + DisplayServices(std::nullptr_t) noexcept {} + DisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayServices(ptr, take_ownership_from_abi) {} + static auto FindAll(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ac9d0eec96eca2c736f2dbcbd86de17b59a7b9e8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.0.h @@ -0,0 +1,194 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_Core_0_H +#define WINRT_Windows_Graphics_Display_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Display::Core +{ + enum class HdmiDisplayColorSpace : int32_t + { + RgbLimited = 0, + RgbFull = 1, + BT2020 = 2, + BT709 = 3, + }; + enum class HdmiDisplayHdrOption : int32_t + { + None = 0, + EotfSdr = 1, + Eotf2084 = 2, + DolbyVisionLowLatency = 3, + }; + enum class HdmiDisplayPixelEncoding : int32_t + { + Rgb444 = 0, + Ycc444 = 1, + Ycc422 = 2, + Ycc420 = 3, + }; + struct IHdmiDisplayInformation; + struct IHdmiDisplayInformationStatics; + struct IHdmiDisplayMode; + struct IHdmiDisplayMode2; + struct HdmiDisplayInformation; + struct HdmiDisplayMode; + struct HdmiDisplayHdr2086Metadata; +} +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 <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayColorSpace"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayHdrOption"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayPixelEncoding"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.HdmiDisplayHdr2086Metadata"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.IHdmiDisplayInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.IHdmiDisplayInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.IHdmiDisplayMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.Core.IHdmiDisplayMode2"; + template <> inline constexpr guid guid_v{ 0x130B3C0A,0xF565,0x476E,{ 0xAB,0xD5,0xEA,0x05,0xAE,0xE7,0x4C,0x69 } }; // 130B3C0A-F565-476E-ABD5-EA05AEE74C69 + template <> inline constexpr guid guid_v{ 0x6CE6B260,0xF42A,0x4A15,{ 0x91,0x4C,0x7B,0x8E,0x2A,0x5A,0x65,0xDF } }; // 6CE6B260-F42A-4A15-914C-7B8E2A5A65DF + template <> inline constexpr guid guid_v{ 0x0C06D5AD,0x1B90,0x4F51,{ 0x99,0x81,0xEF,0x5A,0x1C,0x0D,0xDF,0x66 } }; // 0C06D5AD-1B90-4F51-9981-EF5A1C0DDF66 + template <> inline constexpr guid guid_v{ 0x07CD4E9F,0x4B3C,0x42B8,{ 0x84,0xE7,0x89,0x53,0x68,0x71,0x8A,0xF2 } }; // 07CD4E9F-4B3C-42B8-84E7-895368718AF2 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSupportedDisplayModes(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentDisplayMode(void**) noexcept = 0; + virtual int32_t __stdcall SetDefaultDisplayModeAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestSetCurrentDisplayModeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestSetCurrentDisplayModeWithHdrAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestSetCurrentDisplayModeWithHdrAndMetadataAsync(void*, int32_t, struct struct_Windows_Graphics_Display_Core_HdmiDisplayHdr2086Metadata, void**) noexcept = 0; + virtual int32_t __stdcall add_DisplayModesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisplayModesChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResolutionWidthInRawPixels(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResolutionHeightInRawPixels(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_RefreshRate(double*) noexcept = 0; + virtual int32_t __stdcall get_StereoEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_BitsPerPixel(uint16_t*) noexcept = 0; + virtual int32_t __stdcall IsEqual(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_ColorSpace(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PixelEncoding(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsSdrLuminanceSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSmpte2084Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Is2086MetadataSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsDolbyVisionLowLatencySupported(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation + { + auto GetSupportedDisplayModes() const; + auto GetCurrentDisplayMode() const; + auto SetDefaultDisplayModeAsync() const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata const& hdrMetadata) const; + auto DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using DisplayModesChanged_revoker = impl::event_revoker::remove_DisplayModesChanged>; + [[nodiscard]] auto DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DisplayModesChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation; + }; + template + struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics; + }; + template + struct consume_Windows_Graphics_Display_Core_IHdmiDisplayMode + { + [[nodiscard]] auto ResolutionWidthInRawPixels() const; + [[nodiscard]] auto ResolutionHeightInRawPixels() const; + [[nodiscard]] auto RefreshRate() const; + [[nodiscard]] auto StereoEnabled() const; + [[nodiscard]] auto BitsPerPixel() const; + auto IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto PixelEncoding() const; + [[nodiscard]] auto IsSdrLuminanceSupported() const; + [[nodiscard]] auto IsSmpte2084Supported() const; + [[nodiscard]] auto Is2086MetadataSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_Core_IHdmiDisplayMode; + }; + template + struct consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2 + { + [[nodiscard]] auto IsDolbyVisionLowLatencySupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2; + }; + struct struct_Windows_Graphics_Display_Core_HdmiDisplayHdr2086Metadata + { + uint16_t RedPrimaryX; + uint16_t RedPrimaryY; + uint16_t GreenPrimaryX; + uint16_t GreenPrimaryY; + uint16_t BluePrimaryX; + uint16_t BluePrimaryY; + uint16_t WhitePointX; + uint16_t WhitePointY; + uint16_t MaxMasteringLuminance; + uint16_t MinMasteringLuminance; + uint16_t MaxContentLightLevel; + uint16_t MaxFrameAverageLightLevel; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Display_Core_HdmiDisplayHdr2086Metadata; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..df702d9e520bea0ef605555a3f715f38b46cd979 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_Core_1_H +#define WINRT_Windows_Graphics_Display_Core_1_H +#include "winrt/impl/Windows.Graphics.Display.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Display::Core +{ + struct WINRT_IMPL_EMPTY_BASES IHdmiDisplayInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHdmiDisplayInformation(std::nullptr_t = nullptr) noexcept {} + IHdmiDisplayInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHdmiDisplayInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHdmiDisplayInformationStatics(std::nullptr_t = nullptr) noexcept {} + IHdmiDisplayInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHdmiDisplayMode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHdmiDisplayMode(std::nullptr_t = nullptr) noexcept {} + IHdmiDisplayMode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHdmiDisplayMode2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHdmiDisplayMode2(std::nullptr_t = nullptr) noexcept {} + IHdmiDisplayMode2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..92e0801147b27ccb6e6cc01807aaefc96cdbd907 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.display.core.2.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Display_Core_2_H +#define WINRT_Windows_Graphics_Display_Core_2_H +#include "winrt/impl/Windows.Graphics.Display.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Display::Core +{ + struct HdmiDisplayHdr2086Metadata + { + uint16_t RedPrimaryX {}; + uint16_t RedPrimaryY {}; + uint16_t GreenPrimaryX {}; + uint16_t GreenPrimaryY {}; + uint16_t BluePrimaryX {}; + uint16_t BluePrimaryY {}; + uint16_t WhitePointX {}; + uint16_t WhitePointY {}; + uint16_t MaxMasteringLuminance {}; + uint16_t MinMasteringLuminance {}; + uint16_t MaxContentLightLevel {}; + uint16_t MaxFrameAverageLightLevel {}; + }; + inline bool operator==(HdmiDisplayHdr2086Metadata const& left, HdmiDisplayHdr2086Metadata const& right) noexcept + { + return left.RedPrimaryX == right.RedPrimaryX && left.RedPrimaryY == right.RedPrimaryY && left.GreenPrimaryX == right.GreenPrimaryX && left.GreenPrimaryY == right.GreenPrimaryY && left.BluePrimaryX == right.BluePrimaryX && left.BluePrimaryY == right.BluePrimaryY && left.WhitePointX == right.WhitePointX && left.WhitePointY == right.WhitePointY && left.MaxMasteringLuminance == right.MaxMasteringLuminance && left.MinMasteringLuminance == right.MinMasteringLuminance && left.MaxContentLightLevel == right.MaxContentLightLevel && left.MaxFrameAverageLightLevel == right.MaxFrameAverageLightLevel; + } + inline bool operator!=(HdmiDisplayHdr2086Metadata const& left, HdmiDisplayHdr2086Metadata const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES HdmiDisplayInformation : winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation + { + HdmiDisplayInformation(std::nullptr_t) noexcept {} + HdmiDisplayInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES HdmiDisplayMode : winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode, + impl::require + { + HdmiDisplayMode(std::nullptr_t) noexcept {} + HdmiDisplayMode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4cd7b4584a2955b2655d711f6f89855e8741c2a0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.0.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Effects_0_H +#define WINRT_Windows_Graphics_Effects_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics::Effects +{ + struct IGraphicsEffect; + struct IGraphicsEffectSource; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Effects.IGraphicsEffect"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Effects.IGraphicsEffectSource"; + template <> inline constexpr guid guid_v{ 0xCB51C0CE,0x8FE6,0x4636,{ 0xB2,0x02,0x86,0x1F,0xAA,0x07,0xD8,0xF3 } }; // CB51C0CE-8FE6-4636-B202-861FAA07D8F3 + template <> inline constexpr guid guid_v{ 0x2D8F9DDC,0x4339,0x4EB9,{ 0x92,0x16,0xF9,0xDE,0xB7,0x56,0x58,0xA2 } }; // 2D8F9DDC-4339-4EB9-9216-F9DEB75658A2 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template + struct consume_Windows_Graphics_Effects_IGraphicsEffect + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Effects_IGraphicsEffect; + }; + template + struct consume_Windows_Graphics_Effects_IGraphicsEffectSource + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Effects_IGraphicsEffectSource; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8e2a14723e6f5dd05a5276b6b7865b42fa189274 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.1.h @@ -0,0 +1,28 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Effects_1_H +#define WINRT_Windows_Graphics_Effects_1_H +#include "winrt/impl/Windows.Graphics.Effects.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Effects +{ + struct WINRT_IMPL_EMPTY_BASES IGraphicsEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IGraphicsEffect(std::nullptr_t = nullptr) noexcept {} + IGraphicsEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGraphicsEffectSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsEffectSource(std::nullptr_t = nullptr) noexcept {} + IGraphicsEffectSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e106a7509c5196a425f7d6b7939f50fbef2d86ea --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.effects.2.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Effects_2_H +#define WINRT_Windows_Graphics_Effects_2_H +#include "winrt/impl/Windows.Graphics.Effects.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Effects +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9d0ed8285b0149f71bad841711f7da57b0e38a80 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.0.h @@ -0,0 +1,1190 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Holographic_0_H +#define WINRT_Windows_Graphics_Holographic_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DDevice; + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Perception +{ + struct PerceptionTimestamp; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; + struct SpatialLocator; +} +WINRT_EXPORT namespace winrt::Windows::UI::Core +{ + struct CoreWindow; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic +{ + enum class HolographicDepthReprojectionMethod : int32_t + { + DepthReprojection = 0, + AutoPlanar = 1, + }; + enum class HolographicFramePresentResult : int32_t + { + Success = 0, + DeviceRemoved = 1, + }; + enum class HolographicFramePresentWaitBehavior : int32_t + { + WaitForFrameToFinish = 0, + DoNotWaitForFrameToFinish = 1, + }; + enum class HolographicReprojectionMode : int32_t + { + PositionAndOrientation = 0, + OrientationOnly = 1, + Disabled = 2, + }; + enum class HolographicSpaceUserPresence : int32_t + { + Absent = 0, + PresentPassive = 1, + PresentActive = 2, + }; + enum class HolographicViewConfigurationKind : int32_t + { + Display = 0, + PhotoVideoCamera = 1, + }; + struct IHolographicCamera; + struct IHolographicCamera2; + struct IHolographicCamera3; + struct IHolographicCamera4; + struct IHolographicCamera5; + struct IHolographicCamera6; + struct IHolographicCameraPose; + struct IHolographicCameraPose2; + struct IHolographicCameraRenderingParameters; + struct IHolographicCameraRenderingParameters2; + struct IHolographicCameraRenderingParameters3; + struct IHolographicCameraRenderingParameters4; + struct IHolographicCameraViewportParameters; + struct IHolographicDisplay; + struct IHolographicDisplay2; + struct IHolographicDisplay3; + struct IHolographicDisplayStatics; + struct IHolographicFrame; + struct IHolographicFrame2; + struct IHolographicFrame3; + struct IHolographicFramePrediction; + struct IHolographicFramePresentationMonitor; + struct IHolographicFramePresentationReport; + struct IHolographicFrameRenderingReport; + struct IHolographicFrameScanoutMonitor; + struct IHolographicFrameScanoutReport; + struct IHolographicQuadLayer; + struct IHolographicQuadLayerFactory; + struct IHolographicQuadLayerUpdateParameters; + struct IHolographicQuadLayerUpdateParameters2; + struct IHolographicSpace; + struct IHolographicSpace2; + struct IHolographicSpace3; + struct IHolographicSpaceCameraAddedEventArgs; + struct IHolographicSpaceCameraRemovedEventArgs; + struct IHolographicSpaceStatics; + struct IHolographicSpaceStatics2; + struct IHolographicSpaceStatics3; + struct IHolographicViewConfiguration; + struct IHolographicViewConfiguration2; + struct HolographicCamera; + struct HolographicCameraPose; + struct HolographicCameraRenderingParameters; + struct HolographicCameraViewportParameters; + struct HolographicDisplay; + struct HolographicFrame; + struct HolographicFramePrediction; + struct HolographicFramePresentationMonitor; + struct HolographicFramePresentationReport; + struct HolographicFrameRenderingReport; + struct HolographicFrameScanoutMonitor; + struct HolographicFrameScanoutReport; + struct HolographicQuadLayer; + struct HolographicQuadLayerUpdateParameters; + struct HolographicSpace; + struct HolographicSpaceCameraAddedEventArgs; + struct HolographicSpaceCameraRemovedEventArgs; + struct HolographicViewConfiguration; + struct HolographicAdapterId; + struct HolographicFrameId; + struct HolographicStereoTransform; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicCamera"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicCameraPose"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicCameraRenderingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicCameraViewportParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePrediction"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentationMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentationReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFrameRenderingReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFrameScanoutMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFrameScanoutReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicQuadLayer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpace"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicViewConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicDepthReprojectionMethod"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentResult"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicReprojectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpaceUserPresence"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicViewConfigurationKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicAdapterId"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFrameId"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicStereoTransform"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera4"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera5"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCamera6"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraPose"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraPose2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters4"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraViewportParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplay"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplay2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplay3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplayStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrame3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFramePrediction"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFramePresentationMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFramePresentationReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrameRenderingReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrameScanoutMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicFrameScanoutReport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicQuadLayer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicQuadLayerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicQuadLayerUpdateParameters"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicQuadLayerUpdateParameters2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpace"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpace2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpace3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceCameraAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceCameraRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicViewConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicViewConfiguration2"; + template <> inline constexpr guid guid_v{ 0xE4E98445,0x9BED,0x4980,{ 0x9B,0xA0,0xE8,0x76,0x80,0xD1,0xCB,0x74 } }; // E4E98445-9BED-4980-9BA0-E87680D1CB74 + template <> inline constexpr guid guid_v{ 0xB55B9F1A,0xBA8C,0x4F84,{ 0xAD,0x79,0x2E,0x7E,0x1E,0x24,0x50,0xF3 } }; // B55B9F1A-BA8C-4F84-AD79-2E7E1E2450F3 + template <> inline constexpr guid guid_v{ 0x45AA4FB3,0x7B59,0x524E,{ 0x4A,0x3F,0x4A,0x6A,0xD6,0x65,0x04,0x77 } }; // 45AA4FB3-7B59-524E-4A3F-4A6AD6650477 + template <> inline constexpr guid guid_v{ 0x9A2531D6,0x4723,0x4F39,{ 0xA9,0xA5,0x9D,0x05,0x18,0x1D,0x9B,0x44 } }; // 9A2531D6-4723-4F39-A9A5-9D05181D9B44 + template <> inline constexpr guid guid_v{ 0x229706F2,0x628D,0x4EF5,{ 0x9C,0x08,0xA6,0x3F,0xDD,0x77,0x87,0xC6 } }; // 229706F2-628D-4EF5-9C08-A63FDD7787C6 + template <> inline constexpr guid guid_v{ 0x0209194F,0x632D,0x5154,{ 0xAB,0x52,0x0B,0x5D,0x15,0xB1,0x25,0x05 } }; // 0209194F-632D-5154-AB52-0B5D15B12505 + template <> inline constexpr guid guid_v{ 0x0D7D7E30,0x12DE,0x45BD,{ 0x91,0x2B,0xC7,0xF6,0x56,0x15,0x99,0xD1 } }; // 0D7D7E30-12DE-45BD-912B-C7F6561599D1 + template <> inline constexpr guid guid_v{ 0x232BE073,0x5D2D,0x4560,{ 0x81,0x4E,0x26,0x97,0xC4,0xFC,0xE1,0x6B } }; // 232BE073-5D2D-4560-814E-2697C4FCE16B + template <> inline constexpr guid guid_v{ 0x8EAC2ED1,0x5BF4,0x4E16,{ 0x82,0x36,0xAE,0x08,0x00,0xC1,0x1D,0x0D } }; // 8EAC2ED1-5BF4-4E16-8236-AE0800C11D0D + template <> inline constexpr guid guid_v{ 0x261270E3,0xB696,0x4634,{ 0x94,0xD6,0xBE,0x06,0x81,0x64,0x35,0x99 } }; // 261270E3-B696-4634-94D6-BE0681643599 + template <> inline constexpr guid guid_v{ 0xB1AA513F,0x136D,0x4B06,{ 0xB9,0xD4,0xE4,0xB9,0x14,0xCD,0x06,0x83 } }; // B1AA513F-136D-4B06-B9D4-E4B914CD0683 + template <> inline constexpr guid guid_v{ 0x0878FA4C,0xE163,0x57DC,{ 0x82,0xB7,0xC4,0x06,0xAB,0x3E,0x05,0x37 } }; // 0878FA4C-E163-57DC-82B7-C406AB3E0537 + template <> inline constexpr guid guid_v{ 0x80CDF3F7,0x842A,0x41E1,{ 0x93,0xED,0x56,0x92,0xAB,0x1F,0xBB,0x10 } }; // 80CDF3F7-842A-41E1-93ED-5692AB1FBB10 + template <> inline constexpr guid guid_v{ 0x9ACEA414,0x1D9F,0x4090,{ 0xA3,0x88,0x90,0xC0,0x6F,0x6E,0xAE,0x9C } }; // 9ACEA414-1D9F-4090-A388-90C06F6EAE9C + template <> inline constexpr guid guid_v{ 0x75AC3F82,0xE755,0x436C,{ 0x8D,0x96,0x4D,0x32,0xD1,0x31,0x47,0x3E } }; // 75AC3F82-E755-436C-8D96-4D32D131473E + template <> inline constexpr guid guid_v{ 0xFC4C6AC6,0x6480,0x5008,{ 0xB2,0x9E,0x15,0x7D,0x77,0xC8,0x43,0xF7 } }; // FC4C6AC6-6480-5008-B29E-157D77C843F7 + template <> inline constexpr guid guid_v{ 0xCB374983,0xE7B0,0x4841,{ 0x83,0x55,0x3A,0xE5,0xB5,0x36,0xE9,0xA4 } }; // CB374983-E7B0-4841-8355-3AE5B536E9A4 + template <> inline constexpr guid guid_v{ 0xC6988EB6,0xA8B9,0x3054,{ 0xA6,0xEB,0xD6,0x24,0xB6,0x53,0x63,0x75 } }; // C6988EB6-A8B9-3054-A6EB-D624B6536375 + template <> inline constexpr guid guid_v{ 0x283F37BF,0x3BF2,0x5E91,{ 0x66,0x33,0x87,0x05,0x74,0xE6,0xF2,0x17 } }; // 283F37BF-3BF2-5E91-6633-870574E6F217 + template <> inline constexpr guid guid_v{ 0xE5E964C9,0x8A27,0x55D3,{ 0x9F,0x98,0x94,0x53,0x0D,0x36,0x90,0x52 } }; // E5E964C9-8A27-55D3-9F98-94530D369052 + template <> inline constexpr guid guid_v{ 0x520F4DE1,0x5C0A,0x4E79,{ 0xA8,0x1E,0x6A,0xBE,0x02,0xBB,0x27,0x39 } }; // 520F4DE1-5C0A-4E79-A81E-6ABE02BB2739 + template <> inline constexpr guid guid_v{ 0xCA87256C,0x6FAE,0x428E,{ 0xBB,0x83,0x25,0xDF,0xEE,0x51,0x13,0x6B } }; // CA87256C-6FAE-428E-BB83-25DFEE51136B + template <> inline constexpr guid guid_v{ 0x80BAF614,0xF2F4,0x4C8A,{ 0x8D,0xE3,0x06,0x5C,0x78,0xF6,0xD5,0xDE } }; // 80BAF614-F2F4-4C8A-8DE3-065C78F6D5DE + template <> inline constexpr guid guid_v{ 0x05F32DE4,0xE384,0x51B3,{ 0xB9,0x34,0xF0,0xD3,0xA0,0xF7,0x86,0x06 } }; // 05F32DE4-E384-51B3-B934-F0D3A0F78606 + template <> inline constexpr guid guid_v{ 0x7E83EFA9,0x843C,0x5401,{ 0x80,0x95,0x9B,0xC1,0xB8,0xB0,0x86,0x38 } }; // 7E83EFA9-843C-5401-8095-9BC1B8B08638 + template <> inline constexpr guid guid_v{ 0x0EBBE606,0x03A0,0x5CA0,{ 0xB4,0x6E,0xBB,0xA0,0x68,0xD7,0x23,0x3F } }; // 0EBBE606-03A0-5CA0-B46E-BBA068D7233F + template <> inline constexpr guid guid_v{ 0x903460C9,0xC9D9,0x5D5C,{ 0x41,0xAC,0xA2,0xD5,0xAB,0x0F,0xD3,0x31 } }; // 903460C9-C9D9-5D5C-41AC-A2D5AB0FD331 + template <> inline constexpr guid guid_v{ 0xA67538F3,0x5A14,0x5A10,{ 0x48,0x9A,0x45,0x50,0x65,0xB3,0x7B,0x76 } }; // A67538F3-5A14-5A10-489A-455065B37B76 + template <> inline constexpr guid guid_v{ 0x2B0EA3B0,0x798D,0x5BCA,{ 0x55,0xC2,0x2C,0x0C,0x76,0x2E,0xBB,0x08 } }; // 2B0EA3B0-798D-5BCA-55C2-2C0C762EBB08 + template <> inline constexpr guid guid_v{ 0x4F33D32D,0x82C1,0x46C1,{ 0x89,0x80,0x3C,0xB7,0x0D,0x98,0x18,0x2B } }; // 4F33D32D-82C1-46C1-8980-3CB70D98182B + template <> inline constexpr guid guid_v{ 0x4380DBA6,0x5E78,0x434F,{ 0x80,0x7C,0x34,0x33,0xD1,0xEF,0xE8,0xB7 } }; // 4380DBA6-5E78-434F-807C-3433D1EFE8B7 + template <> inline constexpr guid guid_v{ 0x4F81A9A8,0xB7FF,0x4883,{ 0x98,0x27,0x7D,0x67,0x72,0x87,0xEA,0x70 } }; // 4F81A9A8-B7FF-4883-9827-7D677287EA70 + template <> inline constexpr guid guid_v{ 0xDF1733D1,0xF224,0x587E,{ 0x8D,0x71,0x1E,0x8F,0xC8,0xF0,0x7B,0x1F } }; // DF1733D1-F224-587E-8D71-1E8FC8F07B1F + template <> inline constexpr guid guid_v{ 0x58F1DA35,0xBBB3,0x3C8F,{ 0x99,0x3D,0x6C,0x80,0xE7,0xFE,0xB9,0x9F } }; // 58F1DA35-BBB3-3C8F-993D-6C80E7FEB99F + template <> inline constexpr guid guid_v{ 0x805444A8,0xF2AE,0x322E,{ 0x8D,0xA9,0x83,0x6A,0x0A,0x95,0xA4,0xC1 } }; // 805444A8-F2AE-322E-8DA9-836A0A95A4C1 + template <> inline constexpr guid guid_v{ 0x364E6064,0xC8F2,0x3BA1,{ 0x83,0x91,0x66,0xB8,0x48,0x9E,0x67,0xFD } }; // 364E6064-C8F2-3BA1-8391-66B8489E67FD + template <> inline constexpr guid guid_v{ 0x0E777088,0x75FC,0x48AF,{ 0x87,0x58,0x06,0x52,0xF6,0xF0,0x7C,0x59 } }; // 0E777088-75FC-48AF-8758-0652F6F07C59 + template <> inline constexpr guid guid_v{ 0x3B00DE3D,0xB1A3,0x4DFE,{ 0x8E,0x79,0xFE,0xC5,0x90,0x9E,0x6D,0xF8 } }; // 3B00DE3D-B1A3-4DFE-8E79-FEC5909E6DF8 + template <> inline constexpr guid guid_v{ 0x5C1DE6E6,0x67E9,0x5004,{ 0xB0,0x2C,0x67,0xA3,0xA1,0x22,0xB5,0x76 } }; // 5C1DE6E6-67E9-5004-B02C-67A3A122B576 + template <> inline constexpr guid guid_v{ 0xE241756E,0xE0D0,0x5019,{ 0x9A,0xF5,0x1B,0x16,0x5B,0xC2,0xF5,0x4E } }; // E241756E-E0D0-5019-9AF5-1B165BC2F54E + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCamera; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraPose; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicDisplay; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFramePrediction; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicQuadLayer; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicSpace; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RenderTargetSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_ViewportScaleFactor(double*) noexcept = 0; + virtual int32_t __stdcall put_ViewportScaleFactor(double) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetNearPlaneDistance(double) noexcept = 0; + virtual int32_t __stdcall SetFarPlaneDistance(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LeftViewportParameters(void**) noexcept = 0; + virtual int32_t __stdcall get_RightViewportParameters(void**) noexcept = 0; + virtual int32_t __stdcall get_Display(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPrimaryLayerEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPrimaryLayerEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_MaxQuadLayerCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_QuadLayers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanOverrideViewport(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsHardwareContentProtectionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHardwareContentProtectionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsHardwareContentProtectionEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ViewConfiguration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HolographicCamera(void**) noexcept = 0; + virtual int32_t __stdcall get_Viewport(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall TryGetViewTransform(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_ProjectionTransform(struct struct_Windows_Graphics_Holographic_HolographicStereoTransform*) noexcept = 0; + virtual int32_t __stdcall TryGetCullingFrustum(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetVisibleFrustum(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_NearPlaneDistance(double*) noexcept = 0; + virtual int32_t __stdcall get_FarPlaneDistance(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OverrideViewTransform(void*, struct struct_Windows_Graphics_Holographic_HolographicStereoTransform) noexcept = 0; + virtual int32_t __stdcall OverrideProjectionTransform(struct struct_Windows_Graphics_Holographic_HolographicStereoTransform) noexcept = 0; + virtual int32_t __stdcall OverrideViewport(winrt::Windows::Foundation::Rect, winrt::Windows::Foundation::Rect) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetFocusPoint(void*, winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall SetFocusPointWithNormal(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall SetFocusPointWithNormalLinearVelocity(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_Direct3D11Device(void**) noexcept = 0; + virtual int32_t __stdcall get_Direct3D11BackBuffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReprojectionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReprojectionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall CommitDirect3D11DepthBuffer(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsContentProtectionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsContentProtectionEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DepthReprojectionMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DepthReprojectionMethod(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HiddenAreaMesh(uint32_t* __valueSize, winrt::Windows::Foundation::Numerics::float2**) noexcept = 0; + virtual int32_t __stdcall get_VisibleAreaMesh(uint32_t* __valueSize, winrt::Windows::Foundation::Numerics::float2**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxViewportSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsOpaque(bool*) noexcept = 0; + virtual int32_t __stdcall get_AdapterId(struct struct_Windows_Graphics_Holographic_HolographicAdapterId*) noexcept = 0; + virtual int32_t __stdcall get_SpatialLocator(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RefreshRate(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetViewConfiguration(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AddedCameras(void**) noexcept = 0; + virtual int32_t __stdcall get_RemovedCameras(void**) noexcept = 0; + virtual int32_t __stdcall GetRenderingParameters(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentPrediction(void**) noexcept = 0; + virtual int32_t __stdcall UpdateCurrentPrediction() noexcept = 0; + virtual int32_t __stdcall PresentUsingCurrentPrediction(int32_t*) noexcept = 0; + virtual int32_t __stdcall PresentUsingCurrentPredictionWithBehavior(int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall WaitForFrameToFinish() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetQuadLayerUpdateParameters(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(struct struct_Windows_Graphics_Holographic_HolographicFrameId*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CameraPoses(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReadReports(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CompositorGpuDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AppGpuDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_AppGpuOverrun(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MissedPresentationOpportunityCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PresentationCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameId(struct struct_Windows_Graphics_Holographic_HolographicFrameId*) noexcept = 0; + virtual int32_t __stdcall get_MissedLatchCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeFrameReadyTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeActualGpuFinishTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeTargetLatchTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReadReports(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RenderingReport(void**) noexcept = 0; + virtual int32_t __stdcall get_MissedScanoutCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeLatchTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeScanoutStartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativePhotonTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Size(winrt::Windows::Foundation::Size*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(winrt::Windows::Foundation::Size, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPixelFormat(winrt::Windows::Foundation::Size, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AcquireBufferToUpdateContent(void**) noexcept = 0; + virtual int32_t __stdcall UpdateViewport(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall UpdateContentProtectionEnabled(bool) noexcept = 0; + virtual int32_t __stdcall UpdateExtents(winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall UpdateLocationWithStationaryMode(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + virtual int32_t __stdcall UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanAcquireWithHardwareProtection(bool*) noexcept = 0; + virtual int32_t __stdcall AcquireBufferToUpdateContentWithHardwareProtection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrimaryAdapterId(struct struct_Windows_Graphics_Holographic_HolographicAdapterId*) noexcept = 0; + virtual int32_t __stdcall SetDirect3D11Device(void*) noexcept = 0; + virtual int32_t __stdcall add_CameraAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CameraRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateNextFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserPresence(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_UserPresenceChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UserPresenceChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall WaitForNextFrameReady() noexcept = 0; + virtual int32_t __stdcall WaitForNextFrameReadyWithHeadStart(int64_t) noexcept = 0; + virtual int32_t __stdcall CreateFramePresentationMonitor(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFrameScanoutMonitor(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Camera(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Camera(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateForCoreWindow(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall add_IsAvailableChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsAvailableChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsConfigured(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NativeRenderTargetSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_RenderTargetSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall RequestRenderTargetSize(winrt::Windows::Foundation::Size, winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_SupportedPixelFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_PixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PixelFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; + virtual int32_t __stdcall get_RefreshRate(double*) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Display(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedDepthReprojectionMethods(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera + { + [[nodiscard]] auto RenderTargetSize() const; + [[nodiscard]] auto ViewportScaleFactor() const; + auto ViewportScaleFactor(double value) const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto Id() const; + auto SetNearPlaneDistance(double value) const; + auto SetFarPlaneDistance(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera2 + { + [[nodiscard]] auto LeftViewportParameters() const; + [[nodiscard]] auto RightViewportParameters() const; + [[nodiscard]] auto Display() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera3 + { + [[nodiscard]] auto IsPrimaryLayerEnabled() const; + auto IsPrimaryLayerEnabled(bool value) const; + [[nodiscard]] auto MaxQuadLayerCount() const; + [[nodiscard]] auto QuadLayers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera4 + { + [[nodiscard]] auto CanOverrideViewport() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera4; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera5 + { + [[nodiscard]] auto IsHardwareContentProtectionSupported() const; + [[nodiscard]] auto IsHardwareContentProtectionEnabled() const; + auto IsHardwareContentProtectionEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera5; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCamera6 + { + [[nodiscard]] auto ViewConfiguration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCamera6; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraPose + { + [[nodiscard]] auto HolographicCamera() const; + [[nodiscard]] auto Viewport() const; + auto TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto ProjectionTransform() const; + auto TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto NearPlaneDistance() const; + [[nodiscard]] auto FarPlaneDistance() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraPose; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraPose2 + { + auto OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const; + auto OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const; + auto OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraPose2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters + { + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const; + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float3 const& linearVelocity) const; + [[nodiscard]] auto Direct3D11Device() const; + [[nodiscard]] auto Direct3D11BackBuffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2 + { + [[nodiscard]] auto ReprojectionMode() const; + auto ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const; + auto CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3 + { + [[nodiscard]] auto IsContentProtectionEnabled() const; + auto IsContentProtectionEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4 + { + [[nodiscard]] auto DepthReprojectionMethod() const; + auto DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters + { + [[nodiscard]] auto HiddenAreaMesh() const; + [[nodiscard]] auto VisibleAreaMesh() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicDisplay + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto MaxViewportSize() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto IsOpaque() const; + [[nodiscard]] auto AdapterId() const; + [[nodiscard]] auto SpatialLocator() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicDisplay; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicDisplay2 + { + [[nodiscard]] auto RefreshRate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicDisplay2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicDisplay3 + { + auto TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicDisplay3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicDisplayStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicDisplayStatics; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrame + { + [[nodiscard]] auto AddedCameras() const; + [[nodiscard]] auto RemovedCameras() const; + auto GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto CurrentPrediction() const; + auto UpdateCurrentPrediction() const; + auto PresentUsingCurrentPrediction() const; + auto PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const; + auto WaitForFrameToFinish() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrame; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrame2 + { + auto GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrame2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrame3 + { + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrame3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFramePrediction + { + [[nodiscard]] auto CameraPoses() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFramePrediction; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor + { + auto ReadReports() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport + { + [[nodiscard]] auto CompositorGpuDuration() const; + [[nodiscard]] auto AppGpuDuration() const; + [[nodiscard]] auto AppGpuOverrun() const; + [[nodiscard]] auto MissedPresentationOpportunityCount() const; + [[nodiscard]] auto PresentationCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport + { + [[nodiscard]] auto FrameId() const; + [[nodiscard]] auto MissedLatchCount() const; + [[nodiscard]] auto SystemRelativeFrameReadyTime() const; + [[nodiscard]] auto SystemRelativeActualGpuFinishTime() const; + [[nodiscard]] auto SystemRelativeTargetLatchTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor + { + auto ReadReports() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport + { + [[nodiscard]] auto RenderingReport() const; + [[nodiscard]] auto MissedScanoutCount() const; + [[nodiscard]] auto SystemRelativeLatchTime() const; + [[nodiscard]] auto SystemRelativeScanoutStartTime() const; + [[nodiscard]] auto SystemRelativePhotonTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicQuadLayer + { + [[nodiscard]] auto PixelFormat() const; + [[nodiscard]] auto Size() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicQuadLayer; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory + { + auto Create(winrt::Windows::Foundation::Size const& size) const; + auto CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters + { + auto AcquireBufferToUpdateContent() const; + auto UpdateViewport(winrt::Windows::Foundation::Rect const& value) const; + auto UpdateContentProtectionEnabled(bool value) const; + auto UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const; + auto UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2 + { + [[nodiscard]] auto CanAcquireWithHardwareProtection() const; + auto AcquireBufferToUpdateContentWithHardwareProtection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpace + { + [[nodiscard]] auto PrimaryAdapterId() const; + auto SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const; + auto CameraAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraAdded_revoker = impl::event_revoker::remove_CameraAdded>; + [[nodiscard]] auto CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraAdded(winrt::event_token const& cookie) const noexcept; + auto CameraRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraRemoved_revoker = impl::event_revoker::remove_CameraRemoved>; + [[nodiscard]] auto CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraRemoved(winrt::event_token const& cookie) const noexcept; + auto CreateNextFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpace; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpace2 + { + [[nodiscard]] auto UserPresence() const; + auto UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UserPresenceChanged_revoker = impl::event_revoker::remove_UserPresenceChanged>; + [[nodiscard]] auto UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserPresenceChanged(winrt::event_token const& token) const noexcept; + auto WaitForNextFrameReady() const; + auto WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const; + auto CreateFramePresentationMonitor(uint32_t maxQueuedReports) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpace2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpace3 + { + auto CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpace3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs + { + [[nodiscard]] auto Camera() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs + { + [[nodiscard]] auto Camera() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics + { + auto CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpaceStatics; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2 + { + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto IsAvailable() const; + auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using IsAvailableChanged_revoker = impl::event_revoker::remove_IsAvailableChanged>; + [[nodiscard]] auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsAvailableChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3 + { + [[nodiscard]] auto IsConfigured() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration + { + [[nodiscard]] auto NativeRenderTargetSize() const; + [[nodiscard]] auto RenderTargetSize() const; + auto RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const; + [[nodiscard]] auto SupportedPixelFormats() const; + [[nodiscard]] auto PixelFormat() const; + auto PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto RefreshRate() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Display() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration; + }; + template + struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2 + { + [[nodiscard]] auto SupportedDepthReprojectionMethods() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2; + }; + struct struct_Windows_Graphics_Holographic_HolographicAdapterId + { + uint32_t LowPart; + int32_t HighPart; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Holographic_HolographicAdapterId; + }; + struct struct_Windows_Graphics_Holographic_HolographicFrameId + { + uint64_t Value; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Holographic_HolographicFrameId; + }; + struct struct_Windows_Graphics_Holographic_HolographicStereoTransform + { + winrt::Windows::Foundation::Numerics::float4x4 Left; + winrt::Windows::Foundation::Numerics::float4x4 Right; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Holographic_HolographicStereoTransform; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e3b72f919a17f46feb647f04c8ca467f5ca168f1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.1.h @@ -0,0 +1,301 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Holographic_1_H +#define WINRT_Windows_Graphics_Holographic_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Graphics.Holographic.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic +{ + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCamera(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicCamera2(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicCamera3(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCamera4(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCamera5(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCamera6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCamera6(std::nullptr_t = nullptr) noexcept {} + IHolographicCamera6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraPose : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraPose(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraPose2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraPose2(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraPose2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraRenderingParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraRenderingParameters(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraRenderingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraRenderingParameters2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicCameraRenderingParameters2(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraRenderingParameters2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraRenderingParameters3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicCameraRenderingParameters3(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraRenderingParameters3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraRenderingParameters4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraRenderingParameters4(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraRenderingParameters4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicCameraViewportParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraViewportParameters(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraViewportParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicDisplay : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicDisplay(std::nullptr_t = nullptr) noexcept {} + IHolographicDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicDisplay2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicDisplay2(std::nullptr_t = nullptr) noexcept {} + IHolographicDisplay2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicDisplay3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicDisplay3(std::nullptr_t = nullptr) noexcept {} + IHolographicDisplay3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicDisplayStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicDisplayStatics(std::nullptr_t = nullptr) noexcept {} + IHolographicDisplayStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFrame(std::nullptr_t = nullptr) noexcept {} + IHolographicFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicFrame2(std::nullptr_t = nullptr) noexcept {} + IHolographicFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrame3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFrame3(std::nullptr_t = nullptr) noexcept {} + IHolographicFrame3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFramePrediction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFramePrediction(std::nullptr_t = nullptr) noexcept {} + IHolographicFramePrediction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFramePresentationMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicFramePresentationMonitor(std::nullptr_t = nullptr) noexcept {} + IHolographicFramePresentationMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFramePresentationReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFramePresentationReport(std::nullptr_t = nullptr) noexcept {} + IHolographicFramePresentationReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrameRenderingReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFrameRenderingReport(std::nullptr_t = nullptr) noexcept {} + IHolographicFrameRenderingReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrameScanoutMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHolographicFrameScanoutMonitor(std::nullptr_t = nullptr) noexcept {} + IHolographicFrameScanoutMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicFrameScanoutReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicFrameScanoutReport(std::nullptr_t = nullptr) noexcept {} + IHolographicFrameScanoutReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicQuadLayer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicQuadLayer(std::nullptr_t = nullptr) noexcept {} + IHolographicQuadLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicQuadLayerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicQuadLayerFactory(std::nullptr_t = nullptr) noexcept {} + IHolographicQuadLayerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicQuadLayerUpdateParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicQuadLayerUpdateParameters(std::nullptr_t = nullptr) noexcept {} + IHolographicQuadLayerUpdateParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicQuadLayerUpdateParameters2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicQuadLayerUpdateParameters2(std::nullptr_t = nullptr) noexcept {} + IHolographicQuadLayerUpdateParameters2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpace : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpace(std::nullptr_t = nullptr) noexcept {} + IHolographicSpace(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpace2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpace2(std::nullptr_t = nullptr) noexcept {} + IHolographicSpace2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpace3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpace3(std::nullptr_t = nullptr) noexcept {} + IHolographicSpace3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpaceCameraAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpaceCameraAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHolographicSpaceCameraAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpaceCameraRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpaceCameraRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHolographicSpaceCameraRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpaceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpaceStatics(std::nullptr_t = nullptr) noexcept {} + IHolographicSpaceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpaceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpaceStatics2(std::nullptr_t = nullptr) noexcept {} + IHolographicSpaceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicSpaceStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicSpaceStatics3(std::nullptr_t = nullptr) noexcept {} + IHolographicSpaceStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicViewConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicViewConfiguration(std::nullptr_t = nullptr) noexcept {} + IHolographicViewConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHolographicViewConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicViewConfiguration2(std::nullptr_t = nullptr) noexcept {} + IHolographicViewConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.2.h new file mode 100644 index 0000000000000000000000000000000000000000..60f5e4dd27ab47ed6d4356e4cc54b7c49027872e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.holographic.2.h @@ -0,0 +1,165 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Holographic_2_H +#define WINRT_Windows_Graphics_Holographic_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Numerics.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.2.h" +#include "winrt/impl/Windows.UI.Core.2.h" +#include "winrt/impl/Windows.Graphics.Holographic.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic +{ + struct HolographicAdapterId + { + uint32_t LowPart {}; + int32_t HighPart {}; + }; + inline bool operator==(HolographicAdapterId const& left, HolographicAdapterId const& right) noexcept + { + return left.LowPart == right.LowPart && left.HighPart == right.HighPart; + } + inline bool operator!=(HolographicAdapterId const& left, HolographicAdapterId const& right) noexcept + { + return !(left == right); + } + struct HolographicFrameId + { + uint64_t Value {}; + }; + inline bool operator==(HolographicFrameId const& left, HolographicFrameId const& right) noexcept + { + return left.Value == right.Value; + } + inline bool operator!=(HolographicFrameId const& left, HolographicFrameId const& right) noexcept + { + return !(left == right); + } + struct HolographicStereoTransform + { + winrt::Windows::Foundation::Numerics::float4x4 Left {}; + winrt::Windows::Foundation::Numerics::float4x4 Right {}; + }; + inline bool operator==(HolographicStereoTransform const& left, HolographicStereoTransform const& right) noexcept + { + return left.Left == right.Left && left.Right == right.Right; + } + inline bool operator!=(HolographicStereoTransform const& left, HolographicStereoTransform const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES HolographicCamera : winrt::Windows::Graphics::Holographic::IHolographicCamera, + impl::require + { + HolographicCamera(std::nullptr_t) noexcept {} + HolographicCamera(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCamera(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicCameraPose : winrt::Windows::Graphics::Holographic::IHolographicCameraPose, + impl::require + { + HolographicCameraPose(std::nullptr_t) noexcept {} + HolographicCameraPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraPose(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicCameraRenderingParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters, + impl::require + { + HolographicCameraRenderingParameters(std::nullptr_t) noexcept {} + HolographicCameraRenderingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicCameraViewportParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters + { + HolographicCameraViewportParameters(std::nullptr_t) noexcept {} + HolographicCameraViewportParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicDisplay : winrt::Windows::Graphics::Holographic::IHolographicDisplay, + impl::require + { + HolographicDisplay(std::nullptr_t) noexcept {} + HolographicDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicDisplay(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFrame : winrt::Windows::Graphics::Holographic::IHolographicFrame, + impl::require + { + HolographicFrame(std::nullptr_t) noexcept {} + HolographicFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFramePrediction : winrt::Windows::Graphics::Holographic::IHolographicFramePrediction + { + HolographicFramePrediction(std::nullptr_t) noexcept {} + HolographicFramePrediction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePrediction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFramePresentationMonitor : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor + { + HolographicFramePresentationMonitor(std::nullptr_t) noexcept {} + HolographicFramePresentationMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFramePresentationReport : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport + { + HolographicFramePresentationReport(std::nullptr_t) noexcept {} + HolographicFramePresentationReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFrameRenderingReport : winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport + { + HolographicFrameRenderingReport(std::nullptr_t) noexcept {} + HolographicFrameRenderingReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFrameScanoutMonitor : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor + { + HolographicFrameScanoutMonitor(std::nullptr_t) noexcept {} + HolographicFrameScanoutMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicFrameScanoutReport : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport + { + HolographicFrameScanoutReport(std::nullptr_t) noexcept {} + HolographicFrameScanoutReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicQuadLayer : winrt::Windows::Graphics::Holographic::IHolographicQuadLayer, + impl::require + { + HolographicQuadLayer(std::nullptr_t) noexcept {} + HolographicQuadLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicQuadLayer(ptr, take_ownership_from_abi) {} + explicit HolographicQuadLayer(winrt::Windows::Foundation::Size const& size); + HolographicQuadLayer(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat); + }; + struct WINRT_IMPL_EMPTY_BASES HolographicQuadLayerUpdateParameters : winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters, + impl::require + { + HolographicQuadLayerUpdateParameters(std::nullptr_t) noexcept {} + HolographicQuadLayerUpdateParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicSpace : winrt::Windows::Graphics::Holographic::IHolographicSpace, + impl::require + { + HolographicSpace(std::nullptr_t) noexcept {} + HolographicSpace(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpace(ptr, take_ownership_from_abi) {} + static auto CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window); + [[nodiscard]] static auto IsSupported(); + [[nodiscard]] static auto IsAvailable(); + static auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler); + using IsAvailableChanged_revoker = impl::factory_event_revoker::remove_IsAvailableChanged>; + [[nodiscard]] static auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto IsAvailableChanged(winrt::event_token const& token); + [[nodiscard]] static auto IsConfigured(); + }; + struct WINRT_IMPL_EMPTY_BASES HolographicSpaceCameraAddedEventArgs : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs + { + HolographicSpaceCameraAddedEventArgs(std::nullptr_t) noexcept {} + HolographicSpaceCameraAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicSpaceCameraRemovedEventArgs : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs + { + HolographicSpaceCameraRemovedEventArgs(std::nullptr_t) noexcept {} + HolographicSpaceCameraRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration, + impl::require + { + HolographicViewConfiguration(std::nullptr_t) noexcept {} + HolographicViewConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9e7d983e03ebcf37d7c270aadf8160ec246361a1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.0.h @@ -0,0 +1,804 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Imaging_0_H +#define WINRT_Windows_Graphics_Imaging_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + enum class PropertyType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; + template struct WINRT_IMPL_EMPTY_BASES IMap; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStream; + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapAlphaMode : int32_t + { + Premultiplied = 0, + Straight = 1, + Ignore = 2, + }; + enum class BitmapBufferAccessMode : int32_t + { + Read = 0, + ReadWrite = 1, + Write = 2, + }; + enum class BitmapFlip : int32_t + { + None = 0, + Horizontal = 1, + Vertical = 2, + }; + enum class BitmapInterpolationMode : int32_t + { + NearestNeighbor = 0, + Linear = 1, + Cubic = 2, + Fant = 3, + }; + enum class BitmapPixelFormat : int32_t + { + Unknown = 0, + Rgba16 = 12, + Rgba8 = 30, + Gray16 = 57, + Gray8 = 62, + Bgra8 = 87, + Nv12 = 103, + P010 = 104, + Yuy2 = 107, + }; + enum class BitmapRotation : int32_t + { + None = 0, + Clockwise90Degrees = 1, + Clockwise180Degrees = 2, + Clockwise270Degrees = 3, + }; + enum class ColorManagementMode : int32_t + { + DoNotColorManage = 0, + ColorManageToSRgb = 1, + }; + enum class ExifOrientationMode : int32_t + { + IgnoreExifOrientation = 0, + RespectExifOrientation = 1, + }; + enum class JpegSubsamplingMode : int32_t + { + Default = 0, + Y4Cb2Cr0 = 1, + Y4Cb2Cr2 = 2, + Y4Cb4Cr4 = 3, + }; + enum class PngFilterMode : int32_t + { + Automatic = 0, + None = 1, + Sub = 2, + Up = 3, + Average = 4, + Paeth = 5, + Adaptive = 6, + }; + enum class TiffCompressionMode : int32_t + { + Automatic = 0, + None = 1, + Ccitt3 = 2, + Ccitt4 = 3, + Lzw = 4, + Rle = 5, + Zip = 6, + LzwhDifferencing = 7, + }; + struct IBitmapBuffer; + struct IBitmapCodecInformation; + struct IBitmapDecoder; + struct IBitmapDecoderStatics; + struct IBitmapDecoderStatics2; + struct IBitmapEncoder; + struct IBitmapEncoderStatics; + struct IBitmapEncoderStatics2; + struct IBitmapEncoderWithSoftwareBitmap; + struct IBitmapFrame; + struct IBitmapFrameWithSoftwareBitmap; + struct IBitmapProperties; + struct IBitmapPropertiesView; + struct IBitmapTransform; + struct IBitmapTypedValue; + struct IBitmapTypedValueFactory; + struct IPixelDataProvider; + struct ISoftwareBitmap; + struct ISoftwareBitmapFactory; + struct ISoftwareBitmapStatics; + struct BitmapBuffer; + struct BitmapCodecInformation; + struct BitmapDecoder; + struct BitmapEncoder; + struct BitmapFrame; + struct BitmapProperties; + struct BitmapPropertiesView; + struct BitmapPropertySet; + struct BitmapTransform; + struct BitmapTypedValue; + struct ImageStream; + struct PixelDataProvider; + struct SoftwareBitmap; + struct BitmapBounds; + struct BitmapPlaneDescription; + struct BitmapSize; +} +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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapCodecInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapDecoder"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapEncoder"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapProperties"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapPropertiesView"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapPropertySet"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapTransform"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapTypedValue"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ImageStream"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.PixelDataProvider"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.SoftwareBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapAlphaMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapBufferAccessMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapFlip"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapInterpolationMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapPixelFormat"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapRotation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ColorManagementMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ExifOrientationMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.JpegSubsamplingMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.PngFilterMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.TiffCompressionMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapBounds"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapPlaneDescription"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.BitmapSize"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapCodecInformation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapDecoder"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapDecoderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapDecoderStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapEncoder"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapEncoderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapEncoderStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapEncoderWithSoftwareBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapFrame"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapFrameWithSoftwareBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapProperties"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapPropertiesView"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapTransform"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapTypedValue"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IBitmapTypedValueFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.IPixelDataProvider"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ISoftwareBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ISoftwareBitmapFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Imaging.ISoftwareBitmapStatics"; + template <> inline constexpr guid guid_v{ 0xA53E04C4,0x399C,0x438C,{ 0xB2,0x8F,0xA6,0x3A,0x6B,0x83,0xD1,0xA1 } }; // A53E04C4-399C-438C-B28F-A63A6B83D1A1 + template <> inline constexpr guid guid_v{ 0x400CAAF2,0xC4B0,0x4392,{ 0xA3,0xB0,0x6F,0x6F,0x9B,0xA9,0x5C,0xB4 } }; // 400CAAF2-C4B0-4392-A3B0-6F6F9BA95CB4 + template <> inline constexpr guid guid_v{ 0xACEF22BA,0x1D74,0x4C91,{ 0x9D,0xFC,0x96,0x20,0x74,0x52,0x33,0xE6 } }; // ACEF22BA-1D74-4C91-9DFC-9620745233E6 + template <> inline constexpr guid guid_v{ 0x438CCB26,0xBCEF,0x4E95,{ 0xBA,0xD6,0x23,0xA8,0x22,0xE5,0x8D,0x01 } }; // 438CCB26-BCEF-4E95-BAD6-23A822E58D01 + template <> inline constexpr guid guid_v{ 0x50BA68EA,0x99A1,0x40C4,{ 0x80,0xD9,0xAE,0xF0,0xDA,0xFA,0x6C,0x3F } }; // 50BA68EA-99A1-40C4-80D9-AEF0DAFA6C3F + template <> inline constexpr guid guid_v{ 0x2BC468E3,0xE1F8,0x4B54,{ 0x95,0xE8,0x32,0x91,0x95,0x51,0xCE,0x62 } }; // 2BC468E3-E1F8-4B54-95E8-32919551CE62 + template <> inline constexpr guid guid_v{ 0xA74356A7,0xA4E4,0x4EB9,{ 0x8E,0x40,0x56,0x4D,0xE7,0xE1,0xCC,0xB2 } }; // A74356A7-A4E4-4EB9-8E40-564DE7E1CCB2 + template <> inline constexpr guid guid_v{ 0x33CBC259,0xFE31,0x41B1,{ 0xB8,0x12,0x08,0x6D,0x21,0xE8,0x7E,0x16 } }; // 33CBC259-FE31-41B1-B812-086D21E87E16 + template <> inline constexpr guid guid_v{ 0x686CD241,0x4330,0x4C77,{ 0xAC,0xE4,0x03,0x34,0x96,0x8B,0x17,0x68 } }; // 686CD241-4330-4C77-ACE4-0334968B1768 + template <> inline constexpr guid guid_v{ 0x72A49A1C,0x8081,0x438D,{ 0x91,0xBC,0x94,0xEC,0xFC,0x81,0x85,0xC6 } }; // 72A49A1C-8081-438D-91BC-94ECFC8185C6 + template <> inline constexpr guid guid_v{ 0xFE287C9A,0x420C,0x4963,{ 0x87,0xAD,0x69,0x14,0x36,0xE0,0x83,0x83 } }; // FE287C9A-420C-4963-87AD-691436E08383 + template <> inline constexpr guid guid_v{ 0xEA9F4F1B,0xB505,0x4450,{ 0xA4,0xD1,0xE8,0xCA,0x94,0x52,0x9D,0x8D } }; // EA9F4F1B-B505-4450-A4D1-E8CA94529D8D + template <> inline constexpr guid guid_v{ 0x7E0FE87A,0x3A70,0x48F8,{ 0x9C,0x55,0x19,0x6C,0xF5,0xA5,0x45,0xF5 } }; // 7E0FE87A-3A70-48F8-9C55-196CF5A545F5 + template <> inline constexpr guid guid_v{ 0xAE755344,0xE268,0x4D35,{ 0xAD,0xCF,0xE9,0x95,0xD3,0x1A,0x8D,0x34 } }; // AE755344-E268-4D35-ADCF-E995D31A8D34 + template <> inline constexpr guid guid_v{ 0xCD8044A9,0x2443,0x4000,{ 0xB0,0xCD,0x79,0x31,0x6C,0x56,0xF5,0x89 } }; // CD8044A9-2443-4000-B0CD-79316C56F589 + template <> inline constexpr guid guid_v{ 0x92DBB599,0xCE13,0x46BB,{ 0x95,0x45,0xCB,0x3A,0x3F,0x63,0xEB,0x8B } }; // 92DBB599-CE13-46BB-9545-CB3A3F63EB8B + template <> inline constexpr guid guid_v{ 0xDD831F25,0x185C,0x4595,{ 0x9F,0xB9,0xCC,0xBE,0x6E,0xC1,0x8A,0x6F } }; // DD831F25-185C-4595-9FB9-CCBE6EC18A6F + template <> inline constexpr guid guid_v{ 0x689E0708,0x7EEF,0x483F,{ 0x96,0x3F,0xDA,0x93,0x88,0x18,0xE0,0x73 } }; // 689E0708-7EEF-483F-963F-DA938818E073 + template <> inline constexpr guid guid_v{ 0xC99FEB69,0x2D62,0x4D47,{ 0xA6,0xB3,0x4F,0xDB,0x6A,0x07,0xFD,0xF8 } }; // C99FEB69-2D62-4D47-A6B3-4FDB6A07FDF8 + template <> inline constexpr guid guid_v{ 0xDF0385DB,0x672F,0x4A9D,{ 0x80,0x6E,0xC2,0x44,0x2F,0x34,0x3E,0x86 } }; // DF0385DB-672F-4A9D-806E-C2442F343E86 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapCodecInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapDecoder; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapEncoder; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapPropertiesView; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMap; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapTransform; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IBitmapTypedValue; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::IPixelDataProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Imaging::ISoftwareBitmap; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPlaneCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetPlaneDescription(int32_t, struct struct_Windows_Graphics_Imaging_BitmapPlaneDescription*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CodecId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_FileExtensions(void**) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_MimeTypes(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BitmapContainerProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_DecoderInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetPreviewAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetFrameAsync(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BmpDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_JpegDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PngDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TiffDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GifDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_JpegXRDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IcoDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetDecoderInformationEnumerator(void**) noexcept = 0; + virtual int32_t __stdcall CreateAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithIdAsync(winrt::guid, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HeifDecoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_WebpDecoderId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncoderInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapContainerProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_IsThumbnailGenerated(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsThumbnailGenerated(bool) noexcept = 0; + virtual int32_t __stdcall get_GeneratedThumbnailWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_GeneratedThumbnailWidth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_GeneratedThumbnailHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_GeneratedThumbnailHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BitmapTransform(void**) noexcept = 0; + virtual int32_t __stdcall SetPixelData(int32_t, int32_t, uint32_t, uint32_t, double, double, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GoToNextFrameAsync(void**) noexcept = 0; + virtual int32_t __stdcall GoToNextFrameWithEncodingOptionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FlushAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BmpEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_JpegEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PngEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_TiffEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_GifEncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_JpegXREncoderId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetEncoderInformationEnumerator(void**) noexcept = 0; + virtual int32_t __stdcall CreateAsync(winrt::guid, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithEncodingOptionsAsync(winrt::guid, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateForTranscodingAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateForInPlacePropertyEncodingAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HeifEncoderId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSoftwareBitmap(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetThumbnailAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapPixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BitmapAlphaMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DpiX(double*) noexcept = 0; + virtual int32_t __stdcall get_DpiY(double*) noexcept = 0; + virtual int32_t __stdcall get_PixelWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PixelHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OrientedPixelWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OrientedPixelHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetPixelDataAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetPixelDataTransformedAsync(int32_t, int32_t, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetSoftwareBitmapAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetSoftwareBitmapConvertedAsync(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetSoftwareBitmapTransformedAsync(int32_t, int32_t, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetPropertiesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPropertiesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ScaledWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ScaledWidth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ScaledHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ScaledHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_InterpolationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_InterpolationMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Flip(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Flip(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Rotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Rotation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Bounds(struct struct_Windows_Graphics_Imaging_BitmapBounds*) noexcept = 0; + virtual int32_t __stdcall put_Bounds(struct struct_Windows_Graphics_Imaging_BitmapBounds) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DetachPixelData(uint32_t* __pixelDataSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BitmapPixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BitmapAlphaMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PixelWidth(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PixelHeight(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_DpiX(double) noexcept = 0; + virtual int32_t __stdcall get_DpiX(double*) noexcept = 0; + virtual int32_t __stdcall put_DpiY(double) noexcept = 0; + virtual int32_t __stdcall get_DpiY(double*) noexcept = 0; + virtual int32_t __stdcall LockBuffer(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CopyTo(void*) noexcept = 0; + virtual int32_t __stdcall CopyFromBuffer(void*) noexcept = 0; + virtual int32_t __stdcall CopyToBuffer(void*) noexcept = 0; + virtual int32_t __stdcall GetReadOnlyView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAlpha(int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void*, void**) noexcept = 0; + virtual int32_t __stdcall Convert(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertWithAlpha(void*, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateCopyFromBuffer(void*, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateCopyWithAlphaFromBuffer(void*, int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateCopyFromSurfaceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateCopyWithAlphaFromSurfaceAsync(void*, int32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapBuffer + { + auto GetPlaneCount() const; + auto GetPlaneDescription(int32_t index) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapBuffer; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapCodecInformation + { + [[nodiscard]] auto CodecId() const; + [[nodiscard]] auto FileExtensions() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto MimeTypes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapCodecInformation; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapDecoder + { + [[nodiscard]] auto BitmapContainerProperties() const; + [[nodiscard]] auto DecoderInformation() const; + [[nodiscard]] auto FrameCount() const; + auto GetPreviewAsync() const; + auto GetFrameAsync(uint32_t frameIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapDecoder; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapDecoderStatics + { + [[nodiscard]] auto BmpDecoderId() const; + [[nodiscard]] auto JpegDecoderId() const; + [[nodiscard]] auto PngDecoderId() const; + [[nodiscard]] auto TiffDecoderId() const; + [[nodiscard]] auto GifDecoderId() const; + [[nodiscard]] auto JpegXRDecoderId() const; + [[nodiscard]] auto IcoDecoderId() const; + auto GetDecoderInformationEnumerator() const; + auto CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapDecoderStatics; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2 + { + [[nodiscard]] auto HeifDecoderId() const; + [[nodiscard]] auto WebpDecoderId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapEncoder + { + [[nodiscard]] auto EncoderInformation() const; + [[nodiscard]] auto BitmapProperties() const; + [[nodiscard]] auto BitmapContainerProperties() const; + [[nodiscard]] auto IsThumbnailGenerated() const; + auto IsThumbnailGenerated(bool value) const; + [[nodiscard]] auto GeneratedThumbnailWidth() const; + auto GeneratedThumbnailWidth(uint32_t value) const; + [[nodiscard]] auto GeneratedThumbnailHeight() const; + auto GeneratedThumbnailHeight(uint32_t value) const; + [[nodiscard]] auto BitmapTransform() const; + auto SetPixelData(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, uint32_t width, uint32_t height, double dpiX, double dpiY, array_view pixels) const; + auto GoToNextFrameAsync() const; + auto GoToNextFrameAsync(param::async_iterable> const& encodingOptions) const; + auto FlushAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapEncoder; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapEncoderStatics + { + [[nodiscard]] auto BmpEncoderId() const; + [[nodiscard]] auto JpegEncoderId() const; + [[nodiscard]] auto PngEncoderId() const; + [[nodiscard]] auto TiffEncoderId() const; + [[nodiscard]] auto GifEncoderId() const; + [[nodiscard]] auto JpegXREncoderId() const; + auto GetEncoderInformationEnumerator() const; + auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions) const; + auto CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; + auto CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapEncoderStatics; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2 + { + [[nodiscard]] auto HeifEncoderId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap + { + auto SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapFrame + { + auto GetThumbnailAsync() const; + [[nodiscard]] auto BitmapProperties() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto DpiX() const; + [[nodiscard]] auto DpiY() const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + [[nodiscard]] auto OrientedPixelWidth() const; + [[nodiscard]] auto OrientedPixelHeight() const; + auto GetPixelDataAsync() const; + auto GetPixelDataAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapFrame; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap + { + auto GetSoftwareBitmapAsync() const; + auto GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const; + auto GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapProperties + { + auto SetPropertiesAsync(param::async_iterable> const& propertiesToSet) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapProperties; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapPropertiesView + { + auto GetPropertiesAsync(param::async_iterable const& propertiesToRetrieve) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapPropertiesView; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapTransform + { + [[nodiscard]] auto ScaledWidth() const; + auto ScaledWidth(uint32_t value) const; + [[nodiscard]] auto ScaledHeight() const; + auto ScaledHeight(uint32_t value) const; + [[nodiscard]] auto InterpolationMode() const; + auto InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const; + [[nodiscard]] auto Flip() const; + auto Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapTransform; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapTypedValue + { + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Type() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapTypedValue; + }; + template + struct consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory + { + auto Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory; + }; + template + struct consume_Windows_Graphics_Imaging_IPixelDataProvider + { + auto DetachPixelData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_IPixelDataProvider; + }; + template + struct consume_Windows_Graphics_Imaging_ISoftwareBitmap + { + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + [[nodiscard]] auto IsReadOnly() const; + auto DpiX(double value) const; + [[nodiscard]] auto DpiX() const; + auto DpiY(double value) const; + [[nodiscard]] auto DpiY() const; + auto LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const; + auto CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto GetReadOnlyView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_ISoftwareBitmap; + }; + template + struct consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory + { + auto Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory; + }; + template + struct consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics + { + auto Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const; + auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const; + auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; + auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics; + }; + struct struct_Windows_Graphics_Imaging_BitmapBounds + { + uint32_t X; + uint32_t Y; + uint32_t Width; + uint32_t Height; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Imaging_BitmapBounds; + }; + struct struct_Windows_Graphics_Imaging_BitmapPlaneDescription + { + int32_t StartIndex; + int32_t Width; + int32_t Height; + int32_t Stride; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Imaging_BitmapPlaneDescription; + }; + struct struct_Windows_Graphics_Imaging_BitmapSize + { + uint32_t Width; + uint32_t Height; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Imaging_BitmapSize; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e17356ca6b1a49fe58abc5ebc9d7992899a70c85 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.1.h @@ -0,0 +1,158 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Imaging_1_H +#define WINRT_Windows_Graphics_Imaging_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Graphics.Imaging.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct WINRT_IMPL_EMPTY_BASES IBitmapBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBitmapBuffer(std::nullptr_t = nullptr) noexcept {} + IBitmapBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapCodecInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapCodecInformation(std::nullptr_t = nullptr) noexcept {} + IBitmapCodecInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapDecoder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapDecoder(std::nullptr_t = nullptr) noexcept {} + IBitmapDecoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapDecoderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapDecoderStatics(std::nullptr_t = nullptr) noexcept {} + IBitmapDecoderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapDecoderStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapDecoderStatics2(std::nullptr_t = nullptr) noexcept {} + IBitmapDecoderStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapEncoder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapEncoder(std::nullptr_t = nullptr) noexcept {} + IBitmapEncoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapEncoderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapEncoderStatics(std::nullptr_t = nullptr) noexcept {} + IBitmapEncoderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapEncoderStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapEncoderStatics2(std::nullptr_t = nullptr) noexcept {} + IBitmapEncoderStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapEncoderWithSoftwareBitmap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapEncoderWithSoftwareBitmap(std::nullptr_t = nullptr) noexcept {} + IBitmapEncoderWithSoftwareBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapFrame(std::nullptr_t = nullptr) noexcept {} + IBitmapFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapFrameWithSoftwareBitmap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBitmapFrameWithSoftwareBitmap(std::nullptr_t = nullptr) noexcept {} + IBitmapFrameWithSoftwareBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBitmapProperties(std::nullptr_t = nullptr) noexcept {} + IBitmapProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapPropertiesView : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapPropertiesView(std::nullptr_t = nullptr) noexcept {} + IBitmapPropertiesView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapTransform : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapTransform(std::nullptr_t = nullptr) noexcept {} + IBitmapTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapTypedValue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapTypedValue(std::nullptr_t = nullptr) noexcept {} + IBitmapTypedValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBitmapTypedValueFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBitmapTypedValueFactory(std::nullptr_t = nullptr) noexcept {} + IBitmapTypedValueFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPixelDataProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPixelDataProvider(std::nullptr_t = nullptr) noexcept {} + IPixelDataProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISoftwareBitmap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISoftwareBitmap(std::nullptr_t = nullptr) noexcept {} + ISoftwareBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISoftwareBitmapFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISoftwareBitmapFactory(std::nullptr_t = nullptr) noexcept {} + ISoftwareBitmapFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISoftwareBitmapStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISoftwareBitmapStatics(std::nullptr_t = nullptr) noexcept {} + ISoftwareBitmapStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5f89af56feaf997a96dc4dcb303a52a9c7232ee0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.imaging.2.h @@ -0,0 +1,164 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Imaging_2_H +#define WINRT_Windows_Graphics_Imaging_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Graphics.Imaging.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct BitmapBounds + { + uint32_t X {}; + uint32_t Y {}; + uint32_t Width {}; + uint32_t Height {}; + }; + inline bool operator==(BitmapBounds const& left, BitmapBounds const& right) noexcept + { + return left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; + } + inline bool operator!=(BitmapBounds const& left, BitmapBounds const& right) noexcept + { + return !(left == right); + } + struct BitmapPlaneDescription + { + int32_t StartIndex {}; + int32_t Width {}; + int32_t Height {}; + int32_t Stride {}; + }; + inline bool operator==(BitmapPlaneDescription const& left, BitmapPlaneDescription const& right) noexcept + { + return left.StartIndex == right.StartIndex && left.Width == right.Width && left.Height == right.Height && left.Stride == right.Stride; + } + inline bool operator!=(BitmapPlaneDescription const& left, BitmapPlaneDescription const& right) noexcept + { + return !(left == right); + } + struct BitmapSize + { + uint32_t Width {}; + uint32_t Height {}; + }; + inline bool operator==(BitmapSize const& left, BitmapSize const& right) noexcept + { + return left.Width == right.Width && left.Height == right.Height; + } + inline bool operator!=(BitmapSize const& left, BitmapSize const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES BitmapBuffer : winrt::Windows::Graphics::Imaging::IBitmapBuffer + { + BitmapBuffer(std::nullptr_t) noexcept {} + BitmapBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapBuffer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BitmapCodecInformation : winrt::Windows::Graphics::Imaging::IBitmapCodecInformation + { + BitmapCodecInformation(std::nullptr_t) noexcept {} + BitmapCodecInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapCodecInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BitmapDecoder : winrt::Windows::Graphics::Imaging::IBitmapDecoder, + impl::require + { + BitmapDecoder(std::nullptr_t) noexcept {} + BitmapDecoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapDecoder(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto BmpDecoderId(); + [[nodiscard]] static auto JpegDecoderId(); + [[nodiscard]] static auto PngDecoderId(); + [[nodiscard]] static auto TiffDecoderId(); + [[nodiscard]] static auto GifDecoderId(); + [[nodiscard]] static auto JpegXRDecoderId(); + [[nodiscard]] static auto IcoDecoderId(); + static auto GetDecoderInformationEnumerator(); + static auto CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); + static auto CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); + [[nodiscard]] static auto HeifDecoderId(); + [[nodiscard]] static auto WebpDecoderId(); + }; + struct WINRT_IMPL_EMPTY_BASES BitmapEncoder : winrt::Windows::Graphics::Imaging::IBitmapEncoder, + impl::require + { + BitmapEncoder(std::nullptr_t) noexcept {} + BitmapEncoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapEncoder(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto BmpEncoderId(); + [[nodiscard]] static auto JpegEncoderId(); + [[nodiscard]] static auto PngEncoderId(); + [[nodiscard]] static auto TiffEncoderId(); + [[nodiscard]] static auto GifEncoderId(); + [[nodiscard]] static auto JpegXREncoderId(); + static auto GetEncoderInformationEnumerator(); + static auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); + static auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions); + static auto CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder); + static auto CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder); + [[nodiscard]] static auto HeifEncoderId(); + }; + struct WINRT_IMPL_EMPTY_BASES BitmapFrame : winrt::Windows::Graphics::Imaging::IBitmapFrame, + impl::require + { + BitmapFrame(std::nullptr_t) noexcept {} + BitmapFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BitmapProperties : winrt::Windows::Graphics::Imaging::IBitmapProperties + { + BitmapProperties(std::nullptr_t) noexcept {} + BitmapProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BitmapPropertiesView : winrt::Windows::Graphics::Imaging::IBitmapPropertiesView + { + BitmapPropertiesView(std::nullptr_t) noexcept {} + BitmapPropertiesView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapPropertiesView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BitmapPropertySet : winrt::Windows::Foundation::Collections::IMap + { + BitmapPropertySet(std::nullptr_t) noexcept {} + BitmapPropertySet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMap(ptr, take_ownership_from_abi) {} + BitmapPropertySet(); + }; + struct WINRT_IMPL_EMPTY_BASES BitmapTransform : winrt::Windows::Graphics::Imaging::IBitmapTransform + { + BitmapTransform(std::nullptr_t) noexcept {} + BitmapTransform(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapTransform(ptr, take_ownership_from_abi) {} + BitmapTransform(); + }; + struct WINRT_IMPL_EMPTY_BASES BitmapTypedValue : winrt::Windows::Graphics::Imaging::IBitmapTypedValue + { + BitmapTypedValue(std::nullptr_t) noexcept {} + BitmapTypedValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IBitmapTypedValue(ptr, take_ownership_from_abi) {} + BitmapTypedValue(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type); + }; + struct WINRT_IMPL_EMPTY_BASES ImageStream : winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType + { + ImageStream(std::nullptr_t) noexcept {} + ImageStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PixelDataProvider : winrt::Windows::Graphics::Imaging::IPixelDataProvider + { + PixelDataProvider(std::nullptr_t) noexcept {} + PixelDataProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::IPixelDataProvider(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SoftwareBitmap : winrt::Windows::Graphics::Imaging::ISoftwareBitmap + { + SoftwareBitmap(std::nullptr_t) noexcept {} + SoftwareBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Imaging::ISoftwareBitmap(ptr, take_ownership_from_abi) {} + SoftwareBitmap(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height); + SoftwareBitmap(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + static auto Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source); + static auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format); + static auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + static auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height); + static auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + static auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface); + static auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2af90860aa88c2be9c20e46a3f3bf0a58baf5a7d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.0.h @@ -0,0 +1,1133 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_0_H +#define WINRT_Windows_Graphics_Printing_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer +{ + struct DataPackagePropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + enum class PrintBinding : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + None = 3, + Bale = 4, + BindBottom = 5, + BindLeft = 6, + BindRight = 7, + BindTop = 8, + Booklet = 9, + EdgeStitchBottom = 10, + EdgeStitchLeft = 11, + EdgeStitchRight = 12, + EdgeStitchTop = 13, + Fold = 14, + JogOffset = 15, + Trim = 16, + }; + enum class PrintBordering : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + Bordered = 3, + Borderless = 4, + }; + enum class PrintCollation : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + Collated = 3, + Uncollated = 4, + }; + enum class PrintColorMode : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + Color = 3, + Grayscale = 4, + Monochrome = 5, + AutoSelect = 6, + }; + enum class PrintDuplex : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + OneSided = 3, + TwoSidedShortEdge = 4, + TwoSidedLongEdge = 5, + }; + enum class PrintHolePunch : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + None = 3, + LeftEdge = 4, + RightEdge = 5, + TopEdge = 6, + BottomEdge = 7, + }; + enum class PrintMediaSize : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + BusinessCard = 3, + CreditCard = 4, + IsoA0 = 5, + IsoA1 = 6, + IsoA10 = 7, + IsoA2 = 8, + IsoA3 = 9, + IsoA3Extra = 10, + IsoA3Rotated = 11, + IsoA4 = 12, + IsoA4Extra = 13, + IsoA4Rotated = 14, + IsoA5 = 15, + IsoA5Extra = 16, + IsoA5Rotated = 17, + IsoA6 = 18, + IsoA6Rotated = 19, + IsoA7 = 20, + IsoA8 = 21, + IsoA9 = 22, + IsoB0 = 23, + IsoB1 = 24, + IsoB10 = 25, + IsoB2 = 26, + IsoB3 = 27, + IsoB4 = 28, + IsoB4Envelope = 29, + IsoB5Envelope = 30, + IsoB5Extra = 31, + IsoB7 = 32, + IsoB8 = 33, + IsoB9 = 34, + IsoC0 = 35, + IsoC1 = 36, + IsoC10 = 37, + IsoC2 = 38, + IsoC3 = 39, + IsoC3Envelope = 40, + IsoC4 = 41, + IsoC4Envelope = 42, + IsoC5 = 43, + IsoC5Envelope = 44, + IsoC6 = 45, + IsoC6C5Envelope = 46, + IsoC6Envelope = 47, + IsoC7 = 48, + IsoC8 = 49, + IsoC9 = 50, + IsoDLEnvelope = 51, + IsoDLEnvelopeRotated = 52, + IsoSRA3 = 53, + Japan2LPhoto = 54, + JapanChou3Envelope = 55, + JapanChou3EnvelopeRotated = 56, + JapanChou4Envelope = 57, + JapanChou4EnvelopeRotated = 58, + JapanDoubleHagakiPostcard = 59, + JapanDoubleHagakiPostcardRotated = 60, + JapanHagakiPostcard = 61, + JapanHagakiPostcardRotated = 62, + JapanKaku2Envelope = 63, + JapanKaku2EnvelopeRotated = 64, + JapanKaku3Envelope = 65, + JapanKaku3EnvelopeRotated = 66, + JapanLPhoto = 67, + JapanQuadrupleHagakiPostcard = 68, + JapanYou1Envelope = 69, + JapanYou2Envelope = 70, + JapanYou3Envelope = 71, + JapanYou4Envelope = 72, + JapanYou4EnvelopeRotated = 73, + JapanYou6Envelope = 74, + JapanYou6EnvelopeRotated = 75, + JisB0 = 76, + JisB1 = 77, + JisB10 = 78, + JisB2 = 79, + JisB3 = 80, + JisB4 = 81, + JisB4Rotated = 82, + JisB5 = 83, + JisB5Rotated = 84, + JisB6 = 85, + JisB6Rotated = 86, + JisB7 = 87, + JisB8 = 88, + JisB9 = 89, + NorthAmerica10x11 = 90, + NorthAmerica10x12 = 91, + NorthAmerica10x14 = 92, + NorthAmerica11x17 = 93, + NorthAmerica14x17 = 94, + NorthAmerica4x6 = 95, + NorthAmerica4x8 = 96, + NorthAmerica5x7 = 97, + NorthAmerica8x10 = 98, + NorthAmerica9x11 = 99, + NorthAmericaArchitectureASheet = 100, + NorthAmericaArchitectureBSheet = 101, + NorthAmericaArchitectureCSheet = 102, + NorthAmericaArchitectureDSheet = 103, + NorthAmericaArchitectureESheet = 104, + NorthAmericaCSheet = 105, + NorthAmericaDSheet = 106, + NorthAmericaESheet = 107, + NorthAmericaExecutive = 108, + NorthAmericaGermanLegalFanfold = 109, + NorthAmericaGermanStandardFanfold = 110, + NorthAmericaLegal = 111, + NorthAmericaLegalExtra = 112, + NorthAmericaLetter = 113, + NorthAmericaLetterExtra = 114, + NorthAmericaLetterPlus = 115, + NorthAmericaLetterRotated = 116, + NorthAmericaMonarchEnvelope = 117, + NorthAmericaNote = 118, + NorthAmericaNumber10Envelope = 119, + NorthAmericaNumber10EnvelopeRotated = 120, + NorthAmericaNumber11Envelope = 121, + NorthAmericaNumber12Envelope = 122, + NorthAmericaNumber14Envelope = 123, + NorthAmericaNumber9Envelope = 124, + NorthAmericaPersonalEnvelope = 125, + NorthAmericaQuarto = 126, + NorthAmericaStatement = 127, + NorthAmericaSuperA = 128, + NorthAmericaSuperB = 129, + NorthAmericaTabloid = 130, + NorthAmericaTabloidExtra = 131, + OtherMetricA3Plus = 132, + OtherMetricA4Plus = 133, + OtherMetricFolio = 134, + OtherMetricInviteEnvelope = 135, + OtherMetricItalianEnvelope = 136, + Prc10Envelope = 137, + Prc10EnvelopeRotated = 138, + Prc16K = 139, + Prc16KRotated = 140, + Prc1Envelope = 141, + Prc1EnvelopeRotated = 142, + Prc2Envelope = 143, + Prc2EnvelopeRotated = 144, + Prc32K = 145, + Prc32KBig = 146, + Prc32KRotated = 147, + Prc3Envelope = 148, + Prc3EnvelopeRotated = 149, + Prc4Envelope = 150, + Prc4EnvelopeRotated = 151, + Prc5Envelope = 152, + Prc5EnvelopeRotated = 153, + Prc6Envelope = 154, + Prc6EnvelopeRotated = 155, + Prc7Envelope = 156, + Prc7EnvelopeRotated = 157, + Prc8Envelope = 158, + Prc8EnvelopeRotated = 159, + Prc9Envelope = 160, + Prc9EnvelopeRotated = 161, + Roll04Inch = 162, + Roll06Inch = 163, + Roll08Inch = 164, + Roll12Inch = 165, + Roll15Inch = 166, + Roll18Inch = 167, + Roll22Inch = 168, + Roll24Inch = 169, + Roll30Inch = 170, + Roll36Inch = 171, + Roll54Inch = 172, + }; + enum class PrintMediaType : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + AutoSelect = 3, + Archival = 4, + BackPrintFilm = 5, + Bond = 6, + CardStock = 7, + Continuous = 8, + EnvelopePlain = 9, + EnvelopeWindow = 10, + Fabric = 11, + HighResolution = 12, + Label = 13, + MultiLayerForm = 14, + MultiPartForm = 15, + Photographic = 16, + PhotographicFilm = 17, + PhotographicGlossy = 18, + PhotographicHighGloss = 19, + PhotographicMatte = 20, + PhotographicSatin = 21, + PhotographicSemiGloss = 22, + Plain = 23, + Screen = 24, + ScreenPaged = 25, + Stationery = 26, + TabStockFull = 27, + TabStockPreCut = 28, + Transparency = 29, + TShirtTransfer = 30, + None = 31, + }; + enum class PrintOrientation : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + Portrait = 3, + PortraitFlipped = 4, + Landscape = 5, + LandscapeFlipped = 6, + }; + enum class PrintQuality : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + Automatic = 3, + Draft = 4, + Fax = 5, + High = 6, + Normal = 7, + Photographic = 8, + Text = 9, + }; + enum class PrintStaple : int32_t + { + Default = 0, + NotAvailable = 1, + PrinterCustom = 2, + None = 3, + StapleTopLeft = 4, + StapleTopRight = 5, + StapleBottomLeft = 6, + StapleBottomRight = 7, + StapleDualLeft = 8, + StapleDualRight = 9, + StapleDualTop = 10, + StapleDualBottom = 11, + SaddleStitch = 12, + }; + enum class PrintTaskCompletion : int32_t + { + Abandoned = 0, + Canceled = 1, + Failed = 2, + Submitted = 3, + }; + struct IPrintDocumentSource; + struct IPrintManager; + struct IPrintManagerStatic; + struct IPrintManagerStatic2; + struct IPrintPageInfo; + struct IPrintPageRange; + struct IPrintPageRangeFactory; + struct IPrintPageRangeOptions; + struct IPrintTask; + struct IPrintTask2; + struct IPrintTaskCompletedEventArgs; + struct IPrintTaskOptions; + struct IPrintTaskOptions2; + struct IPrintTaskOptionsCore; + struct IPrintTaskOptionsCoreProperties; + struct IPrintTaskOptionsCoreUIConfiguration; + struct IPrintTaskProgressingEventArgs; + struct IPrintTaskRequest; + struct IPrintTaskRequestedDeferral; + struct IPrintTaskRequestedEventArgs; + struct IPrintTaskSourceRequestedArgs; + struct IPrintTaskSourceRequestedDeferral; + struct IPrintTaskTargetDeviceSupport; + struct IStandardPrintTaskOptionsStatic; + struct IStandardPrintTaskOptionsStatic2; + struct IStandardPrintTaskOptionsStatic3; + struct PrintManager; + struct PrintPageInfo; + struct PrintPageRange; + struct PrintPageRangeOptions; + struct PrintTask; + struct PrintTaskCompletedEventArgs; + struct PrintTaskOptions; + struct PrintTaskProgressingEventArgs; + struct PrintTaskRequest; + struct PrintTaskRequestedDeferral; + struct PrintTaskRequestedEventArgs; + struct PrintTaskSourceRequestedArgs; + struct PrintTaskSourceRequestedDeferral; + struct StandardPrintTaskOptions; + struct PrintPageDescription; + struct PrintTaskSourceRequestedHandler; +} +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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintManager"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintPageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintPageRange"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintPageRangeOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTask"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskProgressingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskSourceRequestedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskSourceRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.StandardPrintTaskOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintBinding"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintBordering"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintCollation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintColorMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintDuplex"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintHolePunch"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintMediaSize"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintMediaType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintOrientation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintQuality"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintStaple"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskCompletion"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintPageDescription"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintDocumentSource"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintManager"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintManagerStatic"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintManagerStatic2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintPageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintPageRange"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintPageRangeFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintPageRangeOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTask"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTask2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskOptionsCore"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskOptionsCoreProperties"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskOptionsCoreUIConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskProgressingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskSourceRequestedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskSourceRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IPrintTaskTargetDeviceSupport"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IStandardPrintTaskOptionsStatic"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IStandardPrintTaskOptionsStatic2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.IStandardPrintTaskOptionsStatic3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTaskSourceRequestedHandler"; + template <> inline constexpr guid guid_v{ 0xDEDC0C30,0xF1EB,0x47DF,{ 0xAA,0xE6,0xED,0x54,0x27,0x51,0x1F,0x01 } }; // DEDC0C30-F1EB-47DF-AAE6-ED5427511F01 + template <> inline constexpr guid guid_v{ 0xFF2A9694,0x8C99,0x44FD,{ 0xAE,0x4A,0x19,0xD9,0xAA,0x9A,0x0F,0x0A } }; // FF2A9694-8C99-44FD-AE4A-19D9AA9A0F0A + template <> inline constexpr guid guid_v{ 0x58185DCD,0xE634,0x4654,{ 0x84,0xF0,0xE0,0x15,0x2A,0x82,0x17,0xAC } }; // 58185DCD-E634-4654-84F0-E0152A8217AC + template <> inline constexpr guid guid_v{ 0x35A99955,0xE6AB,0x4139,{ 0x9A,0xBD,0xB8,0x6A,0x72,0x9B,0x35,0x98 } }; // 35A99955-E6AB-4139-9ABD-B86A729B3598 + template <> inline constexpr guid guid_v{ 0xDD4BE9C9,0xA6A1,0x4ADA,{ 0x93,0x0E,0xDA,0x87,0x2A,0x4F,0x23,0xD3 } }; // DD4BE9C9-A6A1-4ADA-930E-DA872A4F23D3 + template <> inline constexpr guid guid_v{ 0xF8A06C54,0x6E7C,0x51C5,{ 0x57,0xFD,0x06,0x60,0xC2,0xD7,0x15,0x13 } }; // F8A06C54-6E7C-51C5-57FD-0660C2D71513 + template <> inline constexpr guid guid_v{ 0x408FD45F,0xE047,0x5F85,{ 0x71,0x29,0xFB,0x08,0x5A,0x4F,0xAD,0x14 } }; // 408FD45F-E047-5F85-7129-FB085A4FAD14 + template <> inline constexpr guid guid_v{ 0xCE6DB728,0x1357,0x46B2,{ 0xA9,0x23,0x79,0xF9,0x95,0xF4,0x48,0xFC } }; // CE6DB728-1357-46B2-A923-79F995F448FC + template <> inline constexpr guid guid_v{ 0x61D80247,0x6CF6,0x4FAD,{ 0x84,0xE2,0xA5,0xE8,0x2E,0x2D,0x4C,0xEB } }; // 61D80247-6CF6-4FAD-84E2-A5E82E2D4CEB + template <> inline constexpr guid guid_v{ 0x36234877,0x3E53,0x4D9D,{ 0x8F,0x5E,0x31,0x6A,0xC8,0xDE,0xDA,0xE1 } }; // 36234877-3E53-4D9D-8F5E-316AC8DEDAE1 + template <> inline constexpr guid guid_v{ 0x5BCD34AF,0x24E9,0x4C10,{ 0x8D,0x07,0x14,0xC3,0x46,0xBA,0x3F,0xCE } }; // 5BCD34AF-24E9-4C10-8D07-14C346BA3FCE + template <> inline constexpr guid guid_v{ 0x5A0A66BB,0xD289,0x41BB,{ 0x96,0xDD,0x57,0xE2,0x83,0x38,0xAE,0x3F } }; // 5A0A66BB-D289-41BB-96DD-57E28338AE3F + template <> inline constexpr guid guid_v{ 0xEB9B1606,0x9A36,0x4B59,{ 0x86,0x17,0xB2,0x17,0x84,0x92,0x62,0xE1 } }; // EB9B1606-9A36-4B59-8617-B217849262E1 + template <> inline constexpr guid guid_v{ 0x1BDBB474,0x4ED1,0x41EB,{ 0xBE,0x3C,0x72,0xD1,0x8E,0xD6,0x73,0x37 } }; // 1BDBB474-4ED1-41EB-BE3C-72D18ED67337 + template <> inline constexpr guid guid_v{ 0xC1B71832,0x9E93,0x4E55,{ 0x81,0x4B,0x33,0x26,0xA5,0x9E,0xFC,0xE1 } }; // C1B71832-9E93-4E55-814B-3326A59EFCE1 + template <> inline constexpr guid guid_v{ 0x62E69E23,0x9A1E,0x4336,{ 0xB7,0x4F,0x3C,0xC7,0xF4,0xCF,0xF7,0x09 } }; // 62E69E23-9A1E-4336-B74F-3CC7F4CFF709 + template <> inline constexpr guid guid_v{ 0x810CD3CB,0xB410,0x4282,{ 0xA0,0x73,0x5A,0xC3,0x78,0x23,0x41,0x74 } }; // 810CD3CB-B410-4282-A073-5AC378234174 + template <> inline constexpr guid guid_v{ 0x6FF61E2E,0x2722,0x4240,{ 0xA6,0x7C,0xF3,0x64,0x84,0x9A,0x17,0xF3 } }; // 6FF61E2E-2722-4240-A67C-F364849A17F3 + template <> inline constexpr guid guid_v{ 0xCFEFB3F0,0xCE3E,0x42C7,{ 0x94,0x96,0x64,0x80,0x0C,0x62,0x2C,0x44 } }; // CFEFB3F0-CE3E-42C7-9496-64800C622C44 + template <> inline constexpr guid guid_v{ 0xD0AFF924,0xA31B,0x454C,{ 0xA7,0xB6,0x5D,0x0C,0xC5,0x22,0xFC,0x16 } }; // D0AFF924-A31B-454C-A7B6-5D0CC522FC16 + template <> inline constexpr guid guid_v{ 0xF9F067BE,0xF456,0x41F0,{ 0x9C,0x98,0x5C,0xE7,0x3E,0x85,0x14,0x10 } }; // F9F067BE-F456-41F0-9C98-5CE73E851410 + template <> inline constexpr guid guid_v{ 0x4A1560D1,0x6992,0x4D9D,{ 0x85,0x55,0x4C,0xA4,0x56,0x3F,0xB1,0x66 } }; // 4A1560D1-6992-4D9D-8555-4CA4563FB166 + template <> inline constexpr guid guid_v{ 0x295D70C0,0xC2CB,0x4B7D,{ 0xB0,0xEA,0x93,0x09,0x50,0x91,0xA2,0x20 } }; // 295D70C0-C2CB-4B7D-B0EA-93095091A220 + template <> inline constexpr guid guid_v{ 0xB4483D26,0x0DD0,0x4CD4,{ 0xBA,0xFF,0x93,0x0F,0xC7,0xD6,0xA5,0x74 } }; // B4483D26-0DD0-4CD4-BAFF-930FC7D6A574 + template <> inline constexpr guid guid_v{ 0x3BE38BF4,0x7A44,0x4269,{ 0x9A,0x52,0x81,0x26,0x1E,0x28,0x9E,0xE9 } }; // 3BE38BF4-7A44-4269-9A52-81261E289EE9 + template <> inline constexpr guid guid_v{ 0xBBF68E86,0x3858,0x41B3,{ 0xA7,0x99,0x55,0xDD,0x98,0x88,0xD4,0x75 } }; // BBF68E86-3858-41B3-A799-55DD9888D475 + template <> inline constexpr guid guid_v{ 0x6C109FA8,0x5CB6,0x4B3A,{ 0x86,0x63,0xF3,0x9C,0xB0,0x2D,0xC9,0xB4 } }; // 6C109FA8-5CB6-4B3A-8663-F39CB02DC9B4 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintManager; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintPageInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintPageRange; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintPageRangeOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTask; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PrintTaskRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrintTaskRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall ShowPrintUIAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MediaSize(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MediaSize(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PageSize(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall get_PageSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall put_DpiX(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DpiX(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DpiY(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DpiY(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Orientation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Orientation(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FirstPageNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastPageNumber(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithSinglePage(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AllowAllPages(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowAllPages(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowCurrentPage(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowCurrentPage(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowCustomSetOfPages(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowCustomSetOfPages(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + virtual int32_t __stdcall add_Previewing(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Previewing(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Submitting(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Submitting(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Progressing(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Progressing(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Completed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Completed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsPreviewEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPreviewEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Completion(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Bordering(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Bordering(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetPagePrintTicket(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PageRangeOptions(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomPageRanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPageDescription(uint32_t, struct struct_Windows_Graphics_Printing_PrintPageDescription*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MediaSize(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MediaSize(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MediaType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MediaType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Orientation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Orientation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PrintQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PrintQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ColorMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ColorMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Duplex(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Duplex(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Collation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Collation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Staple(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Staple(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_HolePunch(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HolePunch(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Binding(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Binding(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinCopies(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxCopies(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_NumberOfCopies(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_NumberOfCopies(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayedOptions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DocumentPageCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + virtual int32_t __stdcall CreatePrintTask(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + virtual int32_t __stdcall SetSource(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsPrinterTargetEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPrinterTargetEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Is3DManufacturingTargetEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Is3DManufacturingTargetEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaSize(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaType(void**) noexcept = 0; + virtual int32_t __stdcall get_Orientation(void**) noexcept = 0; + virtual int32_t __stdcall get_PrintQuality(void**) noexcept = 0; + virtual int32_t __stdcall get_ColorMode(void**) noexcept = 0; + virtual int32_t __stdcall get_Duplex(void**) noexcept = 0; + virtual int32_t __stdcall get_Collation(void**) noexcept = 0; + virtual int32_t __stdcall get_Staple(void**) noexcept = 0; + virtual int32_t __stdcall get_HolePunch(void**) noexcept = 0; + virtual int32_t __stdcall get_Binding(void**) noexcept = 0; + virtual int32_t __stdcall get_Copies(void**) noexcept = 0; + virtual int32_t __stdcall get_NUp(void**) noexcept = 0; + virtual int32_t __stdcall get_InputBin(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Bordering(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CustomPageRanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing_IPrintDocumentSource + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintDocumentSource; + }; + template + struct consume_Windows_Graphics_Printing_IPrintManager + { + auto PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using PrintTaskRequested_revoker = impl::event_revoker::remove_PrintTaskRequested>; + [[nodiscard]] auto PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintManager; + }; + template + struct consume_Windows_Graphics_Printing_IPrintManagerStatic + { + auto GetForCurrentView() const; + auto ShowPrintUIAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintManagerStatic; + }; + template + struct consume_Windows_Graphics_Printing_IPrintManagerStatic2 + { + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintManagerStatic2; + }; + template + struct consume_Windows_Graphics_Printing_IPrintPageInfo + { + auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto MediaSize() const; + auto PageSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto PageSize() const; + auto DpiX(uint32_t value) const; + [[nodiscard]] auto DpiX() const; + auto DpiY(uint32_t value) const; + [[nodiscard]] auto DpiY() const; + auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto Orientation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintPageInfo; + }; + template + struct consume_Windows_Graphics_Printing_IPrintPageRange + { + [[nodiscard]] auto FirstPageNumber() const; + [[nodiscard]] auto LastPageNumber() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintPageRange; + }; + template + struct consume_Windows_Graphics_Printing_IPrintPageRangeFactory + { + auto Create(int32_t firstPage, int32_t lastPage) const; + auto CreateWithSinglePage(int32_t page) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintPageRangeFactory; + }; + template + struct consume_Windows_Graphics_Printing_IPrintPageRangeOptions + { + auto AllowAllPages(bool value) const; + [[nodiscard]] auto AllowAllPages() const; + auto AllowCurrentPage(bool value) const; + [[nodiscard]] auto AllowCurrentPage() const; + auto AllowCustomSetOfPages(bool value) const; + [[nodiscard]] auto AllowCustomSetOfPages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintPageRangeOptions; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTask + { + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto Options() const; + auto Previewing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Previewing_revoker = impl::event_revoker::remove_Previewing>; + [[nodiscard]] auto Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Previewing(winrt::event_token const& eventCookie) const noexcept; + auto Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Submitting_revoker = impl::event_revoker::remove_Submitting>; + [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Submitting(winrt::event_token const& eventCookie) const noexcept; + auto Progressing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Progressing_revoker = impl::event_revoker::remove_Progressing>; + [[nodiscard]] auto Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Progressing(winrt::event_token const& eventCookie) const noexcept; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Completed_revoker = impl::event_revoker::remove_Completed>; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Completed(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTask; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTask2 + { + auto IsPreviewEnabled(bool value) const; + [[nodiscard]] auto IsPreviewEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTask2; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs + { + [[nodiscard]] auto Completion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskOptions + { + auto Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const; + [[nodiscard]] auto Bordering() const; + auto GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskOptions; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskOptions2 + { + [[nodiscard]] auto PageRangeOptions() const; + [[nodiscard]] auto CustomPageRanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskOptions2; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCore + { + auto GetPageDescription(uint32_t jobPageNumber) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskOptionsCore; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties + { + auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto MediaSize() const; + auto MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const; + [[nodiscard]] auto MediaType() const; + auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto Orientation() const; + auto PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const; + [[nodiscard]] auto PrintQuality() const; + auto ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const; + [[nodiscard]] auto ColorMode() const; + auto Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const; + [[nodiscard]] auto Duplex() const; + auto Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const; + [[nodiscard]] auto Collation() const; + auto Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const; + [[nodiscard]] auto Staple() const; + auto HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const; + [[nodiscard]] auto HolePunch() const; + auto Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const; + [[nodiscard]] auto Binding() const; + [[nodiscard]] auto MinCopies() const; + [[nodiscard]] auto MaxCopies() const; + auto NumberOfCopies(uint32_t value) const; + [[nodiscard]] auto NumberOfCopies() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration + { + [[nodiscard]] auto DisplayedOptions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs + { + [[nodiscard]] auto DocumentPageCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskRequest + { + [[nodiscard]] auto Deadline() const; + auto CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskRequest; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs + { + [[nodiscard]] auto Deadline() const; + auto SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral; + }; + template + struct consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport + { + auto IsPrinterTargetEnabled(bool value) const; + [[nodiscard]] auto IsPrinterTargetEnabled() const; + auto Is3DManufacturingTargetEnabled(bool value) const; + [[nodiscard]] auto Is3DManufacturingTargetEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport; + }; + template + struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic + { + [[nodiscard]] auto MediaSize() const; + [[nodiscard]] auto MediaType() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto PrintQuality() const; + [[nodiscard]] auto ColorMode() const; + [[nodiscard]] auto Duplex() const; + [[nodiscard]] auto Collation() const; + [[nodiscard]] auto Staple() const; + [[nodiscard]] auto HolePunch() const; + [[nodiscard]] auto Binding() const; + [[nodiscard]] auto Copies() const; + [[nodiscard]] auto NUp() const; + [[nodiscard]] auto InputBin() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic; + }; + template + struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2 + { + [[nodiscard]] auto Bordering() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2; + }; + template + struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3 + { + [[nodiscard]] auto CustomPageRanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3; + }; + struct struct_Windows_Graphics_Printing_PrintPageDescription + { + winrt::Windows::Foundation::Size PageSize; + winrt::Windows::Foundation::Rect ImageableRect; + uint32_t DpiX; + uint32_t DpiY; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Printing_PrintPageDescription; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.1.h new file mode 100644 index 0000000000000000000000000000000000000000..612bd8a21520041a45aec81bc5623306dbedb308 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.1.h @@ -0,0 +1,195 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_1_H +#define WINRT_Windows_Graphics_Printing_1_H +#include "winrt/impl/Windows.Graphics.Printing.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + struct WINRT_IMPL_EMPTY_BASES IPrintDocumentSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintDocumentSource(std::nullptr_t = nullptr) noexcept {} + IPrintDocumentSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintManager(std::nullptr_t = nullptr) noexcept {} + IPrintManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintManagerStatic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintManagerStatic(std::nullptr_t = nullptr) noexcept {} + IPrintManagerStatic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintManagerStatic2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintManagerStatic2(std::nullptr_t = nullptr) noexcept {} + IPrintManagerStatic2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintPageInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintPageInfo(std::nullptr_t = nullptr) noexcept {} + IPrintPageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintPageRange : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintPageRange(std::nullptr_t = nullptr) noexcept {} + IPrintPageRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintPageRangeFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintPageRangeFactory(std::nullptr_t = nullptr) noexcept {} + IPrintPageRangeFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintPageRangeOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintPageRangeOptions(std::nullptr_t = nullptr) noexcept {} + IPrintPageRangeOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTask : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTask(std::nullptr_t = nullptr) noexcept {} + IPrintTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTask2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTask2(std::nullptr_t = nullptr) noexcept {} + IPrintTask2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptions(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptions2(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionsCore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionsCore(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionsCore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionsCoreProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionsCoreProperties(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionsCoreProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionsCoreUIConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionsCoreUIConfiguration(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionsCoreUIConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskProgressingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskProgressingEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskProgressingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskRequest(std::nullptr_t = nullptr) noexcept {} + IPrintTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskRequestedDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskRequestedDeferral(std::nullptr_t = nullptr) noexcept {} + IPrintTaskRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskSourceRequestedArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskSourceRequestedArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskSourceRequestedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskSourceRequestedDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskSourceRequestedDeferral(std::nullptr_t = nullptr) noexcept {} + IPrintTaskSourceRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskTargetDeviceSupport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskTargetDeviceSupport(std::nullptr_t = nullptr) noexcept {} + IPrintTaskTargetDeviceSupport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStandardPrintTaskOptionsStatic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStandardPrintTaskOptionsStatic(std::nullptr_t = nullptr) noexcept {} + IStandardPrintTaskOptionsStatic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStandardPrintTaskOptionsStatic2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStandardPrintTaskOptionsStatic2(std::nullptr_t = nullptr) noexcept {} + IStandardPrintTaskOptionsStatic2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStandardPrintTaskOptionsStatic3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStandardPrintTaskOptionsStatic3(std::nullptr_t = nullptr) noexcept {} + IStandardPrintTaskOptionsStatic3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.2.h new file mode 100644 index 0000000000000000000000000000000000000000..edcb180a0c53c3dc4a7efcc11512b894d9a0b9b6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.2.h @@ -0,0 +1,134 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_2_H +#define WINRT_Windows_Graphics_Printing_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Graphics.Printing.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + struct PrintTaskSourceRequestedHandler : winrt::Windows::Foundation::IUnknown + { + PrintTaskSourceRequestedHandler(std::nullptr_t = nullptr) noexcept {} + PrintTaskSourceRequestedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template PrintTaskSourceRequestedHandler(L lambda); + template PrintTaskSourceRequestedHandler(F* function); + template PrintTaskSourceRequestedHandler(O* object, M method); + template PrintTaskSourceRequestedHandler(com_ptr&& object, M method); + template PrintTaskSourceRequestedHandler(weak_ref&& object, LM&& lambda_or_method); + template PrintTaskSourceRequestedHandler(std::shared_ptr&& object, M method); + template PrintTaskSourceRequestedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedArgs const& args) const; + }; + struct PrintPageDescription + { + winrt::Windows::Foundation::Size PageSize {}; + winrt::Windows::Foundation::Rect ImageableRect {}; + uint32_t DpiX {}; + uint32_t DpiY {}; + }; + inline bool operator==(PrintPageDescription const& left, PrintPageDescription const& right) noexcept + { + return left.PageSize == right.PageSize && left.ImageableRect == right.ImageableRect && left.DpiX == right.DpiX && left.DpiY == right.DpiY; + } + inline bool operator!=(PrintPageDescription const& left, PrintPageDescription const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES PrintManager : winrt::Windows::Graphics::Printing::IPrintManager + { + PrintManager(std::nullptr_t) noexcept {} + PrintManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintManager(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto ShowPrintUIAsync(); + static auto IsSupported(); + }; + struct WINRT_IMPL_EMPTY_BASES PrintPageInfo : winrt::Windows::Graphics::Printing::IPrintPageInfo + { + PrintPageInfo(std::nullptr_t) noexcept {} + PrintPageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageInfo(ptr, take_ownership_from_abi) {} + PrintPageInfo(); + }; + struct WINRT_IMPL_EMPTY_BASES PrintPageRange : winrt::Windows::Graphics::Printing::IPrintPageRange + { + PrintPageRange(std::nullptr_t) noexcept {} + PrintPageRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageRange(ptr, take_ownership_from_abi) {} + PrintPageRange(int32_t firstPage, int32_t lastPage); + explicit PrintPageRange(int32_t page); + }; + struct WINRT_IMPL_EMPTY_BASES PrintPageRangeOptions : winrt::Windows::Graphics::Printing::IPrintPageRangeOptions + { + PrintPageRangeOptions(std::nullptr_t) noexcept {} + PrintPageRangeOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageRangeOptions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTask : winrt::Windows::Graphics::Printing::IPrintTask, + impl::require + { + PrintTask(std::nullptr_t) noexcept {} + PrintTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTask(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskCompletedEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs + { + PrintTaskCompletedEventArgs(std::nullptr_t) noexcept {} + PrintTaskCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskOptions : winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore, + impl::require + { + PrintTaskOptions(std::nullptr_t) noexcept {} + PrintTaskOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskProgressingEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs + { + PrintTaskProgressingEventArgs(std::nullptr_t) noexcept {} + PrintTaskProgressingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskRequest : winrt::Windows::Graphics::Printing::IPrintTaskRequest + { + PrintTaskRequest(std::nullptr_t) noexcept {} + PrintTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskRequestedDeferral : winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral + { + PrintTaskRequestedDeferral(std::nullptr_t) noexcept {} + PrintTaskRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskRequestedEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs + { + PrintTaskRequestedEventArgs(std::nullptr_t) noexcept {} + PrintTaskRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskSourceRequestedArgs : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs + { + PrintTaskSourceRequestedArgs(std::nullptr_t) noexcept {} + PrintTaskSourceRequestedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskSourceRequestedDeferral : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral + { + PrintTaskSourceRequestedDeferral(std::nullptr_t) noexcept {} + PrintTaskSourceRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral(ptr, take_ownership_from_abi) {} + }; + struct StandardPrintTaskOptions + { + StandardPrintTaskOptions() = delete; + [[nodiscard]] static auto MediaSize(); + [[nodiscard]] static auto MediaType(); + [[nodiscard]] static auto Orientation(); + [[nodiscard]] static auto PrintQuality(); + [[nodiscard]] static auto ColorMode(); + [[nodiscard]] static auto Duplex(); + [[nodiscard]] static auto Collation(); + [[nodiscard]] static auto Staple(); + [[nodiscard]] static auto HolePunch(); + [[nodiscard]] static auto Binding(); + [[nodiscard]] static auto Copies(); + [[nodiscard]] static auto NUp(); + [[nodiscard]] static auto InputBin(); + [[nodiscard]] static auto Bordering(); + [[nodiscard]] static auto CustomPageRanges(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.0.h new file mode 100644 index 0000000000000000000000000000000000000000..930ab83ccb9f2b8f0bc3a1330be92c25677ca2a4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.0.h @@ -0,0 +1,838 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_OptionDetails_0_H +#define WINRT_Windows_Graphics_Printing_OptionDetails_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing +{ + struct PrintTaskOptions; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::OptionDetails +{ + enum class PrintOptionStates : uint32_t + { + None = 0, + Enabled = 0x1, + Constrained = 0x2, + }; + enum class PrintOptionType : int32_t + { + Unknown = 0, + Number = 1, + Text = 2, + ItemList = 3, + Toggle = 4, + }; + struct IPrintBindingOptionDetails; + struct IPrintBorderingOptionDetails; + struct IPrintCollationOptionDetails; + struct IPrintColorModeOptionDetails; + struct IPrintCopiesOptionDetails; + struct IPrintCustomItemDetails; + struct IPrintCustomItemListOptionDetails; + struct IPrintCustomItemListOptionDetails2; + struct IPrintCustomItemListOptionDetails3; + struct IPrintCustomOptionDetails; + struct IPrintCustomTextOptionDetails; + struct IPrintCustomTextOptionDetails2; + struct IPrintCustomToggleOptionDetails; + struct IPrintDuplexOptionDetails; + struct IPrintHolePunchOptionDetails; + struct IPrintItemListOptionDetails; + struct IPrintMediaSizeOptionDetails; + struct IPrintMediaTypeOptionDetails; + struct IPrintNumberOptionDetails; + struct IPrintOptionDetails; + struct IPrintOrientationOptionDetails; + struct IPrintPageRangeOptionDetails; + struct IPrintQualityOptionDetails; + struct IPrintStapleOptionDetails; + struct IPrintTaskOptionChangedEventArgs; + struct IPrintTaskOptionDetails; + struct IPrintTaskOptionDetails2; + struct IPrintTaskOptionDetailsStatic; + struct IPrintTextOptionDetails; + struct PrintBindingOptionDetails; + struct PrintBorderingOptionDetails; + struct PrintCollationOptionDetails; + struct PrintColorModeOptionDetails; + struct PrintCopiesOptionDetails; + struct PrintCustomItemDetails; + struct PrintCustomItemListOptionDetails; + struct PrintCustomTextOptionDetails; + struct PrintCustomToggleOptionDetails; + struct PrintDuplexOptionDetails; + struct PrintHolePunchOptionDetails; + struct PrintMediaSizeOptionDetails; + struct PrintMediaTypeOptionDetails; + struct PrintOrientationOptionDetails; + struct PrintPageRangeOptionDetails; + struct PrintQualityOptionDetails; + struct PrintStapleOptionDetails; + struct PrintTaskOptionChangedEventArgs; + struct PrintTaskOptionDetails; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintBindingOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintBorderingOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCollationOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintColorModeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCopiesOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCustomItemDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCustomItemListOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCustomTextOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintCustomToggleOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintDuplexOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintHolePunchOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintMediaSizeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintMediaTypeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintOrientationOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintPageRangeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintQualityOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintStapleOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintTaskOptionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintOptionStates"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.PrintOptionType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintBindingOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintBorderingOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCollationOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintColorModeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCopiesOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomItemDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomItemListOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomItemListOptionDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomItemListOptionDetails3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomTextOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomTextOptionDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintCustomToggleOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintDuplexOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintHolePunchOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintItemListOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintMediaSizeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintMediaTypeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintNumberOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintOrientationOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintPageRangeOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintQualityOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintStapleOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintTaskOptionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintTaskOptionDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintTaskOptionDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintTaskOptionDetailsStatic"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.OptionDetails.IPrintTextOptionDetails"; + template <> inline constexpr guid guid_v{ 0xC3F4CC98,0x9564,0x4F16,{ 0xA0,0x55,0xA9,0x8B,0x9A,0x49,0xE9,0xD3 } }; // C3F4CC98-9564-4F16-A055-A98B9A49E9D3 + template <> inline constexpr guid guid_v{ 0x4D73BC8F,0xFB53,0x4EB2,{ 0x98,0x5F,0x1D,0x91,0xDE,0x0B,0x76,0x39 } }; // 4D73BC8F-FB53-4EB2-985F-1D91DE0B7639 + template <> inline constexpr guid guid_v{ 0xD6ABB166,0xA5A6,0x40DC,{ 0xAC,0xC3,0x73,0x9F,0x28,0xF1,0xE5,0xD3 } }; // D6ABB166-A5A6-40DC-ACC3-739F28F1E5D3 + template <> inline constexpr guid guid_v{ 0xDBA97704,0xF1D6,0x4843,{ 0xA4,0x84,0x9B,0x44,0x7C,0xDC,0xF3,0xB6 } }; // DBA97704-F1D6-4843-A484-9B447CDCF3B6 + template <> inline constexpr guid guid_v{ 0x42053099,0x4339,0x4343,{ 0x89,0x8D,0x2C,0x47,0xB5,0xE0,0xC3,0x41 } }; // 42053099-4339-4343-898D-2C47B5E0C341 + template <> inline constexpr guid guid_v{ 0x5704B637,0x5C3A,0x449A,{ 0xAA,0x36,0xB3,0x29,0x1B,0x11,0x92,0xFD } }; // 5704B637-5C3A-449A-AA36-B3291B1192FD + template <> inline constexpr guid guid_v{ 0xA5FAFD88,0x58F2,0x4EBD,{ 0xB9,0x0F,0x51,0xE4,0xF2,0x94,0x4C,0x5D } }; // A5FAFD88-58F2-4EBD-B90F-51E4F2944C5D + template <> inline constexpr guid guid_v{ 0xC9D6353D,0x651C,0x4A39,{ 0x90,0x6E,0x10,0x91,0xA1,0x80,0x1B,0xF1 } }; // C9D6353D-651C-4A39-906E-1091A1801BF1 + template <> inline constexpr guid guid_v{ 0x4FA1B53F,0x3C34,0x4868,{ 0xA4,0x07,0xFC,0x5E,0xAB,0x25,0x9B,0x21 } }; // 4FA1B53F-3C34-4868-A407-FC5EAB259B21 + template <> inline constexpr guid guid_v{ 0xE32BDE1C,0x28AF,0x4B90,{ 0x95,0xDA,0xA3,0xAC,0xF3,0x20,0xB9,0x29 } }; // E32BDE1C-28AF-4B90-95DA-A3ACF320B929 + template <> inline constexpr guid guid_v{ 0x2AD171F8,0xC8BD,0x4905,{ 0x91,0x92,0x0D,0x75,0x13,0x6E,0x8B,0x31 } }; // 2AD171F8-C8BD-4905-9192-0D75136E8B31 + template <> inline constexpr guid guid_v{ 0xCEA70B54,0xB977,0x4718,{ 0x83,0x38,0x7E,0xD2,0xB0,0xD8,0x6F,0xE3 } }; // CEA70B54-B977-4718-8338-7ED2B0D86FE3 + template <> inline constexpr guid guid_v{ 0x9DB4D514,0xE461,0x4608,{ 0x8E,0xE9,0xDB,0x6F,0x5E,0xD0,0x73,0xC6 } }; // 9DB4D514-E461-4608-8EE9-DB6F5ED073C6 + template <> inline constexpr guid guid_v{ 0xFCD94591,0xD4A4,0x44FA,{ 0xB3,0xFE,0x42,0xE0,0xBA,0x28,0xD5,0xAD } }; // FCD94591-D4A4-44FA-B3FE-42E0BA28D5AD + template <> inline constexpr guid guid_v{ 0xA6DE1F18,0x482C,0x4657,{ 0x9D,0x71,0x8D,0xDD,0xDB,0xEA,0x1E,0x1E } }; // A6DE1F18-482C-4657-9D71-8DDDDBEA1E1E + template <> inline constexpr guid guid_v{ 0x9A2257BF,0xFE61,0x43D8,{ 0xA2,0x4F,0xA3,0xF6,0xAB,0x73,0x20,0xE7 } }; // 9A2257BF-FE61-43D8-A24F-A3F6AB7320E7 + template <> inline constexpr guid guid_v{ 0x6C8D5BCF,0xC0BF,0x47C8,{ 0xB8,0x4A,0x62,0x8E,0x7D,0x0D,0x1A,0x1D } }; // 6C8D5BCF-C0BF-47C8-B84A-628E7D0D1A1D + template <> inline constexpr guid guid_v{ 0xF8C7000B,0xABF3,0x4ABC,{ 0x8E,0x86,0x22,0xAB,0xC5,0x74,0x4A,0x43 } }; // F8C7000B-ABF3-4ABC-8E86-22ABC5744A43 + template <> inline constexpr guid guid_v{ 0x4D01BBAF,0x645C,0x4DE9,{ 0x96,0x5F,0x6F,0xC6,0xBB,0xC4,0x7C,0xAB } }; // 4D01BBAF-645C-4DE9-965F-6FC6BBC47CAB + template <> inline constexpr guid guid_v{ 0x390686CF,0xD682,0x495F,{ 0xAD,0xFE,0xD7,0x33,0x3F,0x5C,0x18,0x08 } }; // 390686CF-D682-495F-ADFE-D7333F5C1808 + template <> inline constexpr guid guid_v{ 0x46C38879,0x66E0,0x4DA0,{ 0x87,0xB4,0xD2,0x54,0x57,0x82,0x4E,0xB7 } }; // 46C38879-66E0-4DA0-87B4-D25457824EB7 + template <> inline constexpr guid guid_v{ 0x5A19E4B7,0x2BE8,0x4AA7,{ 0x9E,0xA5,0xDE,0xFB,0xE8,0x71,0x3B,0x4E } }; // 5A19E4B7-2BE8-4AA7-9EA5-DEFBE8713B4E + template <> inline constexpr guid guid_v{ 0x2DD06BA1,0xCE1A,0x44E6,{ 0x84,0xF9,0x3A,0x92,0xEA,0x1E,0x30,0x44 } }; // 2DD06BA1-CE1A-44E6-84F9-3A92EA1E3044 + template <> inline constexpr guid guid_v{ 0xD43175BD,0x9C0B,0x44E0,{ 0x84,0xF6,0xCE,0xEB,0xCE,0x65,0x38,0x00 } }; // D43175BD-9C0B-44E0-84F6-CEEBCE653800 + template <> inline constexpr guid guid_v{ 0x65197D05,0xA5EE,0x4307,{ 0x94,0x07,0x9A,0xCA,0xD1,0x47,0x67,0x9C } }; // 65197D05-A5EE-4307-9407-9ACAD147679C + template <> inline constexpr guid guid_v{ 0xF5720AF1,0xA89E,0x42A6,{ 0x81,0xAF,0xF8,0xE0,0x10,0xB3,0x8A,0x68 } }; // F5720AF1-A89E-42A6-81AF-F8E010B38A68 + template <> inline constexpr guid guid_v{ 0x53730A09,0xF968,0x4692,{ 0xA1,0x77,0xC0,0x74,0x59,0x71,0x86,0xDB } }; // 53730A09-F968-4692-A177-C074597186DB + template <> inline constexpr guid guid_v{ 0x135DA193,0x0961,0x4B6E,{ 0x87,0x66,0xF1,0x3B,0x7F,0xBC,0xCD,0x58 } }; // 135DA193-0961-4B6E-8766-F13B7FBCCD58 + template <> inline constexpr guid guid_v{ 0xAD75E563,0x5CE4,0x46BC,{ 0x99,0x18,0xAB,0x9F,0xAD,0x14,0x4C,0x5B } }; // AD75E563-5CE4-46BC-9918-AB9FAD144C5B + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ItemId(void**) noexcept = 0; + virtual int32_t __stdcall put_ItemDisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_ItemDisplayName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddItem(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddItem(void*, void*, void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MaxCharacters(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxCharacters(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Items(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxValue(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OptionId(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ErrorText(void*) noexcept = 0; + virtual int32_t __stdcall get_ErrorText(void**) noexcept = 0; + virtual int32_t __stdcall put_State(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_State(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall TrySetValue(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WarningText(void*) noexcept = 0; + virtual int32_t __stdcall get_WarningText(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OptionId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + virtual int32_t __stdcall CreateItemListOption(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTextOption(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_OptionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OptionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BeginValidation(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BeginValidation(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateToggleOption(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFromPrintTaskOptions(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxCharacters(uint32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails + { + [[nodiscard]] auto ItemId() const; + auto ItemDisplayName(param::hstring const& value) const; + [[nodiscard]] auto ItemDisplayName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails + { + auto AddItem(param::hstring const& itemId, param::hstring const& displayName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2 + { + auto AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3 + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails + { + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails + { + auto MaxCharacters(uint32_t value) const; + [[nodiscard]] auto MaxCharacters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2 + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails + { + [[nodiscard]] auto Items() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails + { + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails + { + [[nodiscard]] auto OptionId() const; + [[nodiscard]] auto OptionType() const; + auto ErrorText(param::hstring const& value) const; + [[nodiscard]] auto ErrorText() const; + auto State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Value() const; + auto TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails + { + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs + { + [[nodiscard]] auto OptionId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails + { + [[nodiscard]] auto Options() const; + auto CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const; + auto CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const; + auto OptionChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using OptionChanged_revoker = impl::event_revoker::remove_OptionChanged>; + [[nodiscard]] auto OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto OptionChanged(winrt::event_token const& eventCookie) const noexcept; + auto BeginValidation(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using BeginValidation_revoker = impl::event_revoker::remove_BeginValidation>; + [[nodiscard]] auto BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto BeginValidation(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2 + { + auto CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic + { + auto GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic; + }; + template + struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails + { + [[nodiscard]] auto MaxCharacters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a80d88383f30bf45a1e578886d44c1b015b422b2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.1.h @@ -0,0 +1,222 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_OptionDetails_1_H +#define WINRT_Windows_Graphics_Printing_OptionDetails_1_H +#include "winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::OptionDetails +{ + struct WINRT_IMPL_EMPTY_BASES IPrintBindingOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintBindingOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintBindingOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintBorderingOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintBorderingOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintBorderingOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCollationOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCollationOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCollationOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintColorModeOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintColorModeOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintColorModeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCopiesOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCopiesOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCopiesOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomItemDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCustomItemDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCustomItemDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomItemListOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintCustomItemListOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCustomItemListOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomItemListOptionDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCustomItemListOptionDetails2(std::nullptr_t = nullptr) noexcept {} + IPrintCustomItemListOptionDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomItemListOptionDetails3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCustomItemListOptionDetails3(std::nullptr_t = nullptr) noexcept {} + IPrintCustomItemListOptionDetails3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintCustomOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCustomOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomTextOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintCustomTextOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCustomTextOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomTextOptionDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCustomTextOptionDetails2(std::nullptr_t = nullptr) noexcept {} + IPrintCustomTextOptionDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintCustomToggleOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintCustomToggleOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintCustomToggleOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintDuplexOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintDuplexOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintDuplexOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintHolePunchOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintHolePunchOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintHolePunchOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintItemListOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintItemListOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintItemListOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintMediaSizeOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintMediaSizeOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintMediaSizeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintMediaTypeOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintMediaTypeOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintMediaTypeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintNumberOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintNumberOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintNumberOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintOrientationOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintOrientationOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintOrientationOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintPageRangeOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintPageRangeOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintPageRangeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintQualityOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintQualityOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintQualityOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintStapleOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintStapleOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintStapleOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionDetails2(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTaskOptionDetailsStatic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTaskOptionDetailsStatic(std::nullptr_t = nullptr) noexcept {} + IPrintTaskOptionDetailsStatic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTextOptionDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintTextOptionDetails(std::nullptr_t = nullptr) noexcept {} + IPrintTextOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.2.h new file mode 100644 index 0000000000000000000000000000000000000000..220a427ee35a55f5eea7e2ccdf19c08d33012456 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.optiondetails.2.h @@ -0,0 +1,129 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_OptionDetails_2_H +#define WINRT_Windows_Graphics_Printing_OptionDetails_2_H +#include "winrt/impl/Windows.Graphics.Printing.1.h" +#include "winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::OptionDetails +{ + struct WINRT_IMPL_EMPTY_BASES PrintBindingOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintBindingOptionDetails(std::nullptr_t) noexcept {} + PrintBindingOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintBorderingOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintBorderingOptionDetails(std::nullptr_t) noexcept {} + PrintBorderingOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintCollationOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintCollationOptionDetails(std::nullptr_t) noexcept {} + PrintCollationOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintColorModeOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintColorModeOptionDetails(std::nullptr_t) noexcept {} + PrintColorModeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintCopiesOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintCopiesOptionDetails(std::nullptr_t) noexcept {} + PrintCopiesOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintCustomItemDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails + { + PrintCustomItemDetails(std::nullptr_t) noexcept {} + PrintCustomItemDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintCustomItemListOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintCustomItemListOptionDetails(std::nullptr_t) noexcept {} + PrintCustomItemListOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + using impl::consume_t::AddItem; + using impl::consume_t::AddItem; + }; + struct WINRT_IMPL_EMPTY_BASES PrintCustomTextOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintCustomTextOptionDetails(std::nullptr_t) noexcept {} + PrintCustomTextOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintCustomToggleOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintCustomToggleOptionDetails(std::nullptr_t) noexcept {} + PrintCustomToggleOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintDuplexOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintDuplexOptionDetails(std::nullptr_t) noexcept {} + PrintDuplexOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintHolePunchOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintHolePunchOptionDetails(std::nullptr_t) noexcept {} + PrintHolePunchOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintMediaSizeOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintMediaSizeOptionDetails(std::nullptr_t) noexcept {} + PrintMediaSizeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintMediaTypeOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintMediaTypeOptionDetails(std::nullptr_t) noexcept {} + PrintMediaTypeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintOrientationOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintOrientationOptionDetails(std::nullptr_t) noexcept {} + PrintOrientationOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintPageRangeOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintPageRangeOptionDetails(std::nullptr_t) noexcept {} + PrintPageRangeOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintQualityOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintQualityOptionDetails(std::nullptr_t) noexcept {} + PrintQualityOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintStapleOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails, + impl::require + { + PrintStapleOptionDetails(std::nullptr_t) noexcept {} + PrintStapleOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskOptionChangedEventArgs : winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionChangedEventArgs + { + PrintTaskOptionChangedEventArgs(std::nullptr_t) noexcept {} + PrintTaskOptionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTaskOptionDetails : winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails, + impl::require + { + PrintTaskOptionDetails(std::nullptr_t) noexcept {} + PrintTaskOptionDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails(ptr, take_ownership_from_abi) {} + static auto GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8b8706e2dc5a39354b22e31ecde56724f68e2b27 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.0.h @@ -0,0 +1,791 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintSupport_0_H +#define WINRT_Windows_Graphics_Printing_PrintSupport_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel +{ + struct AppInfo; +} +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct XmlDocument; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Printers +{ + struct IppPrintDevice; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct HResult; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + struct WorkflowPrintTicket; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct WindowId; +} +WINRT_EXPORT namespace winrt::Windows::UI::Shell +{ + struct IAdaptiveCard; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintSupport +{ + enum class IppCommunicationErrorKind : int32_t + { + Other = 0, + Timeout = 1, + ConnectionError = 2, + AccessDenied = 3, + }; + enum class IppPrinterCommunicationKind : int32_t + { + Network = 0, + Usb = 1, + PrinterConnection = 2, + UniversalPrint = 3, + VirtualPrinter = 4, + }; + enum class PrintSupportAppContracts : uint32_t + { + None = 0, + JobBackgroundSession = 0x1, + SettingsUI = 0x2, + Extension = 0x4, + JobUI = 0x8, + VirtualPrinterBackgroundSession = 0x10, + EnterpriseManagementUI = 0x20, + }; + enum class SettingsLaunchKind : int32_t + { + JobPrintTicket = 0, + UserDefaultPrintTicket = 1, + }; + enum class WorkflowPrintTicketValidationStatus : int32_t + { + Resolved = 0, + Conflicting = 1, + Invalid = 2, + }; + enum class XpsImageQuality : int32_t + { + JpegHighCompression = 0, + JpegMediumCompression = 1, + JpegLowCompression = 2, + Png = 3, + }; + struct IPrintSupportAppInfo; + struct IPrintSupportAppInfoStatics; + struct IPrintSupportCommunicationErrorDetectedEventArgs; + struct IPrintSupportEnterpriseManagementUIEventArgs; + struct IPrintSupportExtensionSession; + struct IPrintSupportExtensionSession2; + struct IPrintSupportExtensionSession3; + struct IPrintSupportExtensionTriggerDetails; + struct IPrintSupportIppCommunicationConfiguration; + struct IPrintSupportIppCommunicationTimeouts; + struct IPrintSupportMxdcImageQualityConfiguration; + struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs; + struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2; + struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3; + struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4; + struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicy; + struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics; + struct IPrintSupportPrintTicketElement; + struct IPrintSupportPrintTicketValidationRequestedEventArgs; + struct IPrintSupportPrintTicketValidationRequestedEventArgs2; + struct IPrintSupportPrinterSelectedEventArgs; + struct IPrintSupportSessionInfo; + struct IPrintSupportSettingsActivatedEventArgs; + struct IPrintSupportSettingsActivatedEventArgs2; + struct IPrintSupportSettingsUISession; + struct PrintSupportAppInfo; + struct PrintSupportCommunicationErrorDetectedEventArgs; + struct PrintSupportEnterpriseManagementUIEventArgs; + struct PrintSupportExtensionSession; + struct PrintSupportExtensionTriggerDetails; + struct PrintSupportIppCommunicationConfiguration; + struct PrintSupportIppCommunicationTimeouts; + struct PrintSupportMxdcImageQualityConfiguration; + struct PrintSupportPrintDeviceCapabilitiesChangedEventArgs; + struct PrintSupportPrintDeviceCapabilitiesUpdatePolicy; + struct PrintSupportPrintTicketElement; + struct PrintSupportPrintTicketValidationRequestedEventArgs; + struct PrintSupportPrinterSelectedEventArgs; + struct PrintSupportSessionInfo; + struct PrintSupportSettingsActivatedEventArgs; + struct PrintSupportSettingsUISession; +} +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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportAppInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportCommunicationErrorDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportEnterpriseManagementUIEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportIppCommunicationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportIppCommunicationTimeouts"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportMxdcImageQualityConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesUpdatePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketElement"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketValidationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportPrinterSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportSessionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsUISession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IppCommunicationErrorKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IppPrinterCommunicationKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.PrintSupportAppContracts"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.SettingsLaunchKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.WorkflowPrintTicketValidationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.XpsImageQuality"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportAppInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportAppInfoStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportCommunicationErrorDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportEnterpriseManagementUIEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportExtensionSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportExtensionSession2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportExtensionSession3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportExtensionTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportIppCommunicationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportIppCommunicationTimeouts"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportMxdcImageQualityConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesUpdatePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintTicketElement"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintTicketValidationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrintTicketValidationRequestedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportPrinterSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportSessionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportSettingsActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportSettingsActivatedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintSupport.IPrintSupportSettingsUISession"; + template <> inline constexpr guid guid_v{ 0x913CD9E0,0xCB44,0x5AE4,{ 0xB9,0x84,0xF6,0xE8,0x0E,0x87,0x23,0x20 } }; // 913CD9E0-CB44-5AE4-B984-F6E80E872320 + template <> inline constexpr guid guid_v{ 0x3246A41D,0x2757,0x544D,{ 0xAA,0xFA,0xB3,0x84,0x61,0x89,0x62,0x70 } }; // 3246A41D-2757-544D-AAFA-B38461896270 + template <> inline constexpr guid guid_v{ 0x9C90151E,0xAD1B,0x5081,{ 0xA4,0x91,0x4A,0x2D,0x94,0x24,0x4F,0x2D } }; // 9C90151E-AD1B-5081-A491-4A2D94244F2D + template <> inline constexpr guid guid_v{ 0x6B1C2850,0x4BF7,0x5894,{ 0x89,0xFA,0xE8,0x9D,0x9E,0xA4,0xEB,0x2E } }; // 6B1C2850-4BF7-5894-89FA-E89D9EA4EB2E + template <> inline constexpr guid guid_v{ 0xEEA45F1A,0xF4C6,0x54B3,{ 0xA0,0xB8,0xA5,0x59,0x83,0x9A,0xA4,0xC3 } }; // EEA45F1A-F4C6-54B3-A0B8-A559839AA4C3 + template <> inline constexpr guid guid_v{ 0x10FA8C11,0x6DE8,0x5765,{ 0x8F,0xCF,0xE7,0x16,0xE0,0xF2,0x7E,0xD1 } }; // 10FA8C11-6DE8-5765-8FCF-E716E0F27ED1 + template <> inline constexpr guid guid_v{ 0x0D1B755D,0x1273,0x5E14,{ 0x81,0xD3,0xB6,0xBB,0x58,0x2B,0x9E,0xD8 } }; // 0D1B755D-1273-5E14-81D3-B6BB582B9ED8 + template <> inline constexpr guid guid_v{ 0xAE083711,0x9B09,0x55D1,{ 0xA0,0xAE,0x2A,0x14,0xC5,0xF8,0x3D,0x6A } }; // AE083711-9B09-55D1-A0AE-2A14C5F83D6A + template <> inline constexpr guid guid_v{ 0xDBC36E0B,0x2D90,0x53B9,{ 0x90,0xD2,0x93,0xFA,0xF3,0x0D,0xAF,0xDD } }; // DBC36E0B-2D90-53B9-90D2-93FAF30DAFDD + template <> inline constexpr guid guid_v{ 0xA3B2DE71,0x564C,0x5806,{ 0xA1,0xA9,0xC6,0x04,0x3C,0xA5,0xD3,0x73 } }; // A3B2DE71-564C-5806-A1A9-C6043CA5D373 + template <> inline constexpr guid guid_v{ 0x0E0D0B86,0xD202,0x58A3,{ 0xA1,0xED,0x2E,0xF9,0xDB,0xC0,0xF2,0x91 } }; // 0E0D0B86-D202-58A3-A1ED-2EF9DBC0F291 + template <> inline constexpr guid guid_v{ 0x15969BF0,0x9028,0x5722,{ 0x8A,0x37,0x7D,0x7C,0x34,0xB4,0x1D,0xD6 } }; // 15969BF0-9028-5722-8A37-7D7C34B41DD6 + template <> inline constexpr guid guid_v{ 0x469DF9E7,0xFD07,0x5EEB,{ 0xA0,0x7D,0x9F,0xCC,0x67,0xF0,0x89,0xBA } }; // 469DF9E7-FD07-5EEB-A07D-9FCC67F089BA + template <> inline constexpr guid guid_v{ 0xD4E9B3FC,0x8094,0x5CB6,{ 0xA3,0x43,0xCE,0x7A,0x97,0x18,0x7B,0x45 } }; // D4E9B3FC-8094-5CB6-A343-CE7A97187B45 + template <> inline constexpr guid guid_v{ 0x31734AD5,0x9BFB,0x5BFB,{ 0xBD,0xEF,0x84,0x76,0x25,0x8E,0x33,0x90 } }; // 31734AD5-9BFB-5BFB-BDEF-8476258E3390 + template <> inline constexpr guid guid_v{ 0x5F5FC025,0x8C35,0x5529,{ 0x80,0x38,0x8C,0xDC,0x36,0x34,0xBB,0xCD } }; // 5F5FC025-8C35-5529-8038-8CDC3634BBCD + template <> inline constexpr guid guid_v{ 0x3D9E1A70,0x7C39,0x551F,{ 0xAA,0x1F,0xF8,0xCA,0x35,0xB3,0x11,0x9E } }; // 3D9E1A70-7C39-551F-AA1F-F8CA35B3119E + template <> inline constexpr guid guid_v{ 0x4B2A4489,0x730D,0x5BE7,{ 0x80,0xE6,0x83,0x32,0x94,0x1A,0xBF,0x13 } }; // 4B2A4489-730D-5BE7-80E6-8332941ABF13 + template <> inline constexpr guid guid_v{ 0x338E4E69,0xDB55,0x55C7,{ 0x83,0x38,0xEF,0x64,0x68,0x0A,0x8F,0x90 } }; // 338E4E69-DB55-55C7-8338-EF64680A8F90 + template <> inline constexpr guid guid_v{ 0x39749075,0xD02D,0x5FD1,{ 0x9C,0x4B,0x46,0xBB,0x8D,0xB7,0x31,0x6B } }; // 39749075-D02D-5FD1-9C4B-46BB8DB7316B + template <> inline constexpr guid guid_v{ 0x7B1CB7D9,0xA8A4,0x5C09,{ 0xAD,0xB2,0x66,0x16,0x5F,0x81,0x79,0x77 } }; // 7B1CB7D9-A8A4-5C09-ADB2-66165F817977 + template <> inline constexpr guid guid_v{ 0x852149AF,0x777D,0x53E9,{ 0x9E,0xE9,0x45,0xD3,0xF4,0xB5,0xBE,0x9C } }; // 852149AF-777D-53E9-9EE9-45D3F4B5BE9C + template <> inline constexpr guid guid_v{ 0x1E1B565E,0xA013,0x55EA,{ 0x9B,0x8C,0xEE,0xA3,0x9D,0x9F,0xB6,0xC1 } }; // 1E1B565E-A013-55EA-9B8C-EEA39D9FB6C1 + template <> inline constexpr guid guid_v{ 0xABE45F6E,0xDC9D,0x5403,{ 0x81,0x07,0xC8,0x64,0xD9,0x27,0x63,0x67 } }; // ABE45F6E-DC9D-5403-8107-C864D9276367 + template <> inline constexpr guid guid_v{ 0xC6DA2251,0x83C3,0x55E4,{ 0xA0,0xF8,0x5D,0xE8,0xB0,0x62,0xAD,0xBF } }; // C6DA2251-83C3-55E4-A0F8-5DE8B062ADBF + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportAppInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportCommunicationErrorDetectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportEnterpriseManagementUIEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionSession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationTimeouts; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportMxdcImageQualityConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesUpdatePolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketElement; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketValidationRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrinterSelectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSessionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsActivatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsUISession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedContracts(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPrintJobShowsUI(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FromPrinterName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_CommunicationConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + virtual int32_t __stdcall add_PrintTicketValidationRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrintTicketValidationRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PrintDeviceCapabilitiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrintDeviceCapabilitiesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PrinterSelected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PrinterSelected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CommunicationErrorDetected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CommunicationErrorDetected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommunicationKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanModifyTimeouts(bool*) noexcept = 0; + virtual int32_t __stdcall get_IppAttributeTimeouts(void**) noexcept = 0; + virtual int32_t __stdcall get_IppJobTimeouts(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ConnectTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_SendTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_SendTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ReceiveTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ReceiveTimeout(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NormalOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_NormalOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DraftOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DraftOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HighOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_HighOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PhotographicOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PhotographicOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TextOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TextOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AutomaticOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutomaticOutputQuality(int32_t) noexcept = 0; + virtual int32_t __stdcall get_FaxOutputQuality(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FaxOutputQuality(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentPrintDeviceCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall UpdatePrintDeviceCapabilities(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSupportedPdlPassthroughContentTypes(void*) noexcept = 0; + virtual int32_t __stdcall get_ResourceLanguage(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentPrintDeviceResources(void**) noexcept = 0; + virtual int32_t __stdcall UpdatePrintDeviceResources(void*) noexcept = 0; + virtual int32_t __stdcall SetPrintDeviceCapabilitiesUpdatePolicy(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommunicationConfiguration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MxdcImageQualityConfiguration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePeriodicRefresh(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreatePrintJobRefresh(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalName(void**) noexcept = 0; + virtual int32_t __stdcall put_LocalName(void*) noexcept = 0; + virtual int32_t __stdcall get_NamespaceUri(void**) noexcept = 0; + virtual int32_t __stdcall put_NamespaceUri(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall SetPrintTicketValidationStatus(int32_t) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetPrintJobShowsUI(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceAppInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_PrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall put_PrintTicket(void*) noexcept = 0; + virtual int32_t __stdcall SetAdditionalFeatures(void*) noexcept = 0; + virtual int32_t __stdcall SetAdditionalParameters(void*) noexcept = 0; + virtual int32_t __stdcall get_AllowedAdditionalFeaturesAndParametersCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetAdaptiveCard(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceAppInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OwnerWindowId(struct struct_Windows_UI_WindowId*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionPrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentTitle(void**) noexcept = 0; + virtual int32_t __stdcall get_LaunchKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall UpdatePrintTicket(void*) noexcept = 0; + virtual int32_t __stdcall get_SessionInfo(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportAppInfo + { + [[nodiscard]] auto AppInfo() const; + [[nodiscard]] auto SupportedContracts() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportAppInfo; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportAppInfoStatics + { + auto GetPrintJobShowsUI(param::hstring const& printerName, winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket) const; + auto FromPrinterName(param::hstring const& printerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportAppInfoStatics; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportCommunicationErrorDetectedEventArgs + { + [[nodiscard]] auto ErrorKind() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto CommunicationConfiguration() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportCommunicationErrorDetectedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportEnterpriseManagementUIEventArgs + { + [[nodiscard]] auto Printer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportEnterpriseManagementUIEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession + { + [[nodiscard]] auto Printer() const; + auto PrintTicketValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PrintTicketValidationRequested_revoker = impl::event_revoker::remove_PrintTicketValidationRequested>; + [[nodiscard]] auto PrintTicketValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrintTicketValidationRequested(winrt::event_token const& token) const noexcept; + auto PrintDeviceCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PrintDeviceCapabilitiesChanged_revoker = impl::event_revoker::remove_PrintDeviceCapabilitiesChanged>; + [[nodiscard]] auto PrintDeviceCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrintDeviceCapabilitiesChanged(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession2 + { + auto PrinterSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PrinterSelected_revoker = impl::event_revoker::remove_PrinterSelected>; + [[nodiscard]] auto PrinterSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrinterSelected(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession2; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession3 + { + auto CommunicationErrorDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CommunicationErrorDetected_revoker = impl::event_revoker::remove_CommunicationErrorDetected>; + [[nodiscard]] auto CommunicationErrorDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommunicationErrorDetected(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionSession3; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionTriggerDetails + { + [[nodiscard]] auto Session() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportExtensionTriggerDetails; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportIppCommunicationConfiguration + { + [[nodiscard]] auto CommunicationKind() const; + [[nodiscard]] auto CanModifyTimeouts() const; + [[nodiscard]] auto IppAttributeTimeouts() const; + [[nodiscard]] auto IppJobTimeouts() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportIppCommunicationConfiguration; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportIppCommunicationTimeouts + { + [[nodiscard]] auto ConnectTimeout() const; + auto ConnectTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SendTimeout() const; + auto SendTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ReceiveTimeout() const; + auto ReceiveTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportIppCommunicationTimeouts; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportMxdcImageQualityConfiguration + { + [[nodiscard]] auto NormalOutputQuality() const; + auto NormalOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto DraftOutputQuality() const; + auto DraftOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto HighOutputQuality() const; + auto HighOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto PhotographicOutputQuality() const; + auto PhotographicOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto TextOutputQuality() const; + auto TextOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto AutomaticOutputQuality() const; + auto AutomaticOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + [[nodiscard]] auto FaxOutputQuality() const; + auto FaxOutputQuality(winrt::Windows::Graphics::Printing::PrintSupport::XpsImageQuality const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportMxdcImageQualityConfiguration; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs + { + auto GetCurrentPrintDeviceCapabilities() const; + auto UpdatePrintDeviceCapabilities(winrt::Windows::Data::Xml::Dom::XmlDocument const& updatedPdc) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2 + { + auto SetSupportedPdlPassthroughContentTypes(param::iterable const& supportedPdlContentTypes) const; + [[nodiscard]] auto ResourceLanguage() const; + auto GetCurrentPrintDeviceResources() const; + auto UpdatePrintDeviceResources(winrt::Windows::Data::Xml::Dom::XmlDocument const& updatedPdr) const; + auto SetPrintDeviceCapabilitiesUpdatePolicy(winrt::Windows::Graphics::Printing::PrintSupport::PrintSupportPrintDeviceCapabilitiesUpdatePolicy const& updatePolicy) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3 + { + [[nodiscard]] auto CommunicationConfiguration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4 + { + [[nodiscard]] auto MxdcImageQualityConfiguration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesUpdatePolicy + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesUpdatePolicy; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics + { + auto CreatePeriodicRefresh(winrt::Windows::Foundation::TimeSpan const& updatePeriod) const; + auto CreatePrintJobRefresh(uint32_t numberOfJobs) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketElement + { + [[nodiscard]] auto LocalName() const; + auto LocalName(param::hstring const& value) const; + [[nodiscard]] auto NamespaceUri() const; + auto NamespaceUri(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketElement; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketValidationRequestedEventArgs + { + [[nodiscard]] auto PrintTicket() const; + auto SetPrintTicketValidationStatus(winrt::Windows::Graphics::Printing::PrintSupport::WorkflowPrintTicketValidationStatus const& status) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketValidationRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketValidationRequestedEventArgs2 + { + auto SetPrintJobShowsUI(bool showsUI) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrintTicketValidationRequestedEventArgs2; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrinterSelectedEventArgs + { + [[nodiscard]] auto SourceAppInfo() const; + [[nodiscard]] auto PrintTicket() const; + auto PrintTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& value) const; + auto SetAdditionalFeatures(param::iterable const& features) const; + auto SetAdditionalParameters(param::iterable const& parameters) const; + [[nodiscard]] auto AllowedAdditionalFeaturesAndParametersCount() const; + auto SetAdaptiveCard(winrt::Windows::UI::Shell::IAdaptiveCard const& adaptiveCard) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportPrinterSelectedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSessionInfo + { + [[nodiscard]] auto SourceAppInfo() const; + [[nodiscard]] auto Printer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSessionInfo; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsActivatedEventArgs + { + [[nodiscard]] auto Session() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsActivatedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsActivatedEventArgs2 + { + [[nodiscard]] auto OwnerWindowId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsActivatedEventArgs2; + }; + template + struct consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsUISession + { + [[nodiscard]] auto SessionPrintTicket() const; + [[nodiscard]] auto DocumentTitle() const; + [[nodiscard]] auto LaunchKind() const; + auto UpdatePrintTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket) const; + [[nodiscard]] auto SessionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintSupport_IPrintSupportSettingsUISession; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f6d4da2da94860b8baeacd91fbbec74a837f192c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.1.h @@ -0,0 +1,188 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintSupport_1_H +#define WINRT_Windows_Graphics_Printing_PrintSupport_1_H +#include "winrt/impl/Windows.Graphics.Printing.PrintSupport.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintSupport +{ + struct WINRT_IMPL_EMPTY_BASES IPrintSupportAppInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportAppInfo(std::nullptr_t = nullptr) noexcept {} + IPrintSupportAppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportAppInfoStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportAppInfoStatics(std::nullptr_t = nullptr) noexcept {} + IPrintSupportAppInfoStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportCommunicationErrorDetectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportCommunicationErrorDetectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportCommunicationErrorDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportEnterpriseManagementUIEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportEnterpriseManagementUIEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportEnterpriseManagementUIEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportExtensionSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportExtensionSession(std::nullptr_t = nullptr) noexcept {} + IPrintSupportExtensionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportExtensionSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportExtensionSession2(std::nullptr_t = nullptr) noexcept {} + IPrintSupportExtensionSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportExtensionSession3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportExtensionSession3(std::nullptr_t = nullptr) noexcept {} + IPrintSupportExtensionSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportExtensionTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportExtensionTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IPrintSupportExtensionTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportIppCommunicationConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportIppCommunicationConfiguration(std::nullptr_t = nullptr) noexcept {} + IPrintSupportIppCommunicationConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportIppCommunicationTimeouts : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportIppCommunicationTimeouts(std::nullptr_t = nullptr) noexcept {} + IPrintSupportIppCommunicationTimeouts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportMxdcImageQualityConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportMxdcImageQualityConfiguration(std::nullptr_t = nullptr) noexcept {} + IPrintSupportMxdcImageQualityConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesChangedEventArgs4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesUpdatePolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesUpdatePolicy(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesUpdatePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintTicketElement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintTicketElement(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintTicketElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintTicketValidationRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintTicketValidationRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintTicketValidationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrintTicketValidationRequestedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrintTicketValidationRequestedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrintTicketValidationRequestedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportPrinterSelectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportPrinterSelectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportPrinterSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportSessionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportSessionInfo(std::nullptr_t = nullptr) noexcept {} + IPrintSupportSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportSettingsActivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportSettingsActivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintSupportSettingsActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportSettingsActivatedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportSettingsActivatedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IPrintSupportSettingsActivatedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintSupportSettingsUISession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintSupportSettingsUISession(std::nullptr_t = nullptr) noexcept {} + IPrintSupportSettingsUISession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b42520394f70785bac5fad28c84d3291437e6a38 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printsupport.2.h @@ -0,0 +1,105 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintSupport_2_H +#define WINRT_Windows_Graphics_Printing_PrintSupport_2_H +#include "winrt/impl/Windows.ApplicationModel.Activation.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h" +#include "winrt/impl/Windows.Graphics.Printing.PrintSupport.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintSupport +{ + struct WINRT_IMPL_EMPTY_BASES PrintSupportAppInfo : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportAppInfo + { + PrintSupportAppInfo(std::nullptr_t) noexcept {} + PrintSupportAppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportAppInfo(ptr, take_ownership_from_abi) {} + static auto GetPrintJobShowsUI(param::hstring const& printerName, winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket); + static auto FromPrinterName(param::hstring const& printerName); + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportCommunicationErrorDetectedEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportCommunicationErrorDetectedEventArgs + { + PrintSupportCommunicationErrorDetectedEventArgs(std::nullptr_t) noexcept {} + PrintSupportCommunicationErrorDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportCommunicationErrorDetectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportEnterpriseManagementUIEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportEnterpriseManagementUIEventArgs + { + PrintSupportEnterpriseManagementUIEventArgs(std::nullptr_t) noexcept {} + PrintSupportEnterpriseManagementUIEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportEnterpriseManagementUIEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportExtensionSession : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionSession, + impl::require + { + PrintSupportExtensionSession(std::nullptr_t) noexcept {} + PrintSupportExtensionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportExtensionTriggerDetails : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionTriggerDetails + { + PrintSupportExtensionTriggerDetails(std::nullptr_t) noexcept {} + PrintSupportExtensionTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportExtensionTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportIppCommunicationConfiguration : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationConfiguration + { + PrintSupportIppCommunicationConfiguration(std::nullptr_t) noexcept {} + PrintSupportIppCommunicationConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportIppCommunicationTimeouts : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationTimeouts + { + PrintSupportIppCommunicationTimeouts(std::nullptr_t) noexcept {} + PrintSupportIppCommunicationTimeouts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportIppCommunicationTimeouts(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportMxdcImageQualityConfiguration : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportMxdcImageQualityConfiguration + { + PrintSupportMxdcImageQualityConfiguration(std::nullptr_t) noexcept {} + PrintSupportMxdcImageQualityConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportMxdcImageQualityConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportPrintDeviceCapabilitiesChangedEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesChangedEventArgs, + impl::require + { + PrintSupportPrintDeviceCapabilitiesChangedEventArgs(std::nullptr_t) noexcept {} + PrintSupportPrintDeviceCapabilitiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportPrintDeviceCapabilitiesUpdatePolicy : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesUpdatePolicy + { + PrintSupportPrintDeviceCapabilitiesUpdatePolicy(std::nullptr_t) noexcept {} + PrintSupportPrintDeviceCapabilitiesUpdatePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintDeviceCapabilitiesUpdatePolicy(ptr, take_ownership_from_abi) {} + static auto CreatePeriodicRefresh(winrt::Windows::Foundation::TimeSpan const& updatePeriod); + static auto CreatePrintJobRefresh(uint32_t numberOfJobs); + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportPrintTicketElement : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketElement + { + PrintSupportPrintTicketElement(std::nullptr_t) noexcept {} + PrintSupportPrintTicketElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketElement(ptr, take_ownership_from_abi) {} + PrintSupportPrintTicketElement(); + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportPrintTicketValidationRequestedEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketValidationRequestedEventArgs, + impl::require + { + PrintSupportPrintTicketValidationRequestedEventArgs(std::nullptr_t) noexcept {} + PrintSupportPrintTicketValidationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrintTicketValidationRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportPrinterSelectedEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrinterSelectedEventArgs + { + PrintSupportPrinterSelectedEventArgs(std::nullptr_t) noexcept {} + PrintSupportPrinterSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportPrinterSelectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportSessionInfo : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSessionInfo + { + PrintSupportSessionInfo(std::nullptr_t) noexcept {} + PrintSupportSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSessionInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportSettingsActivatedEventArgs : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsActivatedEventArgs, + impl::require + { + PrintSupportSettingsActivatedEventArgs(std::nullptr_t) noexcept {} + PrintSupportSettingsActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsActivatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintSupportSettingsUISession : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsUISession + { + PrintSupportSettingsUISession(std::nullptr_t) noexcept {} + PrintSupportSettingsUISession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintSupport::IPrintSupportSettingsUISession(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.0.h new file mode 100644 index 0000000000000000000000000000000000000000..325b5950c700114377d9a1ff6ce9843ae6d4af7c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.0.h @@ -0,0 +1,407 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintTicket_0_H +#define WINRT_Windows_Graphics_Printing_PrintTicket_0_H +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct IXmlNode; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + enum class PrintTicketFeatureSelectionType : int32_t + { + PickOne = 0, + PickMany = 1, + }; + enum class PrintTicketParameterDataType : int32_t + { + Integer = 0, + NumericString = 1, + String = 2, + }; + enum class PrintTicketValueType : int32_t + { + Integer = 0, + String = 1, + Unknown = 2, + }; + struct IPrintTicketCapabilities; + struct IPrintTicketFeature; + struct IPrintTicketOption; + struct IPrintTicketParameterDefinition; + struct IPrintTicketParameterInitializer; + struct IPrintTicketValue; + struct IWorkflowPrintTicket; + struct IWorkflowPrintTicketFactory; + struct IWorkflowPrintTicketValidationResult; + struct PrintTicketCapabilities; + struct PrintTicketFeature; + struct PrintTicketOption; + struct PrintTicketParameterDefinition; + struct PrintTicketParameterInitializer; + struct PrintTicketValue; + struct WorkflowPrintTicket; + struct WorkflowPrintTicketValidationResult; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketFeature"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketOption"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketValue"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketFeatureSelectionType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDataType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.PrintTicketValueType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketFeature"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketOption"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketParameterDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketParameterInitializer"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IPrintTicketValue"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IWorkflowPrintTicket"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IWorkflowPrintTicketFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.PrintTicket.IWorkflowPrintTicketValidationResult"; + template <> inline constexpr guid guid_v{ 0x8C45508B,0xBBDC,0x4256,{ 0xA1,0x42,0x2F,0xD6,0x15,0xEC,0xB4,0x16 } }; // 8C45508B-BBDC-4256-A142-2FD615ECB416 + template <> inline constexpr guid guid_v{ 0xE7607D6A,0x59F5,0x4103,{ 0x88,0x58,0xB9,0x77,0x10,0x96,0x3D,0x39 } }; // E7607D6A-59F5-4103-8858-B97710963D39 + template <> inline constexpr guid guid_v{ 0xB086CF90,0xB367,0x4E4B,{ 0xBD,0x48,0x9C,0x78,0xA0,0xBB,0x31,0xCE } }; // B086CF90-B367-4E4B-BD48-9C78A0BB31CE + template <> inline constexpr guid guid_v{ 0xD6BAB4E4,0x2962,0x4C01,{ 0xB7,0xF3,0x9A,0x92,0x94,0xEB,0x83,0x35 } }; // D6BAB4E4-2962-4C01-B7F3-9A9294EB8335 + template <> inline constexpr guid guid_v{ 0x5E3335BB,0xA0A5,0x48B1,{ 0x9D,0x5C,0x07,0x11,0x6D,0xDC,0x59,0x7A } }; // 5E3335BB-A0A5-48B1-9D5C-07116DDC597A + template <> inline constexpr guid guid_v{ 0x66B30A32,0x244D,0x4E22,{ 0xA9,0x8B,0xBB,0x3C,0xF1,0xF2,0xDD,0x91 } }; // 66B30A32-244D-4E22-A98B-BB3CF1F2DD91 + template <> inline constexpr guid guid_v{ 0x41D52285,0x35E8,0x448E,{ 0xA8,0xC5,0xE4,0xB6,0xA2,0xCF,0x82,0x6C } }; // 41D52285-35E8-448E-A8C5-E4B6A2CF826C + template <> inline constexpr guid guid_v{ 0x966D1166,0xD9C7,0x569E,{ 0xB7,0xD8,0xF2,0xB3,0x41,0xC8,0xF9,0x76 } }; // 966D1166-D9C7-569E-B7D8-F2B341C8F976 + template <> inline constexpr guid guid_v{ 0x0AD1F392,0xDA7B,0x4A36,{ 0xBF,0x36,0x6A,0x99,0xA6,0x2E,0x20,0x59 } }; // 0AD1F392-DA7B-4A36-BF36-6A99A62E2059 + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentBindingFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentCollateFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentDuplexFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentHolePunchFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentInputBinFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentNUpFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentStapleFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_JobPasscodeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageBorderlessFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageMediaSizeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageMediaTypeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOrientationFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOutputColorFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOutputQualityFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageResolutionFeature(void**) noexcept = 0; + virtual int32_t __stdcall GetFeature(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetParameterDefinition(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall GetOption(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + virtual int32_t __stdcall GetSelectedOption(void**) noexcept = 0; + virtual int32_t __stdcall SetSelectedOption(void*) noexcept = 0; + virtual int32_t __stdcall get_SelectionType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall GetPropertyNode(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetScoredPropertyNode(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPropertyValue(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetScoredPropertyValue(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall get_DataType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UnitType(void**) noexcept = 0; + virtual int32_t __stdcall get_RangeMin(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RangeMax(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetValueAsInteger(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetValueAsString(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNamespace(void**) noexcept = 0; + virtual int32_t __stdcall get_XmlNode(void**) noexcept = 0; + virtual int32_t __stdcall GetCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentBindingFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentCollateFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentDuplexFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentHolePunchFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentInputBinFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentNUpFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_DocumentStapleFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_JobPasscodeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageBorderlessFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageMediaSizeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageMediaTypeFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOrientationFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOutputColorFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageOutputQualityFeature(void**) noexcept = 0; + virtual int32_t __stdcall get_PageResolutionFeature(void**) noexcept = 0; + virtual int32_t __stdcall GetFeature(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall NotifyXmlChangedAsync(void**) noexcept = 0; + virtual int32_t __stdcall ValidateAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetParameterInitializer(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetParameterInitializerAsInteger(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetParameterInitializerAsString(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall MergeAndValidateTicket(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Validated(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DocumentBindingFeature() const; + [[nodiscard]] auto DocumentCollateFeature() const; + [[nodiscard]] auto DocumentDuplexFeature() const; + [[nodiscard]] auto DocumentHolePunchFeature() const; + [[nodiscard]] auto DocumentInputBinFeature() const; + [[nodiscard]] auto DocumentNUpFeature() const; + [[nodiscard]] auto DocumentStapleFeature() const; + [[nodiscard]] auto JobPasscodeFeature() const; + [[nodiscard]] auto PageBorderlessFeature() const; + [[nodiscard]] auto PageMediaSizeFeature() const; + [[nodiscard]] auto PageMediaTypeFeature() const; + [[nodiscard]] auto PageOrientationFeature() const; + [[nodiscard]] auto PageOutputColorFeature() const; + [[nodiscard]] auto PageOutputQualityFeature() const; + [[nodiscard]] auto PageResolutionFeature() const; + auto GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DisplayName() const; + auto GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const; + [[nodiscard]] auto Options() const; + auto GetSelectedOption() const; + auto SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const; + [[nodiscard]] auto SelectionType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DisplayName() const; + auto GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DataType() const; + [[nodiscard]] auto UnitType() const; + [[nodiscard]] auto RangeMin() const; + [[nodiscard]] auto RangeMax() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + auto Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue + { + [[nodiscard]] auto Type() const; + auto GetValueAsInteger() const; + auto GetValueAsString() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + auto GetCapabilities() const; + [[nodiscard]] auto DocumentBindingFeature() const; + [[nodiscard]] auto DocumentCollateFeature() const; + [[nodiscard]] auto DocumentDuplexFeature() const; + [[nodiscard]] auto DocumentHolePunchFeature() const; + [[nodiscard]] auto DocumentInputBinFeature() const; + [[nodiscard]] auto DocumentNUpFeature() const; + [[nodiscard]] auto DocumentStapleFeature() const; + [[nodiscard]] auto JobPasscodeFeature() const; + [[nodiscard]] auto PageBorderlessFeature() const; + [[nodiscard]] auto PageMediaSizeFeature() const; + [[nodiscard]] auto PageMediaTypeFeature() const; + [[nodiscard]] auto PageOrientationFeature() const; + [[nodiscard]] auto PageOutputColorFeature() const; + [[nodiscard]] auto PageOutputQualityFeature() const; + [[nodiscard]] auto PageResolutionFeature() const; + auto GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto NotifyXmlChangedAsync() const; + auto ValidateAsync() const; + auto GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const; + auto SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const; + auto MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketFactory + { + auto CreateInstance(param::hstring const& printerName, winrt::Windows::Storage::Streams::IInputStream const& printTicketStream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketFactory; + }; + template + struct consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult + { + [[nodiscard]] auto Validated() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3457113bb789e6e64d546aa8322f4b04adcb093c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.1.h @@ -0,0 +1,76 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintTicket_1_H +#define WINRT_Windows_Graphics_Printing_PrintTicket_1_H +#include "winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + struct WINRT_IMPL_EMPTY_BASES IPrintTicketCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketCapabilities(std::nullptr_t = nullptr) noexcept {} + IPrintTicketCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTicketFeature : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketFeature(std::nullptr_t = nullptr) noexcept {} + IPrintTicketFeature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTicketOption : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketOption(std::nullptr_t = nullptr) noexcept {} + IPrintTicketOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTicketParameterDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketParameterDefinition(std::nullptr_t = nullptr) noexcept {} + IPrintTicketParameterDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTicketParameterInitializer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketParameterInitializer(std::nullptr_t = nullptr) noexcept {} + IPrintTicketParameterInitializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintTicketValue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintTicketValue(std::nullptr_t = nullptr) noexcept {} + IPrintTicketValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWorkflowPrintTicket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWorkflowPrintTicket(std::nullptr_t = nullptr) noexcept {} + IWorkflowPrintTicket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWorkflowPrintTicketFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWorkflowPrintTicketFactory(std::nullptr_t = nullptr) noexcept {} + IWorkflowPrintTicketFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWorkflowPrintTicketValidationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWorkflowPrintTicketValidationResult(std::nullptr_t = nullptr) noexcept {} + IWorkflowPrintTicketValidationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a8eb6bdcf3e140cbdb98599e56034541b8d335dc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.printticket.2.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_PrintTicket_2_H +#define WINRT_Windows_Graphics_Printing_PrintTicket_2_H +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + struct WINRT_IMPL_EMPTY_BASES PrintTicketCapabilities : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities + { + PrintTicketCapabilities(std::nullptr_t) noexcept {} + PrintTicketCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTicketFeature : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature + { + PrintTicketFeature(std::nullptr_t) noexcept {} + PrintTicketFeature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTicketOption : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption + { + PrintTicketOption(std::nullptr_t) noexcept {} + PrintTicketOption(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTicketParameterDefinition : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition + { + PrintTicketParameterDefinition(std::nullptr_t) noexcept {} + PrintTicketParameterDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTicketParameterInitializer : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer + { + PrintTicketParameterInitializer(std::nullptr_t) noexcept {} + PrintTicketParameterInitializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintTicketValue : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue + { + PrintTicketValue(std::nullptr_t) noexcept {} + PrintTicketValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WorkflowPrintTicket : winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket + { + WorkflowPrintTicket(std::nullptr_t) noexcept {} + WorkflowPrintTicket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket(ptr, take_ownership_from_abi) {} + WorkflowPrintTicket(param::hstring const& printerName, winrt::Windows::Storage::Streams::IInputStream const& printTicketStream); + }; + struct WINRT_IMPL_EMPTY_BASES WorkflowPrintTicketValidationResult : winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult + { + WorkflowPrintTicketValidationResult(std::nullptr_t) noexcept {} + WorkflowPrintTicketValidationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.0.h new file mode 100644 index 0000000000000000000000000000000000000000..642bd95834cb39af3367cb0d78307d91fe3eab4c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.0.h @@ -0,0 +1,38 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_ProtectedPrint_0_H +#define WINRT_Windows_Graphics_Printing_ProtectedPrint_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::ProtectedPrint +{ + struct IWindowsProtectedPrintInfoStatics; + struct WindowsProtectedPrintInfo; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.ProtectedPrint.WindowsProtectedPrintInfo"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.ProtectedPrint.IWindowsProtectedPrintInfoStatics"; + template <> inline constexpr guid guid_v{ 0xA7D212F3,0x4168,0x5485,{ 0x98,0xAB,0xD8,0x9D,0x04,0x60,0x3B,0x40 } }; // A7D212F3-4168-5485-98AB-D89D04603B40 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsProtectedPrintEnabled(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing_ProtectedPrint_IWindowsProtectedPrintInfoStatics + { + [[nodiscard]] auto IsProtectedPrintEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_ProtectedPrint_IWindowsProtectedPrintInfoStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.1.h new file mode 100644 index 0000000000000000000000000000000000000000..026fdf88aee773cc029434671445ac2c7713541a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_ProtectedPrint_1_H +#define WINRT_Windows_Graphics_Printing_ProtectedPrint_1_H +#include "winrt/impl/Windows.Graphics.Printing.ProtectedPrint.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::ProtectedPrint +{ + struct WINRT_IMPL_EMPTY_BASES IWindowsProtectedPrintInfoStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsProtectedPrintInfoStatics(std::nullptr_t = nullptr) noexcept {} + IWindowsProtectedPrintInfoStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3d9309889a52e9f0370fd18b2f5d25213cedb535 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.protectedprint.2.h @@ -0,0 +1,18 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_ProtectedPrint_2_H +#define WINRT_Windows_Graphics_Printing_ProtectedPrint_2_H +#include "winrt/impl/Windows.Graphics.Printing.ProtectedPrint.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::ProtectedPrint +{ + struct WindowsProtectedPrintInfo + { + WindowsProtectedPrintInfo() = delete; + [[nodiscard]] static auto IsProtectedPrintEnabled(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.0.h new file mode 100644 index 0000000000000000000000000000000000000000..79611c97b96df876f8bb685510c4ebcce34966c4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.0.h @@ -0,0 +1,1435 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_Workflow_0_H +#define WINRT_Windows_Graphics_Printing_Workflow_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Printers +{ + struct IppAttributeValue; + struct IppPrintDevice; + struct IppSetAttributesResult; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket +{ + struct WorkflowPrintTicket; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::Workflow +{ + enum class PdlConversionHostBasedProcessingOperations : uint32_t + { + None = 0, + PageRotation = 0x1, + PageOrdering = 0x2, + Copies = 0x4, + BlankPageInsertion = 0x8, + All = 0xffffffff, + }; + enum class PrintWorkflowAttributesMergePolicy : int32_t + { + MergePreferPrintTicketOnConflict = 0, + MergePreferPsaOnConflict = 1, + DoNotMergeWithPrintTicket = 2, + }; + enum class PrintWorkflowJobAbortReason : int32_t + { + JobFailed = 0, + UserCanceled = 1, + }; + enum class PrintWorkflowJobIssueKind : int32_t + { + Other = 0, + AttentionRequired = 1, + DoorOpen = 2, + MarkerSupplyLow = 3, + MarkerSupplyEmpty = 4, + MediaJam = 5, + MediaEmpty = 6, + MediaLow = 7, + OutputAreaAlmostFull = 8, + OutputAreaFull = 9, + JobPrintingError = 10, + }; + enum class PrintWorkflowPdlConversionType : int32_t + { + XpsToPdf = 0, + XpsToPwgr = 1, + XpsToPclm = 2, + XpsToTiff = 3, + }; + enum class PrintWorkflowPrinterJobStatus : int32_t + { + Error = 0, + Aborted = 1, + InProgress = 2, + Completed = 3, + }; + enum class PrintWorkflowSessionStatus : int32_t + { + Started = 0, + Completed = 1, + Aborted = 2, + Closed = 3, + PdlDataAvailableForModification = 4, + }; + enum class PrintWorkflowSubmittedStatus : int32_t + { + Succeeded = 0, + Canceled = 1, + Failed = 2, + }; + enum class PrintWorkflowUICompletionStatus : int32_t + { + Completed = 0, + LaunchFailed = 1, + JobFailed = 2, + UserCanceled = 3, + }; + struct IPrintWorkflowBackgroundSession; + struct IPrintWorkflowBackgroundSetupRequestedEventArgs; + struct IPrintWorkflowConfiguration; + struct IPrintWorkflowConfiguration2; + struct IPrintWorkflowForegroundSession; + struct IPrintWorkflowForegroundSetupRequestedEventArgs; + struct IPrintWorkflowJobActivatedEventArgs; + struct IPrintWorkflowJobBackgroundSession; + struct IPrintWorkflowJobBackgroundSession2; + struct IPrintWorkflowJobBackgroundSession3; + struct IPrintWorkflowJobIssueDetectedEventArgs; + struct IPrintWorkflowJobNotificationEventArgs; + struct IPrintWorkflowJobStartingEventArgs; + struct IPrintWorkflowJobStartingEventArgs2; + struct IPrintWorkflowJobTriggerDetails; + struct IPrintWorkflowJobUISession; + struct IPrintWorkflowJobUISession2; + struct IPrintWorkflowObjectModelProvider; + struct IPrintWorkflowObjectModelSourceFileContent; + struct IPrintWorkflowObjectModelSourceFileContentFactory; + struct IPrintWorkflowObjectModelTargetPackage; + struct IPrintWorkflowPdlConverter; + struct IPrintWorkflowPdlConverter2; + struct IPrintWorkflowPdlConverter3; + struct IPrintWorkflowPdlDataAvailableEventArgs; + struct IPrintWorkflowPdlModificationRequestedEventArgs; + struct IPrintWorkflowPdlModificationRequestedEventArgs2; + struct IPrintWorkflowPdlModificationRequestedEventArgs3; + struct IPrintWorkflowPdlSourceContent; + struct IPrintWorkflowPdlTargetStream; + struct IPrintWorkflowPrinterJob; + struct IPrintWorkflowPrinterJob2; + struct IPrintWorkflowPrinterJobStatusChangedEventArgs; + struct IPrintWorkflowSourceContent; + struct IPrintWorkflowSpoolStreamContent; + struct IPrintWorkflowStreamTarget; + struct IPrintWorkflowSubmittedEventArgs; + struct IPrintWorkflowSubmittedOperation; + struct IPrintWorkflowTarget; + struct IPrintWorkflowTriggerDetails; + struct IPrintWorkflowUIActivatedEventArgs; + struct IPrintWorkflowUILauncher; + struct IPrintWorkflowVirtualPrinterDataAvailableEventArgs; + struct IPrintWorkflowVirtualPrinterSession; + struct IPrintWorkflowVirtualPrinterTriggerDetails; + struct IPrintWorkflowVirtualPrinterUIEventArgs; + struct IPrintWorkflowXpsDataAvailableEventArgs; + struct IPrintWorkflowXpsObjectModelProvider; + struct PrintWorkflowBackgroundSession; + struct PrintWorkflowBackgroundSetupRequestedEventArgs; + struct PrintWorkflowConfiguration; + struct PrintWorkflowForegroundSession; + struct PrintWorkflowForegroundSetupRequestedEventArgs; + struct PrintWorkflowJobActivatedEventArgs; + struct PrintWorkflowJobBackgroundSession; + struct PrintWorkflowJobIssueDetectedEventArgs; + struct PrintWorkflowJobNotificationEventArgs; + struct PrintWorkflowJobStartingEventArgs; + struct PrintWorkflowJobTriggerDetails; + struct PrintWorkflowJobUISession; + struct PrintWorkflowObjectModelSourceFileContent; + struct PrintWorkflowObjectModelTargetPackage; + struct PrintWorkflowPdlConverter; + struct PrintWorkflowPdlDataAvailableEventArgs; + struct PrintWorkflowPdlModificationRequestedEventArgs; + struct PrintWorkflowPdlSourceContent; + struct PrintWorkflowPdlTargetStream; + struct PrintWorkflowPrinterJob; + struct PrintWorkflowPrinterJobStatusChangedEventArgs; + struct PrintWorkflowSourceContent; + struct PrintWorkflowSpoolStreamContent; + struct PrintWorkflowStreamTarget; + struct PrintWorkflowSubmittedEventArgs; + struct PrintWorkflowSubmittedOperation; + struct PrintWorkflowTarget; + struct PrintWorkflowTriggerDetails; + struct PrintWorkflowUIActivatedEventArgs; + struct PrintWorkflowUILauncher; + struct PrintWorkflowVirtualPrinterDataAvailableEventArgs; + struct PrintWorkflowVirtualPrinterSession; + struct PrintWorkflowVirtualPrinterTriggerDetails; + struct PrintWorkflowVirtualPrinterUIEventArgs; + struct PrintWorkflowXpsDataAvailableEventArgs; + struct PrintWorkflowXpsObjectModelProvider; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobIssueDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJobStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowTarget"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowVirtualPrinterDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowVirtualPrinterSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowVirtualPrinterTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowVirtualPrinterUIEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowXpsObjectModelProvider"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PdlConversionHostBasedProcessingOperations"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowAttributesMergePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobAbortReason"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowJobIssueKind"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConversionType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJobStatus"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSessionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedStatus"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.PrintWorkflowUICompletionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowBackgroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowBackgroundSetupRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowConfiguration2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowForegroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowForegroundSetupRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobBackgroundSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobBackgroundSession2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobBackgroundSession3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobIssueDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobNotificationEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobStartingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobStartingEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobUISession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowJobUISession2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowObjectModelProvider"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowObjectModelSourceFileContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowObjectModelSourceFileContentFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowObjectModelTargetPackage"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlConverter"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlConverter2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlConverter3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlModificationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlModificationRequestedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlModificationRequestedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlSourceContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPdlTargetStream"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPrinterJob"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPrinterJob2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowPrinterJobStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowSourceContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowSpoolStreamContent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowStreamTarget"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowSubmittedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowSubmittedOperation"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowTarget"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowUIActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowUILauncher"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowVirtualPrinterDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowVirtualPrinterSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowVirtualPrinterTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowVirtualPrinterUIEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowXpsDataAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing.Workflow.IPrintWorkflowXpsObjectModelProvider"; + template <> inline constexpr guid guid_v{ 0x5B7913BA,0x0C5E,0x528A,{ 0x74,0x58,0x86,0xA4,0x6C,0xBD,0xDC,0x45 } }; // 5B7913BA-0C5E-528A-7458-86A46CBDDC45 + template <> inline constexpr guid guid_v{ 0x43E97342,0x1750,0x59C9,{ 0x61,0xFB,0x38,0x37,0x48,0xA2,0x03,0x62 } }; // 43E97342-1750-59C9-61FB-383748A20362 + template <> inline constexpr guid guid_v{ 0xD0AAC4ED,0xFD4B,0x5DF5,{ 0x4B,0xB6,0x8D,0x0D,0x15,0x9E,0xBE,0x3F } }; // D0AAC4ED-FD4B-5DF5-4BB6-8D0D159EBE3F + template <> inline constexpr guid guid_v{ 0xDE350A50,0xA6D4,0x5BE2,{ 0x8B,0x9A,0x09,0xD3,0xD3,0x9E,0xA7,0x80 } }; // DE350A50-A6D4-5BE2-8B9A-09D3D39EA780 + template <> inline constexpr guid guid_v{ 0xC79B63D0,0xF8EC,0x4CEB,{ 0x95,0x3A,0xC8,0x87,0x61,0x57,0xDD,0x33 } }; // C79B63D0-F8EC-4CEB-953A-C8876157DD33 + template <> inline constexpr guid guid_v{ 0xBBE38247,0x9C1B,0x4DD3,{ 0x9B,0x2B,0xC8,0x04,0x68,0xD9,0x41,0xB3 } }; // BBE38247-9C1B-4DD3-9B2B-C80468D941B3 + template <> inline constexpr guid guid_v{ 0xD4BD5E6D,0x034E,0x5E00,{ 0xA6,0x16,0xF9,0x61,0xA0,0x33,0xDC,0xC8 } }; // D4BD5E6D-034E-5E00-A616-F961A033DCC8 + template <> inline constexpr guid guid_v{ 0xC5EC6AD8,0x20C9,0x5D51,{ 0x85,0x07,0x27,0x34,0xB4,0x6F,0x96,0xC5 } }; // C5EC6AD8-20C9-5D51-8507-2734B46F96C5 + template <> inline constexpr guid guid_v{ 0x592AADAF,0xEF26,0x5A55,{ 0xAD,0x21,0x5F,0x63,0xFF,0xCF,0x83,0x66 } }; // 592AADAF-EF26-5A55-AD21-5F63FFCF8366 + template <> inline constexpr guid guid_v{ 0x5757086C,0xEDCC,0x5A94,{ 0x90,0xEC,0xA0,0xA8,0x7C,0x11,0x15,0xE7 } }; // 5757086C-EDCC-5A94-90EC-A0A87C1115E7 + template <> inline constexpr guid guid_v{ 0xDE58A46E,0xE41E,0x550A,{ 0xA9,0xFB,0x4B,0x1F,0x93,0xFB,0x9D,0x98 } }; // DE58A46E-E41E-550A-A9FB-4B1F93FB9D98 + template <> inline constexpr guid guid_v{ 0x0AE16FBA,0x5398,0x5EBA,{ 0xB4,0x72,0x97,0x86,0x50,0x18,0x6A,0x9A } }; // 0AE16FBA-5398-5EBA-B472-978650186A9A + template <> inline constexpr guid guid_v{ 0xE3D99BA8,0x31AD,0x5E09,{ 0xB0,0xD7,0x60,0x1B,0x97,0xF1,0x61,0xAD } }; // E3D99BA8-31AD-5E09-B0D7-601B97F161AD + template <> inline constexpr guid guid_v{ 0x7DEDED67,0xD3DC,0x5B23,{ 0x86,0x90,0x4E,0xBF,0xC0,0xF0,0x91,0x4A } }; // 7DEDED67-D3DC-5B23-8690-4EBFC0F0914A + template <> inline constexpr guid guid_v{ 0xFF296129,0x60E2,0x51DB,{ 0xBA,0x8C,0xE2,0xCC,0xDD,0xB5,0x16,0xB9 } }; // FF296129-60E2-51DB-BA8C-E2CCDDB516B9 + template <> inline constexpr guid guid_v{ 0x00C8736B,0x7637,0x5687,{ 0xA3,0x02,0x0F,0x66,0x4D,0x2A,0xAC,0x65 } }; // 00C8736B-7637-5687-A302-0F664D2AAC65 + template <> inline constexpr guid guid_v{ 0xA8529368,0x9174,0x5C78,{ 0x9F,0xDB,0x89,0x4A,0x82,0xE9,0x2A,0xDA } }; // A8529368-9174-5C78-9FDB-894A82E92ADA + template <> inline constexpr guid guid_v{ 0xE3A9F883,0x6A2D,0x489B,{ 0xBC,0x1F,0x7A,0xAB,0x44,0x24,0x96,0x22 } }; // E3A9F883-6A2D-489B-BC1F-7AAB44249622 + template <> inline constexpr guid guid_v{ 0xC36C8A6A,0x8A2A,0x419A,{ 0xB3,0xC3,0x20,0x90,0xE6,0xBF,0xAB,0x2F } }; // C36C8A6A-8A2A-419A-B3C3-2090E6BFAB2F + template <> inline constexpr guid guid_v{ 0x93B1B903,0xF013,0x56D6,{ 0xB7,0x08,0x99,0xAC,0x2C,0xCB,0x12,0xEE } }; // 93B1B903-F013-56D6-B708-99AC2CCB12EE + template <> inline constexpr guid guid_v{ 0x7D96BC74,0x9B54,0x4CA1,{ 0xAD,0x3A,0x97,0x9C,0x3D,0x44,0xDD,0xAC } }; // 7D96BC74-9B54-4CA1-AD3A-979C3D44DDAC + template <> inline constexpr guid guid_v{ 0x40604B62,0x0AE4,0x51F1,{ 0x81,0x8F,0x73,0x1D,0xC0,0xB0,0x05,0xAB } }; // 40604B62-0AE4-51F1-818F-731DC0B005AB + template <> inline constexpr guid guid_v{ 0x854CEEC1,0x7837,0x5B93,{ 0xB7,0xAF,0x57,0xA6,0x99,0x8C,0x2F,0x71 } }; // 854CEEC1-7837-5B93-B7AF-57A6998C2F71 + template <> inline constexpr guid guid_v{ 0x6B556B4F,0x3756,0x5DA6,{ 0xB1,0xF7,0x8F,0x9E,0x89,0xF6,0x29,0xFB } }; // 6B556B4F-3756-5DA6-B1F7-8F9E89F629FB + template <> inline constexpr guid guid_v{ 0xD4AD6B50,0x1547,0x5991,{ 0xA0,0xEF,0xE2,0xEE,0x20,0x21,0x15,0x18 } }; // D4AD6B50-1547-5991-A0EF-E2EE20211518 + template <> inline constexpr guid guid_v{ 0x1A339A61,0x2E13,0x5EDD,{ 0xA7,0x07,0xCE,0xEC,0x61,0xD7,0x33,0x3B } }; // 1A339A61-2E13-5EDD-A707-CEEC61D7333B + template <> inline constexpr guid guid_v{ 0x8D692147,0x6C62,0x5E31,{ 0xA0,0xE7,0xD4,0x9F,0x92,0xC1,0x11,0xC0 } }; // 8D692147-6C62-5E31-A0E7-D49F92C111C0 + template <> inline constexpr guid guid_v{ 0x1F50A7D4,0xDB49,0x5D3E,{ 0xBA,0x27,0xB3,0x66,0xCB,0x25,0xCD,0x7E } }; // 1F50A7D4-DB49-5D3E-BA27-B366CB25CD7E + template <> inline constexpr guid guid_v{ 0x92F7FC41,0x32B8,0x56AB,{ 0x84,0x5E,0xB1,0xE6,0x8B,0x3A,0xED,0xD5 } }; // 92F7FC41-32B8-56AB-845E-B1E68B3AEDD5 + template <> inline constexpr guid guid_v{ 0xA742DFE5,0x1EE3,0x52A9,{ 0x9F,0x9F,0x2E,0x20,0x43,0x18,0x0F,0xD1 } }; // A742DFE5-1EE3-52A9-9F9F-2E2043180FD1 + template <> inline constexpr guid guid_v{ 0x12009F94,0x0D14,0x5443,{ 0xBC,0x09,0x25,0x03,0x11,0xCE,0x57,0x0B } }; // 12009F94-0D14-5443-BC09-250311CE570B + template <> inline constexpr guid guid_v{ 0x747E21D7,0x69A9,0x5229,{ 0xB8,0xF0,0x87,0x4C,0xA1,0xA8,0x87,0x1B } }; // 747E21D7-69A9-5229-B8F0-874CA1A8871B + template <> inline constexpr guid guid_v{ 0x4A6275B9,0xBE67,0x5718,{ 0x92,0x1A,0x34,0x8C,0x56,0xF9,0xD2,0x5F } }; // 4A6275B9-BE67-5718-921A-348C56F9D25F + template <> inline constexpr guid guid_v{ 0x1A28C641,0xCEB1,0x4533,{ 0xBB,0x73,0xFB,0xE6,0x3E,0xEF,0xDB,0x18 } }; // 1A28C641-CEB1-4533-BB73-FBE63EEFDB18 + template <> inline constexpr guid guid_v{ 0x72E55ECE,0xE406,0x4B74,{ 0x84,0xE1,0x3F,0xF3,0xFD,0xCD,0xAF,0x70 } }; // 72E55ECE-E406-4B74-84E1-3FF3FDCDAF70 + template <> inline constexpr guid guid_v{ 0xB23BBA84,0x8565,0x488B,{ 0x98,0x39,0x1C,0x9E,0x7C,0x7A,0xA9,0x16 } }; // B23BBA84-8565-488B-9839-1C9E7C7AA916 + template <> inline constexpr guid guid_v{ 0x3ADD0A41,0x3794,0x5569,{ 0x5C,0x87,0x40,0xE8,0xFF,0x72,0x0F,0x83 } }; // 3ADD0A41-3794-5569-5C87-40E8FF720F83 + template <> inline constexpr guid guid_v{ 0x2E4E6216,0x3BE1,0x5F0F,{ 0x5C,0x81,0xA5,0xA2,0xBD,0x4E,0xAB,0x0E } }; // 2E4E6216-3BE1-5F0F-5C81-A5A2BD4EAB0E + template <> inline constexpr guid guid_v{ 0x29DA276C,0x0A73,0x5AED,{ 0x4F,0x3D,0x97,0x0D,0x32,0x51,0xF0,0x57 } }; // 29DA276C-0A73-5AED-4F3D-970D3251F057 + template <> inline constexpr guid guid_v{ 0x5739D868,0x9D86,0x4052,{ 0xB0,0xCB,0xF3,0x10,0xBE,0xCD,0x59,0xBB } }; // 5739D868-9D86-4052-B0CB-F310BECD59BB + template <> inline constexpr guid guid_v{ 0xBC8A844D,0x09EB,0x5746,{ 0x72,0xA6,0x8D,0xC8,0xB5,0xED,0xBE,0x9B } }; // BC8A844D-09EB-5746-72A6-8DC8B5EDBE9B + template <> inline constexpr guid guid_v{ 0x64E9E22F,0x14CC,0x5828,{ 0x96,0xFB,0x39,0x16,0x3F,0xB6,0xC3,0x78 } }; // 64E9E22F-14CC-5828-96FB-39163FB6C378 + template <> inline constexpr guid guid_v{ 0x6B7D5003,0x14A8,0x5D52,{ 0xA4,0x28,0x07,0x33,0x0F,0xBA,0xB1,0x1F } }; // 6B7D5003-14A8-5D52-A428-07330FBAB11F + template <> inline constexpr guid guid_v{ 0xAA3926F2,0x8485,0x5C27,{ 0xA0,0x16,0x9D,0x39,0xE3,0xBA,0x26,0x14 } }; // AA3926F2-8485-5C27-A016-9D39E3BA2614 + template <> inline constexpr guid guid_v{ 0xFF8F2297,0x727B,0x53EC,{ 0xB9,0xE0,0xF3,0x93,0xF7,0x2D,0x4E,0x50 } }; // FF8F2297-727B-53EC-B9E0-F393F72D4E50 + template <> inline constexpr guid guid_v{ 0x334DBBCA,0xBF10,0x585F,{ 0xB7,0xE0,0x58,0xC4,0xAA,0x43,0xA0,0x3F } }; // 334DBBCA-BF10-585F-B7E0-58C4AA43A03F + template <> inline constexpr guid guid_v{ 0x4D11C331,0x54D1,0x434E,{ 0xBE,0x0E,0x82,0xC5,0xFA,0x58,0xE5,0xB2 } }; // 4D11C331-54D1-434E-BE0E-82C5FA58E5B2 + template <> inline constexpr guid guid_v{ 0x97D8C1AD,0x96D7,0x56CC,{ 0xB6,0x60,0xA7,0x14,0x95,0x63,0x2C,0xEB } }; // 97D8C1AD-96D7-56CC-B660-A71495632CEB + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobActivatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobBackgroundSession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobIssueDetectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobNotificationEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobStartingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobUISession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelSourceFileContent; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelTargetPackage; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlConverter; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlDataAvailableEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlModificationRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlSourceContent; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlTargetStream; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJob; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJobStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSpoolStreamContent; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowStreamTarget; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUIActivatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUILauncher; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterDataAvailableEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterSession; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterUIEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SetupRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SetupRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Submitted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Submitted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetUserPrintTicketAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall SetRequiresUI() noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceAppDisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_JobTitle(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AbortPrintFlow(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SetupRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SetupRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_XpsDataAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_XpsDataAvailable(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetUserPrintTicketAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_JobStarting(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_JobStarting(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PdlModificationRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PdlModificationRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_JobIssueDetected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_JobIssueDetected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_JobStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_JobStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_JobIssueKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_SkipSystemErrorToast(bool*) noexcept = 0; + virtual int32_t __stdcall put_SkipSystemErrorToast(bool) noexcept = 0; + virtual int32_t __stdcall get_PrinterJob(void**) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_UILauncher(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_PrinterJob(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + virtual int32_t __stdcall SetSkipSystemRendering() noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsIppCompressionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall DisableIppCompressionForJob() noexcept = 0; + virtual int32_t __stdcall get_SkipSystemFaxUI(bool*) noexcept = 0; + virtual int32_t __stdcall put_SkipSystemFaxUI(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintWorkflowJobSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_PdlDataAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PdlDataAvailable(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_JobNotification(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_JobNotification(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_VirtualPrinterUIDataAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VirtualPrinterUIDataAvailable(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertPdlAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertPdlAsync(void*, void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertPdlFromObjectModelAsync(void*, void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_PrinterJob(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceContent(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_PrinterJob(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceContent(void**) noexcept = 0; + virtual int32_t __stdcall get_UILauncher(void**) noexcept = 0; + virtual int32_t __stdcall CreateJobOnPrinter(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateJobOnPrinterWithAttributes(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateJobOnPrinterWithAttributesBuffer(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPdlConverter(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateJobOnPrinterWithAttributes(void*, void*, void*, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateJobOnPrinterWithAttributesBuffer(void*, void*, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DisableIppCompressionForJob() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentType(void**) noexcept = 0; + virtual int32_t __stdcall GetInputStream(void**) noexcept = 0; + virtual int32_t __stdcall GetContentFileAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetOutputStream(void**) noexcept = 0; + virtual int32_t __stdcall CompleteStreamSubmission(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_JobId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + virtual int32_t __stdcall GetJobStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetJobPrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall GetJobAttributesAsBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetJobAttributes(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetJobAttributesFromBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetJobAttributes(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertPrintTicketToJobAttributes(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrinterJob(void**) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetJobPrintTicketAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetSourceSpoolDataAsStreamContent(void**) noexcept = 0; + virtual int32_t __stdcall GetSourceSpoolDataAsXpsObjectModel(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetInputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetOutputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Operation(void**) noexcept = 0; + virtual int32_t __stdcall GetTarget(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_XpsContent(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TargetAsStream(void**) noexcept = 0; + virtual int32_t __stdcall get_TargetAsXpsObjectModelPackage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintWorkflowSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PrintWorkflowSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsUILaunchEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall LaunchAndCompleteUIAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceContent(void**) noexcept = 0; + virtual int32_t __stdcall get_UILauncher(void**) noexcept = 0; + virtual int32_t __stdcall GetJobPrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall GetPdlConverter(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetTargetFileAsync(void**) noexcept = 0; + virtual int32_t __stdcall CompleteJob(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + virtual int32_t __stdcall add_VirtualPrinterDataAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VirtualPrinterDataAvailable(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VirtualPrinterSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall get_Printer(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceContent(void**) noexcept = 0; + virtual int32_t __stdcall GetJobPrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Operation(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession + { + auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + using SetupRequested_revoker = impl::event_revoker::remove_SetupRequested>; + [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::event_token const& token) const noexcept; + auto Submitted(winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; + using Submitted_revoker = impl::event_revoker::remove_Submitted>; + [[nodiscard]] auto Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; + auto Submitted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs + { + auto GetUserPrintTicketAsync() const; + [[nodiscard]] auto Configuration() const; + auto SetRequiresUI() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration + { + [[nodiscard]] auto SourceAppDisplayName() const; + [[nodiscard]] auto JobTitle() const; + [[nodiscard]] auto SessionId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration2 + { + auto AbortPrintFlow(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowJobAbortReason const& reason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession + { + auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + using SetupRequested_revoker = impl::event_revoker::remove_SetupRequested>; + [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::event_token const& token) const noexcept; + auto XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; + using XpsDataAvailable_revoker = impl::event_revoker::remove_XpsDataAvailable>; + [[nodiscard]] auto XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; + auto XpsDataAvailable(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs + { + auto GetUserPrintTicketAsync() const; + [[nodiscard]] auto Configuration() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobActivatedEventArgs + { + [[nodiscard]] auto Session() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobActivatedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession + { + [[nodiscard]] auto Status() const; + auto JobStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using JobStarting_revoker = impl::event_revoker::remove_JobStarting>; + [[nodiscard]] auto JobStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JobStarting(winrt::event_token const& token) const noexcept; + auto PdlModificationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PdlModificationRequested_revoker = impl::event_revoker::remove_PdlModificationRequested>; + [[nodiscard]] auto PdlModificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PdlModificationRequested(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession2 + { + auto JobIssueDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using JobIssueDetected_revoker = impl::event_revoker::remove_JobIssueDetected>; + [[nodiscard]] auto JobIssueDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JobIssueDetected(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession3 + { + auto JobStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using JobStatusChanged_revoker = impl::event_revoker::remove_JobStatusChanged>; + [[nodiscard]] auto JobStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JobStatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobBackgroundSession3; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobIssueDetectedEventArgs + { + [[nodiscard]] auto JobIssueKind() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto SkipSystemErrorToast() const; + auto SkipSystemErrorToast(bool value) const; + [[nodiscard]] auto PrinterJob() const; + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto UILauncher() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobIssueDetectedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobNotificationEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto PrinterJob() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobNotificationEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobStartingEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto Printer() const; + auto SetSkipSystemRendering() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobStartingEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobStartingEventArgs2 + { + [[nodiscard]] auto IsIppCompressionEnabled() const; + auto DisableIppCompressionForJob() const; + [[nodiscard]] auto SkipSystemFaxUI() const; + auto SkipSystemFaxUI(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobStartingEventArgs2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobTriggerDetails + { + [[nodiscard]] auto PrintWorkflowJobSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobTriggerDetails; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobUISession + { + [[nodiscard]] auto Status() const; + auto PdlDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PdlDataAvailable_revoker = impl::event_revoker::remove_PdlDataAvailable>; + [[nodiscard]] auto PdlDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PdlDataAvailable(winrt::event_token const& token) const noexcept; + auto JobNotification(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using JobNotification_revoker = impl::event_revoker::remove_JobNotification>; + [[nodiscard]] auto JobNotification(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JobNotification(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobUISession; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobUISession2 + { + auto VirtualPrinterUIDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VirtualPrinterUIDataAvailable_revoker = impl::event_revoker::remove_VirtualPrinterUIDataAvailable>; + [[nodiscard]] auto VirtualPrinterUIDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VirtualPrinterUIDataAvailable(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowJobUISession2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelProvider + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelProvider; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelSourceFileContent + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelSourceFileContent; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelSourceFileContentFactory + { + auto CreateInstance(winrt::Windows::Storage::Streams::IInputStream const& xpsStream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelSourceFileContentFactory; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelTargetPackage + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowObjectModelTargetPackage; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter + { + auto ConvertPdlAsync(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket, winrt::Windows::Storage::Streams::IInputStream const& inputStream, winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter2 + { + auto ConvertPdlAsync(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket, winrt::Windows::Storage::Streams::IInputStream const& inputStream, winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::Graphics::Printing::Workflow::PdlConversionHostBasedProcessingOperations const& hostBasedProcessingOperations) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter3 + { + auto ConvertPdlFromObjectModelAsync(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket, winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelProvider const& objectModelProvider, winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::Graphics::Printing::Workflow::PdlConversionHostBasedProcessingOperations const& hostBasedProcessingOperations) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlConverter3; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlDataAvailableEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto PrinterJob() const; + [[nodiscard]] auto SourceContent() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlDataAvailableEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto PrinterJob() const; + [[nodiscard]] auto SourceContent() const; + [[nodiscard]] auto UILauncher() const; + auto CreateJobOnPrinter(param::hstring const& targetContentType) const; + auto CreateJobOnPrinterWithAttributes(param::iterable> const& jobAttributes, param::hstring const& targetContentType) const; + auto CreateJobOnPrinterWithAttributesBuffer(winrt::Windows::Storage::Streams::IBuffer const& jobAttributesBuffer, param::hstring const& targetContentType) const; + auto GetPdlConverter(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowPdlConversionType const& conversionType) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs2 + { + auto CreateJobOnPrinterWithAttributes(param::iterable> const& jobAttributes, param::hstring const& targetContentType, param::iterable> const& operationAttributes, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowAttributesMergePolicy const& jobAttributesMergePolicy, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowAttributesMergePolicy const& operationAttributesMergePolicy) const; + auto CreateJobOnPrinterWithAttributesBuffer(winrt::Windows::Storage::Streams::IBuffer const& jobAttributesBuffer, param::hstring const& targetContentType, winrt::Windows::Storage::Streams::IBuffer const& operationAttributesBuffer, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowAttributesMergePolicy const& jobAttributesMergePolicy, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowAttributesMergePolicy const& operationAttributesMergePolicy) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs3 + { + auto DisableIppCompressionForJob() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlModificationRequestedEventArgs3; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlSourceContent + { + [[nodiscard]] auto ContentType() const; + auto GetInputStream() const; + auto GetContentFileAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlSourceContent; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlTargetStream + { + auto GetOutputStream() const; + auto CompleteStreamSubmission(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPdlTargetStream; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJob + { + [[nodiscard]] auto JobId() const; + [[nodiscard]] auto Printer() const; + auto GetJobStatus() const; + auto GetJobPrintTicket() const; + auto GetJobAttributesAsBuffer(param::iterable const& attributeNames) const; + auto GetJobAttributes(param::iterable const& attributeNames) const; + auto SetJobAttributesFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& jobAttributesBuffer) const; + auto SetJobAttributes(param::iterable> const& jobAttributes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJob; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJob2 + { + auto ConvertPrintTicketToJobAttributes(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& printTicket, param::hstring const& targetPdlFormat) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJob2; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJobStatusChangedEventArgs + { + [[nodiscard]] auto PrinterJob() const; + [[nodiscard]] auto Configuration() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowPrinterJobStatusChangedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent + { + auto GetJobPrintTicketAsync() const; + auto GetSourceSpoolDataAsStreamContent() const; + auto GetSourceSpoolDataAsXpsObjectModel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent + { + auto GetInputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget + { + auto GetOutputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs + { + [[nodiscard]] auto Operation() const; + auto GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation + { + auto Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const; + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto XpsContent() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget + { + [[nodiscard]] auto TargetAsStream() const; + [[nodiscard]] auto TargetAsXpsObjectModelPackage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails + { + [[nodiscard]] auto PrintWorkflowSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs + { + [[nodiscard]] auto PrintWorkflowSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUILauncher + { + auto IsUILaunchEnabled() const; + auto LaunchAndCompleteUIAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUILauncher; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterDataAvailableEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto SourceContent() const; + [[nodiscard]] auto UILauncher() const; + auto GetJobPrintTicket() const; + auto GetPdlConverter(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowPdlConversionType const& conversionType) const; + auto GetTargetFileAsync() const; + auto CompleteJob(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterDataAvailableEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterSession + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Printer() const; + auto VirtualPrinterDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VirtualPrinterDataAvailable_revoker = impl::event_revoker::remove_VirtualPrinterDataAvailable>; + [[nodiscard]] auto VirtualPrinterDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VirtualPrinterDataAvailable(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterSession; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterTriggerDetails + { + [[nodiscard]] auto VirtualPrinterSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterTriggerDetails; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterUIEventArgs + { + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto Printer() const; + [[nodiscard]] auto SourceContent() const; + auto GetJobPrintTicket() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowVirtualPrinterUIEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs + { + [[nodiscard]] auto Operation() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs; + }; + template + struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsObjectModelProvider + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsObjectModelProvider; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c8fe39289c9f52e3ff8c36e71cc6fef8bd2729d0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.1.h @@ -0,0 +1,351 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_Workflow_1_H +#define WINRT_Windows_Graphics_Printing_Workflow_1_H +#include "winrt/impl/Windows.ApplicationModel.Activation.0.h" +#include "winrt/impl/Windows.Graphics.Printing.Workflow.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::Workflow +{ + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowBackgroundSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowBackgroundSession(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowBackgroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowBackgroundSetupRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowBackgroundSetupRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowBackgroundSetupRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowConfiguration(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowConfiguration2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowForegroundSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowForegroundSession(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowForegroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowForegroundSetupRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowForegroundSetupRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowForegroundSetupRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobActivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobActivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobBackgroundSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobBackgroundSession(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobBackgroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobBackgroundSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobBackgroundSession2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobBackgroundSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobBackgroundSession3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobBackgroundSession3(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobBackgroundSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobIssueDetectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobIssueDetectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobIssueDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobNotificationEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobNotificationEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobNotificationEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobStartingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobStartingEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobStartingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobStartingEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobStartingEventArgs2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobStartingEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobUISession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobUISession(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobUISession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowJobUISession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowJobUISession2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowJobUISession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowObjectModelProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowObjectModelProvider(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowObjectModelProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowObjectModelSourceFileContent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowObjectModelSourceFileContent(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowObjectModelSourceFileContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowObjectModelSourceFileContentFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowObjectModelSourceFileContentFactory(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowObjectModelSourceFileContentFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowObjectModelTargetPackage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowObjectModelTargetPackage(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowObjectModelTargetPackage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlConverter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlConverter(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlConverter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlConverter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlConverter2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlConverter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlConverter3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlConverter3(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlConverter3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlDataAvailableEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlDataAvailableEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlModificationRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlModificationRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlModificationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlModificationRequestedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlModificationRequestedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlModificationRequestedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlModificationRequestedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlModificationRequestedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlModificationRequestedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlSourceContent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlSourceContent(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlSourceContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPdlTargetStream : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPdlTargetStream(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPdlTargetStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPrinterJob : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPrinterJob(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPrinterJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPrinterJob2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPrinterJob2(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPrinterJob2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowPrinterJobStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowPrinterJobStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowPrinterJobStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowSourceContent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowSourceContent(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowSourceContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowSpoolStreamContent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowSpoolStreamContent(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowSpoolStreamContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowStreamTarget : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowStreamTarget(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowStreamTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowSubmittedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowSubmittedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowSubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowSubmittedOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowSubmittedOperation(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowSubmittedOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowTarget : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowTarget(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowUIActivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPrintWorkflowUIActivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowUIActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowUILauncher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowUILauncher(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowUILauncher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowVirtualPrinterDataAvailableEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowVirtualPrinterDataAvailableEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowVirtualPrinterDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowVirtualPrinterSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowVirtualPrinterSession(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowVirtualPrinterSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowVirtualPrinterTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowVirtualPrinterTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowVirtualPrinterTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowVirtualPrinterUIEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowVirtualPrinterUIEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowVirtualPrinterUIEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowXpsDataAvailableEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowXpsDataAvailableEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowXpsDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrintWorkflowXpsObjectModelProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrintWorkflowXpsObjectModelProvider(std::nullptr_t = nullptr) noexcept {} + IPrintWorkflowXpsObjectModelProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7822d704ae27f15a9ae3116c7fa8c560ae2743ed --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing.workflow.2.h @@ -0,0 +1,212 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing_Workflow_2_H +#define WINRT_Windows_Graphics_Printing_Workflow_2_H +#include "winrt/impl/Windows.ApplicationModel.Activation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Graphics.Printing.Workflow.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::Workflow +{ + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowBackgroundSession : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession + { + PrintWorkflowBackgroundSession(std::nullptr_t) noexcept {} + PrintWorkflowBackgroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowBackgroundSetupRequestedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs + { + PrintWorkflowBackgroundSetupRequestedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowBackgroundSetupRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowConfiguration : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration, + impl::require + { + PrintWorkflowConfiguration(std::nullptr_t) noexcept {} + PrintWorkflowConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowForegroundSession : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession + { + PrintWorkflowForegroundSession(std::nullptr_t) noexcept {} + PrintWorkflowForegroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowForegroundSetupRequestedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs + { + PrintWorkflowForegroundSetupRequestedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowForegroundSetupRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobActivatedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobActivatedEventArgs, + impl::require + { + PrintWorkflowJobActivatedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowJobActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobActivatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobBackgroundSession : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobBackgroundSession, + impl::require + { + PrintWorkflowJobBackgroundSession(std::nullptr_t) noexcept {} + PrintWorkflowJobBackgroundSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobBackgroundSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobIssueDetectedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobIssueDetectedEventArgs + { + PrintWorkflowJobIssueDetectedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowJobIssueDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobIssueDetectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobNotificationEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobNotificationEventArgs + { + PrintWorkflowJobNotificationEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowJobNotificationEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobNotificationEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobStartingEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobStartingEventArgs, + impl::require + { + PrintWorkflowJobStartingEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowJobStartingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobStartingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobTriggerDetails : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobTriggerDetails + { + PrintWorkflowJobTriggerDetails(std::nullptr_t) noexcept {} + PrintWorkflowJobTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowJobUISession : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobUISession, + impl::require + { + PrintWorkflowJobUISession(std::nullptr_t) noexcept {} + PrintWorkflowJobUISession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowJobUISession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowObjectModelSourceFileContent : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelSourceFileContent + { + PrintWorkflowObjectModelSourceFileContent(std::nullptr_t) noexcept {} + PrintWorkflowObjectModelSourceFileContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelSourceFileContent(ptr, take_ownership_from_abi) {} + explicit PrintWorkflowObjectModelSourceFileContent(winrt::Windows::Storage::Streams::IInputStream const& xpsStream); + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowObjectModelTargetPackage : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelTargetPackage + { + PrintWorkflowObjectModelTargetPackage(std::nullptr_t) noexcept {} + PrintWorkflowObjectModelTargetPackage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelTargetPackage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPdlConverter : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlConverter, + impl::require + { + PrintWorkflowPdlConverter(std::nullptr_t) noexcept {} + PrintWorkflowPdlConverter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlConverter(ptr, take_ownership_from_abi) {} + using winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlConverter::ConvertPdlAsync; + using impl::consume_t::ConvertPdlAsync; + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPdlDataAvailableEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlDataAvailableEventArgs + { + PrintWorkflowPdlDataAvailableEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowPdlDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlDataAvailableEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPdlModificationRequestedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlModificationRequestedEventArgs, + impl::require + { + PrintWorkflowPdlModificationRequestedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowPdlModificationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlModificationRequestedEventArgs(ptr, take_ownership_from_abi) {} + using winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlModificationRequestedEventArgs::CreateJobOnPrinterWithAttributes; + using impl::consume_t::CreateJobOnPrinterWithAttributes; + using winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlModificationRequestedEventArgs::CreateJobOnPrinterWithAttributesBuffer; + using impl::consume_t::CreateJobOnPrinterWithAttributesBuffer; + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPdlSourceContent : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlSourceContent + { + PrintWorkflowPdlSourceContent(std::nullptr_t) noexcept {} + PrintWorkflowPdlSourceContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlSourceContent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPdlTargetStream : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlTargetStream + { + PrintWorkflowPdlTargetStream(std::nullptr_t) noexcept {} + PrintWorkflowPdlTargetStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPdlTargetStream(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPrinterJob : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJob, + impl::require + { + PrintWorkflowPrinterJob(std::nullptr_t) noexcept {} + PrintWorkflowPrinterJob(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJob(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowPrinterJobStatusChangedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJobStatusChangedEventArgs + { + PrintWorkflowPrinterJobStatusChangedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowPrinterJobStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowPrinterJobStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowSourceContent : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent + { + PrintWorkflowSourceContent(std::nullptr_t) noexcept {} + PrintWorkflowSourceContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowSpoolStreamContent : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSpoolStreamContent + { + PrintWorkflowSpoolStreamContent(std::nullptr_t) noexcept {} + PrintWorkflowSpoolStreamContent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSpoolStreamContent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowStreamTarget : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowStreamTarget + { + PrintWorkflowStreamTarget(std::nullptr_t) noexcept {} + PrintWorkflowStreamTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowStreamTarget(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowSubmittedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs + { + PrintWorkflowSubmittedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowSubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowSubmittedOperation : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation + { + PrintWorkflowSubmittedOperation(std::nullptr_t) noexcept {} + PrintWorkflowSubmittedOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowTarget : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget + { + PrintWorkflowTarget(std::nullptr_t) noexcept {} + PrintWorkflowTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowTriggerDetails : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTriggerDetails + { + PrintWorkflowTriggerDetails(std::nullptr_t) noexcept {} + PrintWorkflowTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowUIActivatedEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUIActivatedEventArgs + { + PrintWorkflowUIActivatedEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowUIActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUIActivatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowUILauncher : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUILauncher + { + PrintWorkflowUILauncher(std::nullptr_t) noexcept {} + PrintWorkflowUILauncher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUILauncher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowVirtualPrinterDataAvailableEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterDataAvailableEventArgs + { + PrintWorkflowVirtualPrinterDataAvailableEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowVirtualPrinterDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterDataAvailableEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowVirtualPrinterSession : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterSession + { + PrintWorkflowVirtualPrinterSession(std::nullptr_t) noexcept {} + PrintWorkflowVirtualPrinterSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowVirtualPrinterTriggerDetails : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterTriggerDetails + { + PrintWorkflowVirtualPrinterTriggerDetails(std::nullptr_t) noexcept {} + PrintWorkflowVirtualPrinterTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowVirtualPrinterUIEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterUIEventArgs + { + PrintWorkflowVirtualPrinterUIEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowVirtualPrinterUIEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowVirtualPrinterUIEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowXpsDataAvailableEventArgs : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs + { + PrintWorkflowXpsDataAvailableEventArgs(std::nullptr_t) noexcept {} + PrintWorkflowXpsDataAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PrintWorkflowXpsObjectModelProvider : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelProvider, + impl::require + { + PrintWorkflowXpsObjectModelProvider(std::nullptr_t) noexcept {} + PrintWorkflowXpsObjectModelProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowObjectModelProvider(ptr, take_ownership_from_abi) {} + PrintWorkflowXpsObjectModelProvider(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.0.h new file mode 100644 index 0000000000000000000000000000000000000000..714a2b1adc7299a57a9901eba14c168c36c0d86f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.0.h @@ -0,0 +1,1280 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing3D_0_H +#define WINRT_Windows_Graphics_Printing3D_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStream; + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing3D +{ + enum class Print3DTaskCompletion : int32_t + { + Abandoned = 0, + Canceled = 1, + Failed = 2, + Slicing = 3, + Submitted = 4, + }; + enum class Print3DTaskDetail : int32_t + { + Unknown = 0, + ModelExceedsPrintBed = 1, + UploadFailed = 2, + InvalidMaterialSelection = 3, + InvalidModel = 4, + ModelNotManifold = 5, + InvalidPrintTicket = 6, + }; + enum class Printing3DBufferFormat : int32_t + { + Unknown = 0, + R32G32B32A32Float = 2, + R32G32B32A32UInt = 3, + R32G32B32Float = 6, + R32G32B32UInt = 7, + Printing3DDouble = 500, + Printing3DUInt = 501, + }; + enum class Printing3DMeshVerificationMode : int32_t + { + FindFirstError = 0, + FindAllErrors = 1, + }; + enum class Printing3DModelUnit : int32_t + { + Meter = 0, + Micron = 1, + Millimeter = 2, + Centimeter = 3, + Inch = 4, + Foot = 5, + }; + enum class Printing3DObjectType : int32_t + { + Model = 0, + Support = 1, + Others = 2, + }; + enum class Printing3DPackageCompression : int32_t + { + Low = 0, + Medium = 1, + High = 2, + }; + enum class Printing3DTextureEdgeBehavior : int32_t + { + None = 0, + Wrap = 1, + Mirror = 2, + Clamp = 3, + }; + struct IPrint3DManager; + struct IPrint3DManagerStatics; + struct IPrint3DTask; + struct IPrint3DTaskCompletedEventArgs; + struct IPrint3DTaskRequest; + struct IPrint3DTaskRequestedEventArgs; + struct IPrint3DTaskSourceChangedEventArgs; + struct IPrint3DTaskSourceRequestedArgs; + struct IPrinting3D3MFPackage; + struct IPrinting3D3MFPackage2; + struct IPrinting3D3MFPackageStatics; + struct IPrinting3DBaseMaterial; + struct IPrinting3DBaseMaterialGroup; + struct IPrinting3DBaseMaterialGroupFactory; + struct IPrinting3DBaseMaterialStatics; + struct IPrinting3DColorMaterial; + struct IPrinting3DColorMaterial2; + struct IPrinting3DColorMaterialGroup; + struct IPrinting3DColorMaterialGroupFactory; + struct IPrinting3DComponent; + struct IPrinting3DComponentWithMatrix; + struct IPrinting3DCompositeMaterial; + struct IPrinting3DCompositeMaterialGroup; + struct IPrinting3DCompositeMaterialGroup2; + struct IPrinting3DCompositeMaterialGroupFactory; + struct IPrinting3DFaceReductionOptions; + struct IPrinting3DMaterial; + struct IPrinting3DMesh; + struct IPrinting3DMeshVerificationResult; + struct IPrinting3DModel; + struct IPrinting3DModel2; + struct IPrinting3DModelTexture; + struct IPrinting3DMultiplePropertyMaterial; + struct IPrinting3DMultiplePropertyMaterialGroup; + struct IPrinting3DMultiplePropertyMaterialGroupFactory; + struct IPrinting3DTexture2CoordMaterial; + struct IPrinting3DTexture2CoordMaterialGroup; + struct IPrinting3DTexture2CoordMaterialGroup2; + struct IPrinting3DTexture2CoordMaterialGroupFactory; + struct IPrinting3DTextureResource; + struct Print3DManager; + struct Print3DTask; + struct Print3DTaskCompletedEventArgs; + struct Print3DTaskRequest; + struct Print3DTaskRequestedEventArgs; + struct Print3DTaskSourceChangedEventArgs; + struct Print3DTaskSourceRequestedArgs; + struct Printing3D3MFPackage; + struct Printing3DBaseMaterial; + struct Printing3DBaseMaterialGroup; + struct Printing3DColorMaterial; + struct Printing3DColorMaterialGroup; + struct Printing3DComponent; + struct Printing3DComponentWithMatrix; + struct Printing3DCompositeMaterial; + struct Printing3DCompositeMaterialGroup; + struct Printing3DFaceReductionOptions; + struct Printing3DMaterial; + struct Printing3DMesh; + struct Printing3DMeshVerificationResult; + struct Printing3DModel; + struct Printing3DModelTexture; + struct Printing3DMultiplePropertyMaterial; + struct Printing3DMultiplePropertyMaterialGroup; + struct Printing3DTexture2CoordMaterial; + struct Printing3DTexture2CoordMaterialGroup; + struct Printing3DTextureResource; + struct Printing3DBufferDescription; + struct Print3DTaskSourceRequestedHandler; + struct Printing3DContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DManager"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTask"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskSourceChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskSourceRequestedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3D3MFPackage"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DBaseMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DColorMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DColorMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DComponent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DComponentWithMatrix"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DCompositeMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DFaceReductionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMesh"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMeshVerificationResult"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DModel"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DModelTexture"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DTextureResource"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskCompletion"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskDetail"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DBufferFormat"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DMeshVerificationMode"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DModelUnit"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DObjectType"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DPackageCompression"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DTextureEdgeBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DBufferDescription"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DManager"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTask"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTaskCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTaskRequest"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTaskRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTaskSourceChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrint3DTaskSourceRequestedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3D3MFPackage"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3D3MFPackage2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3D3MFPackageStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DBaseMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DBaseMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DBaseMaterialGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DBaseMaterialStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DColorMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DColorMaterial2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DComponent"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DComponentWithMatrix"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DCompositeMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroup2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DFaceReductionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMesh"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMeshVerificationResult"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DModel"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DModel2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DModelTexture"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMultiplePropertyMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMultiplePropertyMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DMultiplePropertyMaterialGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DTexture2CoordMaterial"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DTexture2CoordMaterialGroup"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DTexture2CoordMaterialGroup2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DTexture2CoordMaterialGroupFactory"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.IPrinting3DTextureResource"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Print3DTaskSourceRequestedHandler"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Printing3D.Printing3DContract"; + template <> inline constexpr guid guid_v{ 0x4D2FCB0A,0x7366,0x4971,{ 0x8B,0xD5,0x17,0xC4,0xE3,0xE8,0xC6,0xC0 } }; // 4D2FCB0A-7366-4971-8BD5-17C4E3E8C6C0 + template <> inline constexpr guid guid_v{ 0x0EF1CAFE,0xA9AD,0x4C08,{ 0xA9,0x17,0x1D,0x1F,0x86,0x3E,0xAB,0xCB } }; // 0EF1CAFE-A9AD-4C08-A917-1D1F863EABCB + template <> inline constexpr guid guid_v{ 0x8CE3D080,0x2118,0x4C28,{ 0x80,0xDE,0xF4,0x26,0xD7,0x01,0x91,0xAE } }; // 8CE3D080-2118-4C28-80DE-F426D70191AE + template <> inline constexpr guid guid_v{ 0xCC1914AF,0x2614,0x4F1D,{ 0xAC,0xCC,0xD6,0xFC,0x4F,0xDA,0x54,0x55 } }; // CC1914AF-2614-4F1D-ACCC-D6FC4FDA5455 + template <> inline constexpr guid guid_v{ 0x2595C46F,0x2245,0x4C5A,{ 0x87,0x31,0x0D,0x60,0x4D,0xC6,0xBC,0x3C } }; // 2595C46F-2245-4C5A-8731-0D604DC6BC3C + template <> inline constexpr guid guid_v{ 0x150CB77F,0x18C5,0x40D7,{ 0x9F,0x40,0xFA,0xB3,0x09,0x6E,0x05,0xA9 } }; // 150CB77F-18C5-40D7-9F40-FAB3096E05A9 + template <> inline constexpr guid guid_v{ 0x5BCD34AF,0x24E9,0x4C10,{ 0x8D,0x07,0x14,0xC3,0x46,0xBA,0x3F,0xCF } }; // 5BCD34AF-24E9-4C10-8D07-14C346BA3FCF + template <> inline constexpr guid guid_v{ 0xC77C9ABA,0x24AF,0x424D,{ 0xA3,0xBF,0x92,0x25,0x0C,0x35,0x56,0x02 } }; // C77C9ABA-24AF-424D-A3BF-92250C355602 + template <> inline constexpr guid guid_v{ 0xF64DD5C8,0x2AB7,0x45A9,{ 0xA1,0xB7,0x26,0x7E,0x94,0x8D,0x5B,0x18 } }; // F64DD5C8-2AB7-45A9-A1B7-267E948D5B18 + template <> inline constexpr guid guid_v{ 0x965C7AC4,0x93CB,0x4430,{ 0x92,0xB8,0x78,0x9C,0xD4,0x54,0xF8,0x83 } }; // 965C7AC4-93CB-4430-92B8-789CD454F883 + template <> inline constexpr guid guid_v{ 0x7058D9AF,0x7A9A,0x4787,{ 0xB8,0x17,0xF6,0xF4,0x59,0x21,0x48,0x23 } }; // 7058D9AF-7A9A-4787-B817-F6F459214823 + template <> inline constexpr guid guid_v{ 0xD0F0E743,0xC50C,0x4BCB,{ 0x9D,0x04,0xFC,0x16,0xAD,0xCE,0xA2,0xC9 } }; // D0F0E743-C50C-4BCB-9D04-FC16ADCEA2C9 + template <> inline constexpr guid guid_v{ 0x94F070B8,0x2515,0x4A8D,{ 0xA1,0xF0,0xD0,0xFC,0x13,0xD0,0x60,0x21 } }; // 94F070B8-2515-4A8D-A1F0-D0FC13D06021 + template <> inline constexpr guid guid_v{ 0x5C1546DC,0x8697,0x4193,{ 0x97,0x6B,0x84,0xBB,0x41,0x16,0xE5,0xBF } }; // 5C1546DC-8697-4193-976B-84BB4116E5BF + template <> inline constexpr guid guid_v{ 0x815A47BC,0x374A,0x476D,{ 0xBE,0x92,0x3E,0xCF,0xD1,0xCB,0x97,0x76 } }; // 815A47BC-374A-476D-BE92-3ECFD1CB9776 + template <> inline constexpr guid guid_v{ 0xE1899928,0x7CE7,0x4285,{ 0xA3,0x5D,0xF1,0x45,0xC9,0x51,0x0C,0x7B } }; // E1899928-7CE7-4285-A35D-F145C9510C7B + template <> inline constexpr guid guid_v{ 0xFAB0E852,0x0AEF,0x44E9,{ 0x9D,0xDD,0x36,0xEE,0xEA,0x5A,0xCD,0x44 } }; // FAB0E852-0AEF-44E9-9DDD-36EEEA5ACD44 + template <> inline constexpr guid guid_v{ 0x001A6BD0,0xAADF,0x4226,{ 0xAF,0xE9,0xF3,0x69,0xA0,0xB4,0x50,0x04 } }; // 001A6BD0-AADF-4226-AFE9-F369A0B45004 + template <> inline constexpr guid guid_v{ 0x71D38D6D,0xB1EA,0x4A5B,{ 0xBC,0x54,0x19,0xC6,0x5F,0x3D,0xF0,0x44 } }; // 71D38D6D-B1EA-4A5B-BC54-19C65F3DF044 + template <> inline constexpr guid guid_v{ 0x7E287845,0xBF7F,0x4CDB,{ 0xA2,0x7F,0x30,0xA0,0x14,0x37,0xFE,0xDE } }; // 7E287845-BF7F-4CDB-A27F-30A01437FEDE + template <> inline constexpr guid guid_v{ 0x3279F335,0x0EF0,0x456B,{ 0x9A,0x21,0x49,0xBE,0xBE,0x8B,0x51,0xC2 } }; // 3279F335-0EF0-456B-9A21-49BEBE8B51C2 + template <> inline constexpr guid guid_v{ 0x462238DD,0x562E,0x4F6C,{ 0x88,0x2D,0xF4,0xD8,0x41,0xFD,0x63,0xC7 } }; // 462238DD-562E-4F6C-882D-F4D841FD63C7 + template <> inline constexpr guid guid_v{ 0x8D946A5B,0x40F1,0x496D,{ 0xA5,0xFB,0x34,0x0A,0x5A,0x67,0x8E,0x30 } }; // 8D946A5B-40F1-496D-A5FB-340A5A678E30 + template <> inline constexpr guid guid_v{ 0x06E86D62,0x7D3B,0x41E1,{ 0x94,0x4C,0xBA,0xFD,0xE4,0x55,0x54,0x83 } }; // 06E86D62-7D3B-41E1-944C-BAFDE4555483 + template <> inline constexpr guid guid_v{ 0xD08ECD13,0x92FF,0x43AA,{ 0xA6,0x27,0x8D,0x43,0xC2,0x2C,0x81,0x7E } }; // D08ECD13-92FF-43AA-A627-8D43C22C817E + template <> inline constexpr guid guid_v{ 0xBBFED397,0x2D74,0x46F7,{ 0xBE,0x85,0x99,0xA6,0x7B,0xBB,0x66,0x29 } }; // BBFED397-2D74-46F7-BE85-99A67BBB6629 + template <> inline constexpr guid guid_v{ 0x378DB256,0xED62,0x4952,{ 0xB8,0x5B,0x03,0x56,0x7D,0x7C,0x46,0x5E } }; // 378DB256-ED62-4952-B85B-03567D7C465E + template <> inline constexpr guid guid_v{ 0x192E90DC,0x0228,0x2E01,{ 0xBC,0x20,0xC5,0x29,0x0C,0xBF,0x32,0xC4 } }; // 192E90DC-0228-2E01-BC20-C5290CBF32C4 + template <> inline constexpr guid guid_v{ 0x195671BA,0xE93A,0x4E8A,{ 0xA4,0x6F,0xDE,0xA8,0xE8,0x52,0x19,0x7E } }; // 195671BA-E93A-4E8A-A46F-DEA8E852197E + template <> inline constexpr guid guid_v{ 0x2D012EF0,0x52FB,0x919A,{ 0x77,0xB0,0x4B,0x1A,0x3B,0x80,0x32,0x4F } }; // 2D012EF0-52FB-919A-77B0-4B1A3B80324F + template <> inline constexpr guid guid_v{ 0xC92069C7,0xC841,0x47F3,{ 0xA8,0x4E,0xA1,0x49,0xFD,0x08,0xB6,0x57 } }; // C92069C7-C841-47F3-A84E-A149FD08B657 + template <> inline constexpr guid guid_v{ 0x5DAFCF01,0xB59D,0x483C,{ 0x97,0xBB,0xA4,0xD5,0x46,0xD1,0xC7,0x5C } }; // 5DAFCF01-B59D-483C-97BB-A4D546D1C75C + template <> inline constexpr guid guid_v{ 0x25A6254B,0xC6E9,0x484D,{ 0xA2,0x14,0xA2,0x5E,0x57,0x76,0xBA,0x62 } }; // 25A6254B-C6E9-484D-A214-A25E5776BA62 + template <> inline constexpr guid guid_v{ 0xF0950519,0xAEB9,0x4515,{ 0xA3,0x9B,0xA0,0x88,0xFB,0xBB,0x27,0x7C } }; // F0950519-AEB9-4515-A39B-A088FBBB277C + template <> inline constexpr guid guid_v{ 0x323E196E,0xD4C6,0x451E,{ 0xA8,0x14,0x4D,0x78,0xA2,0x10,0xFE,0x53 } }; // 323E196E-D4C6-451E-A814-4D78A210FE53 + template <> inline constexpr guid guid_v{ 0x8D844BFB,0x07E9,0x4986,{ 0x98,0x33,0x8D,0xD3,0xD4,0x8C,0x68,0x59 } }; // 8D844BFB-07E9-4986-9833-8DD3D48C6859 + template <> inline constexpr guid guid_v{ 0x627D7CA7,0x6D90,0x4FB9,{ 0x9F,0xC4,0x9F,0xEF,0xF3,0xDF,0xA8,0x92 } }; // 627D7CA7-6D90-4FB9-9FC4-9FEFF3DFA892 + template <> inline constexpr guid guid_v{ 0x69FBDBBA,0xB12E,0x429B,{ 0x83,0x86,0xDF,0x52,0x84,0xF6,0xE8,0x0F } }; // 69FBDBBA-B12E-429B-8386-DF5284F6E80F + template <> inline constexpr guid guid_v{ 0xCBB049B0,0x468A,0x4C6F,{ 0xB2,0xA2,0x8E,0xB8,0xBA,0x8D,0xEA,0x48 } }; // CBB049B0-468A-4C6F-B2A2-8EB8BA8DEA48 + template <> inline constexpr guid guid_v{ 0xA70DF32D,0x6AB1,0x44AE,{ 0xBC,0x45,0xA2,0x73,0x82,0xC0,0xD3,0x8C } }; // A70DF32D-6AB1-44AE-BC45-A27382C0D38C + template <> inline constexpr guid guid_v{ 0xE9175E70,0xC917,0x46DE,{ 0xBB,0x51,0xD9,0xA9,0x4D,0xB3,0x71,0x1F } }; // E9175E70-C917-46DE-BB51-D9A94DB3711F + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DManager; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTask; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DComponent; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DMesh; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DModel; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_TaskRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TaskRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall ShowPrintUIAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall add_Submitting(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Submitting(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Completed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Completed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Completion(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateTask(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSource(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_PrintTicket(void**) noexcept = 0; + virtual int32_t __stdcall put_PrintTicket(void*) noexcept = 0; + virtual int32_t __stdcall get_ModelPart(void**) noexcept = 0; + virtual int32_t __stdcall put_ModelPart(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_Textures(void**) noexcept = 0; + virtual int32_t __stdcall LoadModelFromPackageAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SaveModelToPackageAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Compression(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Compression(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Color(void**) noexcept = 0; + virtual int32_t __stdcall put_Color(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Bases(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Abs(void**) noexcept = 0; + virtual int32_t __stdcall get_Pla(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Value(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Colors(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mesh(void**) noexcept = 0; + virtual int32_t __stdcall put_Mesh(void*) noexcept = 0; + virtual int32_t __stdcall get_Components(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_PartNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_PartNumber(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Component(void**) noexcept = 0; + virtual int32_t __stdcall put_Component(void*) noexcept = 0; + virtual int32_t __stdcall get_Matrix(winrt::Windows::Foundation::Numerics::float4x4*) noexcept = 0; + virtual int32_t __stdcall put_Matrix(winrt::Windows::Foundation::Numerics::float4x4) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Values(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Composites(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaterialIndices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BaseMaterialGroup(void**) noexcept = 0; + virtual int32_t __stdcall put_BaseMaterialGroup(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxReductionArea(double*) noexcept = 0; + virtual int32_t __stdcall put_MaxReductionArea(double) noexcept = 0; + virtual int32_t __stdcall get_TargetTriangleCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TargetTriangleCount(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxEdgeLength(double*) noexcept = 0; + virtual int32_t __stdcall put_MaxEdgeLength(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BaseGroups(void**) noexcept = 0; + virtual int32_t __stdcall get_ColorGroups(void**) noexcept = 0; + virtual int32_t __stdcall get_Texture2CoordGroups(void**) noexcept = 0; + virtual int32_t __stdcall get_CompositeGroups(void**) noexcept = 0; + virtual int32_t __stdcall get_MultiplePropertyGroups(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VertexCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_VertexCount(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_IndexCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_IndexCount(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_VertexPositionsDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription*) noexcept = 0; + virtual int32_t __stdcall put_VertexPositionsDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription) noexcept = 0; + virtual int32_t __stdcall get_VertexNormalsDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription*) noexcept = 0; + virtual int32_t __stdcall put_VertexNormalsDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription) noexcept = 0; + virtual int32_t __stdcall get_TriangleIndicesDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription*) noexcept = 0; + virtual int32_t __stdcall put_TriangleIndicesDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription) noexcept = 0; + virtual int32_t __stdcall get_TriangleMaterialIndicesDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription*) noexcept = 0; + virtual int32_t __stdcall put_TriangleMaterialIndicesDescription(struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription) noexcept = 0; + virtual int32_t __stdcall GetVertexPositions(void**) noexcept = 0; + virtual int32_t __stdcall CreateVertexPositions(uint32_t) noexcept = 0; + virtual int32_t __stdcall GetVertexNormals(void**) noexcept = 0; + virtual int32_t __stdcall CreateVertexNormals(uint32_t) noexcept = 0; + virtual int32_t __stdcall GetTriangleIndices(void**) noexcept = 0; + virtual int32_t __stdcall CreateTriangleIndices(uint32_t) noexcept = 0; + virtual int32_t __stdcall GetTriangleMaterialIndices(void**) noexcept = 0; + virtual int32_t __stdcall CreateTriangleMaterialIndices(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BufferDescriptionSet(void**) noexcept = 0; + virtual int32_t __stdcall get_BufferSet(void**) noexcept = 0; + virtual int32_t __stdcall VerifyAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsValid(bool*) noexcept = 0; + virtual int32_t __stdcall get_NonmanifoldTriangles(void**) noexcept = 0; + virtual int32_t __stdcall get_ReversedNormalTriangles(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Unit(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Unit(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Textures(void**) noexcept = 0; + virtual int32_t __stdcall get_Meshes(void**) noexcept = 0; + virtual int32_t __stdcall get_Components(void**) noexcept = 0; + virtual int32_t __stdcall get_Material(void**) noexcept = 0; + virtual int32_t __stdcall put_Material(void*) noexcept = 0; + virtual int32_t __stdcall get_Build(void**) noexcept = 0; + virtual int32_t __stdcall put_Build(void*) noexcept = 0; + virtual int32_t __stdcall get_Version(void**) noexcept = 0; + virtual int32_t __stdcall put_Version(void*) noexcept = 0; + virtual int32_t __stdcall get_RequiredExtensions(void**) noexcept = 0; + virtual int32_t __stdcall get_Metadata(void**) noexcept = 0; + virtual int32_t __stdcall RepairAsync(void**) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryPartialRepairAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryPartialRepairWithTimeAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall TryReduceFacesAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryReduceFacesWithOptionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryReduceFacesWithOptionsAndTimeAsync(void*, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall RepairWithProgressAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TextureResource(void**) noexcept = 0; + virtual int32_t __stdcall put_TextureResource(void*) noexcept = 0; + virtual int32_t __stdcall get_TileStyleU(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TileStyleU(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TileStyleV(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TileStyleV(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaterialIndices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MultipleProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupIndices(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Texture(void**) noexcept = 0; + virtual int32_t __stdcall put_Texture(void*) noexcept = 0; + virtual int32_t __stdcall get_U(double*) noexcept = 0; + virtual int32_t __stdcall put_U(double) noexcept = 0; + virtual int32_t __stdcall get_V(double*) noexcept = 0; + virtual int32_t __stdcall put_V(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Texture2Coords(void**) noexcept = 0; + virtual int32_t __stdcall get_MaterialGroupId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Texture(void**) noexcept = 0; + virtual int32_t __stdcall put_Texture(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TextureData(void**) noexcept = 0; + virtual int32_t __stdcall put_TextureData(void*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DManager + { + auto TaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using TaskRequested_revoker = impl::event_revoker::remove_TaskRequested>; + [[nodiscard]] auto TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto TaskRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DManager; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics + { + auto GetForCurrentView() const; + auto ShowPrintUIAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTask + { + [[nodiscard]] auto Source() const; + auto Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Submitting_revoker = impl::event_revoker::remove_Submitting>; + [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Submitting(winrt::event_token const& eventCookie) const noexcept; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Completed_revoker = impl::event_revoker::remove_Completed>; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Completed(winrt::event_token const& eventCookie) const noexcept; + auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using SourceChanged_revoker = impl::event_revoker::remove_SourceChanged>; + [[nodiscard]] auto SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto SourceChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTask; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs + { + [[nodiscard]] auto Completion() const; + [[nodiscard]] auto ExtendedStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest + { + auto CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs + { + [[nodiscard]] auto Source() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs + { + auto SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage + { + auto SaveAsync() const; + [[nodiscard]] auto PrintTicket() const; + auto PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto ModelPart() const; + auto ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto Textures() const; + auto LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2 + { + [[nodiscard]] auto Compression() const; + auto Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics + { + auto LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup + { + [[nodiscard]] auto Bases() const; + [[nodiscard]] auto MaterialGroupId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory + { + auto Create(uint32_t MaterialGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics + { + [[nodiscard]] auto Abs() const; + [[nodiscard]] auto Pla() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial + { + [[nodiscard]] auto Value() const; + auto Value(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2 + { + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup + { + [[nodiscard]] auto Colors() const; + [[nodiscard]] auto MaterialGroupId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory + { + auto Create(uint32_t MaterialGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DComponent + { + [[nodiscard]] auto Mesh() const; + auto Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const; + [[nodiscard]] auto Components() const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto PartNumber() const; + auto PartNumber(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DComponent; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix + { + [[nodiscard]] auto Component() const; + auto Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; + [[nodiscard]] auto Matrix() const; + auto Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial + { + [[nodiscard]] auto Values() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup + { + [[nodiscard]] auto Composites() const; + [[nodiscard]] auto MaterialGroupId() const; + [[nodiscard]] auto MaterialIndices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2 + { + [[nodiscard]] auto BaseMaterialGroup() const; + auto BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory + { + auto Create(uint32_t MaterialGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions + { + [[nodiscard]] auto MaxReductionArea() const; + auto MaxReductionArea(double value) const; + [[nodiscard]] auto TargetTriangleCount() const; + auto TargetTriangleCount(uint32_t value) const; + [[nodiscard]] auto MaxEdgeLength() const; + auto MaxEdgeLength(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMaterial + { + [[nodiscard]] auto BaseGroups() const; + [[nodiscard]] auto ColorGroups() const; + [[nodiscard]] auto Texture2CoordGroups() const; + [[nodiscard]] auto CompositeGroups() const; + [[nodiscard]] auto MultiplePropertyGroups() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMesh + { + [[nodiscard]] auto VertexCount() const; + auto VertexCount(uint32_t value) const; + [[nodiscard]] auto IndexCount() const; + auto IndexCount(uint32_t value) const; + [[nodiscard]] auto VertexPositionsDescription() const; + auto VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto VertexNormalsDescription() const; + auto VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto TriangleIndicesDescription() const; + auto TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto TriangleMaterialIndicesDescription() const; + auto TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + auto GetVertexPositions() const; + auto CreateVertexPositions(uint32_t value) const; + auto GetVertexNormals() const; + auto CreateVertexNormals(uint32_t value) const; + auto GetTriangleIndices() const; + auto CreateTriangleIndices(uint32_t value) const; + auto GetTriangleMaterialIndices() const; + auto CreateTriangleMaterialIndices(uint32_t value) const; + [[nodiscard]] auto BufferDescriptionSet() const; + [[nodiscard]] auto BufferSet() const; + auto VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMesh; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult + { + [[nodiscard]] auto IsValid() const; + [[nodiscard]] auto NonmanifoldTriangles() const; + [[nodiscard]] auto ReversedNormalTriangles() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DModel + { + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const; + [[nodiscard]] auto Textures() const; + [[nodiscard]] auto Meshes() const; + [[nodiscard]] auto Components() const; + [[nodiscard]] auto Material() const; + auto Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const; + [[nodiscard]] auto Build() const; + auto Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; + [[nodiscard]] auto RequiredExtensions() const; + [[nodiscard]] auto Metadata() const; + auto RepairAsync() const; + auto Clone() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DModel; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DModel2 + { + auto TryPartialRepairAsync() const; + auto TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const; + auto TryReduceFacesAsync() const; + auto TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const; + auto TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const; + auto RepairWithProgressAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DModel2; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture + { + [[nodiscard]] auto TextureResource() const; + auto TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto TileStyleU() const; + auto TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; + [[nodiscard]] auto TileStyleV() const; + auto TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial + { + [[nodiscard]] auto MaterialIndices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup + { + [[nodiscard]] auto MultipleProperties() const; + [[nodiscard]] auto MaterialGroupIndices() const; + [[nodiscard]] auto MaterialGroupId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory + { + auto Create(uint32_t MaterialGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial + { + [[nodiscard]] auto Texture() const; + auto Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; + [[nodiscard]] auto U() const; + auto U(double value) const; + [[nodiscard]] auto V() const; + auto V(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup + { + [[nodiscard]] auto Texture2Coords() const; + [[nodiscard]] auto MaterialGroupId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2 + { + [[nodiscard]] auto Texture() const; + auto Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory + { + auto Create(uint32_t MaterialGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory; + }; + template + struct consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource + { + [[nodiscard]] auto TextureData() const; + auto TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource; + }; + struct struct_Windows_Graphics_Printing3D_Printing3DBufferDescription + { + int32_t Format; + uint32_t Stride; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_Printing3D_Printing3DBufferDescription; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e223994a5944dacac47a7e149ed8b9fb336712bb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.1.h @@ -0,0 +1,293 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing3D_1_H +#define WINRT_Windows_Graphics_Printing3D_1_H +#include "winrt/impl/Windows.Graphics.Printing3D.0.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing3D +{ + struct WINRT_IMPL_EMPTY_BASES IPrint3DManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DManager(std::nullptr_t = nullptr) noexcept {} + IPrint3DManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPrint3DManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTask : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTask(std::nullptr_t = nullptr) noexcept {} + IPrint3DTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTaskCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTaskCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DTaskCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTaskRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTaskRequest(std::nullptr_t = nullptr) noexcept {} + IPrint3DTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTaskRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTaskRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DTaskRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTaskSourceChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTaskSourceChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DTaskSourceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrint3DTaskSourceRequestedArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrint3DTaskSourceRequestedArgs(std::nullptr_t = nullptr) noexcept {} + IPrint3DTaskSourceRequestedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3D3MFPackage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3D3MFPackage(std::nullptr_t = nullptr) noexcept {} + IPrinting3D3MFPackage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3D3MFPackage2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3D3MFPackage2(std::nullptr_t = nullptr) noexcept {} + IPrinting3D3MFPackage2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3D3MFPackageStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3D3MFPackageStatics(std::nullptr_t = nullptr) noexcept {} + IPrinting3D3MFPackageStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DBaseMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DBaseMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DBaseMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DBaseMaterialGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DBaseMaterialGroup(std::nullptr_t = nullptr) noexcept {} + IPrinting3DBaseMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DBaseMaterialGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DBaseMaterialGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPrinting3DBaseMaterialGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DBaseMaterialStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DBaseMaterialStatics(std::nullptr_t = nullptr) noexcept {} + IPrinting3DBaseMaterialStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DColorMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DColorMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DColorMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DColorMaterial2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DColorMaterial2(std::nullptr_t = nullptr) noexcept {} + IPrinting3DColorMaterial2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DColorMaterialGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DColorMaterialGroup(std::nullptr_t = nullptr) noexcept {} + IPrinting3DColorMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DColorMaterialGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DColorMaterialGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPrinting3DColorMaterialGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DComponent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DComponent(std::nullptr_t = nullptr) noexcept {} + IPrinting3DComponent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DComponentWithMatrix : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DComponentWithMatrix(std::nullptr_t = nullptr) noexcept {} + IPrinting3DComponentWithMatrix(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DCompositeMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DCompositeMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DCompositeMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DCompositeMaterialGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DCompositeMaterialGroup(std::nullptr_t = nullptr) noexcept {} + IPrinting3DCompositeMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DCompositeMaterialGroup2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DCompositeMaterialGroup2(std::nullptr_t = nullptr) noexcept {} + IPrinting3DCompositeMaterialGroup2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DCompositeMaterialGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DCompositeMaterialGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPrinting3DCompositeMaterialGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DFaceReductionOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DFaceReductionOptions(std::nullptr_t = nullptr) noexcept {} + IPrinting3DFaceReductionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMesh : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMesh(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMesh(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMeshVerificationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMeshVerificationResult(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMeshVerificationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DModel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DModel(std::nullptr_t = nullptr) noexcept {} + IPrinting3DModel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DModel2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DModel2(std::nullptr_t = nullptr) noexcept {} + IPrinting3DModel2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DModelTexture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DModelTexture(std::nullptr_t = nullptr) noexcept {} + IPrinting3DModelTexture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMultiplePropertyMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMultiplePropertyMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMultiplePropertyMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMultiplePropertyMaterialGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMultiplePropertyMaterialGroup(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMultiplePropertyMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DMultiplePropertyMaterialGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DMultiplePropertyMaterialGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPrinting3DMultiplePropertyMaterialGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DTexture2CoordMaterial : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DTexture2CoordMaterial(std::nullptr_t = nullptr) noexcept {} + IPrinting3DTexture2CoordMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DTexture2CoordMaterialGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DTexture2CoordMaterialGroup(std::nullptr_t = nullptr) noexcept {} + IPrinting3DTexture2CoordMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DTexture2CoordMaterialGroup2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DTexture2CoordMaterialGroup2(std::nullptr_t = nullptr) noexcept {} + IPrinting3DTexture2CoordMaterialGroup2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DTexture2CoordMaterialGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DTexture2CoordMaterialGroupFactory(std::nullptr_t = nullptr) noexcept {} + IPrinting3DTexture2CoordMaterialGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrinting3DTextureResource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrinting3DTextureResource(std::nullptr_t = nullptr) noexcept {} + IPrinting3DTextureResource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.2.h new file mode 100644 index 0000000000000000000000000000000000000000..9ec22623274ef2e9ad0ffbbc59e45992bd8fce6e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.graphics.printing3d.2.h @@ -0,0 +1,204 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Graphics_Printing3D_2_H +#define WINRT_Windows_Graphics_Printing3D_2_H +#include "winrt/impl/Windows.Storage.Streams.2.h" +#include "winrt/impl/Windows.Graphics.Printing3D.1.h" +WINRT_EXPORT namespace winrt::Windows::Graphics::Printing3D +{ + struct Print3DTaskSourceRequestedHandler : winrt::Windows::Foundation::IUnknown + { + Print3DTaskSourceRequestedHandler(std::nullptr_t = nullptr) noexcept {} + Print3DTaskSourceRequestedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template Print3DTaskSourceRequestedHandler(L lambda); + template Print3DTaskSourceRequestedHandler(F* function); + template Print3DTaskSourceRequestedHandler(O* object, M method); + template Print3DTaskSourceRequestedHandler(com_ptr&& object, M method); + template Print3DTaskSourceRequestedHandler(weak_ref&& object, LM&& lambda_or_method); + template Print3DTaskSourceRequestedHandler(std::shared_ptr&& object, M method); + template Print3DTaskSourceRequestedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedArgs const& args) const; + }; + struct Printing3DBufferDescription + { + winrt::Windows::Graphics::Printing3D::Printing3DBufferFormat Format {}; + uint32_t Stride {}; + }; + inline bool operator==(Printing3DBufferDescription const& left, Printing3DBufferDescription const& right) noexcept + { + return left.Format == right.Format && left.Stride == right.Stride; + } + inline bool operator!=(Printing3DBufferDescription const& left, Printing3DBufferDescription const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES Print3DManager : winrt::Windows::Graphics::Printing3D::IPrint3DManager + { + Print3DManager(std::nullptr_t) noexcept {} + Print3DManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DManager(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto ShowPrintUIAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTask : winrt::Windows::Graphics::Printing3D::IPrint3DTask + { + Print3DTask(std::nullptr_t) noexcept {} + Print3DTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTask(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTaskCompletedEventArgs : winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs + { + Print3DTaskCompletedEventArgs(std::nullptr_t) noexcept {} + Print3DTaskCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTaskRequest : winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequest + { + Print3DTaskRequest(std::nullptr_t) noexcept {} + Print3DTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTaskRequestedEventArgs : winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequestedEventArgs + { + Print3DTaskRequestedEventArgs(std::nullptr_t) noexcept {} + Print3DTaskRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTaskSourceChangedEventArgs : winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceChangedEventArgs + { + Print3DTaskSourceChangedEventArgs(std::nullptr_t) noexcept {} + Print3DTaskSourceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Print3DTaskSourceRequestedArgs : winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs + { + Print3DTaskSourceRequestedArgs(std::nullptr_t) noexcept {} + Print3DTaskSourceRequestedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Printing3D3MFPackage : winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage, + impl::require + { + Printing3D3MFPackage(std::nullptr_t) noexcept {} + Printing3D3MFPackage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage(ptr, take_ownership_from_abi) {} + Printing3D3MFPackage(); + static auto LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DBaseMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial + { + Printing3DBaseMaterial(std::nullptr_t) noexcept {} + Printing3DBaseMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial(ptr, take_ownership_from_abi) {} + Printing3DBaseMaterial(); + [[nodiscard]] static auto Abs(); + [[nodiscard]] static auto Pla(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DBaseMaterialGroup : winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup + { + Printing3DBaseMaterialGroup(std::nullptr_t) noexcept {} + Printing3DBaseMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup(ptr, take_ownership_from_abi) {} + explicit Printing3DBaseMaterialGroup(uint32_t MaterialGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DColorMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial, + impl::require + { + Printing3DColorMaterial(std::nullptr_t) noexcept {} + Printing3DColorMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial(ptr, take_ownership_from_abi) {} + Printing3DColorMaterial(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DColorMaterialGroup : winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup + { + Printing3DColorMaterialGroup(std::nullptr_t) noexcept {} + Printing3DColorMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup(ptr, take_ownership_from_abi) {} + explicit Printing3DColorMaterialGroup(uint32_t MaterialGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DComponent : winrt::Windows::Graphics::Printing3D::IPrinting3DComponent + { + Printing3DComponent(std::nullptr_t) noexcept {} + Printing3DComponent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DComponent(ptr, take_ownership_from_abi) {} + Printing3DComponent(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DComponentWithMatrix : winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix + { + Printing3DComponentWithMatrix(std::nullptr_t) noexcept {} + Printing3DComponentWithMatrix(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix(ptr, take_ownership_from_abi) {} + Printing3DComponentWithMatrix(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DCompositeMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial + { + Printing3DCompositeMaterial(std::nullptr_t) noexcept {} + Printing3DCompositeMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial(ptr, take_ownership_from_abi) {} + Printing3DCompositeMaterial(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DCompositeMaterialGroup : winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup, + impl::require + { + Printing3DCompositeMaterialGroup(std::nullptr_t) noexcept {} + Printing3DCompositeMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup(ptr, take_ownership_from_abi) {} + explicit Printing3DCompositeMaterialGroup(uint32_t MaterialGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DFaceReductionOptions : winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions + { + Printing3DFaceReductionOptions(std::nullptr_t) noexcept {} + Printing3DFaceReductionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions(ptr, take_ownership_from_abi) {} + Printing3DFaceReductionOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial + { + Printing3DMaterial(std::nullptr_t) noexcept {} + Printing3DMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial(ptr, take_ownership_from_abi) {} + Printing3DMaterial(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DMesh : winrt::Windows::Graphics::Printing3D::IPrinting3DMesh + { + Printing3DMesh(std::nullptr_t) noexcept {} + Printing3DMesh(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DMesh(ptr, take_ownership_from_abi) {} + Printing3DMesh(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DMeshVerificationResult : winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult + { + Printing3DMeshVerificationResult(std::nullptr_t) noexcept {} + Printing3DMeshVerificationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DModel : winrt::Windows::Graphics::Printing3D::IPrinting3DModel, + impl::require + { + Printing3DModel(std::nullptr_t) noexcept {} + Printing3DModel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DModel(ptr, take_ownership_from_abi) {} + Printing3DModel(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DModelTexture : winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture + { + Printing3DModelTexture(std::nullptr_t) noexcept {} + Printing3DModelTexture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture(ptr, take_ownership_from_abi) {} + Printing3DModelTexture(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DMultiplePropertyMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial + { + Printing3DMultiplePropertyMaterial(std::nullptr_t) noexcept {} + Printing3DMultiplePropertyMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial(ptr, take_ownership_from_abi) {} + Printing3DMultiplePropertyMaterial(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DMultiplePropertyMaterialGroup : winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup + { + Printing3DMultiplePropertyMaterialGroup(std::nullptr_t) noexcept {} + Printing3DMultiplePropertyMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup(ptr, take_ownership_from_abi) {} + explicit Printing3DMultiplePropertyMaterialGroup(uint32_t MaterialGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DTexture2CoordMaterial : winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial + { + Printing3DTexture2CoordMaterial(std::nullptr_t) noexcept {} + Printing3DTexture2CoordMaterial(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial(ptr, take_ownership_from_abi) {} + Printing3DTexture2CoordMaterial(); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DTexture2CoordMaterialGroup : winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup, + impl::require + { + Printing3DTexture2CoordMaterialGroup(std::nullptr_t) noexcept {} + Printing3DTexture2CoordMaterialGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup(ptr, take_ownership_from_abi) {} + explicit Printing3DTexture2CoordMaterialGroup(uint32_t MaterialGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES Printing3DTextureResource : winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource + { + Printing3DTextureResource(std::nullptr_t) noexcept {} + Printing3DTextureResource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource(ptr, take_ownership_from_abi) {} + Printing3DTextureResource(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ebe223f45ba564cf4264ed72eaa1c94dfd3651a0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.0.h @@ -0,0 +1,170 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_0_H +#define WINRT_Windows_Management_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Management +{ + enum class MdmAlertDataType : int32_t + { + String = 0, + Base64 = 1, + Boolean = 2, + Integer = 3, + }; + enum class MdmAlertMark : int32_t + { + None = 0, + Fatal = 1, + Critical = 2, + Warning = 3, + Informational = 4, + }; + enum class MdmSessionState : int32_t + { + NotStarted = 0, + Starting = 1, + Connecting = 2, + Communicating = 3, + AlertStatusAvailable = 4, + Retrying = 5, + Completed = 6, + }; + struct IMdmAlert; + struct IMdmSession; + struct IMdmSessionManagerStatics; + struct MdmAlert; + struct MdmSession; + struct MdmSessionManager; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmAlert"; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmSession"; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmSessionManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmAlertDataType"; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmAlertMark"; + template <> inline constexpr auto& name_v = L"Windows.Management.MdmSessionState"; + template <> inline constexpr auto& name_v = L"Windows.Management.IMdmAlert"; + template <> inline constexpr auto& name_v = L"Windows.Management.IMdmSession"; + template <> inline constexpr auto& name_v = L"Windows.Management.IMdmSessionManagerStatics"; + template <> inline constexpr guid guid_v{ 0xB0FBC327,0x28C1,0x4B52,{ 0xA5,0x48,0xC5,0x80,0x7C,0xAF,0x70,0xB6 } }; // B0FBC327-28C1-4B52-A548-C5807CAF70B6 + template <> inline constexpr guid guid_v{ 0xFE89314C,0x8F64,0x4797,{ 0xA9,0xD7,0x9D,0x88,0xF8,0x6A,0xE1,0x66 } }; // FE89314C-8F64-4797-A9D7-9D88F86AE166 + template <> inline constexpr guid guid_v{ 0xCF4AD959,0xF745,0x4B79,{ 0x9B,0x5C,0xDE,0x0B,0xF8,0xEF,0xE4,0x4B } }; // CF4AD959-F745-4B79-9B5C-DE0BF8EFE44B + template <> struct default_interface{ using type = winrt::Windows::Management::IMdmAlert; }; + template <> struct default_interface{ using type = winrt::Windows::Management::IMdmSession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Mark(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mark(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall put_Source(void*) noexcept = 0; + virtual int32_t __stdcall get_Status(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Target(void**) noexcept = 0; + virtual int32_t __stdcall put_Target(void*) noexcept = 0; + virtual int32_t __stdcall get_Type(void**) noexcept = 0; + virtual int32_t __stdcall put_Type(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Alerts(void**) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall AttachAsync(void**) noexcept = 0; + virtual int32_t __stdcall Delete() noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StartWithAlertsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionIds(void**) noexcept = 0; + virtual int32_t __stdcall TryCreateSession(void**) noexcept = 0; + virtual int32_t __stdcall DeleteSessionById(void*) noexcept = 0; + virtual int32_t __stdcall GetSessionById(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_IMdmAlert + { + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Management::MdmAlertDataType const& value) const; + [[nodiscard]] auto Mark() const; + auto Mark(winrt::Windows::Management::MdmAlertMark const& value) const; + [[nodiscard]] auto Source() const; + auto Source(param::hstring const& value) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Target() const; + auto Target(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + auto Type(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_IMdmAlert; + }; + template + struct consume_Windows_Management_IMdmSession + { + [[nodiscard]] auto Alerts() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto State() const; + auto AttachAsync() const; + auto Delete() const; + auto StartAsync() const; + auto StartAsync(param::async_iterable const& alerts) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_IMdmSession; + }; + template + struct consume_Windows_Management_IMdmSessionManagerStatics + { + [[nodiscard]] auto SessionIds() const; + auto TryCreateSession() const; + auto DeleteSessionById(param::hstring const& sessionId) const; + auto GetSessionById(param::hstring const& sessionId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_IMdmSessionManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.1.h new file mode 100644 index 0000000000000000000000000000000000000000..318e5f8a6902a222bc9abe66741f86d7af22f308 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_1_H +#define WINRT_Windows_Management_1_H +#include "winrt/impl/Windows.Management.0.h" +WINRT_EXPORT namespace winrt::Windows::Management +{ + struct WINRT_IMPL_EMPTY_BASES IMdmAlert : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMdmAlert(std::nullptr_t = nullptr) noexcept {} + IMdmAlert(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMdmSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMdmSession(std::nullptr_t = nullptr) noexcept {} + IMdmSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMdmSessionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMdmSessionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IMdmSessionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.2.h new file mode 100644 index 0000000000000000000000000000000000000000..cfcde2eb5be6347a9eee160419a121318f2e0815 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.2.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_2_H +#define WINRT_Windows_Management_2_H +#include "winrt/impl/Windows.Management.1.h" +WINRT_EXPORT namespace winrt::Windows::Management +{ + struct WINRT_IMPL_EMPTY_BASES MdmAlert : winrt::Windows::Management::IMdmAlert + { + MdmAlert(std::nullptr_t) noexcept {} + MdmAlert(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::IMdmAlert(ptr, take_ownership_from_abi) {} + MdmAlert(); + }; + struct WINRT_IMPL_EMPTY_BASES MdmSession : winrt::Windows::Management::IMdmSession + { + MdmSession(std::nullptr_t) noexcept {} + MdmSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::IMdmSession(ptr, take_ownership_from_abi) {} + }; + struct MdmSessionManager + { + MdmSessionManager() = delete; + [[nodiscard]] static auto SessionIds(); + static auto TryCreateSession(); + static auto DeleteSessionById(param::hstring const& sessionId); + static auto GetSessionById(param::hstring const& sessionId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..10020bcec8db2c930e8304a5f46cc59978b85050 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.0.h @@ -0,0 +1,61 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Core_0_H +#define WINRT_Windows_Management_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct ApplicationData; +} +WINRT_EXPORT namespace winrt::Windows::Management::Core +{ + struct IApplicationDataManager; + struct IApplicationDataManagerStatics; + struct ApplicationDataManager; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Core.ApplicationDataManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Core.IApplicationDataManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Core.IApplicationDataManagerStatics"; + template <> inline constexpr guid guid_v{ 0x74D10432,0x2E99,0x4000,{ 0x9A,0x3A,0x64,0x30,0x7E,0x85,0x81,0x29 } }; // 74D10432-2E99-4000-9A3A-64307E858129 + template <> inline constexpr guid guid_v{ 0x1E1862E3,0x698E,0x49A1,{ 0x97,0x52,0xDE,0xE9,0x49,0x25,0xB9,0xB3 } }; // 1E1862E3-698E-49A1-9752-DEE94925B9B3 + template <> struct default_interface{ using type = winrt::Windows::Management::Core::IApplicationDataManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateForPackageFamily(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Core_IApplicationDataManager + { + }; + template <> struct consume + { + template using type = consume_Windows_Management_Core_IApplicationDataManager; + }; + template + struct consume_Windows_Management_Core_IApplicationDataManagerStatics + { + auto CreateForPackageFamily(param::hstring const& packageFamilyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Core_IApplicationDataManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3ed7ba37d85701051357c8a301c6fbda8b1382af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Core_1_H +#define WINRT_Windows_Management_Core_1_H +#include "winrt/impl/Windows.Management.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Core +{ + struct WINRT_IMPL_EMPTY_BASES IApplicationDataManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IApplicationDataManager(std::nullptr_t = nullptr) noexcept {} + IApplicationDataManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IApplicationDataManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IApplicationDataManagerStatics(std::nullptr_t = nullptr) noexcept {} + IApplicationDataManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5999603af37465b34c3b9a0f05ac088444998d6a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.core.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Core_2_H +#define WINRT_Windows_Management_Core_2_H +#include "winrt/impl/Windows.Management.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Core +{ + struct WINRT_IMPL_EMPTY_BASES ApplicationDataManager : winrt::Windows::Management::Core::IApplicationDataManager + { + ApplicationDataManager(std::nullptr_t) noexcept {} + ApplicationDataManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Core::IApplicationDataManager(ptr, take_ownership_from_abi) {} + static auto CreateForPackageFamily(param::hstring const& packageFamilyName); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4d32b4682c09128fee8f71f18819d76dcc85527b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.0.h @@ -0,0 +1,1607 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_0_H +#define WINRT_Windows_Management_Deployment_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel +{ + struct AppInstallerInfo; + struct Package; + enum class PackageContentGroupState : int32_t; + struct PackageVersion; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Management::Deployment +{ + enum class AddPackageByAppInstallerOptions : uint32_t + { + None = 0, + InstallAllResources = 0x20, + ForceTargetAppShutdown = 0x40, + RequiredContentGroupOnly = 0x100, + LimitToExistingPackages = 0x200, + }; + enum class DeploymentOptions : uint32_t + { + None = 0, + ForceApplicationShutdown = 0x1, + DevelopmentMode = 0x2, + InstallAllResources = 0x20, + ForceTargetApplicationShutdown = 0x40, + RequiredContentGroupOnly = 0x100, + ForceUpdateFromAnyVersion = 0x40000, + RetainFilesOnFailure = 0x200000, + StageInPlace = 0x400000, + }; + enum class DeploymentProgressState : int32_t + { + Queued = 0, + Processing = 1, + }; + enum class PackageInstallState : int32_t + { + NotInstalled = 0, + Staged = 1, + Installed = 2, + Paused = 6, + }; + enum class PackageOperationPriority : int32_t + { + Low = 0, + Normal = 1, + High = 2, + }; + enum class PackageState : int32_t + { + Normal = 0, + LicenseInvalid = 1, + Modified = 2, + Tampered = 3, + }; + enum class PackageStatus : uint32_t + { + OK = 0, + LicenseIssue = 0x1, + Modified = 0x2, + Tampered = 0x4, + Disabled = 0x8, + }; + enum class PackageStubPreference : int32_t + { + Full = 0, + Stub = 1, + }; + enum class PackageTypes : uint32_t + { + None = 0, + Main = 0x1, + Framework = 0x2, + Resource = 0x4, + Bundle = 0x8, + Xap = 0x10, + Optional = 0x20, + All = 0xffffffff, + }; + enum class RemovalOptions : uint32_t + { + None = 0, + PreserveApplicationData = 0x1000, + PreserveRoamableApplicationData = 0x80, + DeferRemovalWhenPackagesAreInUse = 0x2000, + RemoveForAllUsers = 0x80000, + }; + enum class SharedPackageContainerCreationCollisionOptions : int32_t + { + FailIfExists = 0, + MergeWithExisting = 1, + ReplaceExisting = 2, + }; + enum class SharedPackageContainerOperationStatus : int32_t + { + Success = 0, + BlockedByPolicy = 1, + AlreadyExists = 2, + PackageFamilyExistsInAnotherContainer = 3, + NotFound = 4, + UnknownFailure = 5, + }; + enum class StubPackageOption : int32_t + { + Default = 0, + InstallFull = 1, + InstallStub = 2, + UsePreference = 3, + }; + struct IAddPackageOptions; + struct IAddPackageOptions2; + struct IAddPackageOptions3; + struct IAppInstallerManager; + struct IAppInstallerManagerStatics; + struct IAutoUpdateSettingsOptions; + struct IAutoUpdateSettingsOptionsStatics; + struct ICreateSharedPackageContainerOptions; + struct ICreateSharedPackageContainerResult; + struct IDeleteSharedPackageContainerOptions; + struct IDeleteSharedPackageContainerResult; + struct IDeploymentResult; + struct IDeploymentResult2; + struct IFindSharedPackageContainerOptions; + struct IPackageAllUserProvisioningOptions; + struct IPackageAllUserProvisioningOptions2; + struct IPackageManager; + struct IPackageManager10; + struct IPackageManager11; + struct IPackageManager12; + struct IPackageManager2; + struct IPackageManager3; + struct IPackageManager4; + struct IPackageManager5; + struct IPackageManager6; + struct IPackageManager7; + struct IPackageManager8; + struct IPackageManager9; + struct IPackageManagerDebugSettings; + struct IPackageUserInformation; + struct IPackageVolume; + struct IPackageVolume2; + struct IRegisterPackageOptions; + struct IRegisterPackageOptions2; + struct IRemovePackageOptions; + struct IRemovePackageOptions2; + struct ISharedPackageContainer; + struct ISharedPackageContainerManager; + struct ISharedPackageContainerManagerStatics; + struct ISharedPackageContainerMember; + struct ISharedPackageContainerMemberFactory; + struct IStagePackageOptions; + struct IStagePackageOptions2; + struct IStagePackageOptions3; + struct IUpdateSharedPackageContainerOptions; + struct IUpdateSharedPackageContainerResult; + struct AddPackageOptions; + struct AppInstallerManager; + struct AutoUpdateSettingsOptions; + struct CreateSharedPackageContainerOptions; + struct CreateSharedPackageContainerResult; + struct DeleteSharedPackageContainerOptions; + struct DeleteSharedPackageContainerResult; + struct DeploymentResult; + struct FindSharedPackageContainerOptions; + struct PackageAllUserProvisioningOptions; + struct PackageManager; + struct PackageManagerDebugSettings; + struct PackageUserInformation; + struct PackageVolume; + struct RegisterPackageOptions; + struct RemovePackageOptions; + struct SharedPackageContainer; + struct SharedPackageContainerManager; + struct SharedPackageContainerMember; + struct StagePackageOptions; + struct UpdateSharedPackageContainerOptions; + struct UpdateSharedPackageContainerResult; + struct DeploymentProgress; + struct SharedPackageContainerContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.AddPackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.AppInstallerManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.AutoUpdateSettingsOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.CreateSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.CreateSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeleteSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeleteSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeploymentResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.FindSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageAllUserProvisioningOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageManagerDebugSettings"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageUserInformation"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageVolume"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.RegisterPackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.RemovePackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainer"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainerManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainerMember"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.StagePackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.UpdateSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.UpdateSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.AddPackageByAppInstallerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeploymentOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeploymentProgressState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageInstallState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageOperationPriority"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageStatus"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageStubPreference"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.PackageTypes"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.RemovalOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainerCreationCollisionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainerOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.StubPackageOption"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.DeploymentProgress"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAddPackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAddPackageOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAddPackageOptions3"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAppInstallerManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAppInstallerManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAutoUpdateSettingsOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IAutoUpdateSettingsOptionsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ICreateSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ICreateSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IDeleteSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IDeleteSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IDeploymentResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IDeploymentResult2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IFindSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageAllUserProvisioningOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageAllUserProvisioningOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager10"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager11"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager12"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager3"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager4"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager5"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager6"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager7"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager8"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManager9"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageManagerDebugSettings"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageUserInformation"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageVolume"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IPackageVolume2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IRegisterPackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IRegisterPackageOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IRemovePackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IRemovePackageOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ISharedPackageContainer"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ISharedPackageContainerManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ISharedPackageContainerManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ISharedPackageContainerMember"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.ISharedPackageContainerMemberFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IStagePackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IStagePackageOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IStagePackageOptions3"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IUpdateSharedPackageContainerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.IUpdateSharedPackageContainerResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.SharedPackageContainerContract"; + template <> inline constexpr guid guid_v{ 0x05CEE018,0xF68F,0x422B,{ 0x95,0xA4,0x66,0x67,0x9E,0xC7,0x7F,0xC0 } }; // 05CEE018-F68F-422B-95A4-66679EC77FC0 + template <> inline constexpr guid guid_v{ 0xEE515828,0xBF33,0x40F7,{ 0x84,0xAF,0x1B,0x6F,0xAD,0x29,0x19,0xD7 } }; // EE515828-BF33-40F7-84AF-1B6FAD2919D7 + template <> inline constexpr guid guid_v{ 0xCBA622A7,0xAA31,0x45AB,{ 0x8B,0x88,0x40,0xD0,0x8B,0x0A,0x8B,0x27 } }; // CBA622A7-AA31-45AB-8B88-40D08B0A8B27 + template <> inline constexpr guid guid_v{ 0xE7EE21C3,0x2103,0x53EE,{ 0x9B,0x18,0x68,0xAF,0xEA,0xB0,0x03,0x3D } }; // E7EE21C3-2103-53EE-9B18-68AFEAB0033D + template <> inline constexpr guid guid_v{ 0xC95A6ED5,0xFC59,0x5336,{ 0x9B,0x2E,0x2B,0x07,0xC5,0xE6,0x14,0x34 } }; // C95A6ED5-FC59-5336-9B2E-2B07C5E61434 + template <> inline constexpr guid guid_v{ 0x67491D87,0x35E1,0x512A,{ 0x89,0x68,0x1A,0xE8,0x8D,0x1B,0xE6,0xD3 } }; // 67491D87-35E1-512A-8968-1AE88D1BE6D3 + template <> inline constexpr guid guid_v{ 0x887B337D,0x0C05,0x54D0,{ 0xBD,0x49,0x3B,0xB7,0xA2,0xC0,0x84,0xCB } }; // 887B337D-0C05-54D0-BD49-3BB7A2C084CB + template <> inline constexpr guid guid_v{ 0xC2AB6ECE,0xF664,0x5C8E,{ 0xA4,0xB3,0x2A,0x33,0x27,0x6D,0x3D,0xDE } }; // C2AB6ECE-F664-5C8E-A4B3-2A33276D3DDE + template <> inline constexpr guid guid_v{ 0xCE8810BF,0x151C,0x5707,{ 0xB9,0x36,0x49,0x7E,0x56,0x4A,0xFC,0x7A } }; // CE8810BF-151C-5707-B936-497E564AFC7A + template <> inline constexpr guid guid_v{ 0x9D81865F,0x986E,0x5138,{ 0x8B,0x5D,0x38,0x4D,0x8E,0x66,0xED,0x6C } }; // 9D81865F-986E-5138-8B5D-384D8E66ED6C + template <> inline constexpr guid guid_v{ 0x35398884,0x5736,0x517B,{ 0x85,0xBC,0xE5,0x98,0xC8,0x1A,0xB2,0x84 } }; // 35398884-5736-517B-85BC-E598C81AB284 + template <> inline constexpr guid guid_v{ 0x2563B9AE,0xB77D,0x4C1F,{ 0x8A,0x7B,0x20,0xE6,0xAD,0x51,0x5E,0xF3 } }; // 2563B9AE-B77D-4C1F-8A7B-20E6AD515EF3 + template <> inline constexpr guid guid_v{ 0xFC0E715C,0x5A01,0x4BD7,{ 0xBC,0xF1,0x38,0x1C,0x8C,0x82,0xE0,0x4A } }; // FC0E715C-5A01-4BD7-BCF1-381C8C82E04A + template <> inline constexpr guid guid_v{ 0xB40FC8FE,0x8384,0x54CC,{ 0x81,0x7D,0xAE,0x09,0xD3,0xB6,0xA6,0x06 } }; // B40FC8FE-8384-54CC-817D-AE09D3B6A606 + template <> inline constexpr guid guid_v{ 0xDA35AA22,0x1DE0,0x5D3E,{ 0x99,0xFF,0xD2,0x4F,0x31,0x18,0xBF,0x5E } }; // DA35AA22-1DE0-5D3E-99FF-D24F3118BF5E + template <> inline constexpr guid guid_v{ 0xB9E3CAB5,0x2D97,0x579F,{ 0x93,0x68,0xD1,0x0B,0xB4,0xD4,0x54,0x2B } }; // B9E3CAB5-2D97-579F-9368-D10BB4D4542B + template <> inline constexpr guid guid_v{ 0x9A7D4B65,0x5E8F,0x4FC7,{ 0xA2,0xE5,0x7F,0x69,0x25,0xCB,0x8B,0x53 } }; // 9A7D4B65-5E8F-4FC7-A2E5-7F6925CB8B53 + template <> inline constexpr guid guid_v{ 0xA7D7D07E,0x2E66,0x4093,{ 0xAE,0xD5,0xE0,0x93,0xED,0x87,0xB3,0xBB } }; // A7D7D07E-2E66-4093-AED5-E093ED87B3BB + template <> inline constexpr guid guid_v{ 0x12950B24,0xC77E,0x4EA7,{ 0x88,0x59,0x32,0x53,0x18,0x07,0x4E,0x15 } }; // 12950B24-C77E-4EA7-8859-325318074E15 + template <> inline constexpr guid guid_v{ 0x5D233ADF,0xF9E3,0x4D96,{ 0xB4,0x0D,0x96,0x78,0x8E,0x39,0x53,0x9F } }; // 5D233ADF-F9E3-4D96-B40D-96788E39539F + template <> inline constexpr guid guid_v{ 0xF7AAD08D,0x0840,0x46F2,{ 0xB5,0xD8,0xCA,0xD4,0x76,0x93,0xA0,0x95 } }; // F7AAD08D-0840-46F2-B5D8-CAD47693A095 + template <> inline constexpr guid guid_v{ 0xDAAD9948,0x36F1,0x41A7,{ 0x91,0x88,0xBC,0x26,0x3E,0x0D,0xCB,0x72 } }; // DAAD9948-36F1-41A7-9188-BC263E0DCB72 + template <> inline constexpr guid guid_v{ 0x3C719963,0xBAB6,0x46BF,{ 0x8F,0xF7,0xDA,0x47,0x19,0x23,0x0A,0xE6 } }; // 3C719963-BAB6-46BF-8FF7-DA4719230AE6 + template <> inline constexpr guid guid_v{ 0x711F3117,0x1AFD,0x4313,{ 0x97,0x8C,0x9B,0xB6,0xE1,0xB8,0x64,0xA7 } }; // 711F3117-1AFD-4313-978C-9BB6E1B864A7 + template <> inline constexpr guid guid_v{ 0x0847E909,0x53CD,0x4E4F,{ 0x83,0x2E,0x57,0xD1,0x80,0xF6,0xE4,0x47 } }; // 0847E909-53CD-4E4F-832E-57D180F6E447 + template <> inline constexpr guid guid_v{ 0xF28654F4,0x2BA7,0x4B80,{ 0x88,0xD6,0xBE,0x15,0xF9,0xA2,0x3F,0xBA } }; // F28654F4-2BA7-4B80-88D6-BE15F9A23FBA + template <> inline constexpr guid guid_v{ 0xB8575330,0x1298,0x4EE2,{ 0x80,0xEE,0x7F,0x65,0x9C,0x5D,0x27,0x82 } }; // B8575330-1298-4EE2-80EE-7F659C5D2782 + template <> inline constexpr guid guid_v{ 0x1AA79035,0xCC71,0x4B2E,{ 0x80,0xA6,0xC7,0x04,0x1D,0x85,0x79,0xA7 } }; // 1AA79035-CC71-4B2E-80A6-C7041D8579A7 + template <> inline constexpr guid guid_v{ 0x1A611683,0xA988,0x4FCF,{ 0x8F,0x0F,0xCE,0x17,0x58,0x98,0xE8,0xEB } }; // 1A611683-A988-4FCF-8F0F-CE175898E8EB + template <> inline constexpr guid guid_v{ 0xF6383423,0xFA09,0x4CBC,{ 0x90,0x55,0x15,0xCA,0x27,0x5E,0x2E,0x7E } }; // F6383423-FA09-4CBC-9055-15CA275E2E7E + template <> inline constexpr guid guid_v{ 0xCF2672C3,0x1A40,0x4450,{ 0x97,0x39,0x2A,0xCE,0x2E,0x89,0x88,0x53 } }; // CF2672C3-1A40-4450-9739-2ACE2E898853 + template <> inline constexpr guid guid_v{ 0x46ABCF2E,0x9DD4,0x47A2,{ 0xAB,0x8C,0xC6,0x40,0x83,0x49,0xBC,0xD8 } }; // 46ABCF2E-9DD4-47A2-AB8C-C6408349BCD8 + template <> inline constexpr guid guid_v{ 0x677112A7,0x50D4,0x496C,{ 0x84,0x15,0x06,0x02,0xB4,0xC6,0xD3,0xBF } }; // 677112A7-50D4-496C-8415-0602B4C6D3BF + template <> inline constexpr guid guid_v{ 0x3DFA9743,0x86FF,0x4A11,{ 0xBC,0x93,0x43,0x4E,0xB6,0xBE,0x3A,0x0B } }; // 3DFA9743-86FF-4A11-BC93-434EB6BE3A0B + template <> inline constexpr guid guid_v{ 0x13CF01F3,0xC450,0x4F7C,{ 0xA5,0xA3,0x5E,0x3C,0x63,0x1B,0x74,0x62 } }; // 13CF01F3-C450-4F7C-A5A3-5E3C631B7462 + template <> inline constexpr guid guid_v{ 0x3FCC61E5,0x22C5,0x423B,{ 0xB4,0xB4,0xCF,0x10,0xBB,0x50,0x83,0x0C } }; // 3FCC61E5-22C5-423B-B4B4-CF10BB50830C + template <> inline constexpr guid guid_v{ 0x177F1AA9,0x151E,0x5EF7,{ 0xB1,0xD9,0x2F,0xBA,0x0B,0x4B,0x0D,0x17 } }; // 177F1AA9-151E-5EF7-B1D9-2FBA0B4B0D17 + template <> inline constexpr guid guid_v{ 0xBE353068,0x1EF7,0x5AC8,{ 0xAB,0x3F,0x0B,0x9F,0x61,0x2F,0x02,0x74 } }; // BE353068-1EF7-5AC8-AB3F-0B9F612F0274 + template <> inline constexpr guid guid_v{ 0x2EF56348,0x838A,0x5F55,{ 0xA8,0x9E,0x11,0x98,0xA2,0xC6,0x27,0xE6 } }; // 2EF56348-838A-5F55-A89E-1198A2C627E6 + template <> inline constexpr guid guid_v{ 0xFE0D0438,0x43C9,0x5426,{ 0xB8,0x9C,0xF7,0x9B,0xF8,0x5D,0xDF,0xF4 } }; // FE0D0438-43C9-5426-B89C-F79BF85DDFF4 + template <> inline constexpr guid guid_v{ 0x49B0CEEB,0x498F,0x5A62,{ 0xB7,0x38,0xB3,0xCA,0x0D,0x43,0x67,0x04 } }; // 49B0CEEB-498F-5A62-B738-B3CA0D436704 + template <> inline constexpr guid guid_v{ 0x0B110C9C,0xB95D,0x4C56,{ 0xBD,0x36,0x6D,0x65,0x68,0x00,0xD0,0x6B } }; // 0B110C9C-B95D-4C56-BD36-6D656800D06B + template <> inline constexpr guid guid_v{ 0x990C4CCC,0x6226,0x4192,{ 0xBA,0x92,0x79,0x87,0x5F,0xCE,0x0D,0x9C } }; // 990C4CCC-6226-4192-BA92-79875FCE0D9C + template <> inline constexpr guid guid_v{ 0xCE392E55,0x1743,0x4945,{ 0xAD,0x43,0x9E,0x5A,0xDD,0x4B,0xE9,0x6D } }; // CE392E55-1743-4945-AD43-9E5ADD4BE96D + template <> inline constexpr guid guid_v{ 0x80672E83,0x7194,0x59F9,{ 0xB5,0xB9,0xDA,0xA5,0x37,0x5F,0x13,0x0A } }; // 80672E83-7194-59F9-B5B9-DAA5375F130A + template <> inline constexpr guid guid_v{ 0xAA407DF7,0xC72D,0x5458,{ 0xAE,0xA3,0x46,0x45,0xB6,0xA8,0xEE,0x99 } }; // AA407DF7-C72D-5458-AEA3-4645B6A8EE99 + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IAddPackageOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IAppInstallerManager; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IAutoUpdateSettingsOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::ICreateSharedPackageContainerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::ICreateSharedPackageContainerResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IDeploymentResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IFindSharedPackageContainerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IPackageAllUserProvisioningOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IPackageManager; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IPackageManagerDebugSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IPackageUserInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IPackageVolume; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IRegisterPackageOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IRemovePackageOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::ISharedPackageContainer; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::ISharedPackageContainerManager; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::ISharedPackageContainerMember; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IStagePackageOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DependencyPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_TargetVolume(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetVolume(void*) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageFamilyNames(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_RelatedPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_ExternalLocationUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ExternalLocationUri(void*) noexcept = 0; + virtual int32_t __stdcall get_StubPackageOption(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StubPackageOption(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DeveloperMode(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeveloperMode(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceTargetAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceTargetAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceUpdateFromAnyVersion(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceUpdateFromAnyVersion(bool) noexcept = 0; + virtual int32_t __stdcall get_InstallAllResources(bool*) noexcept = 0; + virtual int32_t __stdcall put_InstallAllResources(bool) noexcept = 0; + virtual int32_t __stdcall get_RequiredContentGroupOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequiredContentGroupOnly(bool) noexcept = 0; + virtual int32_t __stdcall get_RetainFilesOnFailure(bool*) noexcept = 0; + virtual int32_t __stdcall put_RetainFilesOnFailure(bool) noexcept = 0; + virtual int32_t __stdcall get_StageInPlace(bool*) noexcept = 0; + virtual int32_t __stdcall put_StageInPlace(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowUnsigned(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowUnsigned(bool) noexcept = 0; + virtual int32_t __stdcall get_DeferRegistrationWhenPackagesAreInUse(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeferRegistrationWhenPackagesAreInUse(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExpectedDigests(void**) noexcept = 0; + virtual int32_t __stdcall get_LimitToExistingPackages(bool*) noexcept = 0; + virtual int32_t __stdcall put_LimitToExistingPackages(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageOperationPriority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PackageOperationPriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetAutoUpdateSettings(void*, void*) noexcept = 0; + virtual int32_t __stdcall ClearAutoUpdateSettings(void*) noexcept = 0; + virtual int32_t __stdcall PauseAutoUpdatesUntil(void*, int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForSystem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Version(struct struct_Windows_ApplicationModel_PackageVersion*) noexcept = 0; + virtual int32_t __stdcall put_Version(struct struct_Windows_ApplicationModel_PackageVersion) noexcept = 0; + virtual int32_t __stdcall get_AppInstallerUri(void**) noexcept = 0; + virtual int32_t __stdcall put_AppInstallerUri(void*) noexcept = 0; + virtual int32_t __stdcall get_OnLaunch(bool*) noexcept = 0; + virtual int32_t __stdcall put_OnLaunch(bool) noexcept = 0; + virtual int32_t __stdcall get_HoursBetweenUpdateChecks(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_HoursBetweenUpdateChecks(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ShowPrompt(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShowPrompt(bool) noexcept = 0; + virtual int32_t __stdcall get_UpdateBlocksActivation(bool*) noexcept = 0; + virtual int32_t __stdcall put_UpdateBlocksActivation(bool) noexcept = 0; + virtual int32_t __stdcall get_AutomaticBackgroundTask(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutomaticBackgroundTask(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceUpdateFromAnyVersion(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceUpdateFromAnyVersion(bool) noexcept = 0; + virtual int32_t __stdcall get_IsAutoRepairEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAutoRepairEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_UpdateUris(void**) noexcept = 0; + virtual int32_t __stdcall get_RepairUris(void**) noexcept = 0; + virtual int32_t __stdcall get_DependencyPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageUris(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromAppInstallerInfo(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Members(void**) noexcept = 0; + virtual int32_t __stdcall get_ForceAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_CreateCollisionOption(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CreateCollisionOption(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Container(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ForceAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_AllUsers(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllUsers(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorText(void**) noexcept = 0; + virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsRegistered(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall put_PackageFamilyName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OptionalPackageFamilyNames(void**) noexcept = 0; + virtual int32_t __stdcall get_ProjectionOrderPackageFamilyNames(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeferAutomaticRegistration(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeferAutomaticRegistration(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddPackageAsync(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall UpdatePackageAsync(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall RemovePackageAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterPackageAsync(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackages(void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityId(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByNamePublisher(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdNamePublisher(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindUsers(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPackageState(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall FindPackageByPackageFullName(void*, void**) noexcept = 0; + virtual int32_t __stdcall CleanupPackageForUserAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByPackageFamilyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdPackageFamilyName(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackageByUserSecurityIdPackageFullName(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProvisionPackageForAllUsersWithOptionsAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RemovePackageByUriAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsPackageRemovalPending(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsPackageRemovalPendingForUser(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsPackageRemovalPendingByUri(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsPackageRemovalPendingByUriForUser(void*, void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RemovePackageWithOptionsAsync(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageWithOptionsAsync(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall RegisterPackageByFullNameAsync(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesWithPackageTypes(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdWithPackageTypes(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByNamePublisherWithPackageTypes(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(void*, void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByPackageFamilyNameWithPackageTypes(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes(void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall StageUserDataAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddPackageVolumeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddPackageToVolumeAsync(void*, void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearPackageStatus(void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall RegisterPackageWithAppDataVolumeAsync(void*, void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackageVolumeByName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackageVolumes(void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultPackageVolume(void**) noexcept = 0; + virtual int32_t __stdcall MovePackageToVolumeAsync(void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall RemovePackageVolumeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetDefaultPackageVolume(void*) noexcept = 0; + virtual int32_t __stdcall SetPackageStatus(void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall SetPackageVolumeOfflineAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPackageVolumeOnlineAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageToVolumeAsync(void*, void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall StageUserDataWithOptionsAsync(void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPackageVolumesAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddPackageToVolumeAndOptionalPackagesAsync(void*, void*, uint32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageToVolumeAndOptionalPackagesAsync(void*, void*, uint32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterPackageByFamilyNameAndOptionalPackagesAsync(void*, void*, uint32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_DebugSettings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProvisionPackageForAllUsersAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddPackageByAppInstallerFileAsync(void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAddPackageByAppInstallerFileAsync(void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall AddPackageToVolumeAndRelatedSetAsync(void*, void*, uint32_t, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageToVolumeAndRelatedSetAsync(void*, void*, uint32_t, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAddPackageAsync(void*, void*, uint32_t, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAddPackageAndRelatedSetAsync(void*, void*, uint32_t, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DeprovisionPackageForAllUsersAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindProvisionedPackages(void**) noexcept = 0; + virtual int32_t __stdcall AddPackageByUriAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StagePackageByUriAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterPackageByUriAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterPackagesByFullNameAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPackageStubPreference(void*, int32_t) noexcept = 0; + virtual int32_t __stdcall GetPackageStubPreference(void*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetContentGroupStateAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetContentGroupStateWithPercentageAsync(void*, void*, int32_t, double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserSecurityId(void**) noexcept = 0; + virtual int32_t __stdcall get_InstallState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsOffline(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSystemVolume(bool*) noexcept = 0; + virtual int32_t __stdcall get_MountPoint(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_PackageStorePath(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportsHardLinks(bool*) noexcept = 0; + virtual int32_t __stdcall FindPackages(void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByNamePublisher(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByPackageFamilyName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesWithPackageTypes(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByNamePublisherWithPackagesTypes(uint32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByPackageFamilyNameWithPackageTypes(uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackageByPackageFullName(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityId(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdNamePublisher(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdPackageFamilyName(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdWithPackageTypes(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(void*, uint32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes(void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindPackageByUserSecurityIdPackageFullName(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsFullTrustPackageSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAppxInstallSupported(bool*) noexcept = 0; + virtual int32_t __stdcall GetAvailableSpaceAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DependencyPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_AppDataVolume(void**) noexcept = 0; + virtual int32_t __stdcall put_AppDataVolume(void*) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageFamilyNames(void**) noexcept = 0; + virtual int32_t __stdcall get_ExternalLocationUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ExternalLocationUri(void*) noexcept = 0; + virtual int32_t __stdcall get_DeveloperMode(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeveloperMode(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceTargetAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceTargetAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceUpdateFromAnyVersion(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceUpdateFromAnyVersion(bool) noexcept = 0; + virtual int32_t __stdcall get_InstallAllResources(bool*) noexcept = 0; + virtual int32_t __stdcall put_InstallAllResources(bool) noexcept = 0; + virtual int32_t __stdcall get_StageInPlace(bool*) noexcept = 0; + virtual int32_t __stdcall put_StageInPlace(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowUnsigned(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowUnsigned(bool) noexcept = 0; + virtual int32_t __stdcall get_DeferRegistrationWhenPackagesAreInUse(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeferRegistrationWhenPackagesAreInUse(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExpectedDigests(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreserveApplicationData(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreserveApplicationData(bool) noexcept = 0; + virtual int32_t __stdcall get_PreserveRoamableApplicationData(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreserveRoamableApplicationData(bool) noexcept = 0; + virtual int32_t __stdcall get_RemoveForAllUsers(bool*) noexcept = 0; + virtual int32_t __stdcall put_RemoveForAllUsers(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeferRemovalWhenPackagesAreInUse(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeferRemovalWhenPackagesAreInUse(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall GetMembers(void**) noexcept = 0; + virtual int32_t __stdcall RemovePackageFamily(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ResetData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateContainer(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteContainer(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetContainer(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindContainers(void**) noexcept = 0; + virtual int32_t __stdcall FindContainersWithOptions(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetForProvisioning(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DependencyPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_TargetVolume(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetVolume(void*) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageFamilyNames(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionalPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_RelatedPackageUris(void**) noexcept = 0; + virtual int32_t __stdcall get_ExternalLocationUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ExternalLocationUri(void*) noexcept = 0; + virtual int32_t __stdcall get_StubPackageOption(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StubPackageOption(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DeveloperMode(bool*) noexcept = 0; + virtual int32_t __stdcall put_DeveloperMode(bool) noexcept = 0; + virtual int32_t __stdcall get_ForceUpdateFromAnyVersion(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceUpdateFromAnyVersion(bool) noexcept = 0; + virtual int32_t __stdcall get_InstallAllResources(bool*) noexcept = 0; + virtual int32_t __stdcall put_InstallAllResources(bool) noexcept = 0; + virtual int32_t __stdcall get_RequiredContentGroupOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequiredContentGroupOnly(bool) noexcept = 0; + virtual int32_t __stdcall get_StageInPlace(bool*) noexcept = 0; + virtual int32_t __stdcall put_StageInPlace(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowUnsigned(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowUnsigned(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExpectedDigests(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageOperationPriority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PackageOperationPriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ForceAppShutdown(bool*) noexcept = 0; + virtual int32_t __stdcall put_ForceAppShutdown(bool) noexcept = 0; + virtual int32_t __stdcall get_RequirePackagesPresent(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequirePackagesPresent(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Deployment_IAddPackageOptions + { + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto OptionalPackageUris() const; + [[nodiscard]] auto RelatedPackageUris() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StubPackageOption() const; + auto StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto ForceTargetAppShutdown() const; + auto ForceTargetAppShutdown(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto RequiredContentGroupOnly() const; + auto RequiredContentGroupOnly(bool value) const; + [[nodiscard]] auto RetainFilesOnFailure() const; + auto RetainFilesOnFailure(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; + [[nodiscard]] auto DeferRegistrationWhenPackagesAreInUse() const; + auto DeferRegistrationWhenPackagesAreInUse(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAddPackageOptions; + }; + template + struct consume_Windows_Management_Deployment_IAddPackageOptions2 + { + [[nodiscard]] auto ExpectedDigests() const; + [[nodiscard]] auto LimitToExistingPackages() const; + auto LimitToExistingPackages(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAddPackageOptions2; + }; + template + struct consume_Windows_Management_Deployment_IAddPackageOptions3 + { + [[nodiscard]] auto PackageOperationPriority() const; + auto PackageOperationPriority(winrt::Windows::Management::Deployment::PackageOperationPriority const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAddPackageOptions3; + }; + template + struct consume_Windows_Management_Deployment_IAppInstallerManager + { + auto SetAutoUpdateSettings(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::AutoUpdateSettingsOptions const& appInstallerInfo) const; + auto ClearAutoUpdateSettings(param::hstring const& packageFamilyName) const; + auto PauseAutoUpdatesUntil(param::hstring const& packageFamilyName, winrt::Windows::Foundation::DateTime const& dateTime) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAppInstallerManager; + }; + template + struct consume_Windows_Management_Deployment_IAppInstallerManagerStatics + { + auto GetDefault() const; + auto GetForSystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAppInstallerManagerStatics; + }; + template + struct consume_Windows_Management_Deployment_IAutoUpdateSettingsOptions + { + [[nodiscard]] auto Version() const; + auto Version(winrt::Windows::ApplicationModel::PackageVersion const& value) const; + [[nodiscard]] auto AppInstallerUri() const; + auto AppInstallerUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OnLaunch() const; + auto OnLaunch(bool value) const; + [[nodiscard]] auto HoursBetweenUpdateChecks() const; + auto HoursBetweenUpdateChecks(uint32_t value) const; + [[nodiscard]] auto ShowPrompt() const; + auto ShowPrompt(bool value) const; + [[nodiscard]] auto UpdateBlocksActivation() const; + auto UpdateBlocksActivation(bool value) const; + [[nodiscard]] auto AutomaticBackgroundTask() const; + auto AutomaticBackgroundTask(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto IsAutoRepairEnabled() const; + auto IsAutoRepairEnabled(bool value) const; + [[nodiscard]] auto UpdateUris() const; + [[nodiscard]] auto RepairUris() const; + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto OptionalPackageUris() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAutoUpdateSettingsOptions; + }; + template + struct consume_Windows_Management_Deployment_IAutoUpdateSettingsOptionsStatics + { + auto CreateFromAppInstallerInfo(winrt::Windows::ApplicationModel::AppInstallerInfo const& appInstallerInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IAutoUpdateSettingsOptionsStatics; + }; + template + struct consume_Windows_Management_Deployment_ICreateSharedPackageContainerOptions + { + [[nodiscard]] auto Members() const; + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto CreateCollisionOption() const; + auto CreateCollisionOption(winrt::Windows::Management::Deployment::SharedPackageContainerCreationCollisionOptions const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ICreateSharedPackageContainerOptions; + }; + template + struct consume_Windows_Management_Deployment_ICreateSharedPackageContainerResult + { + [[nodiscard]] auto Container() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ICreateSharedPackageContainerResult; + }; + template + struct consume_Windows_Management_Deployment_IDeleteSharedPackageContainerOptions + { + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto AllUsers() const; + auto AllUsers(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IDeleteSharedPackageContainerOptions; + }; + template + struct consume_Windows_Management_Deployment_IDeleteSharedPackageContainerResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IDeleteSharedPackageContainerResult; + }; + template + struct consume_Windows_Management_Deployment_IDeploymentResult + { + [[nodiscard]] auto ErrorText() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto ExtendedErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IDeploymentResult; + }; + template + struct consume_Windows_Management_Deployment_IDeploymentResult2 + { + [[nodiscard]] auto IsRegistered() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IDeploymentResult2; + }; + template + struct consume_Windows_Management_Deployment_IFindSharedPackageContainerOptions + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto PackageFamilyName() const; + auto PackageFamilyName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IFindSharedPackageContainerOptions; + }; + template + struct consume_Windows_Management_Deployment_IPackageAllUserProvisioningOptions + { + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto ProjectionOrderPackageFamilyNames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageAllUserProvisioningOptions; + }; + template + struct consume_Windows_Management_Deployment_IPackageAllUserProvisioningOptions2 + { + [[nodiscard]] auto DeferAutomaticRegistration() const; + auto DeferAutomaticRegistration(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageAllUserProvisioningOptions2; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager + { + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto RemovePackageAsync(param::hstring const& packageFullName) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris) const; + auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto FindPackages() const; + auto FindPackagesForUser(param::hstring const& userSecurityId) const; + auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindUsers(param::hstring const& packageFullName) const; + auto SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const; + auto FindPackage(param::hstring const& packageFullName) const; + auto CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const; + auto FindPackages(param::hstring const& packageFamilyName) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; + auto FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager10 + { + auto ProvisionPackageForAllUsersAsync(param::hstring const& mainPackageFamilyName, winrt::Windows::Management::Deployment::PackageAllUserProvisioningOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager10; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager11 + { + auto RemovePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::RemovePackageOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager11; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager12 + { + auto IsPackageRemovalPending(param::hstring const& packageFullName) const; + auto IsPackageRemovalPendingForUser(param::hstring const& packageFullName, param::hstring const& userSecurityId) const; + auto IsPackageRemovalPendingByUri(winrt::Windows::Foundation::Uri const& packageUri) const; + auto IsPackageRemovalPendingByUriForUser(winrt::Windows::Foundation::Uri const& packageUri, param::hstring const& userSecurityId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager12; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager2 + { + auto RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto StageUserDataAsync(param::hstring const& packageFullName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager2; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager3 + { + auto AddPackageVolumeAsync(param::hstring const& packageStorePath) const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; + auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const; + auto FindPackageVolume(param::hstring const& volumeName) const; + auto FindPackageVolumes() const; + auto GetDefaultPackageVolume() const; + auto MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; + auto SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; + auto SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; + auto SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; + auto SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager3; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager4 + { + auto GetPackageVolumesAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager4; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager5 + { + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; + auto RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable const& optionalPackageFamilyNames) const; + [[nodiscard]] auto DebugSettings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager5; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager6 + { + auto ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; + auto AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; + auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager6; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager7 + { + auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris, param::async_iterable const& packageUrisToInstall) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager7; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager8 + { + auto DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager8; + }; + template + struct consume_Windows_Management_Deployment_IPackageManager9 + { + auto FindProvisionedPackages() const; + auto AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const; + auto StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const; + auto RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; + auto RegisterPackagesByFullNameAsync(param::async_iterable const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; + auto SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const; + auto GetPackageStubPreference(param::hstring const& packageFamilyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManager9; + }; + template + struct consume_Windows_Management_Deployment_IPackageManagerDebugSettings + { + auto SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const; + auto SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageManagerDebugSettings; + }; + template + struct consume_Windows_Management_Deployment_IPackageUserInformation + { + [[nodiscard]] auto UserSecurityId() const; + [[nodiscard]] auto InstallState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageUserInformation; + }; + template + struct consume_Windows_Management_Deployment_IPackageVolume + { + [[nodiscard]] auto IsOffline() const; + [[nodiscard]] auto IsSystemVolume() const; + [[nodiscard]] auto MountPoint() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto PackageStorePath() const; + [[nodiscard]] auto SupportsHardLinks() const; + auto FindPackages() const; + auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackages(param::hstring const& packageFamilyName) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; + auto FindPackage(param::hstring const& packageFullName) const; + auto FindPackagesForUser(param::hstring const& userSecurityId) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; + auto FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageVolume; + }; + template + struct consume_Windows_Management_Deployment_IPackageVolume2 + { + [[nodiscard]] auto IsFullTrustPackageSupported() const; + [[nodiscard]] auto IsAppxInstallSupported() const; + auto GetAvailableSpaceAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IPackageVolume2; + }; + template + struct consume_Windows_Management_Deployment_IRegisterPackageOptions + { + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto AppDataVolume() const; + auto AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto ForceTargetAppShutdown() const; + auto ForceTargetAppShutdown(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; + [[nodiscard]] auto DeferRegistrationWhenPackagesAreInUse() const; + auto DeferRegistrationWhenPackagesAreInUse(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IRegisterPackageOptions; + }; + template + struct consume_Windows_Management_Deployment_IRegisterPackageOptions2 + { + [[nodiscard]] auto ExpectedDigests() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IRegisterPackageOptions2; + }; + template + struct consume_Windows_Management_Deployment_IRemovePackageOptions + { + [[nodiscard]] auto PreserveApplicationData() const; + auto PreserveApplicationData(bool value) const; + [[nodiscard]] auto PreserveRoamableApplicationData() const; + auto PreserveRoamableApplicationData(bool value) const; + [[nodiscard]] auto RemoveForAllUsers() const; + auto RemoveForAllUsers(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IRemovePackageOptions; + }; + template + struct consume_Windows_Management_Deployment_IRemovePackageOptions2 + { + [[nodiscard]] auto DeferRemovalWhenPackagesAreInUse() const; + auto DeferRemovalWhenPackagesAreInUse(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IRemovePackageOptions2; + }; + template + struct consume_Windows_Management_Deployment_ISharedPackageContainer + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Id() const; + auto GetMembers() const; + auto RemovePackageFamily(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::UpdateSharedPackageContainerOptions const& options) const; + auto ResetData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ISharedPackageContainer; + }; + template + struct consume_Windows_Management_Deployment_ISharedPackageContainerManager + { + auto CreateContainer(param::hstring const& name, winrt::Windows::Management::Deployment::CreateSharedPackageContainerOptions const& options) const; + auto DeleteContainer(param::hstring const& id, winrt::Windows::Management::Deployment::DeleteSharedPackageContainerOptions const& options) const; + auto GetContainer(param::hstring const& id) const; + auto FindContainers() const; + auto FindContainers(winrt::Windows::Management::Deployment::FindSharedPackageContainerOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ISharedPackageContainerManager; + }; + template + struct consume_Windows_Management_Deployment_ISharedPackageContainerManagerStatics + { + auto GetDefault() const; + auto GetForUser(param::hstring const& userSid) const; + auto GetForProvisioning() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ISharedPackageContainerManagerStatics; + }; + template + struct consume_Windows_Management_Deployment_ISharedPackageContainerMember + { + [[nodiscard]] auto PackageFamilyName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ISharedPackageContainerMember; + }; + template + struct consume_Windows_Management_Deployment_ISharedPackageContainerMemberFactory + { + auto CreateInstance(param::hstring const& packageFamilyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_ISharedPackageContainerMemberFactory; + }; + template + struct consume_Windows_Management_Deployment_IStagePackageOptions + { + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto OptionalPackageUris() const; + [[nodiscard]] auto RelatedPackageUris() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StubPackageOption() const; + auto StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto RequiredContentGroupOnly() const; + auto RequiredContentGroupOnly(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IStagePackageOptions; + }; + template + struct consume_Windows_Management_Deployment_IStagePackageOptions2 + { + [[nodiscard]] auto ExpectedDigests() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IStagePackageOptions2; + }; + template + struct consume_Windows_Management_Deployment_IStagePackageOptions3 + { + [[nodiscard]] auto PackageOperationPriority() const; + auto PackageOperationPriority(winrt::Windows::Management::Deployment::PackageOperationPriority const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IStagePackageOptions3; + }; + template + struct consume_Windows_Management_Deployment_IUpdateSharedPackageContainerOptions + { + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto RequirePackagesPresent() const; + auto RequirePackagesPresent(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IUpdateSharedPackageContainerOptions; + }; + template + struct consume_Windows_Management_Deployment_IUpdateSharedPackageContainerResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_IUpdateSharedPackageContainerResult; + }; + struct struct_Windows_Management_Deployment_DeploymentProgress + { + int32_t state; + uint32_t percentage; + }; + template <> struct abi + { + using type = struct_Windows_Management_Deployment_DeploymentProgress; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4707176203b5ca6dcd359bd2d7699fd92f80fe8a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.1.h @@ -0,0 +1,335 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_1_H +#define WINRT_Windows_Management_Deployment_1_H +#include "winrt/impl/Windows.Management.Deployment.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Deployment +{ + struct WINRT_IMPL_EMPTY_BASES IAddPackageOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAddPackageOptions(std::nullptr_t = nullptr) noexcept {} + IAddPackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAddPackageOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAddPackageOptions2(std::nullptr_t = nullptr) noexcept {} + IAddPackageOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAddPackageOptions3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAddPackageOptions3(std::nullptr_t = nullptr) noexcept {} + IAddPackageOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallerManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallerManager(std::nullptr_t = nullptr) noexcept {} + IAppInstallerManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppInstallerManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInstallerManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAppInstallerManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAutoUpdateSettingsOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAutoUpdateSettingsOptions(std::nullptr_t = nullptr) noexcept {} + IAutoUpdateSettingsOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAutoUpdateSettingsOptionsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAutoUpdateSettingsOptionsStatics(std::nullptr_t = nullptr) noexcept {} + IAutoUpdateSettingsOptionsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateSharedPackageContainerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateSharedPackageContainerOptions(std::nullptr_t = nullptr) noexcept {} + ICreateSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateSharedPackageContainerResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateSharedPackageContainerResult(std::nullptr_t = nullptr) noexcept {} + ICreateSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeleteSharedPackageContainerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeleteSharedPackageContainerOptions(std::nullptr_t = nullptr) noexcept {} + IDeleteSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeleteSharedPackageContainerResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeleteSharedPackageContainerResult(std::nullptr_t = nullptr) noexcept {} + IDeleteSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentResult(std::nullptr_t = nullptr) noexcept {} + IDeploymentResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentResult2(std::nullptr_t = nullptr) noexcept {} + IDeploymentResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFindSharedPackageContainerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFindSharedPackageContainerOptions(std::nullptr_t = nullptr) noexcept {} + IFindSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageAllUserProvisioningOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageAllUserProvisioningOptions(std::nullptr_t = nullptr) noexcept {} + IPackageAllUserProvisioningOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageAllUserProvisioningOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageAllUserProvisioningOptions2(std::nullptr_t = nullptr) noexcept {} + IPackageAllUserProvisioningOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager(std::nullptr_t = nullptr) noexcept {} + IPackageManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager10 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager10(std::nullptr_t = nullptr) noexcept {} + IPackageManager10(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager11 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager11(std::nullptr_t = nullptr) noexcept {} + IPackageManager11(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager12 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager12(std::nullptr_t = nullptr) noexcept {} + IPackageManager12(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager2(std::nullptr_t = nullptr) noexcept {} + IPackageManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager3(std::nullptr_t = nullptr) noexcept {} + IPackageManager3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager4(std::nullptr_t = nullptr) noexcept {} + IPackageManager4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager5(std::nullptr_t = nullptr) noexcept {} + IPackageManager5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager6(std::nullptr_t = nullptr) noexcept {} + IPackageManager6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager7(std::nullptr_t = nullptr) noexcept {} + IPackageManager7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager8 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager8(std::nullptr_t = nullptr) noexcept {} + IPackageManager8(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManager9 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManager9(std::nullptr_t = nullptr) noexcept {} + IPackageManager9(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageManagerDebugSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageManagerDebugSettings(std::nullptr_t = nullptr) noexcept {} + IPackageManagerDebugSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageUserInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageUserInformation(std::nullptr_t = nullptr) noexcept {} + IPackageUserInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageVolume : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageVolume(std::nullptr_t = nullptr) noexcept {} + IPackageVolume(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPackageVolume2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPackageVolume2(std::nullptr_t = nullptr) noexcept {} + IPackageVolume2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRegisterPackageOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRegisterPackageOptions(std::nullptr_t = nullptr) noexcept {} + IRegisterPackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRegisterPackageOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRegisterPackageOptions2(std::nullptr_t = nullptr) noexcept {} + IRegisterPackageOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRemovePackageOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRemovePackageOptions(std::nullptr_t = nullptr) noexcept {} + IRemovePackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRemovePackageOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRemovePackageOptions2(std::nullptr_t = nullptr) noexcept {} + IRemovePackageOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISharedPackageContainer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISharedPackageContainer(std::nullptr_t = nullptr) noexcept {} + ISharedPackageContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISharedPackageContainerManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISharedPackageContainerManager(std::nullptr_t = nullptr) noexcept {} + ISharedPackageContainerManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISharedPackageContainerManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISharedPackageContainerManagerStatics(std::nullptr_t = nullptr) noexcept {} + ISharedPackageContainerManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISharedPackageContainerMember : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISharedPackageContainerMember(std::nullptr_t = nullptr) noexcept {} + ISharedPackageContainerMember(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISharedPackageContainerMemberFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISharedPackageContainerMemberFactory(std::nullptr_t = nullptr) noexcept {} + ISharedPackageContainerMemberFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStagePackageOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStagePackageOptions(std::nullptr_t = nullptr) noexcept {} + IStagePackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStagePackageOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStagePackageOptions2(std::nullptr_t = nullptr) noexcept {} + IStagePackageOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStagePackageOptions3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStagePackageOptions3(std::nullptr_t = nullptr) noexcept {} + IStagePackageOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUpdateSharedPackageContainerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUpdateSharedPackageContainerOptions(std::nullptr_t = nullptr) noexcept {} + IUpdateSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUpdateSharedPackageContainerResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUpdateSharedPackageContainerResult(std::nullptr_t = nullptr) noexcept {} + IUpdateSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f6de6149f6636cd3b39b97287a5d1bf85fb62810 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.2.h @@ -0,0 +1,182 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_2_H +#define WINRT_Windows_Management_Deployment_2_H +#include "winrt/impl/Windows.ApplicationModel.2.h" +#include "winrt/impl/Windows.Management.Deployment.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Deployment +{ + struct DeploymentProgress + { + winrt::Windows::Management::Deployment::DeploymentProgressState state {}; + uint32_t percentage {}; + }; + inline bool operator==(DeploymentProgress const& left, DeploymentProgress const& right) noexcept + { + return left.state == right.state && left.percentage == right.percentage; + } + inline bool operator!=(DeploymentProgress const& left, DeploymentProgress const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AddPackageOptions : winrt::Windows::Management::Deployment::IAddPackageOptions, + impl::require + { + AddPackageOptions(std::nullptr_t) noexcept {} + AddPackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IAddPackageOptions(ptr, take_ownership_from_abi) {} + AddPackageOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES AppInstallerManager : winrt::Windows::Management::Deployment::IAppInstallerManager + { + AppInstallerManager(std::nullptr_t) noexcept {} + AppInstallerManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IAppInstallerManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetForSystem(); + }; + struct WINRT_IMPL_EMPTY_BASES AutoUpdateSettingsOptions : winrt::Windows::Management::Deployment::IAutoUpdateSettingsOptions + { + AutoUpdateSettingsOptions(std::nullptr_t) noexcept {} + AutoUpdateSettingsOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IAutoUpdateSettingsOptions(ptr, take_ownership_from_abi) {} + AutoUpdateSettingsOptions(); + static auto CreateFromAppInstallerInfo(winrt::Windows::ApplicationModel::AppInstallerInfo const& appInstallerInfo); + }; + struct WINRT_IMPL_EMPTY_BASES CreateSharedPackageContainerOptions : winrt::Windows::Management::Deployment::ICreateSharedPackageContainerOptions + { + CreateSharedPackageContainerOptions(std::nullptr_t) noexcept {} + CreateSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::ICreateSharedPackageContainerOptions(ptr, take_ownership_from_abi) {} + CreateSharedPackageContainerOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES CreateSharedPackageContainerResult : winrt::Windows::Management::Deployment::ICreateSharedPackageContainerResult + { + CreateSharedPackageContainerResult(std::nullptr_t) noexcept {} + CreateSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::ICreateSharedPackageContainerResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeleteSharedPackageContainerOptions : winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerOptions + { + DeleteSharedPackageContainerOptions(std::nullptr_t) noexcept {} + DeleteSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerOptions(ptr, take_ownership_from_abi) {} + DeleteSharedPackageContainerOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES DeleteSharedPackageContainerResult : winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerResult + { + DeleteSharedPackageContainerResult(std::nullptr_t) noexcept {} + DeleteSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IDeleteSharedPackageContainerResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentResult : winrt::Windows::Management::Deployment::IDeploymentResult, + impl::require + { + DeploymentResult(std::nullptr_t) noexcept {} + DeploymentResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IDeploymentResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FindSharedPackageContainerOptions : winrt::Windows::Management::Deployment::IFindSharedPackageContainerOptions + { + FindSharedPackageContainerOptions(std::nullptr_t) noexcept {} + FindSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IFindSharedPackageContainerOptions(ptr, take_ownership_from_abi) {} + FindSharedPackageContainerOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES PackageAllUserProvisioningOptions : winrt::Windows::Management::Deployment::IPackageAllUserProvisioningOptions, + impl::require + { + PackageAllUserProvisioningOptions(std::nullptr_t) noexcept {} + PackageAllUserProvisioningOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IPackageAllUserProvisioningOptions(ptr, take_ownership_from_abi) {} + PackageAllUserProvisioningOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES PackageManager : winrt::Windows::Management::Deployment::IPackageManager, + impl::require + { + PackageManager(std::nullptr_t) noexcept {} + PackageManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IPackageManager(ptr, take_ownership_from_abi) {} + PackageManager(); + using winrt::Windows::Management::Deployment::IPackageManager::AddPackageAsync; + using impl::consume_t::AddPackageAsync; + using impl::consume_t::AddPackageAsync; + using impl::consume_t::AddPackageAsync; + using impl::consume_t::ProvisionPackageForAllUsersAsync; + using impl::consume_t::ProvisionPackageForAllUsersAsync; + using winrt::Windows::Management::Deployment::IPackageManager::RegisterPackageAsync; + using impl::consume_t::RegisterPackageAsync; + using winrt::Windows::Management::Deployment::IPackageManager::RemovePackageAsync; + using impl::consume_t::RemovePackageAsync; + using impl::consume_t::RequestAddPackageAsync; + using impl::consume_t::RequestAddPackageAsync; + using winrt::Windows::Management::Deployment::IPackageManager::StagePackageAsync; + using impl::consume_t::StagePackageAsync; + using impl::consume_t::StagePackageAsync; + using impl::consume_t::StagePackageAsync; + using impl::consume_t::StagePackageAsync; + using impl::consume_t::StageUserDataAsync; + using impl::consume_t::StageUserDataAsync; + }; + struct WINRT_IMPL_EMPTY_BASES PackageManagerDebugSettings : winrt::Windows::Management::Deployment::IPackageManagerDebugSettings + { + PackageManagerDebugSettings(std::nullptr_t) noexcept {} + PackageManagerDebugSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IPackageManagerDebugSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageUserInformation : winrt::Windows::Management::Deployment::IPackageUserInformation + { + PackageUserInformation(std::nullptr_t) noexcept {} + PackageUserInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IPackageUserInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PackageVolume : winrt::Windows::Management::Deployment::IPackageVolume, + impl::require + { + PackageVolume(std::nullptr_t) noexcept {} + PackageVolume(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IPackageVolume(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RegisterPackageOptions : winrt::Windows::Management::Deployment::IRegisterPackageOptions, + impl::require + { + RegisterPackageOptions(std::nullptr_t) noexcept {} + RegisterPackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IRegisterPackageOptions(ptr, take_ownership_from_abi) {} + RegisterPackageOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES RemovePackageOptions : winrt::Windows::Management::Deployment::IRemovePackageOptions, + impl::require + { + RemovePackageOptions(std::nullptr_t) noexcept {} + RemovePackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IRemovePackageOptions(ptr, take_ownership_from_abi) {} + RemovePackageOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES SharedPackageContainer : winrt::Windows::Management::Deployment::ISharedPackageContainer + { + SharedPackageContainer(std::nullptr_t) noexcept {} + SharedPackageContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::ISharedPackageContainer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SharedPackageContainerManager : winrt::Windows::Management::Deployment::ISharedPackageContainerManager + { + SharedPackageContainerManager(std::nullptr_t) noexcept {} + SharedPackageContainerManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::ISharedPackageContainerManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetForUser(param::hstring const& userSid); + static auto GetForProvisioning(); + }; + struct WINRT_IMPL_EMPTY_BASES SharedPackageContainerMember : winrt::Windows::Management::Deployment::ISharedPackageContainerMember + { + SharedPackageContainerMember(std::nullptr_t) noexcept {} + SharedPackageContainerMember(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::ISharedPackageContainerMember(ptr, take_ownership_from_abi) {} + explicit SharedPackageContainerMember(param::hstring const& packageFamilyName); + }; + struct WINRT_IMPL_EMPTY_BASES StagePackageOptions : winrt::Windows::Management::Deployment::IStagePackageOptions, + impl::require + { + StagePackageOptions(std::nullptr_t) noexcept {} + StagePackageOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IStagePackageOptions(ptr, take_ownership_from_abi) {} + StagePackageOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES UpdateSharedPackageContainerOptions : winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerOptions + { + UpdateSharedPackageContainerOptions(std::nullptr_t) noexcept {} + UpdateSharedPackageContainerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerOptions(ptr, take_ownership_from_abi) {} + UpdateSharedPackageContainerOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES UpdateSharedPackageContainerResult : winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerResult + { + UpdateSharedPackageContainerResult(std::nullptr_t) noexcept {} + UpdateSharedPackageContainerResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::IUpdateSharedPackageContainerResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..91972101e17ec89ffa48ec3e79ae350dac039c2d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.0.h @@ -0,0 +1,66 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_Preview_0_H +#define WINRT_Windows_Management_Deployment_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Management::Deployment::Preview +{ + struct IClassicAppManagerStatics; + struct IInstalledClassicAppInfo; + struct ClassicAppManager; + struct InstalledClassicAppInfo; + struct DeploymentPreviewContract; +} +namespace winrt::impl +{ + 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.Management.Deployment.Preview.ClassicAppManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.Preview.InstalledClassicAppInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.Preview.IClassicAppManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.Preview.IInstalledClassicAppInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Deployment.Preview.DeploymentPreviewContract"; + template <> inline constexpr guid guid_v{ 0xE2FAD668,0x882C,0x4F33,{ 0xB0,0x35,0x0D,0xF7,0xB9,0x0D,0x67,0xE6 } }; // E2FAD668-882C-4F33-B035-0DF7B90D67E6 + template <> inline constexpr guid guid_v{ 0x0A7D3DA3,0x65D0,0x4086,{ 0x80,0xD6,0x06,0x10,0xD7,0x60,0x20,0x7D } }; // 0A7D3DA3-65D0-4086-80D6-0610D760207D + template <> struct default_interface{ using type = winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindInstalledApp(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayVersion(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics + { + auto FindInstalledApp(param::hstring const& appUninstallKey) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics; + }; + template + struct consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DisplayVersion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7674ce073012d275306342a221dc19f0b0a18096 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_Preview_1_H +#define WINRT_Windows_Management_Deployment_Preview_1_H +#include "winrt/impl/Windows.Management.Deployment.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Deployment::Preview +{ + struct WINRT_IMPL_EMPTY_BASES IClassicAppManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClassicAppManagerStatics(std::nullptr_t = nullptr) noexcept {} + IClassicAppManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInstalledClassicAppInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInstalledClassicAppInfo(std::nullptr_t = nullptr) noexcept {} + IInstalledClassicAppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..9a7aa8fea310143f5c0d2295f9e099e28396f5db --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.deployment.preview.2.h @@ -0,0 +1,23 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Deployment_Preview_2_H +#define WINRT_Windows_Management_Deployment_Preview_2_H +#include "winrt/impl/Windows.Management.Deployment.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Deployment::Preview +{ + struct ClassicAppManager + { + ClassicAppManager() = delete; + static auto FindInstalledApp(param::hstring const& appUninstallKey); + }; + struct WINRT_IMPL_EMPTY_BASES InstalledClassicAppInfo : winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo + { + InstalledClassicAppInfo(std::nullptr_t) noexcept {} + InstalledClassicAppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e7e49223b086082779d16109f262fad895f8c233 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.0.h @@ -0,0 +1,114 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Policies_0_H +#define WINRT_Windows_Management_Policies_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Management::Policies +{ + enum class NamedPolicyKind : int32_t + { + Invalid = 0, + Binary = 1, + Boolean = 2, + Int32 = 3, + Int64 = 4, + String = 5, + }; + struct INamedPolicyData; + struct INamedPolicyStatics; + struct NamedPolicy; + struct NamedPolicyData; +} +namespace winrt::impl +{ + 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 <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Policies.NamedPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Management.Policies.NamedPolicyData"; + template <> inline constexpr auto& name_v = L"Windows.Management.Policies.NamedPolicyKind"; + template <> inline constexpr auto& name_v = L"Windows.Management.Policies.INamedPolicyData"; + template <> inline constexpr auto& name_v = L"Windows.Management.Policies.INamedPolicyStatics"; + template <> inline constexpr guid guid_v{ 0x38DCB198,0x95AC,0x4077,{ 0xA6,0x43,0x80,0x78,0xCA,0xE2,0x64,0x00 } }; // 38DCB198-95AC-4077-A643-8078CAE26400 + template <> inline constexpr guid guid_v{ 0x7F793BE7,0x76C4,0x4058,{ 0x8C,0xAD,0x67,0x66,0x2C,0xD0,0x5F,0x0D } }; // 7F793BE7-76C4-4058-8CAD-67662CD05F0D + template <> struct default_interface{ using type = winrt::Windows::Management::Policies::INamedPolicyData; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Area(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsManaged(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUserPolicy(bool*) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + virtual int32_t __stdcall GetBoolean(bool*) noexcept = 0; + virtual int32_t __stdcall GetBinary(void**) noexcept = 0; + virtual int32_t __stdcall GetInt32(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetInt64(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetString(void**) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPolicyFromPath(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPolicyFromPathForUser(void*, void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Policies_INamedPolicyData + { + [[nodiscard]] auto Area() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto IsManaged() const; + [[nodiscard]] auto IsUserPolicy() const; + [[nodiscard]] auto User() const; + auto GetBoolean() const; + auto GetBinary() const; + auto GetInt32() const; + auto GetInt64() const; + auto GetString() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + auto Changed(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Policies_INamedPolicyData; + }; + template + struct consume_Windows_Management_Policies_INamedPolicyStatics + { + auto GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const; + auto GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Policies_INamedPolicyStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.1.h new file mode 100644 index 0000000000000000000000000000000000000000..74d690dcae60579be8d0e0b7c1e0974e29b75ad7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Policies_1_H +#define WINRT_Windows_Management_Policies_1_H +#include "winrt/impl/Windows.Management.Policies.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Policies +{ + struct WINRT_IMPL_EMPTY_BASES INamedPolicyData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INamedPolicyData(std::nullptr_t = nullptr) noexcept {} + INamedPolicyData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INamedPolicyStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INamedPolicyStatics(std::nullptr_t = nullptr) noexcept {} + INamedPolicyStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.2.h new file mode 100644 index 0000000000000000000000000000000000000000..077d0e5d42fa480368844de8c1cef06b463aaf22 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.policies.2.h @@ -0,0 +1,25 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Policies_2_H +#define WINRT_Windows_Management_Policies_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Management.Policies.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Policies +{ + struct NamedPolicy + { + NamedPolicy() = delete; + static auto GetPolicyFromPath(param::hstring const& area, param::hstring const& name); + static auto GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name); + }; + struct WINRT_IMPL_EMPTY_BASES NamedPolicyData : winrt::Windows::Management::Policies::INamedPolicyData + { + NamedPolicyData(std::nullptr_t) noexcept {} + NamedPolicyData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Policies::INamedPolicyData(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ebd2e71601ae697447772f66f74f80092d80d1fd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.0.h @@ -0,0 +1,422 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Setup_0_H +#define WINRT_Windows_Management_Setup_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Management::Setup +{ + enum class DeploymentAgentProgressState : int32_t + { + NotStarted = 0, + Initializing = 1, + InProgress = 2, + Completed = 3, + ErrorOccurred = 4, + RebootRequired = 5, + Canceled = 6, + }; + enum class DeploymentSessionConnectionChange : int32_t + { + NoChange = 0, + HostConnectionLost = 1, + HostConnectionRestored = 2, + AgentConnectionLost = 3, + AgentConnectionRestored = 4, + InternetConnectionLost = 5, + InternetConnectionRestored = 6, + }; + enum class DeploymentSessionStateChange : int32_t + { + NoChange = 0, + CancelRequestedByUser = 1, + RetryRequestedByUser = 2, + }; + enum class DeploymentWorkloadState : int32_t + { + NotStarted = 0, + InProgress = 1, + Completed = 2, + Failed = 3, + Canceled = 4, + Skipped = 5, + Uninstalled = 6, + RebootRequired = 7, + }; + struct IAgentProvisioningProgressReport; + struct IDeploymentSessionConnectionChangedEventArgs; + struct IDeploymentSessionHeartbeatRequestedEventArgs; + struct IDeploymentSessionStateChangedEventArgs; + struct IDeploymentWorkload; + struct IDeploymentWorkloadBatch; + struct IDeploymentWorkloadBatchFactory; + struct IDeploymentWorkloadFactory; + struct IDevicePreparationExecutionContext; + struct IMachineProvisioningProgressReporter; + struct IMachineProvisioningProgressReporterStatics; + struct AgentProvisioningProgressReport; + struct DeploymentSessionConnectionChangedEventArgs; + struct DeploymentSessionHeartbeatRequestedEventArgs; + struct DeploymentSessionStateChangedEventArgs; + struct DeploymentWorkload; + struct DeploymentWorkloadBatch; + struct DevicePreparationExecutionContext; + struct MachineProvisioningProgressReporter; + struct DeploymentSessionHeartbeatRequested; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.AgentProvisioningProgressReport"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionConnectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionHeartbeatRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentWorkload"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentWorkloadBatch"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DevicePreparationExecutionContext"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.MachineProvisioningProgressReporter"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentAgentProgressState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionConnectionChange"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentWorkloadState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IAgentProvisioningProgressReport"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentSessionConnectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentSessionHeartbeatRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentSessionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentWorkload"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentWorkloadBatch"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentWorkloadBatchFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDeploymentWorkloadFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IDevicePreparationExecutionContext"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IMachineProvisioningProgressReporter"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.IMachineProvisioningProgressReporterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Setup.DeploymentSessionHeartbeatRequested"; + template <> inline constexpr guid guid_v{ 0x5097398A,0x70CC,0x5181,{ 0xA7,0xAF,0xD3,0x1C,0x16,0x73,0x23,0xD1 } }; // 5097398A-70CC-5181-A7AF-D31C167323D1 + template <> inline constexpr guid guid_v{ 0x8D40C631,0x6E4B,0x5D59,{ 0x92,0xF8,0x0D,0xE5,0x4C,0x2A,0x3C,0x6B } }; // 8D40C631-6E4B-5D59-92F8-0DE54C2A3C6B + template <> inline constexpr guid guid_v{ 0x09D81FA0,0x1036,0x58E6,{ 0xB6,0x3B,0xFE,0x34,0x3C,0x45,0x00,0x5F } }; // 09D81FA0-1036-58E6-B63B-FE343C45005F + template <> inline constexpr guid guid_v{ 0xFBD3B7F3,0x88CB,0x5703,{ 0xB8,0xA5,0x02,0x18,0xDE,0x8F,0xED,0x81 } }; // FBD3B7F3-88CB-5703-B8A5-0218DE8FED81 + template <> inline constexpr guid guid_v{ 0x1CEFD3D4,0x456C,0x50D1,{ 0x93,0x12,0xCC,0x5C,0x81,0x8F,0xC1,0x2E } }; // 1CEFD3D4-456C-50D1-9312-CC5C818FC12E + template <> inline constexpr guid guid_v{ 0x5E56E3DF,0xB9C0,0x5FEE,{ 0xBA,0x3F,0xE8,0x9D,0x80,0x0A,0x9B,0xF2 } }; // 5E56E3DF-B9C0-5FEE-BA3F-E89D800A9BF2 + template <> inline constexpr guid guid_v{ 0xD0209697,0x9560,0x5A05,{ 0xBD,0xF6,0xF1,0xAF,0x53,0x5C,0xB0,0xD4 } }; // D0209697-9560-5A05-BDF6-F1AF535CB0D4 + template <> inline constexpr guid guid_v{ 0x41426C72,0x22A3,0x5339,{ 0xBD,0xF1,0x51,0x26,0x81,0x69,0xAA,0x61 } }; // 41426C72-22A3-5339-BDF1-51268169AA61 + template <> inline constexpr guid guid_v{ 0x084F221B,0x2484,0x5E81,{ 0xA4,0xE7,0x83,0xF6,0xCA,0xF1,0x9D,0xC4 } }; // 084F221B-2484-5E81-A4E7-83F6CAF19DC4 + template <> inline constexpr guid guid_v{ 0xEBD8677F,0xDFD2,0x59DA,{ 0xAC,0x3D,0x75,0x3E,0xE1,0x66,0x7C,0xBB } }; // EBD8677F-DFD2-59DA-AC3D-753EE1667CBB + template <> inline constexpr guid guid_v{ 0x77682C17,0x5DA3,0x51FC,{ 0xA0,0x42,0xC7,0xB5,0x34,0x58,0xDD,0xB5 } }; // 77682C17-5DA3-51FC-A042-C7B53458DDB5 + template <> inline constexpr guid guid_v{ 0xC94A770B,0x5B05,0x4595,{ 0x9E,0x69,0x79,0x07,0x04,0x84,0x37,0x7E } }; // C94A770B-5B05-4595-9E69-79070484377E + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IAgentProvisioningProgressReport; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDeploymentSessionConnectionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDeploymentSessionHeartbeatRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDeploymentSessionStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDeploymentWorkload; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDeploymentWorkloadBatch; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IDevicePreparationExecutionContext; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Setup::IMachineProvisioningProgressReporter; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_State(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProgressPercentage(double*) noexcept = 0; + virtual int32_t __stdcall put_ProgressPercentage(double) noexcept = 0; + virtual int32_t __stdcall get_EstimatedTimeRemaining(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_EstimatedTimeRemaining(int64_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayProgress(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayProgress(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayProgressSecondary(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayProgressSecondary(void*) noexcept = 0; + virtual int32_t __stdcall get_Batches(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentBatchIndex(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CurrentBatchIndex(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(void**) noexcept = 0; + virtual int32_t __stdcall get_Change(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(void**) noexcept = 0; + virtual int32_t __stdcall get_Change(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayFriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayFriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_StartTime(void**) noexcept = 0; + virtual int32_t __stdcall put_StartTime(void*) noexcept = 0; + virtual int32_t __stdcall get_EndTime(void**) noexcept = 0; + virtual int32_t __stdcall put_EndTime(void*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ErrorCode(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ErrorMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_ErrorMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_PossibleCause(void**) noexcept = 0; + virtual int32_t __stdcall put_PossibleCause(void*) noexcept = 0; + virtual int32_t __stdcall get_PossibleResolution(void**) noexcept = 0; + virtual int32_t __stdcall put_PossibleResolution(void*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_State(int32_t) noexcept = 0; + virtual int32_t __stdcall get_StateDetails(void**) noexcept = 0; + virtual int32_t __stdcall put_StateDetails(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DisplayCategoryTitle(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayCategoryTitle(void*) noexcept = 0; + virtual int32_t __stdcall get_BatchWorkloads(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Context(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SessionConnection(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SessionState(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_SessionStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SessionConnectionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionConnectionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall ReportProgress(void*) noexcept = 0; + virtual int32_t __stdcall GetDevicePreparationExecutionContextAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForLaunchUri(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Setup_IAgentProvisioningProgressReport + { + [[nodiscard]] auto State() const; + auto State(winrt::Windows::Management::Setup::DeploymentAgentProgressState const& value) const; + [[nodiscard]] auto ProgressPercentage() const; + auto ProgressPercentage(double value) const; + [[nodiscard]] auto EstimatedTimeRemaining() const; + auto EstimatedTimeRemaining(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DisplayProgress() const; + auto DisplayProgress(param::hstring const& value) const; + [[nodiscard]] auto DisplayProgressSecondary() const; + auto DisplayProgressSecondary(param::hstring const& value) const; + [[nodiscard]] auto Batches() const; + [[nodiscard]] auto CurrentBatchIndex() const; + auto CurrentBatchIndex(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IAgentProvisioningProgressReport; + }; + template + struct consume_Windows_Management_Setup_IDeploymentSessionConnectionChangedEventArgs + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto Change() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentSessionConnectionChangedEventArgs; + }; + template + struct consume_Windows_Management_Setup_IDeploymentSessionHeartbeatRequestedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentSessionHeartbeatRequestedEventArgs; + }; + template + struct consume_Windows_Management_Setup_IDeploymentSessionStateChangedEventArgs + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto Change() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentSessionStateChangedEventArgs; + }; + template + struct consume_Windows_Management_Setup_IDeploymentWorkload + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayFriendlyName() const; + auto DisplayFriendlyName(param::hstring const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ErrorCode() const; + auto ErrorCode(uint32_t value) const; + [[nodiscard]] auto ErrorMessage() const; + auto ErrorMessage(param::hstring const& value) const; + [[nodiscard]] auto PossibleCause() const; + auto PossibleCause(param::hstring const& value) const; + [[nodiscard]] auto PossibleResolution() const; + auto PossibleResolution(param::hstring const& value) const; + [[nodiscard]] auto State() const; + auto State(winrt::Windows::Management::Setup::DeploymentWorkloadState const& value) const; + [[nodiscard]] auto StateDetails() const; + auto StateDetails(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentWorkload; + }; + template + struct consume_Windows_Management_Setup_IDeploymentWorkloadBatch + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayCategoryTitle() const; + auto DisplayCategoryTitle(param::hstring const& value) const; + [[nodiscard]] auto BatchWorkloads() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentWorkloadBatch; + }; + template + struct consume_Windows_Management_Setup_IDeploymentWorkloadBatchFactory + { + auto CreateInstance(uint32_t id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentWorkloadBatchFactory; + }; + template + struct consume_Windows_Management_Setup_IDeploymentWorkloadFactory + { + auto CreateInstance(param::hstring const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDeploymentWorkloadFactory; + }; + template + struct consume_Windows_Management_Setup_IDevicePreparationExecutionContext + { + [[nodiscard]] auto Context() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IDevicePreparationExecutionContext; + }; + template + struct consume_Windows_Management_Setup_IMachineProvisioningProgressReporter + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto SessionConnection() const; + [[nodiscard]] auto SessionState() const; + auto SessionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionStateChanged_revoker = impl::event_revoker::remove_SessionStateChanged>; + [[nodiscard]] auto SessionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionStateChanged(winrt::event_token const& token) const noexcept; + auto SessionConnectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionConnectionChanged_revoker = impl::event_revoker::remove_SessionConnectionChanged>; + [[nodiscard]] auto SessionConnectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionConnectionChanged(winrt::event_token const& token) const noexcept; + auto ReportProgress(winrt::Windows::Management::Setup::AgentProvisioningProgressReport const& updateReport) const; + auto GetDevicePreparationExecutionContextAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IMachineProvisioningProgressReporter; + }; + template + struct consume_Windows_Management_Setup_IMachineProvisioningProgressReporterStatics + { + auto GetForLaunchUri(winrt::Windows::Foundation::Uri const& launchUri, winrt::Windows::Management::Setup::DeploymentSessionHeartbeatRequested const& heartbeatHandler) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Setup_IMachineProvisioningProgressReporterStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5493296899edbee692dd2aae59d6bd5e3b082d1f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.1.h @@ -0,0 +1,90 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Setup_1_H +#define WINRT_Windows_Management_Setup_1_H +#include "winrt/impl/Windows.Management.Setup.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Setup +{ + struct WINRT_IMPL_EMPTY_BASES IAgentProvisioningProgressReport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAgentProvisioningProgressReport(std::nullptr_t = nullptr) noexcept {} + IAgentProvisioningProgressReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentSessionConnectionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentSessionConnectionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeploymentSessionConnectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentSessionHeartbeatRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentSessionHeartbeatRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeploymentSessionHeartbeatRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentSessionStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentSessionStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDeploymentSessionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentWorkload : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentWorkload(std::nullptr_t = nullptr) noexcept {} + IDeploymentWorkload(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentWorkloadBatch : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentWorkloadBatch(std::nullptr_t = nullptr) noexcept {} + IDeploymentWorkloadBatch(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentWorkloadBatchFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentWorkloadBatchFactory(std::nullptr_t = nullptr) noexcept {} + IDeploymentWorkloadBatchFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDeploymentWorkloadFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDeploymentWorkloadFactory(std::nullptr_t = nullptr) noexcept {} + IDeploymentWorkloadFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDevicePreparationExecutionContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDevicePreparationExecutionContext(std::nullptr_t = nullptr) noexcept {} + IDevicePreparationExecutionContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMachineProvisioningProgressReporter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMachineProvisioningProgressReporter(std::nullptr_t = nullptr) noexcept {} + IMachineProvisioningProgressReporter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMachineProvisioningProgressReporterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMachineProvisioningProgressReporterStatics(std::nullptr_t = nullptr) noexcept {} + IMachineProvisioningProgressReporterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2a64e288597de2d0b4bf180e9a08a25304f39527 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.setup.2.h @@ -0,0 +1,71 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Setup_2_H +#define WINRT_Windows_Management_Setup_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Management.Setup.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Setup +{ + struct DeploymentSessionHeartbeatRequested : winrt::Windows::Foundation::IUnknown + { + DeploymentSessionHeartbeatRequested(std::nullptr_t = nullptr) noexcept {} + DeploymentSessionHeartbeatRequested(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DeploymentSessionHeartbeatRequested(L lambda); + template DeploymentSessionHeartbeatRequested(F* function); + template DeploymentSessionHeartbeatRequested(O* object, M method); + template DeploymentSessionHeartbeatRequested(com_ptr&& object, M method); + template DeploymentSessionHeartbeatRequested(weak_ref&& object, LM&& lambda_or_method); + template DeploymentSessionHeartbeatRequested(std::shared_ptr&& object, M method); + template DeploymentSessionHeartbeatRequested(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Management::Setup::DeploymentSessionHeartbeatRequestedEventArgs const& eventArgs) const; + }; + struct WINRT_IMPL_EMPTY_BASES AgentProvisioningProgressReport : winrt::Windows::Management::Setup::IAgentProvisioningProgressReport + { + AgentProvisioningProgressReport(std::nullptr_t) noexcept {} + AgentProvisioningProgressReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IAgentProvisioningProgressReport(ptr, take_ownership_from_abi) {} + AgentProvisioningProgressReport(); + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentSessionConnectionChangedEventArgs : winrt::Windows::Management::Setup::IDeploymentSessionConnectionChangedEventArgs + { + DeploymentSessionConnectionChangedEventArgs(std::nullptr_t) noexcept {} + DeploymentSessionConnectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDeploymentSessionConnectionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentSessionHeartbeatRequestedEventArgs : winrt::Windows::Management::Setup::IDeploymentSessionHeartbeatRequestedEventArgs + { + DeploymentSessionHeartbeatRequestedEventArgs(std::nullptr_t) noexcept {} + DeploymentSessionHeartbeatRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDeploymentSessionHeartbeatRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentSessionStateChangedEventArgs : winrt::Windows::Management::Setup::IDeploymentSessionStateChangedEventArgs + { + DeploymentSessionStateChangedEventArgs(std::nullptr_t) noexcept {} + DeploymentSessionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDeploymentSessionStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentWorkload : winrt::Windows::Management::Setup::IDeploymentWorkload + { + DeploymentWorkload(std::nullptr_t) noexcept {} + DeploymentWorkload(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDeploymentWorkload(ptr, take_ownership_from_abi) {} + explicit DeploymentWorkload(param::hstring const& id); + }; + struct WINRT_IMPL_EMPTY_BASES DeploymentWorkloadBatch : winrt::Windows::Management::Setup::IDeploymentWorkloadBatch + { + DeploymentWorkloadBatch(std::nullptr_t) noexcept {} + DeploymentWorkloadBatch(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDeploymentWorkloadBatch(ptr, take_ownership_from_abi) {} + explicit DeploymentWorkloadBatch(uint32_t id); + }; + struct WINRT_IMPL_EMPTY_BASES DevicePreparationExecutionContext : winrt::Windows::Management::Setup::IDevicePreparationExecutionContext + { + DevicePreparationExecutionContext(std::nullptr_t) noexcept {} + DevicePreparationExecutionContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IDevicePreparationExecutionContext(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MachineProvisioningProgressReporter : winrt::Windows::Management::Setup::IMachineProvisioningProgressReporter + { + MachineProvisioningProgressReporter(std::nullptr_t) noexcept {} + MachineProvisioningProgressReporter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Setup::IMachineProvisioningProgressReporter(ptr, take_ownership_from_abi) {} + static auto GetForLaunchUri(winrt::Windows::Foundation::Uri const& launchUri, winrt::Windows::Management::Setup::DeploymentSessionHeartbeatRequested const& heartbeatHandler); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.0.h new file mode 100644 index 0000000000000000000000000000000000000000..3db64613bcc621acf871c9d1677e230345284aef --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.0.h @@ -0,0 +1,1796 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Update_0_H +#define WINRT_Windows_Management_Update_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct HResult; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + struct PropertySet; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Management::Update +{ + enum class WindowsSoftwareUpdateActionResult : int32_t + { + Succeeded = 0, + Continue = 1, + Failed = 2, + Canceled = 3, + Removed = 4, + }; + enum class WindowsSoftwareUpdateActionType : int32_t + { + Download = 0, + Install = 1, + Deploy = 2, + Reboot = 3, + AppRestart = 4, + }; + enum class WindowsSoftwareUpdateArchitecture : int32_t + { + Neutral = 0, + X86 = 1, + X64 = 2, + Arm = 3, + Arm64 = 4, + }; + enum class WindowsSoftwareUpdateInstallationType : int32_t + { + WindowsUpdate = 0, + AppPackage = 1, + Executable = 2, + Powershell = 3, + }; + enum class WindowsSoftwareUpdateProviderRegistrationType : int32_t + { + None = 0, + System = 1, + Windows = 2, + Pending = 3, + Registered = 4, + Unregistered = 5, + }; + enum class WindowsSoftwareUpdateProviderTrustState : int32_t + { + SignedTrusted = 0, + SignedUntrusted = 1, + Unsigned = 2, + }; + enum class WindowsSoftwareUpdateProviderType : int32_t + { + WindowsUpdate = 0, + Executable = 1, + Powershell = 2, + }; + enum class WindowsSoftwareUpdateRestartReason : int32_t + { + None = 0, + System = 1, + AppClose = 2, + AppRestart = 3, + }; + enum class WindowsUpdateAdministratorOptions : uint32_t + { + None = 0, + RequireAdministratorApprovalForScans = 0x1, + RequireAdministratorApprovalForUpdates = 0x2, + RequireAdministratorApprovalForActions = 0x4, + }; + enum class WindowsUpdateAdministratorStatus : int32_t + { + Succeeded = 0, + NoAdministratorRegistered = 1, + OtherAdministratorIsRegistered = 2, + }; + enum class WindowsUpdateAttentionRequiredReason : int32_t + { + None = 0, + SeekerUpdate = 1, + ReadyToReboot = 2, + NeedNonMeteredNetwork = 3, + NeedUserAgreementForMeteredNetwork = 4, + NeedNetwork = 5, + NeedMoreSpace = 6, + BatterySaverEnabled = 7, + NeedUserInteraction = 8, + NeedUserAgreementForPolicy = 9, + CompatibilityError = 10, + NeedUserInteractionForEula = 11, + NeedUserInteractionForCta = 12, + Regulated = 13, + ExternalReboot = 14, + OtherUpdate = 15, + BlockedByProvider = 16, + BlockedByPostRebootFailure = 17, + UserEngaged = 18, + BlockedByBattery = 19, + Exclusivity = 20, + BlockedBySerialization = 21, + ConflictClass = 22, + BlockedByAdminApproval = 23, + BlockedByTooManyAttempts = 24, + BlockedByFailure = 25, + Demotion = 26, + BlockedByActiveHours = 27, + ScheduledForMaintenance = 28, + PolicyScheduledInstallTime = 29, + BlockedByOobe = 30, + DeferredDuringOobe = 31, + DeferredForSustainableTime = 32, + BlockedByAppClose = 33, + BlockedByAppRestart = 34, + OtherUpdateReverting = 35, + }; + struct IPreviewBuildsManager; + struct IPreviewBuildsManagerStatics; + struct IPreviewBuildsState; + struct IWindowsSoftwareUpdate; + struct IWindowsSoftwareUpdateActionInfo; + struct IWindowsSoftwareUpdateActionInfoFactory; + struct IWindowsSoftwareUpdateActionProgress; + struct IWindowsSoftwareUpdateActionResultInfo; + struct IWindowsSoftwareUpdateAppPackageInfo; + struct IWindowsSoftwareUpdateAppPackageInfoFactory; + struct IWindowsSoftwareUpdateApprovalInfo; + struct IWindowsSoftwareUpdateApprovalInfoFactory; + struct IWindowsSoftwareUpdateExecutionInfo; + struct IWindowsSoftwareUpdateExecutionInfoFactory; + struct IWindowsSoftwareUpdateFactory; + struct IWindowsSoftwareUpdateLocalizationInfo; + struct IWindowsSoftwareUpdateLocalizationInfoFactory; + struct IWindowsSoftwareUpdateOptionalActionInfo; + struct IWindowsSoftwareUpdateOptionalActionInfoFactory; + struct IWindowsSoftwareUpdateOptionalInfo; + struct IWindowsSoftwareUpdateOptionalInfoFactory; + struct IWindowsSoftwareUpdateProvider; + struct IWindowsSoftwareUpdateProviderActionResult; + struct IWindowsSoftwareUpdateProviderActionResultFactory; + struct IWindowsSoftwareUpdateProviderFactory; + struct IWindowsSoftwareUpdateProviderPayloadFileInfo; + struct IWindowsSoftwareUpdateProviderStatus; + struct IWindowsSoftwareUpdateProviderStatusFactory; + struct IWindowsSoftwareUpdateResult; + struct IWindowsSoftwareUpdateResultFactory; + struct IWindowsSoftwareUpdateScanResult; + struct IWindowsSoftwareUpdateScanResultFactory; + struct IWindowsSoftwareUpdateVersion; + struct IWindowsSoftwareUpdateVersionFactory; + struct IWindowsUpdate; + struct IWindowsUpdateActionCompletedEventArgs; + struct IWindowsUpdateActionProgress; + struct IWindowsUpdateActionResult; + struct IWindowsUpdateAdministrator; + struct IWindowsUpdateAdministratorStatics; + struct IWindowsUpdateApprovalData; + struct IWindowsUpdateAttentionRequiredInfo; + struct IWindowsUpdateAttentionRequiredReasonChangedEventArgs; + struct IWindowsUpdateGetAdministratorResult; + struct IWindowsUpdateItem; + struct IWindowsUpdateManager; + struct IWindowsUpdateManager2; + struct IWindowsUpdateManagerFactory; + struct IWindowsUpdateManagerFactory2; + struct IWindowsUpdateManagerScanOptions; + struct IWindowsUpdateManagerScanOptionsFactory; + struct IWindowsUpdateProgressChangedEventArgs; + struct IWindowsUpdateRestartRequestOptions; + struct IWindowsUpdateRestartRequestOptionsFactory; + struct IWindowsUpdateScanCompletedEventArgs; + struct PreviewBuildsManager; + struct PreviewBuildsState; + struct WindowsSoftwareUpdate; + struct WindowsSoftwareUpdateActionInfo; + struct WindowsSoftwareUpdateActionProgress; + struct WindowsSoftwareUpdateActionResultInfo; + struct WindowsSoftwareUpdateAppPackageInfo; + struct WindowsSoftwareUpdateApprovalInfo; + struct WindowsSoftwareUpdateExecutionInfo; + struct WindowsSoftwareUpdateLocalizationInfo; + struct WindowsSoftwareUpdateOptionalActionInfo; + struct WindowsSoftwareUpdateOptionalInfo; + struct WindowsSoftwareUpdateProvider; + struct WindowsSoftwareUpdateProviderActionResult; + struct WindowsSoftwareUpdateProviderPayloadFileInfo; + struct WindowsSoftwareUpdateProviderStatus; + struct WindowsSoftwareUpdateResult; + struct WindowsSoftwareUpdateScanResult; + struct WindowsSoftwareUpdateVersion; + struct WindowsUpdate; + struct WindowsUpdateActionCompletedEventArgs; + struct WindowsUpdateActionProgress; + struct WindowsUpdateActionResult; + struct WindowsUpdateAdministrator; + struct WindowsUpdateApprovalData; + struct WindowsUpdateAttentionRequiredInfo; + struct WindowsUpdateAttentionRequiredReasonChangedEventArgs; + struct WindowsUpdateGetAdministratorResult; + struct WindowsUpdateItem; + struct WindowsUpdateManager; + struct WindowsUpdateManagerScanOptions; + struct WindowsUpdateProgressChangedEventArgs; + struct WindowsUpdateRestartRequestOptions; + struct WindowsUpdateScanCompletedEventArgs; + struct WindowsUpdateContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.PreviewBuildsManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.PreviewBuildsState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateActionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateActionProgress"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateActionResultInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateAppPackageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateApprovalInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateExecutionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateLocalizationInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateOptionalActionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateOptionalInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProvider"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderActionResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderPayloadFileInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateScanResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateVersion"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateActionCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateActionProgress"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateActionResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAdministrator"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateApprovalData"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAttentionRequiredInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAttentionRequiredReasonChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateGetAdministratorResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateItem"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateManagerScanOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateProgressChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateRestartRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateScanCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateActionResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateActionType"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateArchitecture"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateInstallationType"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderRegistrationType"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderTrustState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateProviderType"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsSoftwareUpdateRestartReason"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAdministratorOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAdministratorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateAttentionRequiredReason"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IPreviewBuildsManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IPreviewBuildsManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IPreviewBuildsState"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateActionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateActionInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateActionProgress"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateActionResultInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateAppPackageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateAppPackageInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateApprovalInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateApprovalInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateExecutionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateExecutionInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateLocalizationInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateLocalizationInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateOptionalActionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateOptionalActionInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateOptionalInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateOptionalInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProvider"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderActionResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderActionResultFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderPayloadFileInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateProviderStatusFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateResultFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateScanResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateScanResultFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateVersion"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsSoftwareUpdateVersionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdate"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateActionCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateActionProgress"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateActionResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateAdministrator"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateAdministratorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateApprovalData"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateAttentionRequiredInfo"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateAttentionRequiredReasonChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateGetAdministratorResult"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateItem"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManager"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManager2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManagerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManagerFactory2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManagerScanOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateManagerScanOptionsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateProgressChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateRestartRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateRestartRequestOptionsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.IWindowsUpdateScanCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Management.Update.WindowsUpdateContract"; + template <> inline constexpr guid guid_v{ 0xFA07DD61,0x7E4F,0x59F7,{ 0x7C,0x9F,0xDE,0xF9,0x05,0x1C,0x5F,0x62 } }; // FA07DD61-7E4F-59F7-7C9F-DEF9051C5F62 + template <> inline constexpr guid guid_v{ 0x3E422887,0xB112,0x5A70,{ 0x7D,0xA1,0x97,0xD7,0x8D,0x32,0xAA,0x29 } }; // 3E422887-B112-5A70-7DA1-97D78D32AA29 + template <> inline constexpr guid guid_v{ 0xA2F2903E,0xB223,0x5F63,{ 0x75,0x46,0x3E,0x8E,0xAC,0x07,0x0A,0x2E } }; // A2F2903E-B223-5F63-7546-3E8EAC070A2E + template <> inline constexpr guid guid_v{ 0xD8F19211,0x98FE,0x58DD,{ 0xAF,0x0F,0x47,0x05,0x32,0xAA,0x33,0x41 } }; // D8F19211-98FE-58DD-AF0F-470532AA3341 + template <> inline constexpr guid guid_v{ 0x2F6723B5,0xF704,0x5362,{ 0xB6,0x00,0xD1,0x88,0x08,0xF3,0x97,0x3E } }; // 2F6723B5-F704-5362-B600-D18808F3973E + template <> inline constexpr guid guid_v{ 0x5E83B58E,0xD982,0x5D93,{ 0xA7,0xCB,0xBF,0x6C,0x9B,0x6E,0xE5,0xA6 } }; // 5E83B58E-D982-5D93-A7CB-BF6C9B6EE5A6 + template <> inline constexpr guid guid_v{ 0x17DC15FD,0x75F2,0x522B,{ 0xB5,0x55,0x35,0x9D,0xA8,0xDE,0x55,0x81 } }; // 17DC15FD-75F2-522B-B555-359DA8DE5581 + template <> inline constexpr guid guid_v{ 0xBCF26FBA,0x98C8,0x51CB,{ 0x8B,0x7E,0x1E,0xED,0xC3,0xD8,0x2A,0x69 } }; // BCF26FBA-98C8-51CB-8B7E-1EEDC3D82A69 + template <> inline constexpr guid guid_v{ 0xA5BD59F4,0xE624,0x5552,{ 0x82,0xF9,0x26,0x7A,0x45,0x74,0xA2,0x03 } }; // A5BD59F4-E624-5552-82F9-267A4574A203 + template <> inline constexpr guid guid_v{ 0xA8BDA639,0xA4F6,0x5A4A,{ 0x8A,0x54,0x26,0xC1,0xC5,0x08,0xCD,0x0F } }; // A8BDA639-A4F6-5A4A-8A54-26C1C508CD0F + template <> inline constexpr guid guid_v{ 0x691E6B9E,0x80AF,0x5882,{ 0x94,0x04,0x25,0x43,0x7E,0xCB,0x79,0x1B } }; // 691E6B9E-80AF-5882-9404-25437ECB791B + template <> inline constexpr guid guid_v{ 0xAB291C7C,0xD29F,0x5AC5,{ 0xB4,0x47,0x0B,0xFC,0xAB,0xDC,0x2C,0xC3 } }; // AB291C7C-D29F-5AC5-B447-0BFCABDC2CC3 + template <> inline constexpr guid guid_v{ 0x091AEA19,0x9128,0x5F24,{ 0xAF,0xC1,0xA6,0x22,0x52,0xDF,0x55,0xC0 } }; // 091AEA19-9128-5F24-AFC1-A62252DF55C0 + template <> inline constexpr guid guid_v{ 0x88596F7E,0xB9EF,0x5583,{ 0x81,0x35,0x94,0xD6,0x2E,0xD6,0x6E,0xD4 } }; // 88596F7E-B9EF-5583-8135-94D62ED66ED4 + template <> inline constexpr guid guid_v{ 0x28E7E01B,0x4225,0x52C8,{ 0xBB,0x51,0xC6,0x8F,0x0B,0x07,0x1B,0xE5 } }; // 28E7E01B-4225-52C8-BB51-C68F0B071BE5 + template <> inline constexpr guid guid_v{ 0xADC2DE4B,0x5966,0x5F9F,{ 0xAE,0x07,0x00,0xD4,0xA2,0x85,0xD9,0x33 } }; // ADC2DE4B-5966-5F9F-AE07-00D4A285D933 + template <> inline constexpr guid guid_v{ 0x76979B24,0xF5BD,0x5C8C,{ 0xBD,0xB7,0xA4,0x61,0x87,0x37,0x4A,0xFF } }; // 76979B24-F5BD-5C8C-BDB7-A46187374AFF + template <> inline constexpr guid guid_v{ 0x4AC035D0,0xE50E,0x5CCB,{ 0xBF,0xD8,0xA3,0x03,0x56,0x28,0x91,0xD2 } }; // 4AC035D0-E50E-5CCB-BFD8-A303562891D2 + template <> inline constexpr guid guid_v{ 0x88D2FCC1,0x4791,0x51B6,{ 0xB9,0x88,0x96,0x6E,0xF9,0x3A,0x18,0x0B } }; // 88D2FCC1-4791-51B6-B988-966EF93A180B + template <> inline constexpr guid guid_v{ 0x78084A73,0x50C4,0x5C33,{ 0xA7,0x51,0x7A,0x12,0x1F,0x5A,0xAE,0x70 } }; // 78084A73-50C4-5C33-A751-7A121F5AAE70 + template <> inline constexpr guid guid_v{ 0xD837DEED,0xA5F2,0x5C89,{ 0x8B,0xEB,0x85,0x2D,0x28,0x97,0xB2,0xEF } }; // D837DEED-A5F2-5C89-8BEB-852D2897B2EF + template <> inline constexpr guid guid_v{ 0x20B67F4A,0xE28E,0x5D20,{ 0x9C,0x00,0xBF,0x24,0x99,0x22,0xEF,0xBE } }; // 20B67F4A-E28E-5D20-9C00-BF249922EFBE + template <> inline constexpr guid guid_v{ 0xAFD92B50,0x6BB9,0x54DE,{ 0xBD,0xDA,0x9D,0xFB,0x6C,0xC1,0x7C,0x16 } }; // AFD92B50-6BB9-54DE-BDDA-9DFB6CC17C16 + template <> inline constexpr guid guid_v{ 0x0C002684,0x30C9,0x59E9,{ 0xB5,0x3F,0x88,0x46,0xA8,0x5D,0x2D,0xC6 } }; // 0C002684-30C9-59E9-B53F-8846A85D2DC6 + template <> inline constexpr guid guid_v{ 0xFC0D5FC4,0xE15E,0x5116,{ 0xB2,0xED,0xDB,0x0A,0x64,0x99,0x7F,0xFA } }; // FC0D5FC4-E15E-5116-B2ED-DB0A64997FFA + template <> inline constexpr guid guid_v{ 0xF1DA16DA,0x1B01,0x5367,{ 0xB4,0xAE,0x20,0xDB,0x8C,0xAE,0x1E,0x9B } }; // F1DA16DA-1B01-5367-B4AE-20DB8CAE1E9B + template <> inline constexpr guid guid_v{ 0x076741B8,0x7A8E,0x53B6,{ 0x9F,0xB7,0xE2,0x90,0xB1,0x3C,0x52,0xE9 } }; // 076741B8-7A8E-53B6-9FB7-E290B13C52E9 + template <> inline constexpr guid guid_v{ 0xD1E1B416,0x7DFD,0x55EF,{ 0x9E,0x3C,0x18,0xD1,0x45,0x9E,0x31,0x23 } }; // D1E1B416-7DFD-55EF-9E3C-18D1459E3123 + template <> inline constexpr guid guid_v{ 0xA6D7ED98,0x6212,0x5AD3,{ 0xAA,0x9D,0x15,0xE8,0x3B,0xB8,0x5E,0xE4 } }; // A6D7ED98-6212-5AD3-AA9D-15E83BB85EE4 + template <> inline constexpr guid guid_v{ 0x512CE0BF,0x9977,0x5301,{ 0x9B,0x29,0x9E,0x50,0x42,0xC8,0xCF,0x7D } }; // 512CE0BF-9977-5301-9B29-9E5042C8CF7D + template <> inline constexpr guid guid_v{ 0x43CA6D96,0x3E6D,0x56DA,{ 0xA9,0x03,0x65,0xD4,0xAB,0x72,0x92,0x99 } }; // 43CA6D96-3E6D-56DA-A903-65D4AB729299 + template <> inline constexpr guid guid_v{ 0x21148E4C,0xE7CE,0x574E,{ 0xBF,0xA7,0x69,0xDC,0x77,0x45,0x7D,0x21 } }; // 21148E4C-E7CE-574E-BFA7-69DC77457D21 + template <> inline constexpr guid guid_v{ 0x215E22E7,0x6D57,0x5305,{ 0x9C,0x79,0x4E,0xCD,0x4A,0x4D,0x78,0x71 } }; // 215E22E7-6D57-5305-9C79-4ECD4A4D7871 + template <> inline constexpr guid guid_v{ 0x650ED994,0x0858,0x5528,{ 0xA1,0xF2,0xF7,0x3C,0xA6,0x4D,0xAB,0xC9 } }; // 650ED994-0858-5528-A1F2-F73CA64DABC9 + template <> inline constexpr guid guid_v{ 0xC3C88DD7,0x0EF3,0x52B2,{ 0xA9,0xAD,0x66,0xBF,0xC6,0xBD,0x95,0x82 } }; // C3C88DD7-0EF3-52B2-A9AD-66BFC6BD9582 + template <> inline constexpr guid guid_v{ 0x2C44B950,0xA655,0x5321,{ 0xAE,0xC1,0xAE,0xE7,0x62,0x92,0x21,0x31 } }; // 2C44B950-A655-5321-AEC1-AEE762922131 + template <> inline constexpr guid guid_v{ 0x83B22D8A,0x4BB0,0x549F,{ 0xBA,0x39,0x59,0x72,0x48,0x82,0xD1,0x37 } }; // 83B22D8A-4BB0-549F-BA39-59724882D137 + template <> inline constexpr guid guid_v{ 0xE6692C62,0xF697,0x51B7,{ 0xAB,0x7F,0xE7,0x3E,0x5E,0x68,0x8F,0x12 } }; // E6692C62-F697-51B7-AB7F-E73E5E688F12 + template <> inline constexpr guid guid_v{ 0x7A60181C,0xBA1E,0x5CF9,{ 0xAA,0x65,0x30,0x41,0x20,0xB7,0x3D,0x72 } }; // 7A60181C-BA1E-5CF9-AA65-304120B73D72 + template <> inline constexpr guid guid_v{ 0x013E6D36,0xEF69,0x53BC,{ 0x8D,0xB8,0xC4,0x03,0xBC,0xA5,0x50,0xED } }; // 013E6D36-EF69-53BC-8DB8-C403BCA550ED + template <> inline constexpr guid guid_v{ 0xAADF5BFD,0x84DB,0x59BC,{ 0x85,0xE2,0xAD,0x4F,0xC1,0xF6,0x2F,0x7C } }; // AADF5BFD-84DB-59BC-85E2-AD4FC1F62F7C + template <> inline constexpr guid guid_v{ 0x44DF2579,0x74D3,0x5FFA,{ 0xB6,0xCE,0x09,0xE1,0x87,0xE1,0xE0,0xED } }; // 44DF2579-74D3-5FFA-B6CE-09E187E1E0ED + template <> inline constexpr guid guid_v{ 0x0627ABCA,0xDBB8,0x524A,{ 0xB1,0xD2,0xD9,0xDF,0x00,0x4E,0xEB,0x31 } }; // 0627ABCA-DBB8-524A-B1D2-D9DF004EEB31 + template <> inline constexpr guid guid_v{ 0xBB39FFC4,0x2C42,0x5B1C,{ 0x89,0x95,0x34,0x33,0x41,0xC9,0x2C,0x50 } }; // BB39FFC4-2C42-5B1C-8995-343341C92C50 + template <> inline constexpr guid guid_v{ 0xB222E44A,0x49B6,0x59BF,{ 0xA0,0x33,0xEF,0x61,0x7C,0xD7,0x3A,0x98 } }; // B222E44A-49B6-59BF-A033-EF617CD73A98 + template <> inline constexpr guid guid_v{ 0x5DD966C0,0xA71A,0x5602,{ 0xBB,0xD0,0x09,0xA7,0x0E,0x45,0x73,0xFA } }; // 5DD966C0-A71A-5602-BBD0-09A70E4573FA + template <> inline constexpr guid guid_v{ 0x564E7683,0xBD21,0x57A4,{ 0xB1,0x7F,0x7B,0xF6,0x35,0x0F,0x4C,0x75 } }; // 564E7683-BD21-57A4-B17F-7BF6350F4C75 + template <> inline constexpr guid guid_v{ 0x1B394DF8,0xDECB,0x5F44,{ 0xB4,0x7C,0x6C,0xCF,0x3B,0xCF,0xDB,0x37 } }; // 1B394DF8-DECB-5F44-B47C-6CCF3BCFDB37 + template <> inline constexpr guid guid_v{ 0xBA08D663,0xD160,0x59B9,{ 0x98,0x98,0x97,0xA1,0x86,0xAD,0x52,0xEA } }; // BA08D663-D160-59B9-9898-97A186AD52EA + template <> inline constexpr guid guid_v{ 0xB7C30113,0x5E4B,0x59D8,{ 0x99,0xAD,0xF5,0x8D,0x67,0xB2,0xAE,0xFC } }; // B7C30113-5E4B-59D8-99AD-F58D67B2AEFC + template <> inline constexpr guid guid_v{ 0x1A0F9198,0xF18D,0x5CFD,{ 0x8C,0xB9,0x08,0xF3,0xFB,0x74,0xDA,0x70 } }; // 1A0F9198-F18D-5CFD-8CB9-08F3FB74DA70 + template <> inline constexpr guid guid_v{ 0xBBFBDEEB,0x94C8,0x5AA7,{ 0xB0,0xFB,0x66,0xC6,0x7C,0x23,0x3B,0x0A } }; // BBFBDEEB-94C8-5AA7-B0FB-66C67C233B0A + template <> inline constexpr guid guid_v{ 0x38CFB7D3,0x4188,0x5222,{ 0x90,0x5C,0x6C,0x44,0x43,0xC9,0x51,0xEE } }; // 38CFB7D3-4188-5222-905C-6C4443C951EE + template <> inline constexpr guid guid_v{ 0x75F41D04,0x0E17,0x50D0,{ 0x8C,0x15,0x6B,0x9D,0x05,0x39,0xB3,0xA9 } }; // 75F41D04-0E17-50D0-8C15-6B9D0539B3A9 + template <> inline constexpr guid guid_v{ 0x95B6953E,0xBA5C,0x5FE8,{ 0xB1,0x15,0x12,0xDE,0x18,0x4A,0x6B,0xB0 } }; // 95B6953E-BA5C-5FE8-B115-12DE184A6BB0 + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IPreviewBuildsManager; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IPreviewBuildsState; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdate; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionProgress; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionResultInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateAppPackageInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateApprovalInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateExecutionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateLocalizationInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalActionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderActionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderPayloadFileInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateScanResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsSoftwareUpdateVersion; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdate; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateActionCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateActionProgress; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateActionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateAdministrator; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateApprovalData; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredReasonChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateGetAdministratorResult; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateItem; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateManager; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateManagerScanOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateProgressChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateRestartRequestOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Management::Update::IWindowsUpdateScanCompletedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ArePreviewBuildsAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall put_ArePreviewBuildsAllowed(bool) noexcept = 0; + virtual int32_t __stdcall GetCurrentState(void**) noexcept = 0; + virtual int32_t __stdcall SyncAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InstallationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_UpdateId(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_MoreInfoUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_DownloadSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_InstallSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_TargetVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_ProductCode(void**) noexcept = 0; + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall Approve(void*, void**) noexcept = 0; + virtual int32_t __stdcall ApproveCurrentAction(bool, void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentAction(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionResultInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ApprovalInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ApprovedActions(void**) noexcept = 0; + virtual int32_t __stdcall get_AttentionRequiredInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionProgress(void**) noexcept = 0; + virtual int32_t __stdcall get_RestartReason(void**) noexcept = 0; + virtual int32_t __stdcall get_AppPackageInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ExecutionInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionalInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FileName(void**) noexcept = 0; + virtual int32_t __stdcall get_FileArguments(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Action(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentProgress(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalProgress(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ResultCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Action(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall get_PackageArchitecture(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_InstallUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserInitiated(bool*) noexcept = 0; + virtual int32_t __stdcall get_AppClosure(bool*) noexcept = 0; + virtual int32_t __stdcall get_MeteredNetwork(bool*) noexcept = 0; + virtual int32_t __stdcall get_Seeker(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(bool, bool, bool, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DownloadInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_InstallInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_DeployInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_OptionalActionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, int32_t, void*, void*, void*, void*, uint64_t, uint64_t, void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(void*, int32_t, void*, void*, void*, void*, uint64_t, uint64_t, void*, void*, void*, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LanguageId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_MoreInfoUrl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CloseAndDeployInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_CloseAndInstallInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_CloseAndRestartInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalizationInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ComplianceDeadlineInDays(void**) noexcept = 0; + virtual int32_t __stdcall get_ComplianceGracePeriodInDays(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Register(void**) noexcept = 0; + virtual int32_t __stdcall Unregister(void**) noexcept = 0; + virtual int32_t __stdcall Validate(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Version(void**) noexcept = 0; + virtual int32_t __stdcall get_FolderPath(void**) noexcept = 0; + virtual int32_t __stdcall get_CatalogFile(void**) noexcept = 0; + virtual int32_t __stdcall get_ScanFileName(void**) noexcept = 0; + virtual int32_t __stdcall get_ScanFileArguments(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PayloadFiles(void**) noexcept = 0; + virtual int32_t __stdcall get_TrustState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RegistrationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall GetPropertyValue(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Result(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RestartReason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResultCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, int32_t, uint32_t, uint64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Filename(void**) noexcept = 0; + virtual int32_t __stdcall get_FileHash(void**) noexcept = 0; + virtual int32_t __stdcall get_CatalogFile(void**) noexcept = 0; + virtual int32_t __stdcall get_TrustState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CancelRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CancelRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall SetScanResult(bool, uint32_t, uint64_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetActionProgress(uint64_t, uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall SetActionResult(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_CancelRequested(bool*) noexcept = 0; + virtual int32_t __stdcall get_ResultCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(bool, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(bool, uint32_t, uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(bool, bool, uint32_t, uint64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ResultCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Updates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(bool, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(bool, uint32_t, uint64_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Major(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Minor(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_RevisionMajor(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_RevisionMinor(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_UpdateId(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_IsFeatureUpdate(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMinorImpact(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSecurity(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCritical(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsForOS(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDriver(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMandatory(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUrgent(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSeeker(bool*) noexcept = 0; + virtual int32_t __stdcall get_MoreInfoUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEulaAccepted(bool*) noexcept = 0; + virtual int32_t __stdcall get_EulaText(void**) noexcept = 0; + virtual int32_t __stdcall get_Deadline(void**) noexcept = 0; + virtual int32_t __stdcall get_AttentionRequiredInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionResult(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentAction(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionProgress(void**) noexcept = 0; + virtual int32_t __stdcall GetPropertyValue(void*, void**) noexcept = 0; + virtual int32_t __stdcall AcceptEula() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Update(void**) noexcept = 0; + virtual int32_t __stdcall get_Action(void**) noexcept = 0; + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Action(void**) noexcept = 0; + virtual int32_t __stdcall get_Progress(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Action(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAdministratorScan() noexcept = 0; + virtual int32_t __stdcall ApproveWindowsUpdateAction(void*, void*) noexcept = 0; + virtual int32_t __stdcall RevokeWindowsUpdateActionApproval(void*, void*) noexcept = 0; + virtual int32_t __stdcall ApproveWindowsUpdate(void*, void*) noexcept = 0; + virtual int32_t __stdcall RevokeWindowsUpdateApproval(void*) noexcept = 0; + virtual int32_t __stdcall GetUpdates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetRegisteredAdministrator(void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterForAdministration(void*, uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall UnregisterForAdministration(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetRegisteredAdministratorName(void**) noexcept = 0; + virtual int32_t __stdcall RequestRestart(void*, void**) noexcept = 0; + virtual int32_t __stdcall CancelRestartRequest(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Seeker(void**) noexcept = 0; + virtual int32_t __stdcall put_Seeker(void*) noexcept = 0; + virtual int32_t __stdcall get_AllowDownloadOnMetered(void**) noexcept = 0; + virtual int32_t __stdcall put_AllowDownloadOnMetered(void*) noexcept = 0; + virtual int32_t __stdcall get_ComplianceDeadlineInDays(void**) noexcept = 0; + virtual int32_t __stdcall put_ComplianceDeadlineInDays(void*) noexcept = 0; + virtual int32_t __stdcall get_ComplianceGracePeriodInDays(void**) noexcept = 0; + virtual int32_t __stdcall put_ComplianceGracePeriodInDays(void*) noexcept = 0; + virtual int32_t __stdcall get_OptOutOfAutoReboot(void**) noexcept = 0; + virtual int32_t __stdcall put_OptOutOfAutoReboot(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Update(void**) noexcept = 0; + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Administrator(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_UpdateId(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_MoreInfoUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_Category(void**) noexcept = 0; + virtual int32_t __stdcall get_Operation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ScanningStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ScanningStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_WorkingStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_WorkingStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ProgressChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProgressChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AttentionRequiredReasonChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AttentionRequiredReasonChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ActionCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActionCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ScanCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ScanCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_IsScanning(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsWorking(bool*) noexcept = 0; + virtual int32_t __stdcall get_LastSuccessfulScanTimestamp(void**) noexcept = 0; + virtual int32_t __stdcall GetApplicableUpdates(void**) noexcept = 0; + virtual int32_t __stdcall GetMostRecentCompletedUpdates(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetMostRecentCompletedUpdatesAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StartScan(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetProvider(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderIds(uint32_t* __valueSize, void***) noexcept = 0; + virtual int32_t __stdcall GetApplicableSoftwareUpdates(void**) noexcept = 0; + virtual int32_t __stdcall PerformScan(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsUserInitiated(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsUserInitiated(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowBypassThrottling(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowBypassThrottling(bool) noexcept = 0; + virtual int32_t __stdcall get_PerformUpdateActions(bool*) noexcept = 0; + virtual int32_t __stdcall put_PerformUpdateActions(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Update(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionProgress(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_MoreInfoUrl(void**) noexcept = 0; + virtual int32_t __stdcall put_MoreInfoUrl(void*) noexcept = 0; + virtual int32_t __stdcall get_ComplianceDeadlineInDays(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ComplianceDeadlineInDays(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ComplianceGracePeriodInDays(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ComplianceGracePeriodInDays(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OrganizationName(void**) noexcept = 0; + virtual int32_t __stdcall put_OrganizationName(void*) noexcept = 0; + virtual int32_t __stdcall get_OptOutOfAutoReboot(bool*) noexcept = 0; + virtual int32_t __stdcall put_OptOutOfAutoReboot(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Updates(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Update_IPreviewBuildsManager + { + [[nodiscard]] auto ArePreviewBuildsAllowed() const; + auto ArePreviewBuildsAllowed(bool value) const; + auto GetCurrentState() const; + auto SyncAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IPreviewBuildsManager; + }; + template + struct consume_Windows_Management_Update_IPreviewBuildsManagerStatics + { + auto GetDefault() const; + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IPreviewBuildsManagerStatics; + }; + template + struct consume_Windows_Management_Update_IPreviewBuildsState + { + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IPreviewBuildsState; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdate + { + [[nodiscard]] auto InstallationType() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto UpdateId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto MoreInfoUrl() const; + [[nodiscard]] auto DownloadSizeInBytes() const; + [[nodiscard]] auto InstallSizeInBytes() const; + [[nodiscard]] auto SourceVersion() const; + [[nodiscard]] auto TargetVersion() const; + [[nodiscard]] auto ProductCode() const; + [[nodiscard]] auto PackageFamilyName() const; + auto Approve(winrt::Windows::Management::Update::WindowsSoftwareUpdateApprovalInfo const& approvalInfo) const; + auto ApproveCurrentAction(bool approve) const; + [[nodiscard]] auto CurrentAction() const; + [[nodiscard]] auto ActionResultInfo() const; + [[nodiscard]] auto ApprovalInfo() const; + [[nodiscard]] auto ApprovedActions() const; + [[nodiscard]] auto AttentionRequiredInfo() const; + [[nodiscard]] auto ActionProgress() const; + [[nodiscard]] auto RestartReason() const; + [[nodiscard]] auto AppPackageInfo() const; + [[nodiscard]] auto ExecutionInfo() const; + [[nodiscard]] auto OptionalInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdate; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateActionInfo + { + [[nodiscard]] auto FileName() const; + [[nodiscard]] auto FileArguments() const; + [[nodiscard]] auto ActionType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateActionInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateActionInfoFactory + { + auto CreateInstance(param::hstring const& fileName, param::hstring const& fileArguments, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionType const& actionType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateActionInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateActionProgress + { + [[nodiscard]] auto Action() const; + [[nodiscard]] auto CurrentProgress() const; + [[nodiscard]] auto TotalProgress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateActionProgress; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateActionResultInfo + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Action() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateActionResultInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateAppPackageInfo + { + [[nodiscard]] auto PackageFamilyName() const; + [[nodiscard]] auto PackageArchitecture() const; + [[nodiscard]] auto InstallUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateAppPackageInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateAppPackageInfoFactory + { + auto CreateInstance(param::hstring const& packageFamilyName, winrt::Windows::Management::Update::WindowsSoftwareUpdateArchitecture const& packageArchitecture, winrt::Windows::Foundation::Uri const& installUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateAppPackageInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateApprovalInfo + { + [[nodiscard]] auto UserInitiated() const; + [[nodiscard]] auto AppClosure() const; + [[nodiscard]] auto MeteredNetwork() const; + [[nodiscard]] auto Seeker() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateApprovalInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateApprovalInfoFactory + { + auto CreateInstance(bool userInitiated, bool appClosure, bool meteredNetwork, bool seeker) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateApprovalInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateExecutionInfo + { + [[nodiscard]] auto DownloadInfo() const; + [[nodiscard]] auto InstallInfo() const; + [[nodiscard]] auto DeployInfo() const; + [[nodiscard]] auto OptionalActionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateExecutionInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateExecutionInfoFactory + { + auto CreateInstance(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& downloadInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& installInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalActionInfo const& actions) const; + auto CreateInstance2(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& deployInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalActionInfo const& actions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateExecutionInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateFactory + { + auto CreateInstance(param::hstring const& providerId, winrt::Windows::Management::Update::WindowsSoftwareUpdateInstallationType const& installationType, param::hstring const& updateId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, uint64_t downloadSizeInBytes, uint64_t installSizeInBytes, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& sourceVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& targetVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateAppPackageInfo const& appPackageInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateExecutionInfo const& executionInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalInfo const& optionalInfo) const; + auto CreateInstance2(param::hstring const& providerId, winrt::Windows::Management::Update::WindowsSoftwareUpdateInstallationType const& installationType, param::hstring const& updateId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, uint64_t downloadSizeInBytes, uint64_t installSizeInBytes, winrt::Windows::Foundation::IReference const& productCode, param::hstring const& packageFamilyName, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& sourceVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& targetVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateAppPackageInfo const& appPackageInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateExecutionInfo const& executionInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalInfo const& optionalInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateLocalizationInfo + { + [[nodiscard]] auto LanguageId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto MoreInfoUrl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateLocalizationInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateLocalizationInfoFactory + { + auto CreateInstance(uint32_t languageId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateLocalizationInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalActionInfo + { + [[nodiscard]] auto CloseAndDeployInfo() const; + [[nodiscard]] auto CloseAndInstallInfo() const; + [[nodiscard]] auto CloseAndRestartInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalActionInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalActionInfoFactory + { + auto CreateInstance(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndDeployInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndInstallInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndRestartInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalActionInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalInfo + { + [[nodiscard]] auto LocalizationInfo() const; + [[nodiscard]] auto ComplianceDeadlineInDays() const; + [[nodiscard]] auto ComplianceGracePeriodInDays() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalInfoFactory + { + auto CreateInstance(winrt::Windows::Foundation::IReference const& complianceDeadlineInDays, winrt::Windows::Foundation::IReference const& complianceGracePeriodInDays) const; + auto CreateInstance2(param::iterable const& localizationInfo, winrt::Windows::Foundation::IReference const& complianceDeadlineInDays, winrt::Windows::Foundation::IReference const& complianceGracePeriodInDays) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateOptionalInfoFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProvider + { + auto Register() const; + auto Unregister() const; + auto Validate() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto FolderPath() const; + [[nodiscard]] auto CatalogFile() const; + [[nodiscard]] auto ScanFileName() const; + [[nodiscard]] auto ScanFileArguments() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto PayloadFiles() const; + [[nodiscard]] auto TrustState() const; + [[nodiscard]] auto RegistrationType() const; + [[nodiscard]] auto Properties() const; + auto GetPropertyValue(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProvider; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderActionResult + { + [[nodiscard]] auto Result() const; + [[nodiscard]] auto RestartReason() const; + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderActionResult; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderActionResultFactory + { + auto CreateInstance(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionResult const& actionResult, winrt::Windows::Management::Update::WindowsSoftwareUpdateRestartReason const& restartReason, uint32_t resultCode, uint64_t extendedError) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderActionResultFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderFactory + { + auto CreateInstance(param::hstring const& folderPath) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderPayloadFileInfo + { + [[nodiscard]] auto Filename() const; + [[nodiscard]] auto FileHash() const; + [[nodiscard]] auto CatalogFile() const; + [[nodiscard]] auto TrustState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderPayloadFileInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderStatus + { + auto CancelRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CancelRequested_revoker = impl::event_revoker::remove_CancelRequested>; + [[nodiscard]] auto CancelRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CancelRequested(winrt::event_token const& token) const noexcept; + auto SetScanResult(bool succeeded, uint32_t resultCode, uint64_t extendedError, param::iterable const& updates) const; + auto SetActionProgress(uint64_t current, uint64_t total) const; + auto SetActionResult(winrt::Windows::Management::Update::WindowsSoftwareUpdateProviderActionResult const& actionResult) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderStatus; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderStatusFactory + { + auto CreateInstance(param::hstring const& providerId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateProviderStatusFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto CancelRequested() const; + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateResult; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateResultFactory + { + auto CreateInstance(bool succeeded, uint32_t resultCode) const; + auto CreateInstance2(bool succeeded, uint32_t resultCode, uint64_t extendedError) const; + auto CreateInstance3(bool succeeded, bool cancelRequested, uint32_t resultCode, uint64_t extendedError) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateResultFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateScanResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Updates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateScanResult; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateScanResultFactory + { + auto CreateInstance(bool succeeded, uint32_t resultCode, param::iterable const& updates) const; + auto CreateInstance2(bool succeeded, uint32_t resultCode, uint64_t extendedError, param::iterable const& updates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateScanResultFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateVersion + { + [[nodiscard]] auto Major() const; + [[nodiscard]] auto Minor() const; + [[nodiscard]] auto RevisionMajor() const; + [[nodiscard]] auto RevisionMinor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateVersion; + }; + template + struct consume_Windows_Management_Update_IWindowsSoftwareUpdateVersionFactory + { + auto CreateInstance(uint32_t major, uint32_t minor, uint32_t revisionMajor, uint32_t revisionMinor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsSoftwareUpdateVersionFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdate + { + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto UpdateId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto IsFeatureUpdate() const; + [[nodiscard]] auto IsMinorImpact() const; + [[nodiscard]] auto IsSecurity() const; + [[nodiscard]] auto IsCritical() const; + [[nodiscard]] auto IsForOS() const; + [[nodiscard]] auto IsDriver() const; + [[nodiscard]] auto IsMandatory() const; + [[nodiscard]] auto IsUrgent() const; + [[nodiscard]] auto IsSeeker() const; + [[nodiscard]] auto MoreInfoUrl() const; + [[nodiscard]] auto SupportUrl() const; + [[nodiscard]] auto IsEulaAccepted() const; + [[nodiscard]] auto EulaText() const; + [[nodiscard]] auto Deadline() const; + [[nodiscard]] auto AttentionRequiredInfo() const; + [[nodiscard]] auto ActionResult() const; + [[nodiscard]] auto CurrentAction() const; + [[nodiscard]] auto ActionProgress() const; + auto GetPropertyValue(param::hstring const& propertyName) const; + auto AcceptEula() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdate; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateActionCompletedEventArgs + { + [[nodiscard]] auto Update() const; + [[nodiscard]] auto Action() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateActionCompletedEventArgs; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateActionProgress + { + [[nodiscard]] auto Action() const; + [[nodiscard]] auto Progress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateActionProgress; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateActionResult + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Action() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateActionResult; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateAdministrator + { + auto StartAdministratorScan() const; + auto ApproveWindowsUpdateAction(param::hstring const& updateId, param::hstring const& action) const; + auto RevokeWindowsUpdateActionApproval(param::hstring const& updateId, param::hstring const& action) const; + auto ApproveWindowsUpdate(param::hstring const& updateId, winrt::Windows::Management::Update::WindowsUpdateApprovalData const& approvalData) const; + auto RevokeWindowsUpdateApproval(param::hstring const& updateId) const; + auto GetUpdates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateAdministrator; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateAdministratorStatics + { + auto GetRegisteredAdministrator(param::hstring const& organizationName) const; + auto RegisterForAdministration(param::hstring const& organizationName, winrt::Windows::Management::Update::WindowsUpdateAdministratorOptions const& options) const; + auto UnregisterForAdministration(param::hstring const& organizationName) const; + auto GetRegisteredAdministratorName() const; + auto RequestRestart(winrt::Windows::Management::Update::WindowsUpdateRestartRequestOptions const& restartOptions) const; + auto CancelRestartRequest(param::hstring const& requestRestartToken) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateAdministratorStatics; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateApprovalData + { + [[nodiscard]] auto Seeker() const; + auto Seeker(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AllowDownloadOnMetered() const; + auto AllowDownloadOnMetered(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ComplianceDeadlineInDays() const; + auto ComplianceDeadlineInDays(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ComplianceGracePeriodInDays() const; + auto ComplianceGracePeriodInDays(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OptOutOfAutoReboot() const; + auto OptOutOfAutoReboot(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateApprovalData; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateAttentionRequiredInfo + { + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateAttentionRequiredInfo; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateAttentionRequiredReasonChangedEventArgs + { + [[nodiscard]] auto Update() const; + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateAttentionRequiredReasonChangedEventArgs; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateGetAdministratorResult + { + [[nodiscard]] auto Administrator() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateGetAdministratorResult; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateItem + { + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto UpdateId() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto MoreInfoUrl() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Operation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateItem; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManager + { + auto ScanningStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ScanningStateChanged_revoker = impl::event_revoker::remove_ScanningStateChanged>; + [[nodiscard]] auto ScanningStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScanningStateChanged(winrt::event_token const& token) const noexcept; + auto WorkingStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using WorkingStateChanged_revoker = impl::event_revoker::remove_WorkingStateChanged>; + [[nodiscard]] auto WorkingStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WorkingStateChanged(winrt::event_token const& token) const noexcept; + auto ProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ProgressChanged_revoker = impl::event_revoker::remove_ProgressChanged>; + [[nodiscard]] auto ProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProgressChanged(winrt::event_token const& token) const noexcept; + auto AttentionRequiredReasonChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AttentionRequiredReasonChanged_revoker = impl::event_revoker::remove_AttentionRequiredReasonChanged>; + [[nodiscard]] auto AttentionRequiredReasonChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AttentionRequiredReasonChanged(winrt::event_token const& token) const noexcept; + auto ActionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActionCompleted_revoker = impl::event_revoker::remove_ActionCompleted>; + [[nodiscard]] auto ActionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActionCompleted(winrt::event_token const& token) const noexcept; + auto ScanCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ScanCompleted_revoker = impl::event_revoker::remove_ScanCompleted>; + [[nodiscard]] auto ScanCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScanCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsScanning() const; + [[nodiscard]] auto IsWorking() const; + [[nodiscard]] auto LastSuccessfulScanTimestamp() const; + auto GetApplicableUpdates() const; + auto GetMostRecentCompletedUpdates(int32_t count) const; + auto GetMostRecentCompletedUpdatesAsync(int32_t count) const; + auto StartScan(bool userInitiated) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManager; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManager2 + { + auto GetProvider(param::hstring const& id) const; + [[nodiscard]] auto ProviderIds() const; + auto GetApplicableSoftwareUpdates() const; + auto PerformScan(winrt::Windows::Management::Update::WindowsUpdateManagerScanOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManager2; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManagerFactory + { + auto CreateInstance(param::hstring const& clientId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManagerFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManagerFactory2 + { + auto CreateInstance(param::hstring const& clientId, array_view providerIdFilter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManagerFactory2; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManagerScanOptions + { + [[nodiscard]] auto IsUserInitiated() const; + auto IsUserInitiated(bool value) const; + [[nodiscard]] auto AllowBypassThrottling() const; + auto AllowBypassThrottling(bool value) const; + [[nodiscard]] auto PerformUpdateActions() const; + auto PerformUpdateActions(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManagerScanOptions; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateManagerScanOptionsFactory + { + auto CreateInstance(bool isUserInitiated) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateManagerScanOptionsFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateProgressChangedEventArgs + { + [[nodiscard]] auto Update() const; + [[nodiscard]] auto ActionProgress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateProgressChangedEventArgs; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateRestartRequestOptions + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto MoreInfoUrl() const; + auto MoreInfoUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ComplianceDeadlineInDays() const; + auto ComplianceDeadlineInDays(int32_t value) const; + [[nodiscard]] auto ComplianceGracePeriodInDays() const; + auto ComplianceGracePeriodInDays(int32_t value) const; + [[nodiscard]] auto OrganizationName() const; + auto OrganizationName(param::hstring const& value) const; + [[nodiscard]] auto OptOutOfAutoReboot() const; + auto OptOutOfAutoReboot(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateRestartRequestOptions; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateRestartRequestOptionsFactory + { + auto CreateInstance(param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, int32_t complianceDeadlineInDays, int32_t complianceGracePeriodInDays) const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateRestartRequestOptionsFactory; + }; + template + struct consume_Windows_Management_Update_IWindowsUpdateScanCompletedEventArgs + { + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Updates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Update_IWindowsUpdateScanCompletedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.1.h new file mode 100644 index 0000000000000000000000000000000000000000..dfd591589a5cbceb669b9f1a71b8d0ffe2718946 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.1.h @@ -0,0 +1,398 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Update_1_H +#define WINRT_Windows_Management_Update_1_H +#include "winrt/impl/Windows.Management.Update.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Update +{ + struct WINRT_IMPL_EMPTY_BASES IPreviewBuildsManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPreviewBuildsManager(std::nullptr_t = nullptr) noexcept {} + IPreviewBuildsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPreviewBuildsManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPreviewBuildsManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPreviewBuildsManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPreviewBuildsState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPreviewBuildsState(std::nullptr_t = nullptr) noexcept {} + IPreviewBuildsState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdate(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateActionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateActionInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateActionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateActionInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateActionInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateActionInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateActionProgress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateActionProgress(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateActionProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateActionResultInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateActionResultInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateActionResultInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateAppPackageInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateAppPackageInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateAppPackageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateAppPackageInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateAppPackageInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateAppPackageInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateApprovalInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateApprovalInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateApprovalInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateApprovalInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateApprovalInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateApprovalInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateExecutionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateExecutionInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateExecutionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateExecutionInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateExecutionInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateExecutionInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateLocalizationInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateLocalizationInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateLocalizationInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateLocalizationInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateLocalizationInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateLocalizationInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateOptionalActionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateOptionalActionInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateOptionalActionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateOptionalActionInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateOptionalActionInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateOptionalActionInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateOptionalInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateOptionalInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateOptionalInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateOptionalInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateOptionalInfoFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateOptionalInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProvider(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderActionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderActionResult(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderActionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderActionResultFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderActionResultFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderActionResultFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderPayloadFileInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderPayloadFileInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderPayloadFileInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderStatus(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateProviderStatusFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateProviderStatusFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateProviderStatusFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateResult(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateResultFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateResultFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateResultFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateScanResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateScanResult(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateScanResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateScanResultFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateScanResultFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateScanResultFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateVersion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateVersion(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateVersion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsSoftwareUpdateVersionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsSoftwareUpdateVersionFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsSoftwareUpdateVersionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdate(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateActionCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateActionCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateActionCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateActionProgress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateActionProgress(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateActionProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateActionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateActionResult(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateActionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateAdministrator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateAdministrator(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateAdministrator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateAdministratorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateAdministratorStatics(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateAdministratorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateApprovalData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateApprovalData(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateApprovalData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateAttentionRequiredInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateAttentionRequiredInfo(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateAttentionRequiredInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateAttentionRequiredReasonChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateAttentionRequiredReasonChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateAttentionRequiredReasonChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateGetAdministratorResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateGetAdministratorResult(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateGetAdministratorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateItem(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManager(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManager2(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManagerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManagerFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManagerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManagerFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManagerFactory2(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManagerFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManagerScanOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManagerScanOptions(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManagerScanOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateManagerScanOptionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateManagerScanOptionsFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateManagerScanOptionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateProgressChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateProgressChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateProgressChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateRestartRequestOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateRestartRequestOptions(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateRestartRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateRestartRequestOptionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateRestartRequestOptionsFactory(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateRestartRequestOptionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWindowsUpdateScanCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowsUpdateScanCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWindowsUpdateScanCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.2.h new file mode 100644 index 0000000000000000000000000000000000000000..aead249b29565ee037530060d7175078b2dadaa5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.update.2.h @@ -0,0 +1,221 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Update_2_H +#define WINRT_Windows_Management_Update_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Management.Update.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Update +{ + struct WINRT_IMPL_EMPTY_BASES PreviewBuildsManager : winrt::Windows::Management::Update::IPreviewBuildsManager + { + PreviewBuildsManager(std::nullptr_t) noexcept {} + PreviewBuildsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IPreviewBuildsManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto IsSupported(); + }; + struct WINRT_IMPL_EMPTY_BASES PreviewBuildsState : winrt::Windows::Management::Update::IPreviewBuildsState + { + PreviewBuildsState(std::nullptr_t) noexcept {} + PreviewBuildsState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IPreviewBuildsState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdate : winrt::Windows::Management::Update::IWindowsSoftwareUpdate + { + WindowsSoftwareUpdate(std::nullptr_t) noexcept {} + WindowsSoftwareUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdate(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdate(param::hstring const& providerId, winrt::Windows::Management::Update::WindowsSoftwareUpdateInstallationType const& installationType, param::hstring const& updateId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, uint64_t downloadSizeInBytes, uint64_t installSizeInBytes, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& sourceVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& targetVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateAppPackageInfo const& appPackageInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateExecutionInfo const& executionInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalInfo const& optionalInfo); + WindowsSoftwareUpdate(param::hstring const& providerId, winrt::Windows::Management::Update::WindowsSoftwareUpdateInstallationType const& installationType, param::hstring const& updateId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, uint64_t downloadSizeInBytes, uint64_t installSizeInBytes, winrt::Windows::Foundation::IReference const& productCode, param::hstring const& packageFamilyName, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& sourceVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateVersion const& targetVersion, winrt::Windows::Management::Update::WindowsSoftwareUpdateAppPackageInfo const& appPackageInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateExecutionInfo const& executionInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalInfo const& optionalInfo); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateActionInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionInfo + { + WindowsSoftwareUpdateActionInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateActionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateActionInfo(param::hstring const& fileName, param::hstring const& fileArguments, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionType const& actionType); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateActionProgress : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionProgress + { + WindowsSoftwareUpdateActionProgress(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateActionProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionProgress(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateActionResultInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionResultInfo + { + WindowsSoftwareUpdateActionResultInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateActionResultInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateActionResultInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateAppPackageInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateAppPackageInfo + { + WindowsSoftwareUpdateAppPackageInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateAppPackageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateAppPackageInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateAppPackageInfo(param::hstring const& packageFamilyName, winrt::Windows::Management::Update::WindowsSoftwareUpdateArchitecture const& packageArchitecture, winrt::Windows::Foundation::Uri const& installUri); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateApprovalInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateApprovalInfo + { + WindowsSoftwareUpdateApprovalInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateApprovalInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateApprovalInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateApprovalInfo(bool userInitiated, bool appClosure, bool meteredNetwork, bool seeker); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateExecutionInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateExecutionInfo + { + WindowsSoftwareUpdateExecutionInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateExecutionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateExecutionInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateExecutionInfo(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& downloadInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& installInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalActionInfo const& actions); + WindowsSoftwareUpdateExecutionInfo(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& deployInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateOptionalActionInfo const& actions); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateLocalizationInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateLocalizationInfo + { + WindowsSoftwareUpdateLocalizationInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateLocalizationInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateLocalizationInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateLocalizationInfo(uint32_t languageId, param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateOptionalActionInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalActionInfo + { + WindowsSoftwareUpdateOptionalActionInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateOptionalActionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalActionInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateOptionalActionInfo(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndDeployInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndInstallInfo, winrt::Windows::Management::Update::WindowsSoftwareUpdateActionInfo const& closeAndRestartInfo); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateOptionalInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalInfo + { + WindowsSoftwareUpdateOptionalInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateOptionalInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateOptionalInfo(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateOptionalInfo(winrt::Windows::Foundation::IReference const& complianceDeadlineInDays, winrt::Windows::Foundation::IReference const& complianceGracePeriodInDays); + WindowsSoftwareUpdateOptionalInfo(param::iterable const& localizationInfo, winrt::Windows::Foundation::IReference const& complianceDeadlineInDays, winrt::Windows::Foundation::IReference const& complianceGracePeriodInDays); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateProvider : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProvider + { + WindowsSoftwareUpdateProvider(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProvider(ptr, take_ownership_from_abi) {} + explicit WindowsSoftwareUpdateProvider(param::hstring const& folderPath); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateProviderActionResult : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderActionResult + { + WindowsSoftwareUpdateProviderActionResult(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateProviderActionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderActionResult(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateProviderActionResult(winrt::Windows::Management::Update::WindowsSoftwareUpdateActionResult const& actionResult, winrt::Windows::Management::Update::WindowsSoftwareUpdateRestartReason const& restartReason, uint32_t resultCode, uint64_t extendedError); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateProviderPayloadFileInfo : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderPayloadFileInfo + { + WindowsSoftwareUpdateProviderPayloadFileInfo(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateProviderPayloadFileInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderPayloadFileInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateProviderStatus : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderStatus + { + WindowsSoftwareUpdateProviderStatus(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateProviderStatus(ptr, take_ownership_from_abi) {} + explicit WindowsSoftwareUpdateProviderStatus(param::hstring const& providerId); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateResult : winrt::Windows::Management::Update::IWindowsSoftwareUpdateResult + { + WindowsSoftwareUpdateResult(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateResult(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateResult(bool succeeded, uint32_t resultCode); + WindowsSoftwareUpdateResult(bool succeeded, uint32_t resultCode, uint64_t extendedError); + WindowsSoftwareUpdateResult(bool succeeded, bool cancelRequested, uint32_t resultCode, uint64_t extendedError); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateScanResult : winrt::Windows::Management::Update::IWindowsSoftwareUpdateScanResult + { + WindowsSoftwareUpdateScanResult(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateScanResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateScanResult(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateScanResult(bool succeeded, uint32_t resultCode, param::iterable const& updates); + WindowsSoftwareUpdateScanResult(bool succeeded, uint32_t resultCode, uint64_t extendedError, param::iterable const& updates); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsSoftwareUpdateVersion : winrt::Windows::Management::Update::IWindowsSoftwareUpdateVersion + { + WindowsSoftwareUpdateVersion(std::nullptr_t) noexcept {} + WindowsSoftwareUpdateVersion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsSoftwareUpdateVersion(ptr, take_ownership_from_abi) {} + WindowsSoftwareUpdateVersion(uint32_t major, uint32_t minor, uint32_t revisionMajor, uint32_t revisionMinor); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdate : winrt::Windows::Management::Update::IWindowsUpdate + { + WindowsUpdate(std::nullptr_t) noexcept {} + WindowsUpdate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdate(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateActionCompletedEventArgs : winrt::Windows::Management::Update::IWindowsUpdateActionCompletedEventArgs + { + WindowsUpdateActionCompletedEventArgs(std::nullptr_t) noexcept {} + WindowsUpdateActionCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateActionCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateActionProgress : winrt::Windows::Management::Update::IWindowsUpdateActionProgress + { + WindowsUpdateActionProgress(std::nullptr_t) noexcept {} + WindowsUpdateActionProgress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateActionProgress(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateActionResult : winrt::Windows::Management::Update::IWindowsUpdateActionResult + { + WindowsUpdateActionResult(std::nullptr_t) noexcept {} + WindowsUpdateActionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateActionResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateAdministrator : winrt::Windows::Management::Update::IWindowsUpdateAdministrator + { + WindowsUpdateAdministrator(std::nullptr_t) noexcept {} + WindowsUpdateAdministrator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateAdministrator(ptr, take_ownership_from_abi) {} + static auto GetRegisteredAdministrator(param::hstring const& organizationName); + static auto RegisterForAdministration(param::hstring const& organizationName, winrt::Windows::Management::Update::WindowsUpdateAdministratorOptions const& options); + static auto UnregisterForAdministration(param::hstring const& organizationName); + static auto GetRegisteredAdministratorName(); + static auto RequestRestart(winrt::Windows::Management::Update::WindowsUpdateRestartRequestOptions const& restartOptions); + static auto CancelRestartRequest(param::hstring const& requestRestartToken); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateApprovalData : winrt::Windows::Management::Update::IWindowsUpdateApprovalData + { + WindowsUpdateApprovalData(std::nullptr_t) noexcept {} + WindowsUpdateApprovalData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateApprovalData(ptr, take_ownership_from_abi) {} + WindowsUpdateApprovalData(); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateAttentionRequiredInfo : winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredInfo + { + WindowsUpdateAttentionRequiredInfo(std::nullptr_t) noexcept {} + WindowsUpdateAttentionRequiredInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateAttentionRequiredReasonChangedEventArgs : winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredReasonChangedEventArgs + { + WindowsUpdateAttentionRequiredReasonChangedEventArgs(std::nullptr_t) noexcept {} + WindowsUpdateAttentionRequiredReasonChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateAttentionRequiredReasonChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateGetAdministratorResult : winrt::Windows::Management::Update::IWindowsUpdateGetAdministratorResult + { + WindowsUpdateGetAdministratorResult(std::nullptr_t) noexcept {} + WindowsUpdateGetAdministratorResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateGetAdministratorResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateItem : winrt::Windows::Management::Update::IWindowsUpdateItem + { + WindowsUpdateItem(std::nullptr_t) noexcept {} + WindowsUpdateItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateItem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateManager : winrt::Windows::Management::Update::IWindowsUpdateManager, + impl::require + { + WindowsUpdateManager(std::nullptr_t) noexcept {} + WindowsUpdateManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateManager(ptr, take_ownership_from_abi) {} + explicit WindowsUpdateManager(param::hstring const& clientId); + WindowsUpdateManager(param::hstring const& clientId, array_view providerIdFilter); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateManagerScanOptions : winrt::Windows::Management::Update::IWindowsUpdateManagerScanOptions + { + WindowsUpdateManagerScanOptions(std::nullptr_t) noexcept {} + WindowsUpdateManagerScanOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateManagerScanOptions(ptr, take_ownership_from_abi) {} + WindowsUpdateManagerScanOptions(); + explicit WindowsUpdateManagerScanOptions(bool isUserInitiated); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateProgressChangedEventArgs : winrt::Windows::Management::Update::IWindowsUpdateProgressChangedEventArgs + { + WindowsUpdateProgressChangedEventArgs(std::nullptr_t) noexcept {} + WindowsUpdateProgressChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateProgressChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateRestartRequestOptions : winrt::Windows::Management::Update::IWindowsUpdateRestartRequestOptions + { + WindowsUpdateRestartRequestOptions(std::nullptr_t) noexcept {} + WindowsUpdateRestartRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateRestartRequestOptions(ptr, take_ownership_from_abi) {} + WindowsUpdateRestartRequestOptions(); + WindowsUpdateRestartRequestOptions(param::hstring const& title, param::hstring const& description, winrt::Windows::Foundation::Uri const& moreInfoUrl, int32_t complianceDeadlineInDays, int32_t complianceGracePeriodInDays); + }; + struct WINRT_IMPL_EMPTY_BASES WindowsUpdateScanCompletedEventArgs : winrt::Windows::Management::Update::IWindowsUpdateScanCompletedEventArgs + { + WindowsUpdateScanCompletedEventArgs(std::nullptr_t) noexcept {} + WindowsUpdateScanCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Management::Update::IWindowsUpdateScanCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8853686baba0c09f773c27be7101fe6c29b276cf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.0.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Workplace_0_H +#define WINRT_Windows_Management_Workplace_0_H +WINRT_EXPORT namespace winrt::Windows::Management::Workplace +{ + enum class MessagingSyncPolicy : int32_t + { + Disallowed = 0, + Allowed = 1, + Required = 2, + }; + struct IMdmAllowPolicyStatics; + struct IMdmPolicyStatics2; + struct IWorkplaceSettingsStatics; + struct MdmPolicy; + struct WorkplaceSettings; + struct WorkplaceSettingsContract; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.MdmPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.WorkplaceSettings"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.MessagingSyncPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.IMdmAllowPolicyStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.IMdmPolicyStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.IWorkplaceSettingsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Management.Workplace.WorkplaceSettingsContract"; + template <> inline constexpr guid guid_v{ 0xC39709E7,0x741C,0x41F2,{ 0xA4,0xB6,0x31,0x4C,0x31,0x50,0x25,0x86 } }; // C39709E7-741C-41F2-A4B6-314C31502586 + template <> inline constexpr guid guid_v{ 0xC99C7526,0x03D4,0x49F9,{ 0xA9,0x93,0x43,0xEF,0xCC,0xD2,0x65,0xC4 } }; // C99C7526-03D4-49F9-A993-43EFCCD265C4 + template <> inline constexpr guid guid_v{ 0xE4676FFD,0x2D92,0x4C08,{ 0xBA,0xD4,0xF6,0x59,0x0B,0x54,0xA6,0xD3 } }; // E4676FFD-2D92-4C08-BAD4-F6590B54A6D3 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsBrowserAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall IsCameraAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall IsMicrosoftAccountAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall IsStoreAllowed(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetMessagingSyncPolicy(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsMicrosoftAccountOptional(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Management_Workplace_IMdmAllowPolicyStatics + { + auto IsBrowserAllowed() const; + auto IsCameraAllowed() const; + auto IsMicrosoftAccountAllowed() const; + auto IsStoreAllowed() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Workplace_IMdmAllowPolicyStatics; + }; + template + struct consume_Windows_Management_Workplace_IMdmPolicyStatics2 + { + auto GetMessagingSyncPolicy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Workplace_IMdmPolicyStatics2; + }; + template + struct consume_Windows_Management_Workplace_IWorkplaceSettingsStatics + { + [[nodiscard]] auto IsMicrosoftAccountOptional() const; + }; + template <> struct consume + { + template using type = consume_Windows_Management_Workplace_IWorkplaceSettingsStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.1.h new file mode 100644 index 0000000000000000000000000000000000000000..93ce97c1e2a5d650c074a62c3d18d30ec13b4bec --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Workplace_1_H +#define WINRT_Windows_Management_Workplace_1_H +#include "winrt/impl/Windows.Management.Workplace.0.h" +WINRT_EXPORT namespace winrt::Windows::Management::Workplace +{ + struct WINRT_IMPL_EMPTY_BASES IMdmAllowPolicyStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMdmAllowPolicyStatics(std::nullptr_t = nullptr) noexcept {} + IMdmAllowPolicyStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMdmPolicyStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMdmPolicyStatics2(std::nullptr_t = nullptr) noexcept {} + IMdmPolicyStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWorkplaceSettingsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWorkplaceSettingsStatics(std::nullptr_t = nullptr) noexcept {} + IWorkplaceSettingsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.2.h new file mode 100644 index 0000000000000000000000000000000000000000..9115aa1638685aefa731df1cc3e2f44206e2a784 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.management.workplace.2.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Management_Workplace_2_H +#define WINRT_Windows_Management_Workplace_2_H +#include "winrt/impl/Windows.Management.Workplace.1.h" +WINRT_EXPORT namespace winrt::Windows::Management::Workplace +{ + struct MdmPolicy + { + MdmPolicy() = delete; + static auto IsBrowserAllowed(); + static auto IsCameraAllowed(); + static auto IsMicrosoftAccountAllowed(); + static auto IsStoreAllowed(); + static auto GetMessagingSyncPolicy(); + }; + struct WorkplaceSettings + { + WorkplaceSettings() = delete; + [[nodiscard]] static auto IsMicrosoftAccountOptional(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.0.h new file mode 100644 index 0000000000000000000000000000000000000000..fd00d19ff75c25486d0b3b1aee158139dbef06d7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.0.h @@ -0,0 +1,1341 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_0_H +#define WINRT_Windows_Media_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::AppService +{ + struct AppServiceConnection; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DDevice; + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapAlphaMode : int32_t; + struct BitmapBounds; + enum class BitmapPixelFormat : int32_t; + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct RandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + enum class AudioBufferAccessMode : int32_t + { + Read = 0, + ReadWrite = 1, + Write = 2, + }; + enum class AudioProcessing : int32_t + { + Default = 0, + Raw = 1, + }; + enum class MediaPlaybackAutoRepeatMode : int32_t + { + None = 0, + Track = 1, + List = 2, + }; + enum class MediaPlaybackStatus : int32_t + { + Closed = 0, + Changing = 1, + Stopped = 2, + Playing = 3, + Paused = 4, + }; + enum class MediaPlaybackType : int32_t + { + Unknown = 0, + Music = 1, + Video = 2, + Image = 3, + }; + enum class MediaTimelineControllerState : int32_t + { + Paused = 0, + Running = 1, + Stalled = 2, + Error = 3, + }; + enum class SoundLevel : int32_t + { + Muted = 0, + Low = 1, + Full = 2, + }; + enum class SystemMediaTransportControlsButton : int32_t + { + Play = 0, + Pause = 1, + Stop = 2, + Record = 3, + FastForward = 4, + Rewind = 5, + Next = 6, + Previous = 7, + ChannelUp = 8, + ChannelDown = 9, + }; + enum class SystemMediaTransportControlsProperty : int32_t + { + SoundLevel = 0, + }; + struct IAudioBuffer; + struct IAudioFrame; + struct IAudioFrameFactory; + struct IAutoRepeatModeChangeRequestedEventArgs; + struct IImageDisplayProperties; + struct IMediaControl; + struct IMediaExtension; + struct IMediaExtensionManager; + struct IMediaExtensionManager2; + struct IMediaFrame; + struct IMediaMarker; + struct IMediaMarkerTypesStatics; + struct IMediaMarkers; + struct IMediaProcessingTriggerDetails; + struct IMediaTimelineController; + struct IMediaTimelineController2; + struct IMediaTimelineControllerFailedEventArgs; + struct IMusicDisplayProperties; + struct IMusicDisplayProperties2; + struct IMusicDisplayProperties3; + struct IPlaybackPositionChangeRequestedEventArgs; + struct IPlaybackRateChangeRequestedEventArgs; + struct IShuffleEnabledChangeRequestedEventArgs; + struct ISystemMediaTransportControls; + struct ISystemMediaTransportControls2; + struct ISystemMediaTransportControlsButtonPressedEventArgs; + struct ISystemMediaTransportControlsDisplayUpdater; + struct ISystemMediaTransportControlsPropertyChangedEventArgs; + struct ISystemMediaTransportControlsStatics; + struct ISystemMediaTransportControlsTimelineProperties; + struct IVideoDisplayProperties; + struct IVideoDisplayProperties2; + struct IVideoEffectsStatics; + struct IVideoFrame; + struct IVideoFrame2; + struct IVideoFrameFactory; + struct IVideoFrameStatics; + struct AudioBuffer; + struct AudioFrame; + struct AutoRepeatModeChangeRequestedEventArgs; + struct ImageDisplayProperties; + struct MediaControl; + struct MediaExtensionManager; + struct MediaMarkerTypes; + struct MediaProcessingTriggerDetails; + struct MediaTimelineController; + struct MediaTimelineControllerFailedEventArgs; + struct MusicDisplayProperties; + struct PlaybackPositionChangeRequestedEventArgs; + struct PlaybackRateChangeRequestedEventArgs; + struct ShuffleEnabledChangeRequestedEventArgs; + struct SystemMediaTransportControls; + struct SystemMediaTransportControlsButtonPressedEventArgs; + struct SystemMediaTransportControlsDisplayUpdater; + struct SystemMediaTransportControlsPropertyChangedEventArgs; + struct SystemMediaTransportControlsTimelineProperties; + struct VideoDisplayProperties; + struct VideoEffects; + struct VideoFrame; + struct MediaTimeRange; + struct MediaControlContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.AudioBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Media.AudioFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.AutoRepeatModeChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.ImageDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaExtensionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaMarkerTypes"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProcessingTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaTimelineController"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaTimelineControllerFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.MusicDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlaybackPositionChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlaybackRateChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.ShuffleEnabledChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControls"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsButtonPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsDisplayUpdater"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsPropertyChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsTimelineProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.VideoDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.VideoEffects"; + template <> inline constexpr auto& name_v = L"Windows.Media.VideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.AudioBufferAccessMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.AudioProcessing"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaPlaybackAutoRepeatMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaPlaybackStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaPlaybackType"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaTimelineControllerState"; + template <> inline constexpr auto& name_v = L"Windows.Media.SoundLevel"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsButton"; + template <> inline constexpr auto& name_v = L"Windows.Media.SystemMediaTransportControlsProperty"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaTimeRange"; + template <> inline constexpr auto& name_v = L"Windows.Media.IAudioBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Media.IAudioFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.IAudioFrameFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.IAutoRepeatModeChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.IImageDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaExtension"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaExtensionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaExtensionManager2"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaMarker"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaMarkerTypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaMarkers"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaProcessingTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaTimelineController"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaTimelineController2"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMediaTimelineControllerFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMusicDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMusicDisplayProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.IMusicDisplayProperties3"; + template <> inline constexpr auto& name_v = L"Windows.Media.IPlaybackPositionChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.IPlaybackRateChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.IShuffleEnabledChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControls"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControls2"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControlsButtonPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControlsDisplayUpdater"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControlsPropertyChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControlsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.ISystemMediaTransportControlsTimelineProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoDisplayProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoEffectsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoFrameFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.IVideoFrameStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaControlContract"; + template <> inline constexpr guid guid_v{ 0x35175827,0x724B,0x4C6A,{ 0xB1,0x30,0xF6,0x53,0x7F,0x9A,0xE0,0xD0 } }; // 35175827-724B-4C6A-B130-F6537F9AE0D0 + template <> inline constexpr guid guid_v{ 0xE36AC304,0xAAB2,0x4277,{ 0x9E,0xD0,0x43,0xCE,0xDF,0x8E,0x29,0xC6 } }; // E36AC304-AAB2-4277-9ED0-43CEDF8E29C6 + template <> inline constexpr guid guid_v{ 0x91A90ADE,0x2422,0x40A6,{ 0xB9,0xAD,0x30,0xD0,0x24,0x04,0x31,0x7D } }; // 91A90ADE-2422-40A6-B9AD-30D02404317D + template <> inline constexpr guid guid_v{ 0xEA137EFA,0xD852,0x438E,{ 0x88,0x2B,0xC9,0x90,0x10,0x9A,0x78,0xF4 } }; // EA137EFA-D852-438E-882B-C990109A78F4 + template <> inline constexpr guid guid_v{ 0xCD0BC7EF,0x54E7,0x411F,{ 0x99,0x33,0xF0,0xE9,0x8B,0x0A,0x96,0xD2 } }; // CD0BC7EF-54E7-411F-9933-F0E98B0A96D2 + template <> inline constexpr guid guid_v{ 0x98F1FBE1,0x7A8D,0x42CB,{ 0xB6,0xFE,0x8F,0xE6,0x98,0x26,0x4F,0x13 } }; // 98F1FBE1-7A8D-42CB-B6FE-8FE698264F13 + template <> inline constexpr guid guid_v{ 0x07915118,0x45DF,0x442B,{ 0x8A,0x3F,0xF7,0x82,0x6A,0x63,0x70,0xAB } }; // 07915118-45DF-442B-8A3F-F7826A6370AB + template <> inline constexpr guid guid_v{ 0x4A25EAF5,0x242D,0x4DFB,{ 0x97,0xF4,0x69,0xB7,0xC4,0x25,0x76,0xFF } }; // 4A25EAF5-242D-4DFB-97F4-69B7C42576FF + template <> inline constexpr guid guid_v{ 0x5BCEBF47,0x4043,0x4FED,{ 0xAC,0xAF,0x54,0xEC,0x29,0xDF,0xB1,0xF7 } }; // 5BCEBF47-4043-4FED-ACAF-54EC29DFB1F7 + template <> inline constexpr guid guid_v{ 0xBFB52F8C,0x5943,0x47D8,{ 0x8E,0x10,0x05,0x30,0x8A,0xA5,0xFB,0xD0 } }; // BFB52F8C-5943-47D8-8E10-05308AA5FBD0 + template <> inline constexpr guid guid_v{ 0x1803DEF8,0xDCA5,0x4B6F,{ 0x9C,0x20,0xE3,0xD3,0xC0,0x64,0x36,0x25 } }; // 1803DEF8-DCA5-4B6F-9C20-E3D3C0643625 + template <> inline constexpr guid guid_v{ 0xBB198040,0x482F,0x4743,{ 0x88,0x32,0x45,0x85,0x38,0x21,0xEC,0xE0 } }; // BB198040-482F-4743-8832-45853821ECE0 + template <> inline constexpr guid guid_v{ 0xAFEAB189,0xF8DD,0x466E,{ 0xAA,0x10,0x92,0x0B,0x52,0x35,0x3F,0xDF } }; // AFEAB189-F8DD-466E-AA10-920B52353FDF + template <> inline constexpr guid guid_v{ 0xEB8564AC,0xA351,0x4F4E,{ 0xB4,0xF0,0x9B,0xF2,0x40,0x89,0x93,0xDB } }; // EB8564AC-A351-4F4E-B4F0-9BF2408993DB + template <> inline constexpr guid guid_v{ 0x8ED361F3,0x0B78,0x4360,{ 0xBF,0x71,0x0C,0x84,0x19,0x99,0xEA,0x1B } }; // 8ED361F3-0B78-4360-BF71-0C841999EA1B + template <> inline constexpr guid guid_v{ 0xEF74EA38,0x9E72,0x4DF9,{ 0x83,0x55,0x6E,0x90,0xC8,0x1B,0xBA,0xDD } }; // EF74EA38-9E72-4DF9-8355-6E90C81BBADD + template <> inline constexpr guid guid_v{ 0x8821F81D,0x3E77,0x43FB,{ 0xBE,0x26,0x4F,0xC8,0x7A,0x04,0x48,0x34 } }; // 8821F81D-3E77-43FB-BE26-4FC87A044834 + template <> inline constexpr guid guid_v{ 0x6BBF0C59,0xD0A0,0x4D26,{ 0x92,0xA0,0xF9,0x78,0xE1,0xD1,0x8E,0x7B } }; // 6BBF0C59-D0A0-4D26-92A0-F978E1D18E7B + template <> inline constexpr guid guid_v{ 0x00368462,0x97D3,0x44B9,{ 0xB0,0x0F,0x00,0x8A,0xFC,0xEF,0xAF,0x18 } }; // 00368462-97D3-44B9-B00F-008AFCEFAF18 + template <> inline constexpr guid guid_v{ 0x4DB51AC1,0x0681,0x4E8C,{ 0x94,0x01,0xB8,0x15,0x9D,0x9E,0xEF,0xC7 } }; // 4DB51AC1-0681-4E8C-9401-B8159D9EEFC7 + template <> inline constexpr guid guid_v{ 0xB4493F88,0xEB28,0x4961,{ 0x9C,0x14,0x33,0x5E,0x44,0xF3,0xE1,0x25 } }; // B4493F88-EB28-4961-9C14-335E44F3E125 + template <> inline constexpr guid guid_v{ 0x2CE2C41F,0x3CD6,0x4F77,{ 0x9B,0xA7,0xEB,0x27,0xC2,0x6A,0x21,0x40 } }; // 2CE2C41F-3CD6-4F77-9BA7-EB27C26A2140 + template <> inline constexpr guid guid_v{ 0x49B593FE,0x4FD0,0x4666,{ 0xA3,0x14,0xC0,0xE0,0x19,0x40,0xD3,0x02 } }; // 49B593FE-4FD0-4666-A314-C0E01940D302 + template <> inline constexpr guid guid_v{ 0x99FA3FF4,0x1742,0x42A6,{ 0x90,0x2E,0x08,0x7D,0x41,0xF9,0x65,0xEC } }; // 99FA3FF4-1742-42A6-902E-087D41F965EC + template <> inline constexpr guid guid_v{ 0xEA98D2F6,0x7F3C,0x4AF2,{ 0xA5,0x86,0x72,0x88,0x98,0x08,0xEF,0xB1 } }; // EA98D2F6-7F3C-4AF2-A586-72889808EFB1 + template <> inline constexpr guid guid_v{ 0xB7F47116,0xA56F,0x4DC8,{ 0x9E,0x11,0x92,0x03,0x1F,0x4A,0x87,0xC2 } }; // B7F47116-A56F-4DC8-9E11-92031F4A87C2 + template <> inline constexpr guid guid_v{ 0x8ABBC53E,0xFA55,0x4ECF,{ 0xAD,0x8E,0xC9,0x84,0xE5,0xDD,0x15,0x50 } }; // 8ABBC53E-FA55-4ECF-AD8E-C984E5DD1550 + template <> inline constexpr guid guid_v{ 0xD0CA0936,0x339B,0x4CB3,{ 0x8E,0xEB,0x73,0x76,0x07,0xF5,0x6E,0x08 } }; // D0CA0936-339B-4CB3-8EEB-737607F56E08 + template <> inline constexpr guid guid_v{ 0x43BA380A,0xECA4,0x4832,{ 0x91,0xAB,0xD4,0x15,0xFA,0xE4,0x84,0xC6 } }; // 43BA380A-ECA4-4832-91AB-D415FAE484C6 + template <> inline constexpr guid guid_v{ 0x5125316A,0xC3A2,0x475B,{ 0x85,0x07,0x93,0x53,0x4D,0xC8,0x8F,0x15 } }; // 5125316A-C3A2-475B-8507-93534DC88F15 + template <> inline constexpr guid guid_v{ 0x5609FDB1,0x5D2D,0x4872,{ 0x81,0x70,0x45,0xDE,0xE5,0xBC,0x2F,0x5C } }; // 5609FDB1-5D2D-4872-8170-45DEE5BC2F5C + template <> inline constexpr guid guid_v{ 0xB410E1CE,0xAB52,0x41AB,{ 0xA4,0x86,0xCC,0x10,0xFA,0xB1,0x52,0xF9 } }; // B410E1CE-AB52-41AB-A486-CC10FAB152F9 + template <> inline constexpr guid guid_v{ 0x1FCDA5E8,0xBAF1,0x4521,{ 0x98,0x0C,0x3B,0xCE,0xBB,0x44,0xCF,0x38 } }; // 1FCDA5E8-BAF1-4521-980C-3BCEBB44CF38 + template <> inline constexpr guid guid_v{ 0x0CC06625,0x90FC,0x4C92,{ 0xBD,0x95,0x7D,0xED,0x21,0x81,0x9D,0x1C } }; // 0CC06625-90FC-4C92-BD95-7DED21819D1C + template <> inline constexpr guid guid_v{ 0x3837840D,0x336C,0x4366,{ 0x8D,0x46,0x06,0x07,0x98,0x73,0x6C,0x5D } }; // 3837840D-336C-4366-8D46-060798736C5D + template <> inline constexpr guid guid_v{ 0x014B6D69,0x2228,0x4C92,{ 0x92,0xFF,0x50,0xC3,0x80,0xD3,0xE7,0x76 } }; // 014B6D69-2228-4C92-92FF-50C380D3E776 + template <> inline constexpr guid guid_v{ 0xAB2A556F,0x6111,0x4B33,{ 0x8E,0xC3,0x2B,0x20,0x9A,0x02,0xE1,0x7A } }; // AB2A556F-6111-4B33-8EC3-2B209A02E17A + template <> struct default_interface{ using type = winrt::Windows::Media::IAudioBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IAudioFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IImageDisplayProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IMediaExtensionManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IMediaProcessingTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IMediaTimelineController; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IMusicDisplayProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ISystemMediaTransportControls; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IVideoDisplayProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::IVideoFrame; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capacity(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Length(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LockBuffer(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestedAutoRepeatMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Subtitle(void**) noexcept = 0; + virtual int32_t __stdcall put_Subtitle(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SoundLevelChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SoundLevelChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlayPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlayPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PausePressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PausePressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StopPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StopPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlayPauseTogglePressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlayPauseTogglePressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RecordPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RecordPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NextTrackPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NextTrackPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PreviousTrackPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PreviousTrackPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_FastForwardPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FastForwardPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RewindPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RewindPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ChannelUpPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ChannelUpPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ChannelDownPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ChannelDownPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_SoundLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TrackName(void*) noexcept = 0; + virtual int32_t __stdcall get_TrackName(void**) noexcept = 0; + virtual int32_t __stdcall put_ArtistName(void*) noexcept = 0; + virtual int32_t __stdcall get_ArtistName(void**) noexcept = 0; + virtual int32_t __stdcall put_IsPlaying(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPlaying(bool*) noexcept = 0; + virtual int32_t __stdcall put_AlbumArt(void*) noexcept = 0; + virtual int32_t __stdcall get_AlbumArt(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetProperties(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterSchemeHandler(void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterSchemeHandlerWithSettings(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterByteStreamHandler(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterByteStreamHandlerWithSettings(void*, void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall RegisterAudioDecoder(void*, winrt::guid, winrt::guid) noexcept = 0; + virtual int32_t __stdcall RegisterAudioDecoderWithSettings(void*, winrt::guid, winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall RegisterAudioEncoder(void*, winrt::guid, winrt::guid) noexcept = 0; + virtual int32_t __stdcall RegisterAudioEncoderWithSettings(void*, winrt::guid, winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall RegisterVideoDecoder(void*, winrt::guid, winrt::guid) noexcept = 0; + virtual int32_t __stdcall RegisterVideoDecoderWithSettings(void*, winrt::guid, winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall RegisterVideoEncoder(void*, winrt::guid, winrt::guid) noexcept = 0; + virtual int32_t __stdcall RegisterVideoEncoderWithSettings(void*, winrt::guid, winrt::guid, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterMediaExtensionForAppService(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(void**) noexcept = 0; + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_RelativeTime(void*) noexcept = 0; + virtual int32_t __stdcall get_RelativeTime(void**) noexcept = 0; + virtual int32_t __stdcall put_SystemRelativeTime(void*) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeTime(void**) noexcept = 0; + virtual int32_t __stdcall put_Duration(void*) noexcept = 0; + virtual int32_t __stdcall get_Duration(void**) noexcept = 0; + virtual int32_t __stdcall put_IsDiscontinuous(bool) noexcept = 0; + virtual int32_t __stdcall get_IsDiscontinuous(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Time(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaMarkerType(void**) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Bookmark(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Markers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Arguments(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Resume() noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ClockRate(double*) noexcept = 0; + virtual int32_t __stdcall put_ClockRate(double) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_PositionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Duration(void**) noexcept = 0; + virtual int32_t __stdcall put_Duration(void*) noexcept = 0; + virtual int32_t __stdcall get_IsLoopingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsLoopingEnabled(bool) noexcept = 0; + virtual int32_t __stdcall add_Failed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Failed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Ended(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Ended(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_AlbumArtist(void**) noexcept = 0; + virtual int32_t __stdcall put_AlbumArtist(void*) noexcept = 0; + virtual int32_t __stdcall get_Artist(void**) noexcept = 0; + virtual int32_t __stdcall put_Artist(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlbumTitle(void**) noexcept = 0; + virtual int32_t __stdcall put_AlbumTitle(void*) noexcept = 0; + virtual int32_t __stdcall get_TrackNumber(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TrackNumber(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Genres(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlbumTrackCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AlbumTrackCount(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestedPlaybackPosition(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestedPlaybackRate(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestedShuffleEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlaybackStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PlaybackStatus(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayUpdater(void**) noexcept = 0; + virtual int32_t __stdcall get_SoundLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPlayEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPlayEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsStopEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsStopEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPauseEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPauseEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsRecordEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsRecordEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsFastForwardEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsFastForwardEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsRewindEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsRewindEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsPreviousEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPreviousEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsNextEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsNextEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsChannelUpEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsChannelUpEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsChannelDownEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsChannelDownEnabled(bool) noexcept = 0; + virtual int32_t __stdcall add_ButtonPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ButtonPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PropertyChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PropertyChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AutoRepeatMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoRepeatMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ShuffleEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShuffleEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_PlaybackRate(double*) noexcept = 0; + virtual int32_t __stdcall put_PlaybackRate(double) noexcept = 0; + virtual int32_t __stdcall UpdateTimelineProperties(void*) noexcept = 0; + virtual int32_t __stdcall add_PlaybackPositionChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackPositionChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackRateChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackRateChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ShuffleEnabledChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ShuffleEnabledChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AutoRepeatModeChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AutoRepeatModeChangeRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Button(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AppMediaId(void**) noexcept = 0; + virtual int32_t __stdcall put_AppMediaId(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_MusicProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_ImageProperties(void**) noexcept = 0; + virtual int32_t __stdcall CopyFromFileAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearAll() noexcept = 0; + virtual int32_t __stdcall Update() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Property(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_EndTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_EndTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_MinSeekTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_MinSeekTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_MaxSeekTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxSeekTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Subtitle(void**) noexcept = 0; + virtual int32_t __stdcall put_Subtitle(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Genres(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoStabilization(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SoftwareBitmap(void**) noexcept = 0; + virtual int32_t __stdcall CopyToAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Direct3DSurface(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CopyToWithBoundsAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithAlpha(int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsDirect3D11SurfaceBacked(int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAsDirect3D11SurfaceBackedWithDevice(int32_t, int32_t, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithSoftwareBitmap(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithDirect3D11Surface(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_IAudioBuffer + { + [[nodiscard]] auto Capacity() const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IAudioBuffer; + }; + template + struct consume_Windows_Media_IAudioFrame + { + auto LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IAudioFrame; + }; + template + struct consume_Windows_Media_IAudioFrameFactory + { + auto Create(uint32_t capacity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IAudioFrameFactory; + }; + template + struct consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs + { + [[nodiscard]] auto RequestedAutoRepeatMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_IImageDisplayProperties + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IImageDisplayProperties; + }; + template + struct consume_Windows_Media_IMediaControl + { + auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& cookie) const noexcept; + auto PlayPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using PlayPressed_revoker = impl::event_revoker::remove_PlayPressed>; + [[nodiscard]] auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PlayPressed(winrt::event_token const& cookie) const noexcept; + auto PausePressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using PausePressed_revoker = impl::event_revoker::remove_PausePressed>; + [[nodiscard]] auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PausePressed(winrt::event_token const& cookie) const noexcept; + auto StopPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using StopPressed_revoker = impl::event_revoker::remove_StopPressed>; + [[nodiscard]] auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto StopPressed(winrt::event_token const& cookie) const noexcept; + auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using PlayPauseTogglePressed_revoker = impl::event_revoker::remove_PlayPauseTogglePressed>; + [[nodiscard]] auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept; + auto RecordPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using RecordPressed_revoker = impl::event_revoker::remove_RecordPressed>; + [[nodiscard]] auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecordPressed(winrt::event_token const& cookie) const noexcept; + auto NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using NextTrackPressed_revoker = impl::event_revoker::remove_NextTrackPressed>; + [[nodiscard]] auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto NextTrackPressed(winrt::event_token const& cookie) const noexcept; + auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using PreviousTrackPressed_revoker = impl::event_revoker::remove_PreviousTrackPressed>; + [[nodiscard]] auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PreviousTrackPressed(winrt::event_token const& cookie) const noexcept; + auto FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using FastForwardPressed_revoker = impl::event_revoker::remove_FastForwardPressed>; + [[nodiscard]] auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto FastForwardPressed(winrt::event_token const& cookie) const noexcept; + auto RewindPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using RewindPressed_revoker = impl::event_revoker::remove_RewindPressed>; + [[nodiscard]] auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RewindPressed(winrt::event_token const& cookie) const noexcept; + auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using ChannelUpPressed_revoker = impl::event_revoker::remove_ChannelUpPressed>; + [[nodiscard]] auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelUpPressed(winrt::event_token const& cookie) const noexcept; + auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + using ChannelDownPressed_revoker = impl::event_revoker::remove_ChannelDownPressed>; + [[nodiscard]] auto ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelDownPressed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto SoundLevel() const; + auto TrackName(param::hstring const& value) const; + [[nodiscard]] auto TrackName() const; + auto ArtistName(param::hstring const& value) const; + [[nodiscard]] auto ArtistName() const; + auto IsPlaying(bool value) const; + [[nodiscard]] auto IsPlaying() const; + auto AlbumArt(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AlbumArt() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaControl; + }; + template + struct consume_Windows_Media_IMediaExtension + { + auto SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaExtension; + }; + template + struct consume_Windows_Media_IMediaExtensionManager + { + auto RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const; + auto RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const; + auto RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaExtensionManager; + }; + template + struct consume_Windows_Media_IMediaExtensionManager2 + { + auto RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaExtensionManager2; + }; + template + struct consume_Windows_Media_IMediaFrame + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto IsReadOnly() const; + auto RelativeTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto RelativeTime() const; + auto SystemRelativeTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SystemRelativeTime() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + auto IsDiscontinuous(bool value) const; + [[nodiscard]] auto IsDiscontinuous() const; + [[nodiscard]] auto ExtendedProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaFrame; + }; + template + struct consume_Windows_Media_IMediaMarker + { + [[nodiscard]] auto Time() const; + [[nodiscard]] auto MediaMarkerType() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaMarker; + }; + template + struct consume_Windows_Media_IMediaMarkerTypesStatics + { + [[nodiscard]] auto Bookmark() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaMarkerTypesStatics; + }; + template + struct consume_Windows_Media_IMediaMarkers + { + [[nodiscard]] auto Markers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaMarkers; + }; + template + struct consume_Windows_Media_IMediaProcessingTriggerDetails + { + [[nodiscard]] auto Arguments() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaProcessingTriggerDetails; + }; + template + struct consume_Windows_Media_IMediaTimelineController + { + auto Start() const; + auto Resume() const; + auto Pause() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ClockRate() const; + auto ClockRate(double value) const; + [[nodiscard]] auto State() const; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; + using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; + auto PositionChanged(winrt::event_token const& eventCookie) const noexcept; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; + auto StateChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaTimelineController; + }; + template + struct consume_Windows_Media_IMediaTimelineController2 + { + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsLoopingEnabled() const; + auto IsLoopingEnabled(bool value) const; + auto Failed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Failed_revoker = impl::event_revoker::remove_Failed>; + [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Failed(winrt::event_token const& token) const noexcept; + auto Ended(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Ended_revoker = impl::event_revoker::remove_Ended>; + [[nodiscard]] auto Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Ended(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaTimelineController2; + }; + template + struct consume_Windows_Media_IMediaTimelineControllerFailedEventArgs + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMediaTimelineControllerFailedEventArgs; + }; + template + struct consume_Windows_Media_IMusicDisplayProperties + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto AlbumArtist() const; + auto AlbumArtist(param::hstring const& value) const; + [[nodiscard]] auto Artist() const; + auto Artist(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMusicDisplayProperties; + }; + template + struct consume_Windows_Media_IMusicDisplayProperties2 + { + [[nodiscard]] auto AlbumTitle() const; + auto AlbumTitle(param::hstring const& value) const; + [[nodiscard]] auto TrackNumber() const; + auto TrackNumber(uint32_t value) const; + [[nodiscard]] auto Genres() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMusicDisplayProperties2; + }; + template + struct consume_Windows_Media_IMusicDisplayProperties3 + { + [[nodiscard]] auto AlbumTrackCount() const; + auto AlbumTrackCount(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IMusicDisplayProperties3; + }; + template + struct consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs + { + [[nodiscard]] auto RequestedPlaybackPosition() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs + { + [[nodiscard]] auto RequestedPlaybackRate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs + { + [[nodiscard]] auto RequestedShuffleEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControls + { + [[nodiscard]] auto PlaybackStatus() const; + auto PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const; + [[nodiscard]] auto DisplayUpdater() const; + [[nodiscard]] auto SoundLevel() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto IsPlayEnabled() const; + auto IsPlayEnabled(bool value) const; + [[nodiscard]] auto IsStopEnabled() const; + auto IsStopEnabled(bool value) const; + [[nodiscard]] auto IsPauseEnabled() const; + auto IsPauseEnabled(bool value) const; + [[nodiscard]] auto IsRecordEnabled() const; + auto IsRecordEnabled(bool value) const; + [[nodiscard]] auto IsFastForwardEnabled() const; + auto IsFastForwardEnabled(bool value) const; + [[nodiscard]] auto IsRewindEnabled() const; + auto IsRewindEnabled(bool value) const; + [[nodiscard]] auto IsPreviousEnabled() const; + auto IsPreviousEnabled(bool value) const; + [[nodiscard]] auto IsNextEnabled() const; + auto IsNextEnabled(bool value) const; + [[nodiscard]] auto IsChannelUpEnabled() const; + auto IsChannelUpEnabled(bool value) const; + [[nodiscard]] auto IsChannelDownEnabled() const; + auto IsChannelDownEnabled(bool value) const; + auto ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ButtonPressed_revoker = impl::event_revoker::remove_ButtonPressed>; + [[nodiscard]] auto ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonPressed(winrt::event_token const& token) const noexcept; + auto PropertyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PropertyChanged_revoker = impl::event_revoker::remove_PropertyChanged>; + [[nodiscard]] auto PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertyChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControls; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControls2 + { + [[nodiscard]] auto AutoRepeatMode() const; + auto AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const; + [[nodiscard]] auto ShuffleEnabled() const; + auto ShuffleEnabled(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + auto UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const; + auto PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlaybackPositionChangeRequested_revoker = impl::event_revoker::remove_PlaybackPositionChangeRequested>; + [[nodiscard]] auto PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept; + auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlaybackRateChangeRequested_revoker = impl::event_revoker::remove_PlaybackRateChangeRequested>; + [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; + auto ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ShuffleEnabledChangeRequested_revoker = impl::event_revoker::remove_ShuffleEnabledChangeRequested>; + [[nodiscard]] auto ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept; + auto AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AutoRepeatModeChangeRequested_revoker = impl::event_revoker::remove_AutoRepeatModeChangeRequested>; + [[nodiscard]] auto AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControls2; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs + { + [[nodiscard]] auto Button() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater + { + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::MediaPlaybackType const& value) const; + [[nodiscard]] auto AppMediaId() const; + auto AppMediaId(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + [[nodiscard]] auto ImageProperties() const; + auto CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const; + auto ClearAll() const; + auto Update() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs + { + [[nodiscard]] auto Property() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControlsStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControlsStatics; + }; + template + struct consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties + { + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MinSeekTime() const; + auto MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MaxSeekTime() const; + auto MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties; + }; + template + struct consume_Windows_Media_IVideoDisplayProperties + { + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoDisplayProperties; + }; + template + struct consume_Windows_Media_IVideoDisplayProperties2 + { + [[nodiscard]] auto Genres() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoDisplayProperties2; + }; + template + struct consume_Windows_Media_IVideoEffectsStatics + { + [[nodiscard]] auto VideoStabilization() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoEffectsStatics; + }; + template + struct consume_Windows_Media_IVideoFrame + { + [[nodiscard]] auto SoftwareBitmap() const; + auto CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const; + [[nodiscard]] auto Direct3DSurface() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoFrame; + }; + template + struct consume_Windows_Media_IVideoFrame2 + { + auto CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference const& sourceBounds, winrt::Windows::Foundation::IReference const& destinationBounds) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoFrame2; + }; + template + struct consume_Windows_Media_IVideoFrameFactory + { + auto Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoFrameFactory; + }; + template + struct consume_Windows_Media_IVideoFrameStatics + { + auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_IVideoFrameStatics; + }; + struct struct_Windows_Media_MediaTimeRange + { + int64_t Start; + int64_t End; + }; + template <> struct abi + { + using type = struct_Windows_Media_MediaTimeRange; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.1.h new file mode 100644 index 0000000000000000000000000000000000000000..260778566fa1a91f7bc40c7c80f8156570d3e003 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.1.h @@ -0,0 +1,278 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_1_H +#define WINRT_Windows_Media_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.0.h" +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct WINRT_IMPL_EMPTY_BASES IAudioBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioBuffer(std::nullptr_t = nullptr) noexcept {} + IAudioBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioFrame(std::nullptr_t = nullptr) noexcept {} + IAudioFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFrameFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioFrameFactory(std::nullptr_t = nullptr) noexcept {} + IAudioFrameFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAutoRepeatModeChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAutoRepeatModeChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAutoRepeatModeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageDisplayProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageDisplayProperties(std::nullptr_t = nullptr) noexcept {} + IImageDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaControl(std::nullptr_t = nullptr) noexcept {} + IMediaControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaExtension : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaExtension(std::nullptr_t = nullptr) noexcept {} + IMediaExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaExtensionManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaExtensionManager(std::nullptr_t = nullptr) noexcept {} + IMediaExtensionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaExtensionManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaExtensionManager2(std::nullptr_t = nullptr) noexcept {} + IMediaExtensionManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaFrame(std::nullptr_t = nullptr) noexcept {} + IMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaMarker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaMarker(std::nullptr_t = nullptr) noexcept {} + IMediaMarker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaMarkerTypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaMarkerTypesStatics(std::nullptr_t = nullptr) noexcept {} + IMediaMarkerTypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaMarkers : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaMarkers(std::nullptr_t = nullptr) noexcept {} + IMediaMarkers(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProcessingTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProcessingTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMediaProcessingTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaTimelineController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTimelineController(std::nullptr_t = nullptr) noexcept {} + IMediaTimelineController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaTimelineController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTimelineController2(std::nullptr_t = nullptr) noexcept {} + IMediaTimelineController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaTimelineControllerFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTimelineControllerFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaTimelineControllerFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMusicDisplayProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMusicDisplayProperties(std::nullptr_t = nullptr) noexcept {} + IMusicDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMusicDisplayProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMusicDisplayProperties2(std::nullptr_t = nullptr) noexcept {} + IMusicDisplayProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMusicDisplayProperties3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMusicDisplayProperties3(std::nullptr_t = nullptr) noexcept {} + IMusicDisplayProperties3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackPositionChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackPositionChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlaybackPositionChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackRateChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackRateChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlaybackRateChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IShuffleEnabledChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IShuffleEnabledChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IShuffleEnabledChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControls : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControls(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControls(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControls2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControls2(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControls2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControlsButtonPressedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControlsButtonPressedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControlsButtonPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControlsDisplayUpdater : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControlsDisplayUpdater(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControlsDisplayUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControlsPropertyChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControlsPropertyChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControlsPropertyChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControlsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControlsStatics(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControlsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISystemMediaTransportControlsTimelineProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemMediaTransportControlsTimelineProperties(std::nullptr_t = nullptr) noexcept {} + ISystemMediaTransportControlsTimelineProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoDisplayProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoDisplayProperties(std::nullptr_t = nullptr) noexcept {} + IVideoDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoDisplayProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoDisplayProperties2(std::nullptr_t = nullptr) noexcept {} + IVideoDisplayProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEffectsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEffectsStatics(std::nullptr_t = nullptr) noexcept {} + IVideoEffectsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoFrame(std::nullptr_t = nullptr) noexcept {} + IVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoFrame2(std::nullptr_t = nullptr) noexcept {} + IVideoFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoFrameFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoFrameFactory(std::nullptr_t = nullptr) noexcept {} + IVideoFrameFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoFrameStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoFrameStatics(std::nullptr_t = nullptr) noexcept {} + IVideoFrameStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.2.h new file mode 100644 index 0000000000000000000000000000000000000000..98ea11e18e1763b30604e849781d1844290a78fa --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.2.h @@ -0,0 +1,215 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_2_H +#define WINRT_Windows_Media_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h" +#include "winrt/impl/Windows.Graphics.Imaging.2.h" +#include "winrt/impl/Windows.Media.1.h" +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct MediaTimeRange + { + winrt::Windows::Foundation::TimeSpan Start {}; + winrt::Windows::Foundation::TimeSpan End {}; + }; + inline bool operator==(MediaTimeRange const& left, MediaTimeRange const& right) noexcept + { + return left.Start == right.Start && left.End == right.End; + } + inline bool operator!=(MediaTimeRange const& left, MediaTimeRange const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AudioBuffer : winrt::Windows::Media::IAudioBuffer + { + AudioBuffer(std::nullptr_t) noexcept {} + AudioBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IAudioBuffer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioFrame : winrt::Windows::Media::IAudioFrame + { + AudioFrame(std::nullptr_t) noexcept {} + AudioFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IAudioFrame(ptr, take_ownership_from_abi) {} + explicit AudioFrame(uint32_t capacity); + }; + struct WINRT_IMPL_EMPTY_BASES AutoRepeatModeChangeRequestedEventArgs : winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs + { + AutoRepeatModeChangeRequestedEventArgs(std::nullptr_t) noexcept {} + AutoRepeatModeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageDisplayProperties : winrt::Windows::Media::IImageDisplayProperties + { + ImageDisplayProperties(std::nullptr_t) noexcept {} + ImageDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IImageDisplayProperties(ptr, take_ownership_from_abi) {} + }; + struct MediaControl + { + MediaControl() = delete; + static auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); + using SoundLevelChanged_revoker = impl::factory_event_revoker::remove_SoundLevelChanged>; + [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto SoundLevelChanged(winrt::event_token const& cookie); + static auto PlayPressed(winrt::Windows::Foundation::EventHandler const& handler); + using PlayPressed_revoker = impl::factory_event_revoker::remove_PlayPressed>; + [[nodiscard]] static auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PlayPressed(winrt::event_token const& cookie); + static auto PausePressed(winrt::Windows::Foundation::EventHandler const& handler); + using PausePressed_revoker = impl::factory_event_revoker::remove_PausePressed>; + [[nodiscard]] static auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PausePressed(winrt::event_token const& cookie); + static auto StopPressed(winrt::Windows::Foundation::EventHandler const& handler); + using StopPressed_revoker = impl::factory_event_revoker::remove_StopPressed>; + [[nodiscard]] static auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto StopPressed(winrt::event_token const& cookie); + static auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler); + using PlayPauseTogglePressed_revoker = impl::factory_event_revoker::remove_PlayPauseTogglePressed>; + [[nodiscard]] static auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PlayPauseTogglePressed(winrt::event_token const& cookie); + static auto RecordPressed(winrt::Windows::Foundation::EventHandler const& handler); + using RecordPressed_revoker = impl::factory_event_revoker::remove_RecordPressed>; + [[nodiscard]] static auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto RecordPressed(winrt::event_token const& cookie); + static auto NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler); + using NextTrackPressed_revoker = impl::factory_event_revoker::remove_NextTrackPressed>; + [[nodiscard]] static auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto NextTrackPressed(winrt::event_token const& cookie); + static auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler); + using PreviousTrackPressed_revoker = impl::factory_event_revoker::remove_PreviousTrackPressed>; + [[nodiscard]] static auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PreviousTrackPressed(winrt::event_token const& cookie); + static auto FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler); + using FastForwardPressed_revoker = impl::factory_event_revoker::remove_FastForwardPressed>; + [[nodiscard]] static auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto FastForwardPressed(winrt::event_token const& cookie); + static auto RewindPressed(winrt::Windows::Foundation::EventHandler const& handler); + using RewindPressed_revoker = impl::factory_event_revoker::remove_RewindPressed>; + [[nodiscard]] static auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto RewindPressed(winrt::event_token const& cookie); + static auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler); + using ChannelUpPressed_revoker = impl::factory_event_revoker::remove_ChannelUpPressed>; + [[nodiscard]] static auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ChannelUpPressed(winrt::event_token const& cookie); + static auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler); + using ChannelDownPressed_revoker = impl::factory_event_revoker::remove_ChannelDownPressed>; + [[nodiscard]] static auto ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ChannelDownPressed(winrt::event_token const& cookie); + [[nodiscard]] static auto SoundLevel(); + static auto TrackName(param::hstring const& value); + [[nodiscard]] static auto TrackName(); + static auto ArtistName(param::hstring const& value); + [[nodiscard]] static auto ArtistName(); + static auto IsPlaying(bool value); + [[nodiscard]] static auto IsPlaying(); + static auto AlbumArt(winrt::Windows::Foundation::Uri const& value); + [[nodiscard]] static auto AlbumArt(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaExtensionManager : winrt::Windows::Media::IMediaExtensionManager, + impl::require + { + MediaExtensionManager(std::nullptr_t) noexcept {} + MediaExtensionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IMediaExtensionManager(ptr, take_ownership_from_abi) {} + MediaExtensionManager(); + }; + struct MediaMarkerTypes + { + MediaMarkerTypes() = delete; + [[nodiscard]] static auto Bookmark(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaProcessingTriggerDetails : winrt::Windows::Media::IMediaProcessingTriggerDetails + { + MediaProcessingTriggerDetails(std::nullptr_t) noexcept {} + MediaProcessingTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IMediaProcessingTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaTimelineController : winrt::Windows::Media::IMediaTimelineController, + impl::require + { + MediaTimelineController(std::nullptr_t) noexcept {} + MediaTimelineController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IMediaTimelineController(ptr, take_ownership_from_abi) {} + MediaTimelineController(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaTimelineControllerFailedEventArgs : winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs + { + MediaTimelineControllerFailedEventArgs(std::nullptr_t) noexcept {} + MediaTimelineControllerFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MusicDisplayProperties : winrt::Windows::Media::IMusicDisplayProperties, + impl::require + { + MusicDisplayProperties(std::nullptr_t) noexcept {} + MusicDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IMusicDisplayProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackPositionChangeRequestedEventArgs : winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs + { + PlaybackPositionChangeRequestedEventArgs(std::nullptr_t) noexcept {} + PlaybackPositionChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackRateChangeRequestedEventArgs : winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs + { + PlaybackRateChangeRequestedEventArgs(std::nullptr_t) noexcept {} + PlaybackRateChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ShuffleEnabledChangeRequestedEventArgs : winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs + { + ShuffleEnabledChangeRequestedEventArgs(std::nullptr_t) noexcept {} + ShuffleEnabledChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SystemMediaTransportControls : winrt::Windows::Media::ISystemMediaTransportControls, + impl::require + { + SystemMediaTransportControls(std::nullptr_t) noexcept {} + SystemMediaTransportControls(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ISystemMediaTransportControls(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + }; + struct WINRT_IMPL_EMPTY_BASES SystemMediaTransportControlsButtonPressedEventArgs : winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs + { + SystemMediaTransportControlsButtonPressedEventArgs(std::nullptr_t) noexcept {} + SystemMediaTransportControlsButtonPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SystemMediaTransportControlsDisplayUpdater : winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater + { + SystemMediaTransportControlsDisplayUpdater(std::nullptr_t) noexcept {} + SystemMediaTransportControlsDisplayUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SystemMediaTransportControlsPropertyChangedEventArgs : winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs + { + SystemMediaTransportControlsPropertyChangedEventArgs(std::nullptr_t) noexcept {} + SystemMediaTransportControlsPropertyChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SystemMediaTransportControlsTimelineProperties : winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties + { + SystemMediaTransportControlsTimelineProperties(std::nullptr_t) noexcept {} + SystemMediaTransportControlsTimelineProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties(ptr, take_ownership_from_abi) {} + SystemMediaTransportControlsTimelineProperties(); + }; + struct WINRT_IMPL_EMPTY_BASES VideoDisplayProperties : winrt::Windows::Media::IVideoDisplayProperties, + impl::require + { + VideoDisplayProperties(std::nullptr_t) noexcept {} + VideoDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IVideoDisplayProperties(ptr, take_ownership_from_abi) {} + }; + struct VideoEffects + { + VideoEffects() = delete; + [[nodiscard]] static auto VideoStabilization(); + }; + struct WINRT_IMPL_EMPTY_BASES VideoFrame : winrt::Windows::Media::IVideoFrame, + impl::require + { + VideoFrame(std::nullptr_t) noexcept {} + VideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::IVideoFrame(ptr, take_ownership_from_abi) {} + VideoFrame(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height); + VideoFrame(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha); + using winrt::Windows::Media::IVideoFrame::CopyToAsync; + using impl::consume_t::CopyToAsync; + static auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height); + static auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device); + static auto CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap); + static auto CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ad966efb2f0bd6364f35900c65d8e2e40c108fbb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.0.h @@ -0,0 +1,168 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppBroadcasting_0_H +#define WINRT_Windows_Media_AppBroadcasting_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Media::AppBroadcasting +{ + struct IAppBroadcastingMonitor; + struct IAppBroadcastingStatus; + struct IAppBroadcastingStatusDetails; + struct IAppBroadcastingUI; + struct IAppBroadcastingUIStatics; + struct AppBroadcastingMonitor; + struct AppBroadcastingStatus; + struct AppBroadcastingStatusDetails; + struct AppBroadcastingUI; + struct AppBroadcastingContract; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.AppBroadcastingMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.AppBroadcastingStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.AppBroadcastingStatusDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.AppBroadcastingUI"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.IAppBroadcastingMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.IAppBroadcastingStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.IAppBroadcastingStatusDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.IAppBroadcastingUI"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.IAppBroadcastingUIStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppBroadcasting.AppBroadcastingContract"; + template <> inline constexpr guid guid_v{ 0x00F95A68,0x8907,0x48A0,{ 0xB8,0xEF,0x24,0xD2,0x08,0x13,0x75,0x42 } }; // 00F95A68-8907-48A0-B8EF-24D208137542 + template <> inline constexpr guid guid_v{ 0x1225E4DF,0x03A1,0x42F8,{ 0x8B,0x80,0xC9,0x22,0x8C,0xD9,0xCF,0x2E } }; // 1225E4DF-03A1-42F8-8B80-C9228CD9CF2E + template <> inline constexpr guid guid_v{ 0x069DADA4,0xB573,0x4E3C,{ 0x8E,0x19,0x1B,0xAF,0xAC,0xD0,0x97,0x13 } }; // 069DADA4-B573-4E3C-8E19-1BAFACD09713 + template <> inline constexpr guid guid_v{ 0xE56F9F8F,0xEE99,0x4DCA,{ 0xA3,0xC3,0x70,0xAF,0x3D,0xB4,0x4F,0x5F } }; // E56F9F8F-EE99-4DCA-A3C3-70AF3DB44F5F + template <> inline constexpr guid guid_v{ 0x55A8A79D,0x23CB,0x4579,{ 0x9C,0x34,0x88,0x6F,0xE0,0x2C,0x04,0x5A } }; // 55A8A79D-23CB-4579-9C34-886FE02C045A + template <> struct default_interface{ using type = winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCurrentAppBroadcasting(bool*) noexcept = 0; + virtual int32_t __stdcall add_IsCurrentAppBroadcastingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsCurrentAppBroadcastingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanStartBroadcast(bool*) noexcept = 0; + virtual int32_t __stdcall get_Details(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAnyAppBroadcasting(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCaptureResourceUnavailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsGameStreamInProgress(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsGpuConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAppInactive(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBlockedForApp(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledByUser(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledBySystem(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(void**) noexcept = 0; + virtual int32_t __stdcall ShowBroadcastUI() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor + { + [[nodiscard]] auto IsCurrentAppBroadcasting() const; + auto IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsCurrentAppBroadcastingChanged_revoker = impl::event_revoker::remove_IsCurrentAppBroadcastingChanged>; + [[nodiscard]] auto IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor; + }; + template + struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus + { + [[nodiscard]] auto CanStartBroadcast() const; + [[nodiscard]] auto Details() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus; + }; + template + struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails + { + [[nodiscard]] auto IsAnyAppBroadcasting() const; + [[nodiscard]] auto IsCaptureResourceUnavailable() const; + [[nodiscard]] auto IsGameStreamInProgress() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto IsAppInactive() const; + [[nodiscard]] auto IsBlockedForApp() const; + [[nodiscard]] auto IsDisabledByUser() const; + [[nodiscard]] auto IsDisabledBySystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails; + }; + template + struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI + { + auto GetStatus() const; + auto ShowBroadcastUI() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI; + }; + template + struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics + { + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.1.h new file mode 100644 index 0000000000000000000000000000000000000000..89d5d5ff30d7963fb3838964aaaed16c22e5b485 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppBroadcasting_1_H +#define WINRT_Windows_Media_AppBroadcasting_1_H +#include "winrt/impl/Windows.Media.AppBroadcasting.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::AppBroadcasting +{ + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastingMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastingMonitor(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastingMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastingStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastingStatus(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastingStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastingStatusDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastingStatusDetails(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastingStatusDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastingUI : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastingUI(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastingUI(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastingUIStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastingUIStatics(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastingUIStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.2.h new file mode 100644 index 0000000000000000000000000000000000000000..142111e71c710e253308cbfbf98202e5c969449d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.appbroadcasting.2.h @@ -0,0 +1,37 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppBroadcasting_2_H +#define WINRT_Windows_Media_AppBroadcasting_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Media.AppBroadcasting.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::AppBroadcasting +{ + struct WINRT_IMPL_EMPTY_BASES AppBroadcastingMonitor : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor + { + AppBroadcastingMonitor(std::nullptr_t) noexcept {} + AppBroadcastingMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor(ptr, take_ownership_from_abi) {} + AppBroadcastingMonitor(); + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastingStatus : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus + { + AppBroadcastingStatus(std::nullptr_t) noexcept {} + AppBroadcastingStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastingStatusDetails : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails + { + AppBroadcastingStatusDetails(std::nullptr_t) noexcept {} + AppBroadcastingStatusDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastingUI : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI + { + AppBroadcastingUI(std::nullptr_t) noexcept {} + AppBroadcastingUI(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetForUser(winrt::Windows::System::User const& user); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2a7a0c93d1e9044f9480c370e6b7073d842e43e4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.0.h @@ -0,0 +1,243 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppRecording_0_H +#define WINRT_Windows_Media_AppRecording_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFile; + struct StorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::Media::AppRecording +{ + enum class AppRecordingSaveScreenshotOption : int32_t + { + None = 0, + HdrContentVisible = 1, + }; + struct IAppRecordingManager; + struct IAppRecordingManagerStatics; + struct IAppRecordingResult; + struct IAppRecordingSaveScreenshotResult; + struct IAppRecordingSavedScreenshotInfo; + struct IAppRecordingStatus; + struct IAppRecordingStatusDetails; + struct AppRecordingManager; + struct AppRecordingResult; + struct AppRecordingSaveScreenshotResult; + struct AppRecordingSavedScreenshotInfo; + struct AppRecordingStatus; + struct AppRecordingStatusDetails; + struct AppRecordingContract; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingSaveScreenshotResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingSavedScreenshotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingStatusDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingSaveScreenshotOption"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingSaveScreenshotResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingSavedScreenshotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.IAppRecordingStatusDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.AppRecording.AppRecordingContract"; + template <> inline constexpr guid guid_v{ 0xE7E26076,0xA044,0x48E2,{ 0xA5,0x12,0x30,0x94,0xD5,0x74,0xC7,0xCC } }; // E7E26076-A044-48E2-A512-3094D574C7CC + template <> inline constexpr guid guid_v{ 0x50E709F7,0x38CE,0x4BD3,{ 0x9D,0xB2,0xE7,0x2B,0xBE,0x9D,0xE1,0x1D } }; // 50E709F7-38CE-4BD3-9DB2-E72BBE9DE11D + template <> inline constexpr guid guid_v{ 0x3A900864,0xC66D,0x46F9,{ 0xB2,0xD9,0x5B,0xC2,0xDA,0xD0,0x70,0xD7 } }; // 3A900864-C66D-46F9-B2D9-5BC2DAD070D7 + template <> inline constexpr guid guid_v{ 0x9C5B8D0A,0x0ABB,0x4457,{ 0xAA,0xEE,0x24,0xF9,0xC1,0x2E,0xC7,0x78 } }; // 9C5B8D0A-0ABB-4457-AAEE-24F9C12EC778 + template <> inline constexpr guid guid_v{ 0x9B642D0A,0x189A,0x4D00,{ 0xBF,0x25,0xE1,0xBB,0x12,0x49,0xD5,0x94 } }; // 9B642D0A-189A-4D00-BF25-E1BB1249D594 + template <> inline constexpr guid guid_v{ 0x1D0CC82C,0xBC18,0x4B8A,{ 0xA6,0xEF,0x12,0x7E,0xFA,0xB3,0xB5,0xD9 } }; // 1D0CC82C-BC18-4B8A-A6EF-127EFAB3B5D9 + template <> inline constexpr guid guid_v{ 0xB538A9B0,0x14ED,0x4412,{ 0xAC,0x45,0x6D,0x67,0x2C,0x9C,0x99,0x49 } }; // B538A9B0-14ED-4412-AC45-6D672C9C9949 + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(void**) noexcept = 0; + virtual int32_t __stdcall StartRecordingToFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RecordTimeSpanToFileAsync(int64_t, int64_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedScreenshotMediaEncodingSubtypes(void**) noexcept = 0; + virtual int32_t __stdcall SaveScreenshotToFilesAsync(void*, void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsFileTruncated(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_SavedScreenshotInfos(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_File(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaEncodingSubtype(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanRecord(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanRecordTimeSpan(bool*) noexcept = 0; + virtual int32_t __stdcall get_HistoricalBufferDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Details(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsAnyAppBroadcasting(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCaptureResourceUnavailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsGameStreamInProgress(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTimeSpanRecordingDisabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsGpuConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAppInactive(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsBlockedForApp(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledByUser(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledBySystem(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingManager + { + auto GetStatus() const; + auto StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + auto RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto SupportedScreenshotMediaEncodingSubtypes() const; + auto SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable const& requestedFormats) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingManager; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingManagerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingManagerStatics; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsFileTruncated() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingResult; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult + { + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto SavedScreenshotInfos() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo + { + [[nodiscard]] auto File() const; + [[nodiscard]] auto MediaEncodingSubtype() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingStatus + { + [[nodiscard]] auto CanRecord() const; + [[nodiscard]] auto CanRecordTimeSpan() const; + [[nodiscard]] auto HistoricalBufferDuration() const; + [[nodiscard]] auto Details() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingStatus; + }; + template + struct consume_Windows_Media_AppRecording_IAppRecordingStatusDetails + { + [[nodiscard]] auto IsAnyAppBroadcasting() const; + [[nodiscard]] auto IsCaptureResourceUnavailable() const; + [[nodiscard]] auto IsGameStreamInProgress() const; + [[nodiscard]] auto IsTimeSpanRecordingDisabled() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto IsAppInactive() const; + [[nodiscard]] auto IsBlockedForApp() const; + [[nodiscard]] auto IsDisabledByUser() const; + [[nodiscard]] auto IsDisabledBySystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_AppRecording_IAppRecordingStatusDetails; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.1.h new file mode 100644 index 0000000000000000000000000000000000000000..bcbb0c80dcbb05371c5a0b74ef8c380e687c87e8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.1.h @@ -0,0 +1,62 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppRecording_1_H +#define WINRT_Windows_Media_AppRecording_1_H +#include "winrt/impl/Windows.Media.AppRecording.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::AppRecording +{ + struct WINRT_IMPL_EMPTY_BASES IAppRecordingManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingManager(std::nullptr_t = nullptr) noexcept {} + IAppRecordingManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAppRecordingManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingResult(std::nullptr_t = nullptr) noexcept {} + IAppRecordingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingSaveScreenshotResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingSaveScreenshotResult(std::nullptr_t = nullptr) noexcept {} + IAppRecordingSaveScreenshotResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingSavedScreenshotInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingSavedScreenshotInfo(std::nullptr_t = nullptr) noexcept {} + IAppRecordingSavedScreenshotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingStatus(std::nullptr_t = nullptr) noexcept {} + IAppRecordingStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppRecordingStatusDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppRecordingStatusDetails(std::nullptr_t = nullptr) noexcept {} + IAppRecordingStatusDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.2.h new file mode 100644 index 0000000000000000000000000000000000000000..617f556930bc5d0cc2cee2e214a186696af38b1e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.apprecording.2.h @@ -0,0 +1,44 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_AppRecording_2_H +#define WINRT_Windows_Media_AppRecording_2_H +#include "winrt/impl/Windows.Media.AppRecording.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::AppRecording +{ + struct WINRT_IMPL_EMPTY_BASES AppRecordingManager : winrt::Windows::Media::AppRecording::IAppRecordingManager + { + AppRecordingManager(std::nullptr_t) noexcept {} + AppRecordingManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES AppRecordingResult : winrt::Windows::Media::AppRecording::IAppRecordingResult + { + AppRecordingResult(std::nullptr_t) noexcept {} + AppRecordingResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppRecordingSaveScreenshotResult : winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult + { + AppRecordingSaveScreenshotResult(std::nullptr_t) noexcept {} + AppRecordingSaveScreenshotResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppRecordingSavedScreenshotInfo : winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo + { + AppRecordingSavedScreenshotInfo(std::nullptr_t) noexcept {} + AppRecordingSavedScreenshotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppRecordingStatus : winrt::Windows::Media::AppRecording::IAppRecordingStatus + { + AppRecordingStatus(std::nullptr_t) noexcept {} + AppRecordingStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppRecordingStatusDetails : winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails + { + AppRecordingStatusDetails(std::nullptr_t) noexcept {} + AppRecordingStatusDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4a3966d2976c6b2b142aa1d7b89670a4f3fc56f9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.0.h @@ -0,0 +1,2171 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Audio_0_H +#define WINRT_Windows_Media_Audio_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + struct IClosable; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct AudioFrame; + enum class AudioProcessing : int32_t; + enum class SoundLevel : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + enum class MediaCategory : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct MediaSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + enum class AudioDeviceRole : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct IAudioEffectDefinition; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct AudioEncodingProperties; + struct MediaEncodingProfile; +} +WINRT_EXPORT namespace winrt::Windows::Media::Render +{ + enum class AudioRenderCategory : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Media::Audio +{ + enum class AudioDeviceNodeCreationStatus : int32_t + { + Success = 0, + DeviceNotAvailable = 1, + FormatNotSupported = 2, + UnknownFailure = 3, + AccessDenied = 4, + }; + enum class AudioEffectsPackStatus : int32_t + { + NotEnabled = 0, + Enabled = 1, + NotSupported = 2, + }; + enum class AudioFileNodeCreationStatus : int32_t + { + Success = 0, + FileNotFound = 1, + InvalidFileType = 2, + FormatNotSupported = 3, + UnknownFailure = 4, + }; + enum class AudioGraphCreationStatus : int32_t + { + Success = 0, + DeviceNotAvailable = 1, + FormatNotSupported = 2, + UnknownFailure = 3, + }; + enum class AudioGraphUnrecoverableError : int32_t + { + None = 0, + AudioDeviceLost = 1, + AudioSessionDisconnected = 2, + UnknownFailure = 3, + }; + enum class AudioNodeEmitterDecayKind : int32_t + { + Natural = 0, + Custom = 1, + }; + enum class AudioNodeEmitterSettings : uint32_t + { + None = 0, + DisableDoppler = 0x1, + }; + enum class AudioNodeEmitterShapeKind : int32_t + { + Omnidirectional = 0, + Cone = 1, + }; + enum class AudioPlaybackConnectionOpenResultStatus : int32_t + { + Success = 0, + RequestTimedOut = 1, + DeniedBySystem = 2, + UnknownFailure = 3, + }; + enum class AudioPlaybackConnectionState : int32_t + { + Closed = 0, + Opened = 1, + }; + enum class MediaSourceAudioInputNodeCreationStatus : int32_t + { + Success = 0, + FormatNotSupported = 1, + NetworkError = 2, + UnknownFailure = 3, + }; + enum class MixedRealitySpatialAudioFormatPolicy : int32_t + { + UseMixedRealityDefaultSpatialAudioFormat = 0, + UseDeviceConfigurationDefaultSpatialAudioFormat = 1, + }; + enum class QuantumSizeSelectionMode : int32_t + { + SystemDefault = 0, + LowestLatency = 1, + ClosestToDesired = 2, + }; + enum class SetDefaultSpatialAudioFormatStatus : int32_t + { + Succeeded = 0, + AccessDenied = 1, + LicenseExpired = 2, + LicenseNotValidForAudioEndpoint = 3, + NotSupportedOnAudioEndpoint = 4, + UnknownError = 5, + }; + enum class SpatialAudioModel : int32_t + { + ObjectBased = 0, + FoldDown = 1, + }; + struct IAudioDeviceInputNode; + struct IAudioDeviceOutputNode; + struct IAudioEffectsPackConfiguration; + struct IAudioEffectsPackConfigurationStatics; + struct IAudioFileInputNode; + struct IAudioFileOutputNode; + struct IAudioFrameCompletedEventArgs; + struct IAudioFrameInputNode; + struct IAudioFrameOutputNode; + struct IAudioGraph; + struct IAudioGraph2; + struct IAudioGraph3; + struct IAudioGraphConnection; + struct IAudioGraphSettings; + struct IAudioGraphSettings2; + struct IAudioGraphSettingsFactory; + struct IAudioGraphStatics; + struct IAudioGraphUnrecoverableErrorOccurredEventArgs; + struct IAudioInputNode; + struct IAudioInputNode2; + struct IAudioNode; + struct IAudioNodeEmitter; + struct IAudioNodeEmitter2; + struct IAudioNodeEmitterConeProperties; + struct IAudioNodeEmitterDecayModel; + struct IAudioNodeEmitterDecayModelStatics; + struct IAudioNodeEmitterFactory; + struct IAudioNodeEmitterNaturalDecayModelProperties; + struct IAudioNodeEmitterShape; + struct IAudioNodeEmitterShapeStatics; + struct IAudioNodeListener; + struct IAudioNodeWithListener; + struct IAudioPlaybackConnection; + struct IAudioPlaybackConnectionOpenResult; + struct IAudioPlaybackConnectionStatics; + struct IAudioStateMonitor; + struct IAudioStateMonitorStatics; + struct ICreateAudioDeviceInputNodeResult; + struct ICreateAudioDeviceInputNodeResult2; + struct ICreateAudioDeviceOutputNodeResult; + struct ICreateAudioDeviceOutputNodeResult2; + struct ICreateAudioFileInputNodeResult; + struct ICreateAudioFileInputNodeResult2; + struct ICreateAudioFileOutputNodeResult; + struct ICreateAudioFileOutputNodeResult2; + struct ICreateAudioGraphResult; + struct ICreateAudioGraphResult2; + struct ICreateMediaSourceAudioInputNodeResult; + struct ICreateMediaSourceAudioInputNodeResult2; + struct IEchoEffectDefinition; + struct IEchoEffectDefinitionFactory; + struct IEqualizerBand; + struct IEqualizerEffectDefinition; + struct IEqualizerEffectDefinitionFactory; + struct IFrameInputNodeQuantumStartedEventArgs; + struct ILimiterEffectDefinition; + struct ILimiterEffectDefinitionFactory; + struct IMediaSourceAudioInputNode; + struct IReverbEffectDefinition; + struct IReverbEffectDefinitionFactory; + struct ISetDefaultSpatialAudioFormatResult; + struct ISpatialAudioDeviceConfiguration; + struct ISpatialAudioDeviceConfigurationStatics; + struct ISpatialAudioFormatConfiguration; + struct ISpatialAudioFormatConfigurationStatics; + struct ISpatialAudioFormatSubtypeStatics; + struct ISpatialAudioFormatSubtypeStatics2; + struct AudioDeviceInputNode; + struct AudioDeviceOutputNode; + struct AudioEffectsPackConfiguration; + struct AudioFileInputNode; + struct AudioFileOutputNode; + struct AudioFrameCompletedEventArgs; + struct AudioFrameInputNode; + struct AudioFrameOutputNode; + struct AudioGraph; + struct AudioGraphBatchUpdater; + struct AudioGraphConnection; + struct AudioGraphSettings; + struct AudioGraphUnrecoverableErrorOccurredEventArgs; + struct AudioNodeEmitter; + struct AudioNodeEmitterConeProperties; + struct AudioNodeEmitterDecayModel; + struct AudioNodeEmitterNaturalDecayModelProperties; + struct AudioNodeEmitterShape; + struct AudioNodeListener; + struct AudioPlaybackConnection; + struct AudioPlaybackConnectionOpenResult; + struct AudioStateMonitor; + struct AudioSubmixNode; + struct CreateAudioDeviceInputNodeResult; + struct CreateAudioDeviceOutputNodeResult; + struct CreateAudioFileInputNodeResult; + struct CreateAudioFileOutputNodeResult; + struct CreateAudioGraphResult; + struct CreateMediaSourceAudioInputNodeResult; + struct EchoEffectDefinition; + struct EqualizerBand; + struct EqualizerEffectDefinition; + struct FrameInputNodeQuantumStartedEventArgs; + struct LimiterEffectDefinition; + struct MediaSourceAudioInputNode; + struct ReverbEffectDefinition; + struct SetDefaultSpatialAudioFormatResult; + struct SpatialAudioDeviceConfiguration; + struct SpatialAudioFormatConfiguration; + struct SpatialAudioFormatSubtype; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioDeviceInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioDeviceOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioEffectsPackConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFileInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFileOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFrameCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFrameInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFrameOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraph"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphBatchUpdater"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphUnrecoverableErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterConeProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterDecayModel"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterNaturalDecayModelProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterShape"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeListener"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioPlaybackConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioPlaybackConnectionOpenResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioStateMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioSubmixNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateAudioDeviceInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateAudioDeviceOutputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateAudioFileInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateAudioFileOutputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateAudioGraphResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.CreateMediaSourceAudioInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.EchoEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.EqualizerBand"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.EqualizerEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.FrameInputNodeQuantumStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.LimiterEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.MediaSourceAudioInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ReverbEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SetDefaultSpatialAudioFormatResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SpatialAudioDeviceConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SpatialAudioFormatConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SpatialAudioFormatSubtype"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioDeviceNodeCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioEffectsPackStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioFileNodeCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioGraphUnrecoverableError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterDecayKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioNodeEmitterShapeKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioPlaybackConnectionOpenResultStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.AudioPlaybackConnectionState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.MixedRealitySpatialAudioFormatPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.QuantumSizeSelectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SetDefaultSpatialAudioFormatStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.SpatialAudioModel"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioDeviceInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioDeviceOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioEffectsPackConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioEffectsPackConfigurationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioFileInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioFileOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioFrameCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioFrameInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioFrameOutputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraph"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraph2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraph3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphSettings2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphSettingsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioGraphUnrecoverableErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioInputNode2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitter2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterConeProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterDecayModel"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterDecayModelStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterNaturalDecayModelProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterShape"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeEmitterShapeStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeListener"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioNodeWithListener"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioPlaybackConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioPlaybackConnectionOpenResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioPlaybackConnectionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioStateMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IAudioStateMonitorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioDeviceInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioDeviceInputNodeResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioDeviceOutputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioDeviceOutputNodeResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioFileInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioFileInputNodeResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioFileOutputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioFileOutputNodeResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioGraphResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateAudioGraphResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateMediaSourceAudioInputNodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ICreateMediaSourceAudioInputNodeResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IEchoEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IEchoEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IEqualizerBand"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IEqualizerEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IEqualizerEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IFrameInputNodeQuantumStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ILimiterEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ILimiterEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IMediaSourceAudioInputNode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IReverbEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.IReverbEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISetDefaultSpatialAudioFormatResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioDeviceConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioDeviceConfigurationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatConfigurationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics2"; + template <> inline constexpr guid guid_v{ 0xB01B6BE1,0x6F4E,0x49E2,{ 0xAC,0x01,0x55,0x9D,0x62,0xBE,0xB3,0xA9 } }; // B01B6BE1-6F4E-49E2-AC01-559D62BEB3A9 + template <> inline constexpr guid guid_v{ 0x362EDBFF,0xFF1C,0x4434,{ 0x9E,0x0F,0xBD,0x2E,0xF5,0x22,0xAC,0x82 } }; // 362EDBFF-FF1C-4434-9E0F-BD2EF522AC82 + template <> inline constexpr guid guid_v{ 0x71D7627D,0x70C1,0x536C,{ 0xA8,0xF8,0x6F,0x98,0x01,0x5A,0x7F,0x06 } }; // 71D7627D-70C1-536C-A8F8-6F98015A7F06 + template <> inline constexpr guid guid_v{ 0x61C20413,0x530C,0x55FF,{ 0xBA,0x2B,0x8E,0x68,0xA9,0xB5,0x6A,0x04 } }; // 61C20413-530C-55FF-BA2B-8E68A9B56A04 + template <> inline constexpr guid guid_v{ 0x905B67C8,0x6F65,0x4CD4,{ 0x88,0x90,0x46,0x94,0x84,0x3C,0x27,0x6D } }; // 905B67C8-6F65-4CD4-8890-4694843C276D + template <> inline constexpr guid guid_v{ 0x50E01980,0x5166,0x4093,{ 0x80,0xF8,0xAD,0xA0,0x00,0x89,0xE9,0xCF } }; // 50E01980-5166-4093-80F8-ADA00089E9CF + template <> inline constexpr guid guid_v{ 0xDC7C829E,0x0208,0x4504,{ 0xA5,0xA8,0xF0,0xF2,0x68,0x92,0x0A,0x65 } }; // DC7C829E-0208-4504-A5A8-F0F268920A65 + template <> inline constexpr guid guid_v{ 0x01B266C7,0xFD96,0x4FF5,{ 0xA3,0xC5,0xD2,0x7A,0x9B,0xF4,0x42,0x37 } }; // 01B266C7-FD96-4FF5-A3C5-D27A9BF44237 + template <> inline constexpr guid guid_v{ 0xB847371B,0x3299,0x45F5,{ 0x88,0xB3,0xC9,0xD1,0x2A,0x3F,0x1C,0xC8 } }; // B847371B-3299-45F5-88B3-C9D12A3F1CC8 + template <> inline constexpr guid guid_v{ 0x1AD46EED,0xE48C,0x4E14,{ 0x96,0x60,0x2C,0x4F,0x83,0xE9,0xCD,0xD8 } }; // 1AD46EED-E48C-4E14-9660-2C4F83E9CDD8 + template <> inline constexpr guid guid_v{ 0x4E4C3BD5,0x4FC1,0x45F6,{ 0xA9,0x47,0x3C,0xD3,0x8F,0x4F,0xD8,0x39 } }; // 4E4C3BD5-4FC1-45F6-A947-3CD38F4FD839 + template <> inline constexpr guid guid_v{ 0xDDCD25AE,0x1185,0x42A7,{ 0x83,0x1D,0x6A,0x9B,0x0F,0xC8,0x68,0x20 } }; // DDCD25AE-1185-42A7-831D-6A9B0FC86820 + template <> inline constexpr guid guid_v{ 0x763070ED,0xD04E,0x4FAC,{ 0xB2,0x33,0x60,0x0B,0x42,0xED,0xD4,0x69 } }; // 763070ED-D04E-4FAC-B233-600B42EDD469 + template <> inline constexpr guid guid_v{ 0x1D59647F,0xE6FE,0x4628,{ 0x84,0xF8,0x9D,0x8B,0xDB,0xA2,0x57,0x85 } }; // 1D59647F-E6FE-4628-84F8-9D8BDBA25785 + template <> inline constexpr guid guid_v{ 0x72919787,0x4DAB,0x46E3,{ 0xB4,0xC9,0xD8,0xE1,0xA2,0x63,0x60,0x62 } }; // 72919787-4DAB-46E3-B4C9-D8E1A2636062 + template <> inline constexpr guid guid_v{ 0xA5D91CC6,0xC2EB,0x4A61,{ 0xA2,0x14,0x1D,0x66,0xD7,0x5F,0x83,0xDA } }; // A5D91CC6-C2EB-4A61-A214-1D66D75F83DA + template <> inline constexpr guid guid_v{ 0x76EC3132,0xE159,0x4AB7,{ 0xA8,0x2A,0x17,0xBE,0xB4,0xB3,0x1E,0x94 } }; // 76EC3132-E159-4AB7-A82A-17BEB4B31E94 + template <> inline constexpr guid guid_v{ 0xC3D9CBE0,0x3FF6,0x4FB3,{ 0xB2,0x62,0x50,0xD4,0x35,0xC5,0x54,0x23 } }; // C3D9CBE0-3FF6-4FB3-B262-50D435C55423 + template <> inline constexpr guid guid_v{ 0xD148005C,0x8428,0x4784,{ 0xB7,0xFD,0xA9,0x9D,0x46,0x8C,0x5D,0x20 } }; // D148005C-8428-4784-B7FD-A99D468C5D20 + template <> inline constexpr guid guid_v{ 0x905156B7,0xCA68,0x4C6D,{ 0xA8,0xBC,0xE3,0xEE,0x17,0xFE,0x3F,0xD2 } }; // 905156B7-CA68-4C6D-A8BC-E3EE17FE3FD2 + template <> inline constexpr guid guid_v{ 0x15389D7F,0xDBD8,0x4819,{ 0xBF,0x03,0x66,0x8E,0x93,0x57,0xCD,0x6D } }; // 15389D7F-DBD8-4819-BF03-668E9357CD6D + template <> inline constexpr guid guid_v{ 0x3676971D,0x880A,0x47B8,{ 0xAD,0xF7,0x13,0x23,0xA9,0xD9,0x65,0xBE } }; // 3676971D-880A-47B8-ADF7-1323A9D965BE + template <> inline constexpr guid guid_v{ 0x4AB6EECB,0xEC29,0x47F8,{ 0x81,0x8C,0xB6,0xB6,0x60,0xA5,0xAE,0xB1 } }; // 4AB6EECB-EC29-47F8-818C-B6B660A5AEB1 + template <> inline constexpr guid guid_v{ 0xE99B2CEE,0x02CA,0x4375,{ 0x93,0x26,0x0C,0x6A,0xE4,0xBC,0xDF,0xB5 } }; // E99B2CEE-02CA-4375-9326-0C6AE4BCDFB5 + template <> inline constexpr guid guid_v{ 0x1D1D5AF7,0x0D53,0x4FA9,{ 0xBD,0x84,0xD5,0x81,0x6A,0x86,0xF3,0xFF } }; // 1D1D5AF7-0D53-4FA9-BD84-D5816A86F3FF + template <> inline constexpr guid guid_v{ 0xC7787CA8,0xF178,0x462F,{ 0xBC,0x81,0x8D,0xD5,0xCB,0xE5,0xDA,0xE8 } }; // C7787CA8-F178-462F-BC81-8DD5CBE5DAE8 + template <> inline constexpr guid guid_v{ 0xFDC8489A,0x6AD6,0x4CE4,{ 0xB7,0xF7,0xA9,0x93,0x70,0xDF,0x7E,0xE9 } }; // FDC8489A-6AD6-4CE4-B7F7-A99370DF7EE9 + template <> inline constexpr guid guid_v{ 0x48934BCF,0xCF2C,0x4EFC,{ 0x93,0x31,0x75,0xBD,0x22,0xDF,0x1F,0x0C } }; // 48934BCF-CF2C-4EFC-9331-75BD22DF1F0C + template <> inline constexpr guid guid_v{ 0xEA0311C5,0xE73D,0x44BC,{ 0x85,0x9C,0x45,0x55,0x3B,0xBC,0x48,0x28 } }; // EA0311C5-E73D-44BC-859C-45553BBC4828 + template <> inline constexpr guid guid_v{ 0x57BB2771,0xFFA5,0x4B86,{ 0xA7,0x79,0xE2,0x64,0xAE,0xB9,0x14,0x5F } }; // 57BB2771-FFA5-4B86-A779-E264AEB9145F + template <> inline constexpr guid guid_v{ 0xD9722E16,0x0C0A,0x41DA,{ 0xB7,0x55,0x6C,0x77,0x83,0x5F,0xB1,0xEB } }; // D9722E16-0C0A-41DA-B755-6C77835FB1EB + template <> inline constexpr guid guid_v{ 0x0E0F907C,0x79FF,0x4544,{ 0x9E,0xEB,0x01,0x25,0x7B,0x15,0x10,0x5A } }; // 0E0F907C-79FF-4544-9EEB-01257B15105A + template <> inline constexpr guid guid_v{ 0x1A4C1DEA,0xCAFC,0x50E7,{ 0x87,0x18,0xEA,0x3F,0x81,0xCB,0xFA,0x51 } }; // 1A4C1DEA-CAFC-50E7-8718-EA3F81CBFA51 + template <> inline constexpr guid guid_v{ 0x4E656AEF,0x39F9,0x5FC9,{ 0xA5,0x19,0xA5,0xBB,0xFD,0x9F,0xE9,0x21 } }; // 4E656AEF-39F9-5FC9-A519-A5BBFD9FE921 + template <> inline constexpr guid guid_v{ 0xE60963A2,0x69E6,0x5FFC,{ 0x9E,0x13,0x82,0x4A,0x85,0x21,0x3D,0xAF } }; // E60963A2-69E6-5FFC-9E13-824A85213DAF + template <> inline constexpr guid guid_v{ 0x1D13D136,0x0199,0x4CDC,{ 0xB8,0x4E,0xE7,0x2C,0x2B,0x58,0x1E,0xCE } }; // 1D13D136-0199-4CDC-B84E-E72C2B581ECE + template <> inline constexpr guid guid_v{ 0x6374EA4C,0x1B3B,0x4001,{ 0x94,0xD9,0xDD,0x22,0x53,0x30,0xFA,0x40 } }; // 6374EA4C-1B3B-4001-94D9-DD225330FA40 + template <> inline constexpr guid guid_v{ 0x16EEC7A8,0x1CA7,0x40EF,{ 0x91,0xA4,0xD3,0x46,0xE0,0xAA,0x1B,0xBA } }; // 16EEC7A8-1CA7-40EF-91A4-D346E0AA1BBA + template <> inline constexpr guid guid_v{ 0x921C69CE,0x3F35,0x41C7,{ 0x96,0x22,0x79,0xF6,0x08,0xBA,0xED,0xC2 } }; // 921C69CE-3F35-41C7-9622-79F608BAEDC2 + template <> inline constexpr guid guid_v{ 0xF7776D27,0x1D9A,0x47F7,{ 0x9C,0xD4,0x28,0x59,0xCC,0x1B,0x7B,0xFF } }; // F7776D27-1D9A-47F7-9CD4-2859CC1B7BFF + template <> inline constexpr guid guid_v{ 0x4864269F,0xBDCE,0x4AB1,{ 0xBD,0x38,0xFB,0xAE,0x93,0xAE,0xDA,0xCA } }; // 4864269F-BDCE-4AB1-BD38-FBAE93AEDACA + template <> inline constexpr guid guid_v{ 0xCE83D61C,0xE297,0x4C50,{ 0x9C,0xE7,0x1C,0x7A,0x69,0xD6,0xBD,0x09 } }; // CE83D61C-E297-4C50-9CE7-1C7A69D6BD09 + template <> inline constexpr guid guid_v{ 0xF9082020,0x3D80,0x4FE0,{ 0x81,0xC1,0x76,0x8F,0xEA,0x7C,0xA7,0xE0 } }; // F9082020-3D80-4FE0-81C1-768FEA7CA7E0 + template <> inline constexpr guid guid_v{ 0x47D6BA7B,0xE909,0x453F,{ 0x86,0x6E,0x55,0x40,0xCD,0xA7,0x34,0xFF } }; // 47D6BA7B-E909-453F-866E-5540CDA734FF + template <> inline constexpr guid guid_v{ 0x9F01B50D,0x3318,0x47B3,{ 0xA6,0x0A,0x1B,0x49,0x2B,0xE7,0xFC,0x0D } }; // 9F01B50D-3318-47B3-A60A-1B492BE7FC0D + template <> inline constexpr guid guid_v{ 0x5453EF7E,0x7BDE,0x4B76,{ 0xBB,0x5D,0x48,0xF7,0x9C,0xFC,0x8C,0x0B } }; // 5453EF7E-7BDE-4B76-BB5D-48F79CFC8C0B + template <> inline constexpr guid guid_v{ 0x6D738DFC,0x88C6,0x4FCB,{ 0xA5,0x34,0x85,0xCE,0xDD,0x40,0x50,0xA1 } }; // 6D738DFC-88C6-4FCB-A534-85CEDD4050A1 + template <> inline constexpr guid guid_v{ 0x46A658A3,0x53C0,0x4D59,{ 0x9E,0x51,0xCC,0x1D,0x10,0x44,0xA4,0xC4 } }; // 46A658A3-53C0-4D59-9E51-CC1D1044A4C4 + template <> inline constexpr guid guid_v{ 0x63514CE8,0x6A1A,0x49E3,{ 0x97,0xEC,0x28,0xFD,0x5B,0xE1,0x14,0xE5 } }; // 63514CE8-6A1A-49E3-97EC-28FD5BE114E5 + template <> inline constexpr guid guid_v{ 0x0E4D3FAA,0x36B8,0x4C91,{ 0xB9,0xDA,0x11,0xF4,0x4A,0x8A,0x66,0x10 } }; // 0E4D3FAA-36B8-4C91-B9DA-11F44A8A6610 + template <> inline constexpr guid guid_v{ 0x0D4E2257,0xAAF2,0x4E86,{ 0xA5,0x4C,0xFB,0x79,0xDB,0x8F,0x6C,0x12 } }; // 0D4E2257-AAF2-4E86-A54C-FB79DB8F6C12 + template <> inline constexpr guid guid_v{ 0xC00A5A6A,0x262D,0x4B85,{ 0x9B,0xB7,0x43,0x28,0x0B,0x62,0xED,0x0C } }; // C00A5A6A-262D-4B85-9BB7-43280B62ED0C + template <> inline constexpr guid guid_v{ 0x023F6F1F,0x83FE,0x449A,{ 0xA8,0x22,0xC6,0x96,0x44,0x2D,0x16,0xB0 } }; // 023F6F1F-83FE-449A-A822-C696442D16B0 + template <> inline constexpr guid guid_v{ 0xD2876FC4,0xD410,0x4EB5,{ 0x9E,0x69,0xC9,0xAA,0x12,0x77,0xEA,0xF0 } }; // D2876FC4-D410-4EB5-9E69-C9AA1277EAF0 + template <> inline constexpr guid guid_v{ 0x3D9BD498,0xA306,0x4F06,{ 0xBD,0x9F,0xE9,0xEF,0xC8,0x22,0x63,0x04 } }; // 3D9BD498-A306-4F06-BD9F-E9EFC8226304 + template <> inline constexpr guid guid_v{ 0x6B755D19,0x2603,0x47BA,{ 0xBD,0xEB,0x39,0x05,0x5E,0x34,0x86,0xDC } }; // 6B755D19-2603-47BA-BDEB-39055E3486DC + template <> inline constexpr guid guid_v{ 0xECBAE6F1,0x61FF,0x45EF,{ 0xB8,0xF5,0x48,0x65,0x9A,0x57,0xC7,0x2D } }; // ECBAE6F1-61FF-45EF-B8F5-48659A57C72D + template <> inline constexpr guid guid_v{ 0x99D8983B,0xA88A,0x4041,{ 0x8E,0x4F,0xDD,0xBA,0xC0,0xC9,0x1F,0xD3 } }; // 99D8983B-A88A-4041-8E4F-DDBAC0C91FD3 + template <> inline constexpr guid guid_v{ 0x4606AA89,0xF563,0x4D0A,{ 0x8F,0x6E,0xF0,0xCD,0xDF,0xF3,0x5D,0x84 } }; // 4606AA89-F563-4D0A-8F6E-F0CDDFF35D84 + template <> inline constexpr guid guid_v{ 0xA7D5CBFE,0x100B,0x4FF0,{ 0x9D,0xA6,0xDC,0x4E,0x05,0xA7,0x59,0xF0 } }; // A7D5CBFE-100B-4FF0-9DA6-DC4E05A759F0 + template <> inline constexpr guid guid_v{ 0x1C2AA511,0x1400,0x5E70,{ 0x9E,0xA9,0xAE,0x15,0x12,0x41,0xE8,0xEA } }; // 1C2AA511-1400-5E70-9EA9-AE151241E8EA + template <> inline constexpr guid guid_v{ 0xEE830034,0x61CF,0x5749,{ 0x9D,0xA4,0x10,0xF0,0xFE,0x02,0x81,0x99 } }; // EE830034-61CF-5749-9DA4-10F0FE028199 + template <> inline constexpr guid guid_v{ 0x3EC37F7B,0x936D,0x4E04,{ 0x97,0x28,0x28,0x27,0xD9,0xF7,0x58,0xC4 } }; // 3EC37F7B-936D-4E04-9728-2827D9F758C4 + template <> inline constexpr guid guid_v{ 0x32DF09A8,0x50F0,0x5395,{ 0x99,0x23,0x7D,0x44,0xCA,0x71,0xED,0x6D } }; // 32DF09A8-50F0-5395-9923-7D44CA71ED6D + template <> inline constexpr guid guid_v{ 0x2B5FEF71,0x67C9,0x4E5F,{ 0xA3,0x5B,0x41,0x68,0x07,0x11,0xF8,0xC7 } }; // 2B5FEF71-67C9-4E5F-A35B-41680711F8C7 + template <> inline constexpr guid guid_v{ 0xB3DE8A47,0x83EE,0x4266,{ 0xA9,0x45,0xBE,0xDF,0x50,0x7A,0xFE,0xED } }; // B3DE8A47-83EE-4266-A945-BEDF507AFEED + template <> inline constexpr guid guid_v{ 0x4565E6CB,0xD95B,0x5621,{ 0xB6,0xAF,0x0E,0x88,0x49,0xC5,0x7C,0x80 } }; // 4565E6CB-D95B-5621-B6AF-0E8849C57C80 + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioDeviceInputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioDeviceOutputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioEffectsPackConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFileInputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFileOutputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFrameCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFrameInputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFrameOutputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioGraph; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IClosable; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioGraphConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioGraphSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeEmitter; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeEmitterShape; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioNodeListener; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioPlaybackConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioStateMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioInputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateAudioGraphResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IEchoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IEqualizerBand; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IEqualizerEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ILimiterEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IMediaSourceAudioInputNode; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IReverbEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_EffectsPackId(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForDeviceId(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall IsDeviceIdSupported(void*, void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PlaybackSpeedFactor(double) noexcept = 0; + virtual int32_t __stdcall get_PlaybackSpeedFactor(double*) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall Seek(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartTime(void**) noexcept = 0; + virtual int32_t __stdcall put_StartTime(void*) noexcept = 0; + virtual int32_t __stdcall get_EndTime(void**) noexcept = 0; + virtual int32_t __stdcall put_EndTime(void*) noexcept = 0; + virtual int32_t __stdcall get_LoopCount(void**) noexcept = 0; + virtual int32_t __stdcall put_LoopCount(void*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceFile(void**) noexcept = 0; + virtual int32_t __stdcall add_FileCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FileCompleted(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_File(void**) noexcept = 0; + virtual int32_t __stdcall get_FileEncodingProfile(void**) noexcept = 0; + virtual int32_t __stdcall FinalizeAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PlaybackSpeedFactor(double) noexcept = 0; + virtual int32_t __stdcall get_PlaybackSpeedFactor(double*) noexcept = 0; + virtual int32_t __stdcall AddFrame(void*) noexcept = 0; + virtual int32_t __stdcall DiscardQueuedFrames() noexcept = 0; + virtual int32_t __stdcall get_QueuedSampleCount(uint64_t*) noexcept = 0; + virtual int32_t __stdcall add_AudioFrameCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioFrameCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_QuantumStarted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_QuantumStarted(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFrameInputNode(void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameInputNodeWithFormat(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceInputNodeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceInputNodeWithFormatAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceInputNodeWithFormatOnDeviceAsync(int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameOutputNode(void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameOutputNodeWithFormat(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceOutputNodeAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreateFileInputNodeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFileOutputNodeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFileOutputNodeWithFileProfileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateSubmixNode(void**) noexcept = 0; + virtual int32_t __stdcall CreateSubmixNodeWithFormat(void*, void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall ResetAllNodes() noexcept = 0; + virtual int32_t __stdcall add_QuantumStarted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_QuantumStarted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_QuantumProcessed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_QuantumProcessed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_UnrecoverableErrorOccurred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UnrecoverableErrorOccurred(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_CompletedQuantumCount(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_LatencyInSamples(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PrimaryRenderDevice(void**) noexcept = 0; + virtual int32_t __stdcall get_RenderDeviceAudioProcessing(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SamplesPerQuantum(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFrameInputNodeWithFormatAndEmitter(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync(int32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFileInputNodeWithEmitterAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateSubmixNodeWithFormatAndEmitter(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateBatchUpdater(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMediaSourceAudioInputNodeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateMediaSourceAudioInputNodeWithEmitterAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Destination(void**) noexcept = 0; + virtual int32_t __stdcall put_Gain(double) noexcept = 0; + virtual int32_t __stdcall get_Gain(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall put_EncodingProperties(void*) noexcept = 0; + virtual int32_t __stdcall get_PrimaryRenderDevice(void**) noexcept = 0; + virtual int32_t __stdcall put_PrimaryRenderDevice(void*) noexcept = 0; + virtual int32_t __stdcall get_QuantumSizeSelectionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_QuantumSizeSelectionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredSamplesPerQuantum(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredSamplesPerQuantum(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AudioRenderCategory(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AudioRenderCategory(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredRenderDeviceAudioProcessing(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredRenderDeviceAudioProcessing(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MaxPlaybackSpeedFactor(double) noexcept = 0; + virtual int32_t __stdcall get_MaxPlaybackSpeedFactor(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OutgoingConnections(void**) noexcept = 0; + virtual int32_t __stdcall AddOutgoingConnection(void*) noexcept = 0; + virtual int32_t __stdcall AddOutgoingConnectionWithGain(void*, double) noexcept = 0; + virtual int32_t __stdcall RemoveOutgoingConnection(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Emitter(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EffectDefinitions(void**) noexcept = 0; + virtual int32_t __stdcall put_OutgoingGain(double) noexcept = 0; + virtual int32_t __stdcall get_OutgoingGain(double*) noexcept = 0; + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_ConsumeInput(bool*) noexcept = 0; + virtual int32_t __stdcall put_ConsumeInput(bool) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall Reset() noexcept = 0; + virtual int32_t __stdcall DisableEffectsByDefinition(void*) noexcept = 0; + virtual int32_t __stdcall EnableEffectsByDefinition(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_Position(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_Direction(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_Direction(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_Shape(void**) noexcept = 0; + virtual int32_t __stdcall get_DecayModel(void**) noexcept = 0; + virtual int32_t __stdcall get_Gain(double*) noexcept = 0; + virtual int32_t __stdcall put_Gain(double) noexcept = 0; + virtual int32_t __stdcall get_DistanceScale(double*) noexcept = 0; + virtual int32_t __stdcall put_DistanceScale(double) noexcept = 0; + virtual int32_t __stdcall get_DopplerScale(double*) noexcept = 0; + virtual int32_t __stdcall put_DopplerScale(double) noexcept = 0; + virtual int32_t __stdcall get_DopplerVelocity(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_DopplerVelocity(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_IsDopplerDisabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SpatialAudioModel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SpatialAudioModel(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InnerAngle(double*) noexcept = 0; + virtual int32_t __stdcall get_OuterAngle(double*) noexcept = 0; + virtual int32_t __stdcall get_OuterAngleGain(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinGain(double*) noexcept = 0; + virtual int32_t __stdcall get_MaxGain(double*) noexcept = 0; + virtual int32_t __stdcall get_NaturalProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateNatural(double, double, double, double, void**) noexcept = 0; + virtual int32_t __stdcall CreateCustom(double, double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAudioNodeEmitter(void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UnityGainDistance(double*) noexcept = 0; + virtual int32_t __stdcall get_CutoffDistance(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ConeProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCone(double, double, double, void**) noexcept = 0; + virtual int32_t __stdcall CreateOmnidirectional(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_Position(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_Orientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall put_Orientation(winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + virtual int32_t __stdcall get_SpeedOfSound(double*) noexcept = 0; + virtual int32_t __stdcall put_SpeedOfSound(double) noexcept = 0; + virtual int32_t __stdcall get_DopplerVelocity(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_DopplerVelocity(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Listener(void*) noexcept = 0; + virtual int32_t __stdcall get_Listener(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall Open(void**) noexcept = 0; + virtual int32_t __stdcall OpenAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFromId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SoundLevelChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SoundLevelChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_SoundLevel(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateForRenderMonitoring(void**) noexcept = 0; + virtual int32_t __stdcall CreateForRenderMonitoringWithCategory(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateForRenderMonitoringWithCategoryAndDeviceRole(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateForRenderMonitoringWithCategoryAndDeviceId(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateForCaptureMonitoring(void**) noexcept = 0; + virtual int32_t __stdcall CreateForCaptureMonitoringWithCategory(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateForCaptureMonitoringWithCategoryAndDeviceRole(int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateForCaptureMonitoringWithCategoryAndDeviceId(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInputNode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceOutputNode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FileInputNode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FileOutputNode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Graph(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Node(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WetDryMix(double) noexcept = 0; + virtual int32_t __stdcall get_WetDryMix(double*) noexcept = 0; + virtual int32_t __stdcall put_Feedback(double) noexcept = 0; + virtual int32_t __stdcall get_Feedback(double*) noexcept = 0; + virtual int32_t __stdcall put_Delay(double) noexcept = 0; + virtual int32_t __stdcall get_Delay(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Bandwidth(double*) noexcept = 0; + virtual int32_t __stdcall put_Bandwidth(double) noexcept = 0; + virtual int32_t __stdcall get_FrequencyCenter(double*) noexcept = 0; + virtual int32_t __stdcall put_FrequencyCenter(double) noexcept = 0; + virtual int32_t __stdcall get_Gain(double*) noexcept = 0; + virtual int32_t __stdcall put_Gain(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Bands(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequiredSamples(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Release(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Release(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Loudness(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Loudness(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PlaybackSpeedFactor(double) noexcept = 0; + virtual int32_t __stdcall get_PlaybackSpeedFactor(double*) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall Seek(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartTime(void**) noexcept = 0; + virtual int32_t __stdcall put_StartTime(void*) noexcept = 0; + virtual int32_t __stdcall get_EndTime(void**) noexcept = 0; + virtual int32_t __stdcall put_EndTime(void*) noexcept = 0; + virtual int32_t __stdcall get_LoopCount(void**) noexcept = 0; + virtual int32_t __stdcall put_LoopCount(void*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaSource(void**) noexcept = 0; + virtual int32_t __stdcall add_MediaSourceCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaSourceCompleted(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_WetDryMix(double) noexcept = 0; + virtual int32_t __stdcall get_WetDryMix(double*) noexcept = 0; + virtual int32_t __stdcall put_ReflectionsDelay(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ReflectionsDelay(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReverbDelay(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_ReverbDelay(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_RearDelay(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_RearDelay(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_PositionLeft(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PositionLeft(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_PositionRight(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PositionRight(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_PositionMatrixLeft(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PositionMatrixLeft(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_PositionMatrixRight(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PositionMatrixRight(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_EarlyDiffusion(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_EarlyDiffusion(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_LateDiffusion(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_LateDiffusion(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_LowEQGain(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_LowEQGain(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_LowEQCutoff(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_LowEQCutoff(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_HighEQGain(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_HighEQGain(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_HighEQCutoff(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_HighEQCutoff(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_RoomFilterFreq(double) noexcept = 0; + virtual int32_t __stdcall get_RoomFilterFreq(double*) noexcept = 0; + virtual int32_t __stdcall put_RoomFilterMain(double) noexcept = 0; + virtual int32_t __stdcall get_RoomFilterMain(double*) noexcept = 0; + virtual int32_t __stdcall put_RoomFilterHF(double) noexcept = 0; + virtual int32_t __stdcall get_RoomFilterHF(double*) noexcept = 0; + virtual int32_t __stdcall put_ReflectionsGain(double) noexcept = 0; + virtual int32_t __stdcall get_ReflectionsGain(double*) noexcept = 0; + virtual int32_t __stdcall put_ReverbGain(double) noexcept = 0; + virtual int32_t __stdcall get_ReverbGain(double*) noexcept = 0; + virtual int32_t __stdcall put_DecayTime(double) noexcept = 0; + virtual int32_t __stdcall get_DecayTime(double*) noexcept = 0; + virtual int32_t __stdcall put_Density(double) noexcept = 0; + virtual int32_t __stdcall get_Density(double*) noexcept = 0; + virtual int32_t __stdcall put_RoomSize(double) noexcept = 0; + virtual int32_t __stdcall get_RoomSize(double*) noexcept = 0; + virtual int32_t __stdcall put_DisableLateField(bool) noexcept = 0; + virtual int32_t __stdcall get_DisableLateField(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsSpatialAudioSupported(bool*) noexcept = 0; + virtual int32_t __stdcall IsSpatialAudioFormatSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_ActiveSpatialAudioFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultSpatialAudioFormat(void**) noexcept = 0; + virtual int32_t __stdcall SetDefaultSpatialAudioFormatAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ConfigurationChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConfigurationChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForDeviceId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportLicenseChangedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReportConfigurationChangedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_MixedRealityExclusiveModePolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MixedRealityExclusiveModePolicy(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WindowsSonic(void**) noexcept = 0; + virtual int32_t __stdcall get_DolbyAtmosForHeadphones(void**) noexcept = 0; + virtual int32_t __stdcall get_DolbyAtmosForHomeTheater(void**) noexcept = 0; + virtual int32_t __stdcall get_DolbyAtmosForSpeakers(void**) noexcept = 0; + virtual int32_t __stdcall get_DTSHeadphoneX(void**) noexcept = 0; + virtual int32_t __stdcall get_DTSXUltra(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DTSXForHomeTheater(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Audio_IAudioDeviceInputNode + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioDeviceInputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioDeviceOutputNode + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioDeviceOutputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioEffectsPackConfiguration + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto EffectsPackId() const; + [[nodiscard]] auto Status() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioEffectsPackConfiguration; + }; + template + struct consume_Windows_Media_Audio_IAudioEffectsPackConfigurationStatics + { + auto GetForDeviceId(param::hstring const& effectsPackId, param::hstring const& deviceId) const; + auto IsDeviceIdSupported(param::hstring const& effectsPackId, param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioEffectsPackConfigurationStatics; + }; + template + struct consume_Windows_Media_Audio_IAudioFileInputNode + { + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + [[nodiscard]] auto Position() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& position) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LoopCount() const; + auto LoopCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto SourceFile() const; + auto FileCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FileCompleted_revoker = impl::event_revoker::remove_FileCompleted>; + [[nodiscard]] auto FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FileCompleted(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioFileInputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioFileOutputNode + { + [[nodiscard]] auto File() const; + [[nodiscard]] auto FileEncodingProfile() const; + auto FinalizeAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioFileOutputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs + { + [[nodiscard]] auto Frame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs; + }; + template + struct consume_Windows_Media_Audio_IAudioFrameInputNode + { + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + auto AddFrame(winrt::Windows::Media::AudioFrame const& frame) const; + auto DiscardQueuedFrames() const; + [[nodiscard]] auto QueuedSampleCount() const; + auto AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AudioFrameCompleted_revoker = impl::event_revoker::remove_AudioFrameCompleted>; + [[nodiscard]] auto AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioFrameCompleted(winrt::event_token const& token) const noexcept; + auto QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using QuantumStarted_revoker = impl::event_revoker::remove_QuantumStarted>; + [[nodiscard]] auto QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumStarted(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioFrameInputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioFrameOutputNode + { + auto GetFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioFrameOutputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioGraph + { + auto CreateFrameInputNode() const; + auto CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + auto CreateFrameOutputNode() const; + auto CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceOutputNodeAsync() const; + auto CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const; + auto CreateSubmixNode() const; + auto CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto Start() const; + auto Stop() const; + auto ResetAllNodes() const; + auto QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using QuantumStarted_revoker = impl::event_revoker::remove_QuantumStarted>; + [[nodiscard]] auto QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumStarted(winrt::event_token const& token) const noexcept; + auto QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using QuantumProcessed_revoker = impl::event_revoker::remove_QuantumProcessed>; + [[nodiscard]] auto QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumProcessed(winrt::event_token const& token) const noexcept; + auto UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UnrecoverableErrorOccurred_revoker = impl::event_revoker::remove_UnrecoverableErrorOccurred>; + [[nodiscard]] auto UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CompletedQuantumCount() const; + [[nodiscard]] auto EncodingProperties() const; + [[nodiscard]] auto LatencyInSamples() const; + [[nodiscard]] auto PrimaryRenderDevice() const; + [[nodiscard]] auto RenderDeviceAudioProcessing() const; + [[nodiscard]] auto SamplesPerQuantum() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraph; + }; + template + struct consume_Windows_Media_Audio_IAudioGraph2 + { + auto CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateBatchUpdater() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraph2; + }; + template + struct consume_Windows_Media_Audio_IAudioGraph3 + { + auto CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const; + auto CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraph3; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphConnection + { + [[nodiscard]] auto Destination() const; + auto Gain(double value) const; + [[nodiscard]] auto Gain() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphConnection; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphSettings + { + [[nodiscard]] auto EncodingProperties() const; + auto EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; + [[nodiscard]] auto PrimaryRenderDevice() const; + auto PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; + [[nodiscard]] auto QuantumSizeSelectionMode() const; + auto QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const; + [[nodiscard]] auto DesiredSamplesPerQuantum() const; + auto DesiredSamplesPerQuantum(int32_t value) const; + [[nodiscard]] auto AudioRenderCategory() const; + auto AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const; + [[nodiscard]] auto DesiredRenderDeviceAudioProcessing() const; + auto DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphSettings; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphSettings2 + { + auto MaxPlaybackSpeedFactor(double value) const; + [[nodiscard]] auto MaxPlaybackSpeedFactor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphSettings2; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphSettingsFactory + { + auto Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphSettingsFactory; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphStatics + { + auto CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphStatics; + }; + template + struct consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs + { + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs; + }; + template + struct consume_Windows_Media_Audio_IAudioInputNode + { + [[nodiscard]] auto OutgoingConnections() const; + auto AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; + auto AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const; + auto RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioInputNode; + }; + template + struct consume_Windows_Media_Audio_IAudioInputNode2 + { + [[nodiscard]] auto Emitter() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioInputNode2; + }; + template + struct consume_Windows_Media_Audio_IAudioNode + { + [[nodiscard]] auto EffectDefinitions() const; + auto OutgoingGain(double value) const; + [[nodiscard]] auto OutgoingGain() const; + [[nodiscard]] auto EncodingProperties() const; + [[nodiscard]] auto ConsumeInput() const; + auto ConsumeInput(bool value) const; + auto Start() const; + auto Stop() const; + auto Reset() const; + auto DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + auto EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNode; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitter + { + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Shape() const; + [[nodiscard]] auto DecayModel() const; + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; + [[nodiscard]] auto DistanceScale() const; + auto DistanceScale(double value) const; + [[nodiscard]] auto DopplerScale() const; + auto DopplerScale(double value) const; + [[nodiscard]] auto DopplerVelocity() const; + auto DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto IsDopplerDisabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitter; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitter2 + { + [[nodiscard]] auto SpatialAudioModel() const; + auto SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitter2; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties + { + [[nodiscard]] auto InnerAngle() const; + [[nodiscard]] auto OuterAngle() const; + [[nodiscard]] auto OuterAngleGain() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto MinGain() const; + [[nodiscard]] auto MaxGain() const; + [[nodiscard]] auto NaturalProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics + { + auto CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const; + auto CreateCustom(double minGain, double maxGain) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterFactory + { + auto CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterFactory; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties + { + [[nodiscard]] auto UnityGainDistance() const; + [[nodiscard]] auto CutoffDistance() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterShape + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ConeProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterShape; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics + { + auto CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const; + auto CreateOmnidirectional() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeListener + { + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto SpeedOfSound() const; + auto SpeedOfSound(double value) const; + [[nodiscard]] auto DopplerVelocity() const; + auto DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeListener; + }; + template + struct consume_Windows_Media_Audio_IAudioNodeWithListener + { + auto Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const; + [[nodiscard]] auto Listener() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioNodeWithListener; + }; + template + struct consume_Windows_Media_Audio_IAudioPlaybackConnection + { + auto Start() const; + auto StartAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto State() const; + auto Open() const; + auto OpenAsync() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioPlaybackConnection; + }; + template + struct consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult; + }; + template + struct consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics + { + auto GetDeviceSelector() const; + auto TryCreateFromId(param::hstring const& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics; + }; + template + struct consume_Windows_Media_Audio_IAudioStateMonitor + { + auto SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SoundLevel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioStateMonitor; + }; + template + struct consume_Windows_Media_Audio_IAudioStateMonitorStatics + { + auto CreateForRenderMonitoring() const; + auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const; + auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const; + auto CreateForCaptureMonitoring() const; + auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IAudioStateMonitorStatics; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceInputNode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceOutputNode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto FileInputNode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto FileOutputNode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioGraphResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Graph() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioGraphResult; + }; + template + struct consume_Windows_Media_Audio_ICreateAudioGraphResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateAudioGraphResult2; + }; + template + struct consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Node() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult; + }; + template + struct consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2; + }; + template + struct consume_Windows_Media_Audio_IEchoEffectDefinition + { + auto WetDryMix(double value) const; + [[nodiscard]] auto WetDryMix() const; + auto Feedback(double value) const; + [[nodiscard]] auto Feedback() const; + auto Delay(double value) const; + [[nodiscard]] auto Delay() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IEchoEffectDefinition; + }; + template + struct consume_Windows_Media_Audio_IEchoEffectDefinitionFactory + { + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IEchoEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Audio_IEqualizerBand + { + [[nodiscard]] auto Bandwidth() const; + auto Bandwidth(double value) const; + [[nodiscard]] auto FrequencyCenter() const; + auto FrequencyCenter(double value) const; + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IEqualizerBand; + }; + template + struct consume_Windows_Media_Audio_IEqualizerEffectDefinition + { + [[nodiscard]] auto Bands() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IEqualizerEffectDefinition; + }; + template + struct consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory + { + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs + { + [[nodiscard]] auto RequiredSamples() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs; + }; + template + struct consume_Windows_Media_Audio_ILimiterEffectDefinition + { + auto Release(uint32_t value) const; + [[nodiscard]] auto Release() const; + auto Loudness(uint32_t value) const; + [[nodiscard]] auto Loudness() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ILimiterEffectDefinition; + }; + template + struct consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory + { + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Audio_IMediaSourceAudioInputNode + { + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + [[nodiscard]] auto Position() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& position) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LoopCount() const; + auto LoopCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto MediaSource() const; + auto MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MediaSourceCompleted_revoker = impl::event_revoker::remove_MediaSourceCompleted>; + [[nodiscard]] auto MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaSourceCompleted(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IMediaSourceAudioInputNode; + }; + template + struct consume_Windows_Media_Audio_IReverbEffectDefinition + { + auto WetDryMix(double value) const; + [[nodiscard]] auto WetDryMix() const; + auto ReflectionsDelay(uint32_t value) const; + [[nodiscard]] auto ReflectionsDelay() const; + auto ReverbDelay(uint8_t value) const; + [[nodiscard]] auto ReverbDelay() const; + auto RearDelay(uint8_t value) const; + [[nodiscard]] auto RearDelay() const; + auto PositionLeft(uint8_t value) const; + [[nodiscard]] auto PositionLeft() const; + auto PositionRight(uint8_t value) const; + [[nodiscard]] auto PositionRight() const; + auto PositionMatrixLeft(uint8_t value) const; + [[nodiscard]] auto PositionMatrixLeft() const; + auto PositionMatrixRight(uint8_t value) const; + [[nodiscard]] auto PositionMatrixRight() const; + auto EarlyDiffusion(uint8_t value) const; + [[nodiscard]] auto EarlyDiffusion() const; + auto LateDiffusion(uint8_t value) const; + [[nodiscard]] auto LateDiffusion() const; + auto LowEQGain(uint8_t value) const; + [[nodiscard]] auto LowEQGain() const; + auto LowEQCutoff(uint8_t value) const; + [[nodiscard]] auto LowEQCutoff() const; + auto HighEQGain(uint8_t value) const; + [[nodiscard]] auto HighEQGain() const; + auto HighEQCutoff(uint8_t value) const; + [[nodiscard]] auto HighEQCutoff() const; + auto RoomFilterFreq(double value) const; + [[nodiscard]] auto RoomFilterFreq() const; + auto RoomFilterMain(double value) const; + [[nodiscard]] auto RoomFilterMain() const; + auto RoomFilterHF(double value) const; + [[nodiscard]] auto RoomFilterHF() const; + auto ReflectionsGain(double value) const; + [[nodiscard]] auto ReflectionsGain() const; + auto ReverbGain(double value) const; + [[nodiscard]] auto ReverbGain() const; + auto DecayTime(double value) const; + [[nodiscard]] auto DecayTime() const; + auto Density(double value) const; + [[nodiscard]] auto Density() const; + auto RoomSize(double value) const; + [[nodiscard]] auto RoomSize() const; + auto DisableLateField(bool value) const; + [[nodiscard]] auto DisableLateField() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IReverbEffectDefinition; + }; + template + struct consume_Windows_Media_Audio_IReverbEffectDefinitionFactory + { + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_IReverbEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsSpatialAudioSupported() const; + auto IsSpatialAudioFormatSupported(param::hstring const& subtype) const; + [[nodiscard]] auto ActiveSpatialAudioFormat() const; + [[nodiscard]] auto DefaultSpatialAudioFormat() const; + auto SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const; + auto ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConfigurationChanged_revoker = impl::event_revoker::remove_ConfigurationChanged>; + [[nodiscard]] auto ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConfigurationChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics + { + auto GetForDeviceId(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration + { + auto ReportLicenseChangedAsync(param::hstring const& subtype) const; + auto ReportConfigurationChangedAsync(param::hstring const& subtype) const; + [[nodiscard]] auto MixedRealityExclusiveModePolicy() const; + auto MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics + { + [[nodiscard]] auto WindowsSonic() const; + [[nodiscard]] auto DolbyAtmosForHeadphones() const; + [[nodiscard]] auto DolbyAtmosForHomeTheater() const; + [[nodiscard]] auto DolbyAtmosForSpeakers() const; + [[nodiscard]] auto DTSHeadphoneX() const; + [[nodiscard]] auto DTSXUltra() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics; + }; + template + struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2 + { + [[nodiscard]] auto DTSXForHomeTheater() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.1.h new file mode 100644 index 0000000000000000000000000000000000000000..7330d106bb627ca17877f4c7ce595408c2b5145a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.1.h @@ -0,0 +1,509 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Audio_1_H +#define WINRT_Windows_Media_Audio_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Effects.0.h" +#include "winrt/impl/Windows.Media.Audio.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Audio +{ + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceInputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioDeviceInputNode(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceOutputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioDeviceOutputNode(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffectsPackConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffectsPackConfiguration(std::nullptr_t = nullptr) noexcept {} + IAudioEffectsPackConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffectsPackConfigurationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffectsPackConfigurationStatics(std::nullptr_t = nullptr) noexcept {} + IAudioEffectsPackConfigurationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFileInputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioFileInputNode(std::nullptr_t = nullptr) noexcept {} + IAudioFileInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFileOutputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioFileOutputNode(std::nullptr_t = nullptr) noexcept {} + IAudioFileOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFrameCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioFrameCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAudioFrameCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFrameInputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioFrameInputNode(std::nullptr_t = nullptr) noexcept {} + IAudioFrameInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioFrameOutputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioFrameOutputNode(std::nullptr_t = nullptr) noexcept {} + IAudioFrameOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraph : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioGraph(std::nullptr_t = nullptr) noexcept {} + IAudioGraph(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraph2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioGraph2(std::nullptr_t = nullptr) noexcept {} + IAudioGraph2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::CreateDeviceInputNodeAsync; + using impl::consume_t::CreateDeviceInputNodeAsync; + using impl::consume_t::CreateFileInputNodeAsync; + using impl::consume_t::CreateFileInputNodeAsync; + using impl::consume_t::CreateFrameInputNode; + using impl::consume_t::CreateFrameInputNode; + using impl::consume_t::CreateSubmixNode; + using impl::consume_t::CreateSubmixNode; + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraph3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraph3(std::nullptr_t = nullptr) noexcept {} + IAudioGraph3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphConnection(std::nullptr_t = nullptr) noexcept {} + IAudioGraphConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphSettings(std::nullptr_t = nullptr) noexcept {} + IAudioGraphSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphSettings2(std::nullptr_t = nullptr) noexcept {} + IAudioGraphSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphSettingsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphSettingsFactory(std::nullptr_t = nullptr) noexcept {} + IAudioGraphSettingsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphStatics(std::nullptr_t = nullptr) noexcept {} + IAudioGraphStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioGraphUnrecoverableErrorOccurredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioGraphUnrecoverableErrorOccurredEventArgs(std::nullptr_t = nullptr) noexcept {} + IAudioGraphUnrecoverableErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioInputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioInputNode(std::nullptr_t = nullptr) noexcept {} + IAudioInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioInputNode2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioInputNode2(std::nullptr_t = nullptr) noexcept {} + IAudioInputNode2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioNode(std::nullptr_t = nullptr) noexcept {} + IAudioNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitter(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitter2(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterConeProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterConeProperties(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterConeProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterDecayModel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterDecayModel(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterDecayModel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterDecayModelStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterDecayModelStatics(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterDecayModelStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterFactory(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterNaturalDecayModelProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterNaturalDecayModelProperties(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterNaturalDecayModelProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterShape : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterShape(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterShape(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeEmitterShapeStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeEmitterShapeStatics(std::nullptr_t = nullptr) noexcept {} + IAudioNodeEmitterShapeStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioNodeListener(std::nullptr_t = nullptr) noexcept {} + IAudioNodeListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioNodeWithListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioNodeWithListener(std::nullptr_t = nullptr) noexcept {} + IAudioNodeWithListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioPlaybackConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioPlaybackConnection(std::nullptr_t = nullptr) noexcept {} + IAudioPlaybackConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioPlaybackConnectionOpenResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioPlaybackConnectionOpenResult(std::nullptr_t = nullptr) noexcept {} + IAudioPlaybackConnectionOpenResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioPlaybackConnectionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioPlaybackConnectionStatics(std::nullptr_t = nullptr) noexcept {} + IAudioPlaybackConnectionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioStateMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioStateMonitor(std::nullptr_t = nullptr) noexcept {} + IAudioStateMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioStateMonitorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioStateMonitorStatics(std::nullptr_t = nullptr) noexcept {} + IAudioStateMonitorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioDeviceInputNodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioDeviceInputNodeResult(std::nullptr_t = nullptr) noexcept {} + ICreateAudioDeviceInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioDeviceInputNodeResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioDeviceInputNodeResult2(std::nullptr_t = nullptr) noexcept {} + ICreateAudioDeviceInputNodeResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioDeviceOutputNodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioDeviceOutputNodeResult(std::nullptr_t = nullptr) noexcept {} + ICreateAudioDeviceOutputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioDeviceOutputNodeResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioDeviceOutputNodeResult2(std::nullptr_t = nullptr) noexcept {} + ICreateAudioDeviceOutputNodeResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioFileInputNodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioFileInputNodeResult(std::nullptr_t = nullptr) noexcept {} + ICreateAudioFileInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioFileInputNodeResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioFileInputNodeResult2(std::nullptr_t = nullptr) noexcept {} + ICreateAudioFileInputNodeResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioFileOutputNodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioFileOutputNodeResult(std::nullptr_t = nullptr) noexcept {} + ICreateAudioFileOutputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioFileOutputNodeResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioFileOutputNodeResult2(std::nullptr_t = nullptr) noexcept {} + ICreateAudioFileOutputNodeResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioGraphResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioGraphResult(std::nullptr_t = nullptr) noexcept {} + ICreateAudioGraphResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateAudioGraphResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateAudioGraphResult2(std::nullptr_t = nullptr) noexcept {} + ICreateAudioGraphResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateMediaSourceAudioInputNodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateMediaSourceAudioInputNodeResult(std::nullptr_t = nullptr) noexcept {} + ICreateMediaSourceAudioInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICreateMediaSourceAudioInputNodeResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICreateMediaSourceAudioInputNodeResult2(std::nullptr_t = nullptr) noexcept {} + ICreateMediaSourceAudioInputNodeResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEchoEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IEchoEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IEchoEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEchoEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEchoEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IEchoEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEqualizerBand : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEqualizerBand(std::nullptr_t = nullptr) noexcept {} + IEqualizerBand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEqualizerEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IEqualizerEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IEqualizerEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEqualizerEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEqualizerEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IEqualizerEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameInputNodeQuantumStartedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameInputNodeQuantumStartedEventArgs(std::nullptr_t = nullptr) noexcept {} + IFrameInputNodeQuantumStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILimiterEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ILimiterEffectDefinition(std::nullptr_t = nullptr) noexcept {} + ILimiterEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILimiterEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILimiterEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + ILimiterEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceAudioInputNode : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaSourceAudioInputNode(std::nullptr_t = nullptr) noexcept {} + IMediaSourceAudioInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReverbEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IReverbEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IReverbEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IReverbEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IReverbEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IReverbEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISetDefaultSpatialAudioFormatResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISetDefaultSpatialAudioFormatResult(std::nullptr_t = nullptr) noexcept {} + ISetDefaultSpatialAudioFormatResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioDeviceConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioDeviceConfiguration(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioDeviceConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioDeviceConfigurationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioDeviceConfigurationStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioDeviceConfigurationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioFormatConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioFormatConfiguration(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioFormatConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioFormatConfigurationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioFormatConfigurationStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioFormatConfigurationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioFormatSubtypeStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioFormatSubtypeStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioFormatSubtypeStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAudioFormatSubtypeStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioFormatSubtypeStatics2(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioFormatSubtypeStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.2.h new file mode 100644 index 0000000000000000000000000000000000000000..908a4a0c97ed23498d4139b86bcad54565bee4d5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.audio.2.h @@ -0,0 +1,274 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Audio_2_H +#define WINRT_Windows_Media_Audio_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Capture.1.h" +#include "winrt/impl/Windows.Media.Devices.1.h" +#include "winrt/impl/Windows.Media.Effects.1.h" +#include "winrt/impl/Windows.Media.Render.1.h" +#include "winrt/impl/Windows.Media.Audio.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Audio +{ + struct WINRT_IMPL_EMPTY_BASES AudioDeviceInputNode : winrt::Windows::Media::Audio::IAudioDeviceInputNode, + impl::require + { + AudioDeviceInputNode(std::nullptr_t) noexcept {} + AudioDeviceInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioDeviceInputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioDeviceOutputNode : winrt::Windows::Media::Audio::IAudioDeviceOutputNode, + impl::require + { + AudioDeviceOutputNode(std::nullptr_t) noexcept {} + AudioDeviceOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioDeviceOutputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioEffectsPackConfiguration : winrt::Windows::Media::Audio::IAudioEffectsPackConfiguration + { + AudioEffectsPackConfiguration(std::nullptr_t) noexcept {} + AudioEffectsPackConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioEffectsPackConfiguration(ptr, take_ownership_from_abi) {} + static auto GetForDeviceId(param::hstring const& effectsPackId, param::hstring const& deviceId); + static auto IsDeviceIdSupported(param::hstring const& effectsPackId, param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES AudioFileInputNode : winrt::Windows::Media::Audio::IAudioFileInputNode, + impl::require + { + AudioFileInputNode(std::nullptr_t) noexcept {} + AudioFileInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioFileInputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioFileOutputNode : winrt::Windows::Media::Audio::IAudioFileOutputNode + { + AudioFileOutputNode(std::nullptr_t) noexcept {} + AudioFileOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioFileOutputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioFrameCompletedEventArgs : winrt::Windows::Media::Audio::IAudioFrameCompletedEventArgs + { + AudioFrameCompletedEventArgs(std::nullptr_t) noexcept {} + AudioFrameCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioFrameCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioFrameInputNode : winrt::Windows::Media::Audio::IAudioFrameInputNode, + impl::require + { + AudioFrameInputNode(std::nullptr_t) noexcept {} + AudioFrameInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioFrameInputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioFrameOutputNode : winrt::Windows::Media::Audio::IAudioFrameOutputNode + { + AudioFrameOutputNode(std::nullptr_t) noexcept {} + AudioFrameOutputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioFrameOutputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioGraph : winrt::Windows::Media::Audio::IAudioGraph, + impl::require + { + AudioGraph(std::nullptr_t) noexcept {} + AudioGraph(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioGraph(ptr, take_ownership_from_abi) {} + using winrt::Windows::Media::Audio::IAudioGraph::CreateDeviceInputNodeAsync; + using impl::consume_t::CreateDeviceInputNodeAsync; + using winrt::Windows::Media::Audio::IAudioGraph::CreateFileInputNodeAsync; + using impl::consume_t::CreateFileInputNodeAsync; + using winrt::Windows::Media::Audio::IAudioGraph::CreateFrameInputNode; + using impl::consume_t::CreateFrameInputNode; + using winrt::Windows::Media::Audio::IAudioGraph::CreateSubmixNode; + using impl::consume_t::CreateSubmixNode; + static auto CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings); + }; + struct WINRT_IMPL_EMPTY_BASES AudioGraphBatchUpdater : winrt::Windows::Foundation::IClosable + { + AudioGraphBatchUpdater(std::nullptr_t) noexcept {} + AudioGraphBatchUpdater(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IClosable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioGraphConnection : winrt::Windows::Media::Audio::IAudioGraphConnection + { + AudioGraphConnection(std::nullptr_t) noexcept {} + AudioGraphConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioGraphConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioGraphSettings : winrt::Windows::Media::Audio::IAudioGraphSettings, + impl::require + { + AudioGraphSettings(std::nullptr_t) noexcept {} + AudioGraphSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioGraphSettings(ptr, take_ownership_from_abi) {} + explicit AudioGraphSettings(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory); + }; + struct WINRT_IMPL_EMPTY_BASES AudioGraphUnrecoverableErrorOccurredEventArgs : winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs + { + AudioGraphUnrecoverableErrorOccurredEventArgs(std::nullptr_t) noexcept {} + AudioGraphUnrecoverableErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeEmitter : winrt::Windows::Media::Audio::IAudioNodeEmitter, + impl::require + { + AudioNodeEmitter(std::nullptr_t) noexcept {} + AudioNodeEmitter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeEmitter(ptr, take_ownership_from_abi) {} + AudioNodeEmitter(); + AudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings); + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeEmitterConeProperties : winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties + { + AudioNodeEmitterConeProperties(std::nullptr_t) noexcept {} + AudioNodeEmitterConeProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeEmitterDecayModel : winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel + { + AudioNodeEmitterDecayModel(std::nullptr_t) noexcept {} + AudioNodeEmitterDecayModel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel(ptr, take_ownership_from_abi) {} + static auto CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance); + static auto CreateCustom(double minGain, double maxGain); + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeEmitterNaturalDecayModelProperties : winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties + { + AudioNodeEmitterNaturalDecayModelProperties(std::nullptr_t) noexcept {} + AudioNodeEmitterNaturalDecayModelProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeEmitterShape : winrt::Windows::Media::Audio::IAudioNodeEmitterShape + { + AudioNodeEmitterShape(std::nullptr_t) noexcept {} + AudioNodeEmitterShape(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeEmitterShape(ptr, take_ownership_from_abi) {} + static auto CreateCone(double innerAngle, double outerAngle, double outerAngleGain); + static auto CreateOmnidirectional(); + }; + struct WINRT_IMPL_EMPTY_BASES AudioNodeListener : winrt::Windows::Media::Audio::IAudioNodeListener + { + AudioNodeListener(std::nullptr_t) noexcept {} + AudioNodeListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioNodeListener(ptr, take_ownership_from_abi) {} + AudioNodeListener(); + }; + struct WINRT_IMPL_EMPTY_BASES AudioPlaybackConnection : winrt::Windows::Media::Audio::IAudioPlaybackConnection, + impl::require + { + AudioPlaybackConnection(std::nullptr_t) noexcept {} + AudioPlaybackConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioPlaybackConnection(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto TryCreateFromId(param::hstring const& id); + }; + struct WINRT_IMPL_EMPTY_BASES AudioPlaybackConnectionOpenResult : winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult + { + AudioPlaybackConnectionOpenResult(std::nullptr_t) noexcept {} + AudioPlaybackConnectionOpenResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioStateMonitor : winrt::Windows::Media::Audio::IAudioStateMonitor + { + AudioStateMonitor(std::nullptr_t) noexcept {} + AudioStateMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioStateMonitor(ptr, take_ownership_from_abi) {} + static auto CreateForRenderMonitoring(); + static auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category); + static auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role); + static auto CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId); + static auto CreateForCaptureMonitoring(); + static auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category); + static auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role); + static auto CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES AudioSubmixNode : winrt::Windows::Media::Audio::IAudioInputNode, + impl::require + { + AudioSubmixNode(std::nullptr_t) noexcept {} + AudioSubmixNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IAudioInputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateAudioDeviceInputNodeResult : winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult, + impl::require + { + CreateAudioDeviceInputNodeResult(std::nullptr_t) noexcept {} + CreateAudioDeviceInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateAudioDeviceOutputNodeResult : winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult, + impl::require + { + CreateAudioDeviceOutputNodeResult(std::nullptr_t) noexcept {} + CreateAudioDeviceOutputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateAudioFileInputNodeResult : winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult, + impl::require + { + CreateAudioFileInputNodeResult(std::nullptr_t) noexcept {} + CreateAudioFileInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateAudioFileOutputNodeResult : winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult, + impl::require + { + CreateAudioFileOutputNodeResult(std::nullptr_t) noexcept {} + CreateAudioFileOutputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateAudioGraphResult : winrt::Windows::Media::Audio::ICreateAudioGraphResult, + impl::require + { + CreateAudioGraphResult(std::nullptr_t) noexcept {} + CreateAudioGraphResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateAudioGraphResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CreateMediaSourceAudioInputNodeResult : winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult, + impl::require + { + CreateMediaSourceAudioInputNodeResult(std::nullptr_t) noexcept {} + CreateMediaSourceAudioInputNodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES EchoEffectDefinition : winrt::Windows::Media::Audio::IEchoEffectDefinition + { + EchoEffectDefinition(std::nullptr_t) noexcept {} + EchoEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IEchoEffectDefinition(ptr, take_ownership_from_abi) {} + explicit EchoEffectDefinition(winrt::Windows::Media::Audio::AudioGraph const& audioGraph); + }; + struct WINRT_IMPL_EMPTY_BASES EqualizerBand : winrt::Windows::Media::Audio::IEqualizerBand + { + EqualizerBand(std::nullptr_t) noexcept {} + EqualizerBand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IEqualizerBand(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES EqualizerEffectDefinition : winrt::Windows::Media::Audio::IEqualizerEffectDefinition + { + EqualizerEffectDefinition(std::nullptr_t) noexcept {} + EqualizerEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IEqualizerEffectDefinition(ptr, take_ownership_from_abi) {} + explicit EqualizerEffectDefinition(winrt::Windows::Media::Audio::AudioGraph const& audioGraph); + }; + struct WINRT_IMPL_EMPTY_BASES FrameInputNodeQuantumStartedEventArgs : winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs + { + FrameInputNodeQuantumStartedEventArgs(std::nullptr_t) noexcept {} + FrameInputNodeQuantumStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LimiterEffectDefinition : winrt::Windows::Media::Audio::ILimiterEffectDefinition + { + LimiterEffectDefinition(std::nullptr_t) noexcept {} + LimiterEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ILimiterEffectDefinition(ptr, take_ownership_from_abi) {} + explicit LimiterEffectDefinition(winrt::Windows::Media::Audio::AudioGraph const& audioGraph); + }; + struct WINRT_IMPL_EMPTY_BASES MediaSourceAudioInputNode : winrt::Windows::Media::Audio::IMediaSourceAudioInputNode + { + MediaSourceAudioInputNode(std::nullptr_t) noexcept {} + MediaSourceAudioInputNode(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IMediaSourceAudioInputNode(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ReverbEffectDefinition : winrt::Windows::Media::Audio::IReverbEffectDefinition + { + ReverbEffectDefinition(std::nullptr_t) noexcept {} + ReverbEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::IReverbEffectDefinition(ptr, take_ownership_from_abi) {} + explicit ReverbEffectDefinition(winrt::Windows::Media::Audio::AudioGraph const& audioGraph); + }; + struct WINRT_IMPL_EMPTY_BASES SetDefaultSpatialAudioFormatResult : winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult + { + SetDefaultSpatialAudioFormatResult(std::nullptr_t) noexcept {} + SetDefaultSpatialAudioFormatResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAudioDeviceConfiguration : winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration + { + SpatialAudioDeviceConfiguration(std::nullptr_t) noexcept {} + SpatialAudioDeviceConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration(ptr, take_ownership_from_abi) {} + static auto GetForDeviceId(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAudioFormatConfiguration : winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration + { + SpatialAudioFormatConfiguration(std::nullptr_t) noexcept {} + SpatialAudioFormatConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct SpatialAudioFormatSubtype + { + SpatialAudioFormatSubtype() = delete; + [[nodiscard]] static auto WindowsSonic(); + [[nodiscard]] static auto DolbyAtmosForHeadphones(); + [[nodiscard]] static auto DolbyAtmosForHomeTheater(); + [[nodiscard]] static auto DolbyAtmosForSpeakers(); + [[nodiscard]] static auto DTSHeadphoneX(); + [[nodiscard]] static auto DTSXUltra(); + [[nodiscard]] static auto DTSXForHomeTheater(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8724e900284d8f1c03a20ce11d340659fdd61813 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.0.h @@ -0,0 +1,4074 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_0_H +#define WINRT_Windows_Media_Capture_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + enum class Panel : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DDevice; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + enum class BitmapAlphaMode : int32_t; + enum class BitmapPixelFormat : int32_t; + struct BitmapPropertySet; + struct BitmapSize; + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + enum class AudioProcessing : int32_t; + struct IMediaExtension; + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames +{ + struct MediaFrameSource; + struct MediaFrameSourceGroup; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct IMediaSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + enum class AdvancedPhotoMode : int32_t; + struct AudioDeviceController; + enum class CameraStreamState : int32_t; + enum class MediaCaptureFocusState : int32_t; + enum class MediaCapturePauseBehavior : int32_t; + struct VideoDeviceController; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct IAudioEffectDefinition; + struct IVideoEffectDefinition; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct IMediaEncodingProperties; + struct ImageEncodingProperties; + struct MediaEncodingProfile; + struct MediaPropertySet; + struct MediaRatio; + struct VideoEncodingProperties; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web +{ + struct WebAuthenticationResult; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; + struct StorageFile; + struct StorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStream; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; + enum class VirtualKey : int32_t; + enum class VirtualKeyModifiers : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement +{ + struct DisplayRegion; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + enum class AppBroadcastCameraCaptureState : int32_t + { + Stopped = 0, + Started = 1, + Failed = 2, + }; + enum class AppBroadcastCameraOverlayLocation : int32_t + { + TopLeft = 0, + TopCenter = 1, + TopRight = 2, + MiddleLeft = 3, + MiddleCenter = 4, + MiddleRight = 5, + BottomLeft = 6, + BottomCenter = 7, + BottomRight = 8, + }; + enum class AppBroadcastCameraOverlaySize : int32_t + { + Small = 0, + Medium = 1, + Large = 2, + }; + enum class AppBroadcastCaptureTargetType : int32_t + { + AppView = 0, + EntireDisplay = 1, + }; + enum class AppBroadcastExitBroadcastModeReason : int32_t + { + NormalExit = 0, + UserCanceled = 1, + AuthorizationFail = 2, + ForegroundAppActivated = 3, + }; + enum class AppBroadcastMicrophoneCaptureState : int32_t + { + Stopped = 0, + Started = 1, + Failed = 2, + }; + enum class AppBroadcastPlugInState : int32_t + { + Unknown = 0, + Initialized = 1, + MicrosoftSignInRequired = 2, + OAuthSignInRequired = 3, + ProviderSignInRequired = 4, + InBandwidthTest = 5, + ReadyToBroadcast = 6, + }; + enum class AppBroadcastPreviewState : int32_t + { + Started = 0, + Stopped = 1, + Failed = 2, + }; + enum class AppBroadcastSignInResult : int32_t + { + Success = 0, + AuthenticationFailed = 1, + Unauthorized = 2, + ServiceUnavailable = 3, + Unknown = 4, + }; + enum class AppBroadcastSignInState : int32_t + { + NotSignedIn = 0, + MicrosoftSignInInProgress = 1, + MicrosoftSignInComplete = 2, + OAuthSignInInProgress = 3, + OAuthSignInComplete = 4, + }; + enum class AppBroadcastStreamState : int32_t + { + Initializing = 0, + StreamReady = 1, + Started = 2, + Paused = 3, + Terminated = 4, + }; + enum class AppBroadcastTerminationReason : int32_t + { + NormalTermination = 0, + LostConnectionToService = 1, + NoNetworkConnectivity = 2, + ServiceAbort = 3, + ServiceError = 4, + ServiceUnavailable = 5, + InternalError = 6, + UnsupportedFormat = 7, + BackgroundTaskTerminated = 8, + BackgroundTaskUnresponsive = 9, + }; + enum class AppBroadcastVideoEncodingBitrateMode : int32_t + { + Custom = 0, + Auto = 1, + }; + enum class AppBroadcastVideoEncodingResolutionMode : int32_t + { + Custom = 0, + Auto = 1, + }; + enum class AppCaptureHistoricalBufferLengthUnit : int32_t + { + Megabytes = 0, + Seconds = 1, + }; + enum class AppCaptureMetadataPriority : int32_t + { + Informational = 0, + Important = 1, + }; + enum class AppCaptureMicrophoneCaptureState : int32_t + { + Stopped = 0, + Started = 1, + Failed = 2, + }; + enum class AppCaptureRecordingState : int32_t + { + InProgress = 0, + Completed = 1, + Failed = 2, + }; + enum class AppCaptureVideoEncodingBitrateMode : int32_t + { + Custom = 0, + High = 1, + Standard = 2, + }; + enum class AppCaptureVideoEncodingFrameRateMode : int32_t + { + Standard = 0, + High = 1, + }; + enum class AppCaptureVideoEncodingResolutionMode : int32_t + { + Custom = 0, + High = 1, + Standard = 2, + }; + enum class CameraCaptureUIMaxPhotoResolution : int32_t + { + HighestAvailable = 0, + VerySmallQvga = 1, + SmallVga = 2, + MediumXga = 3, + Large3M = 4, + VeryLarge5M = 5, + }; + enum class CameraCaptureUIMaxVideoResolution : int32_t + { + HighestAvailable = 0, + LowDefinition = 1, + StandardDefinition = 2, + HighDefinition = 3, + }; + enum class CameraCaptureUIMode : int32_t + { + PhotoOrVideo = 0, + Photo = 1, + Video = 2, + }; + enum class CameraCaptureUIPhotoFormat : int32_t + { + Jpeg = 0, + Png = 1, + JpegXR = 2, + }; + enum class CameraCaptureUIVideoFormat : int32_t + { + Mp4 = 0, + Wmv = 1, + }; + enum class ForegroundActivationArgument : int32_t + { + SignInRequired = 0, + MoreSettings = 1, + }; + enum class GameBarCommand : int32_t + { + OpenGameBar = 0, + RecordHistoricalBuffer = 1, + ToggleStartStopRecord = 2, + StartRecord = 3, + StopRecord = 4, + TakeScreenshot = 5, + StartBroadcast = 6, + StopBroadcast = 7, + PauseBroadcast = 8, + ResumeBroadcast = 9, + ToggleStartStopBroadcast = 10, + ToggleMicrophoneCapture = 11, + ToggleCameraCapture = 12, + ToggleRecordingIndicator = 13, + }; + enum class GameBarCommandOrigin : int32_t + { + ShortcutKey = 0, + Cortana = 1, + AppCommand = 2, + }; + enum class GameBarServicesDisplayMode : int32_t + { + Windowed = 0, + FullScreenExclusive = 1, + }; + enum class GameBarTargetCapturePolicy : int32_t + { + EnabledBySystem = 0, + EnabledByUser = 1, + NotEnabled = 2, + ProhibitedBySystem = 3, + ProhibitedByPublisher = 4, + }; + enum class KnownVideoProfile : int32_t + { + VideoRecording = 0, + HighQualityPhoto = 1, + BalancedVideoAndPhoto = 2, + VideoConferencing = 3, + PhotoSequence = 4, + HighFrameRate = 5, + VariablePhotoSequence = 6, + HdrWithWcgVideo = 7, + HdrWithWcgPhoto = 8, + VideoHdr8 = 9, + CompressedCamera = 10, + }; + enum class MediaCaptureDeviceExclusiveControlReleaseMode : int32_t + { + OnDispose = 0, + OnAllStreamsStopped = 1, + }; + enum class MediaCaptureDeviceExclusiveControlStatus : int32_t + { + ExclusiveControlAvailable = 0, + SharedReadOnlyAvailable = 1, + }; + enum class MediaCaptureMemoryPreference : int32_t + { + Auto = 0, + Cpu = 1, + }; + enum class MediaCaptureSharingMode : int32_t + { + ExclusiveControl = 0, + SharedReadOnly = 1, + }; + enum class MediaCaptureThermalStatus : int32_t + { + Normal = 0, + Overheated = 1, + }; + enum class MediaCategory : int32_t + { + Other = 0, + Communications = 1, + Media = 2, + GameChat = 3, + Speech = 4, + FarFieldSpeech = 5, + UniformSpeech = 6, + VoiceTyping = 7, + }; + enum class MediaStreamType : int32_t + { + VideoPreview = 0, + VideoRecord = 1, + Audio = 2, + Photo = 3, + Metadata = 4, + }; + enum class PhotoCaptureSource : int32_t + { + Auto = 0, + VideoPreview = 1, + Photo = 2, + }; + enum class PowerlineFrequency : int32_t + { + Disabled = 0, + FiftyHertz = 1, + SixtyHertz = 2, + Auto = 3, + }; + enum class StreamingCaptureMode : int32_t + { + AudioAndVideo = 0, + Audio = 1, + Video = 2, + }; + enum class VideoDeviceCharacteristic : int32_t + { + AllStreamsIndependent = 0, + PreviewRecordStreamsIdentical = 1, + PreviewPhotoStreamsIdentical = 2, + RecordPhotoStreamsIdentical = 3, + AllStreamsIdentical = 4, + }; + enum class VideoRotation : int32_t + { + None = 0, + Clockwise90Degrees = 1, + Clockwise180Degrees = 2, + Clockwise270Degrees = 3, + }; + struct IAdvancedCapturedPhoto; + struct IAdvancedCapturedPhoto2; + struct IAdvancedPhotoCapture; + struct IAppBroadcastBackgroundService; + struct IAppBroadcastBackgroundService2; + struct IAppBroadcastBackgroundServiceSignInInfo; + struct IAppBroadcastBackgroundServiceSignInInfo2; + struct IAppBroadcastBackgroundServiceStreamInfo; + struct IAppBroadcastBackgroundServiceStreamInfo2; + struct IAppBroadcastCameraCaptureStateChangedEventArgs; + struct IAppBroadcastGlobalSettings; + struct IAppBroadcastHeartbeatRequestedEventArgs; + struct IAppBroadcastManagerStatics; + struct IAppBroadcastMicrophoneCaptureStateChangedEventArgs; + struct IAppBroadcastPlugIn; + struct IAppBroadcastPlugInManager; + struct IAppBroadcastPlugInManagerStatics; + struct IAppBroadcastPlugInStateChangedEventArgs; + struct IAppBroadcastPreview; + struct IAppBroadcastPreviewStateChangedEventArgs; + struct IAppBroadcastPreviewStreamReader; + struct IAppBroadcastPreviewStreamVideoFrame; + struct IAppBroadcastPreviewStreamVideoHeader; + struct IAppBroadcastProviderSettings; + struct IAppBroadcastServices; + struct IAppBroadcastSignInStateChangedEventArgs; + struct IAppBroadcastState; + struct IAppBroadcastStreamAudioFrame; + struct IAppBroadcastStreamAudioHeader; + struct IAppBroadcastStreamReader; + struct IAppBroadcastStreamStateChangedEventArgs; + struct IAppBroadcastStreamVideoFrame; + struct IAppBroadcastStreamVideoHeader; + struct IAppBroadcastTriggerDetails; + struct IAppBroadcastViewerCountChangedEventArgs; + struct IAppCapture; + struct IAppCaptureAlternateShortcutKeys; + struct IAppCaptureAlternateShortcutKeys2; + struct IAppCaptureAlternateShortcutKeys3; + struct IAppCaptureDurationGeneratedEventArgs; + struct IAppCaptureFileGeneratedEventArgs; + struct IAppCaptureManagerStatics; + struct IAppCaptureMetadataWriter; + struct IAppCaptureMicrophoneCaptureStateChangedEventArgs; + struct IAppCaptureRecordOperation; + struct IAppCaptureRecordingStateChangedEventArgs; + struct IAppCaptureServices; + struct IAppCaptureSettings; + struct IAppCaptureSettings2; + struct IAppCaptureSettings3; + struct IAppCaptureSettings4; + struct IAppCaptureSettings5; + struct IAppCaptureState; + struct IAppCaptureStatics; + struct IAppCaptureStatics2; + struct ICameraCaptureUI; + struct ICameraCaptureUIPhotoCaptureSettings; + struct ICameraCaptureUIVideoCaptureSettings; + struct ICameraOptionsUIStatics; + struct ICapturedFrame; + struct ICapturedFrame2; + struct ICapturedFrameControlValues; + struct ICapturedFrameControlValues2; + struct ICapturedFrameWithSoftwareBitmap; + struct ICapturedPhoto; + struct IGameBarServices; + struct IGameBarServicesCommandEventArgs; + struct IGameBarServicesManager; + struct IGameBarServicesManagerGameBarServicesCreatedEventArgs; + struct IGameBarServicesManagerStatics; + struct IGameBarServicesTargetInfo; + struct ILowLagMediaRecording; + struct ILowLagMediaRecording2; + struct ILowLagMediaRecording3; + struct ILowLagPhotoCapture; + struct ILowLagPhotoSequenceCapture; + struct IMediaCapture; + struct IMediaCapture2; + struct IMediaCapture3; + struct IMediaCapture4; + struct IMediaCapture5; + struct IMediaCapture6; + struct IMediaCapture7; + struct IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs; + struct IMediaCaptureFailedEventArgs; + struct IMediaCaptureFocusChangedEventArgs; + struct IMediaCaptureInitializationSettings; + struct IMediaCaptureInitializationSettings2; + struct IMediaCaptureInitializationSettings3; + struct IMediaCaptureInitializationSettings4; + struct IMediaCaptureInitializationSettings5; + struct IMediaCaptureInitializationSettings6; + struct IMediaCaptureInitializationSettings7; + struct IMediaCapturePauseResult; + struct IMediaCaptureRelativePanelWatcher; + struct IMediaCaptureSettings; + struct IMediaCaptureSettings2; + struct IMediaCaptureSettings3; + struct IMediaCaptureStatics; + struct IMediaCaptureStopResult; + struct IMediaCaptureVideoPreview; + struct IMediaCaptureVideoProfile; + struct IMediaCaptureVideoProfile2; + struct IMediaCaptureVideoProfileMediaDescription; + struct IMediaCaptureVideoProfileMediaDescription2; + struct IOptionalReferencePhotoCapturedEventArgs; + struct IPhotoCapturedEventArgs; + struct IPhotoConfirmationCapturedEventArgs; + struct IVideoStreamConfiguration; + struct AdvancedCapturedPhoto; + struct AdvancedPhotoCapture; + struct AppBroadcastBackgroundService; + struct AppBroadcastBackgroundServiceSignInInfo; + struct AppBroadcastBackgroundServiceStreamInfo; + struct AppBroadcastCameraCaptureStateChangedEventArgs; + struct AppBroadcastGlobalSettings; + struct AppBroadcastHeartbeatRequestedEventArgs; + struct AppBroadcastManager; + struct AppBroadcastMicrophoneCaptureStateChangedEventArgs; + struct AppBroadcastPlugIn; + struct AppBroadcastPlugInManager; + struct AppBroadcastPlugInStateChangedEventArgs; + struct AppBroadcastPreview; + struct AppBroadcastPreviewStateChangedEventArgs; + struct AppBroadcastPreviewStreamReader; + struct AppBroadcastPreviewStreamVideoFrame; + struct AppBroadcastPreviewStreamVideoHeader; + struct AppBroadcastProviderSettings; + struct AppBroadcastServices; + struct AppBroadcastSignInStateChangedEventArgs; + struct AppBroadcastState; + struct AppBroadcastStreamAudioFrame; + struct AppBroadcastStreamAudioHeader; + struct AppBroadcastStreamReader; + struct AppBroadcastStreamStateChangedEventArgs; + struct AppBroadcastStreamVideoFrame; + struct AppBroadcastStreamVideoHeader; + struct AppBroadcastTriggerDetails; + struct AppBroadcastViewerCountChangedEventArgs; + struct AppCapture; + struct AppCaptureAlternateShortcutKeys; + struct AppCaptureDurationGeneratedEventArgs; + struct AppCaptureFileGeneratedEventArgs; + struct AppCaptureManager; + struct AppCaptureMetadataWriter; + struct AppCaptureMicrophoneCaptureStateChangedEventArgs; + struct AppCaptureRecordOperation; + struct AppCaptureRecordingStateChangedEventArgs; + struct AppCaptureServices; + struct AppCaptureSettings; + struct AppCaptureState; + struct CameraCaptureUI; + struct CameraCaptureUIPhotoCaptureSettings; + struct CameraCaptureUIVideoCaptureSettings; + struct CameraOptionsUI; + struct CapturedFrame; + struct CapturedFrameControlValues; + struct CapturedPhoto; + struct GameBarServices; + struct GameBarServicesCommandEventArgs; + struct GameBarServicesManager; + struct GameBarServicesManagerGameBarServicesCreatedEventArgs; + struct GameBarServicesTargetInfo; + struct LowLagMediaRecording; + struct LowLagPhotoCapture; + struct LowLagPhotoSequenceCapture; + struct MediaCapture; + struct MediaCaptureDeviceExclusiveControlStatusChangedEventArgs; + struct MediaCaptureFailedEventArgs; + struct MediaCaptureFocusChangedEventArgs; + struct MediaCaptureInitializationSettings; + struct MediaCapturePauseResult; + struct MediaCaptureRelativePanelWatcher; + struct MediaCaptureSettings; + struct MediaCaptureStopResult; + struct MediaCaptureVideoProfile; + struct MediaCaptureVideoProfileMediaDescription; + struct OptionalReferencePhotoCapturedEventArgs; + struct PhotoCapturedEventArgs; + struct PhotoConfirmationCapturedEventArgs; + struct VideoStreamConfiguration; + struct WhiteBalanceGain; + struct MediaCaptureFailedEventHandler; + struct RecordLimitationExceededEventHandler; + struct AppBroadcastContract; + struct AppCaptureContract; + struct AppCaptureMetadataContract; + struct CameraCaptureUIContract; + struct GameBarContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AdvancedCapturedPhoto"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AdvancedPhotoCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastBackgroundService"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastBackgroundServiceSignInInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastBackgroundServiceStreamInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastCameraCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastGlobalSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastHeartbeatRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPlugIn"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPlugInManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPlugInStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreview"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreviewStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreviewStreamReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreviewStreamVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastProviderSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastSignInStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamAudioFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamAudioHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamVideoHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastViewerCountChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureAlternateShortcutKeys"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureDurationGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureFileGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureMetadataWriter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureMicrophoneCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureRecordOperation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureRecordingStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUI"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraOptionsUI"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CapturedFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CapturedFrameControlValues"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CapturedPhoto"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServicesCommandEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServicesManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServicesManagerGameBarServicesCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServicesTargetInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.LowLagMediaRecording"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.LowLagPhotoCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.LowLagPhotoSequenceCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureFocusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureInitializationSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCapturePauseResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureRelativePanelWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureStopResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureVideoProfile"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureVideoProfileMediaDescription"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.PhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.PhotoConfirmationCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.VideoStreamConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastCameraCaptureState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastCameraOverlayLocation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastCameraOverlaySize"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastCaptureTargetType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastExitBroadcastModeReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastMicrophoneCaptureState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPlugInState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastPreviewState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastSignInResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastSignInState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastStreamState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastTerminationReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastVideoEncodingBitrateMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastVideoEncodingResolutionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureHistoricalBufferLengthUnit"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureMetadataPriority"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureMicrophoneCaptureState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureRecordingState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureVideoEncodingBitrateMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureVideoEncodingFrameRateMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureVideoEncodingResolutionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIMaxVideoResolution"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIPhotoFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIVideoFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ForegroundActivationArgument"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarCommand"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarCommandOrigin"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarServicesDisplayMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarTargetCapturePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.KnownVideoProfile"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureDeviceExclusiveControlReleaseMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureMemoryPreference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureSharingMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureThermalStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCategory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaStreamType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.PhotoCaptureSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.PowerlineFrequency"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.StreamingCaptureMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.VideoDeviceCharacteristic"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.VideoRotation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.WhiteBalanceGain"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAdvancedCapturedPhoto"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAdvancedCapturedPhoto2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAdvancedPhotoCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundService"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundService2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundServiceSignInInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundServiceSignInInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundServiceStreamInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastBackgroundServiceStreamInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastCameraCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastGlobalSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastHeartbeatRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastMicrophoneCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPlugIn"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPlugInManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPlugInManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPlugInStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPreview"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPreviewStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPreviewStreamReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPreviewStreamVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastPreviewStreamVideoHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastProviderSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastSignInStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamAudioFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamAudioHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamVideoFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastStreamVideoHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppBroadcastViewerCountChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureAlternateShortcutKeys"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureAlternateShortcutKeys2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureAlternateShortcutKeys3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureDurationGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureFileGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureMetadataWriter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureMicrophoneCaptureStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureRecordOperation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureRecordingStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureSettings2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureSettings3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureSettings4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureSettings5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IAppCaptureStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICameraCaptureUI"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICameraOptionsUIStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedFrameControlValues"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedFrameControlValues2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedFrameWithSoftwareBitmap"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ICapturedPhoto"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServicesCommandEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServicesManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServicesManagerGameBarServicesCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServicesManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IGameBarServicesTargetInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ILowLagMediaRecording"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ILowLagMediaRecording2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ILowLagMediaRecording3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ILowLagPhotoCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.ILowLagPhotoSequenceCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture6"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapture7"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureFocusChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings6"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureInitializationSettings7"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCapturePauseResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureRelativePanelWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureSettings2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureSettings3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureStopResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureVideoPreview"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureVideoProfile"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureVideoProfile2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureVideoProfileMediaDescription"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IMediaCaptureVideoProfileMediaDescription2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IOptionalReferencePhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IPhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IPhotoConfirmationCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.IVideoStreamConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.MediaCaptureFailedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.RecordLimitationExceededEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppBroadcastContract"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureContract"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.AppCaptureMetadataContract"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.CameraCaptureUIContract"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.GameBarContract"; + template <> inline constexpr guid guid_v{ 0xF072728B,0xB292,0x4491,{ 0x9D,0x41,0x99,0x80,0x7A,0x55,0x0B,0xBF } }; // F072728B-B292-4491-9D41-99807A550BBF + template <> inline constexpr guid guid_v{ 0x18CF6CD8,0xCFFE,0x42D8,{ 0x81,0x04,0x01,0x7B,0xB3,0x18,0xF4,0xA1 } }; // 18CF6CD8-CFFE-42D8-8104-017BB318F4A1 + template <> inline constexpr guid guid_v{ 0x83FFAAFA,0x6667,0x44DC,{ 0x97,0x3C,0xA6,0xBC,0xE5,0x96,0xAA,0x0F } }; // 83FFAAFA-6667-44DC-973C-A6BCE596AA0F + template <> inline constexpr guid guid_v{ 0xBAD1E72A,0xFA94,0x46F9,{ 0x95,0xFC,0xD7,0x15,0x11,0xCD,0xA7,0x0B } }; // BAD1E72A-FA94-46F9-95FC-D71511CDA70B + template <> inline constexpr guid guid_v{ 0xFC8CCBBF,0x5549,0x4B87,{ 0x95,0x9F,0x23,0xCA,0x40,0x1F,0xD4,0x73 } }; // FC8CCBBF-5549-4B87-959F-23CA401FD473 + template <> inline constexpr guid guid_v{ 0x5E735275,0x88C8,0x4ECA,{ 0x89,0xBA,0x48,0x25,0x98,0x5D,0xB8,0x80 } }; // 5E735275-88C8-4ECA-89BA-4825985DB880 + template <> inline constexpr guid guid_v{ 0x9104285C,0x62CF,0x4A3C,{ 0xA7,0xEE,0xAE,0xB5,0x07,0x40,0x46,0x45 } }; // 9104285C-62CF-4A3C-A7EE-AEB507404645 + template <> inline constexpr guid guid_v{ 0x31DC02BC,0x990A,0x4904,{ 0xAA,0x96,0xFE,0x36,0x43,0x81,0xF1,0x36 } }; // 31DC02BC-990A-4904-AA96-FE364381F136 + template <> inline constexpr guid guid_v{ 0xBD1E9F6D,0x94DC,0x4FCE,{ 0x95,0x41,0xA9,0xF1,0x29,0x59,0x63,0x34 } }; // BD1E9F6D-94DC-4FCE-9541-A9F129596334 + template <> inline constexpr guid guid_v{ 0x1E334CD0,0xB882,0x4B88,{ 0x86,0x92,0x05,0x99,0x9A,0xCE,0xB7,0x0F } }; // 1E334CD0-B882-4B88-8692-05999ACEB70F + template <> inline constexpr guid guid_v{ 0xB2CB27A5,0x70FC,0x4E17,{ 0x80,0xBD,0x6B,0xA0,0xFD,0x3F,0xF3,0xA0 } }; // B2CB27A5-70FC-4E17-80BD-6BA0FD3FF3A0 + template <> inline constexpr guid guid_v{ 0xCEA54283,0xEE51,0x4DBF,{ 0x94,0x72,0x79,0xA9,0xED,0x4E,0x21,0x65 } }; // CEA54283-EE51-4DBF-9472-79A9ED4E2165 + template <> inline constexpr guid guid_v{ 0x364E018B,0x1E4E,0x411F,{ 0xAB,0x3E,0x92,0x95,0x98,0x44,0xC1,0x56 } }; // 364E018B-1E4E-411F-AB3E-92959844C156 + template <> inline constexpr guid guid_v{ 0xA86AD5E9,0x9440,0x4908,{ 0x9D,0x09,0x65,0xB7,0xE3,0x15,0xD7,0x95 } }; // A86AD5E9-9440-4908-9D09-65B7E315D795 + template <> inline constexpr guid guid_v{ 0x520C1E66,0x6513,0x4574,{ 0xAC,0x54,0x23,0xB7,0x97,0x29,0x61,0x5B } }; // 520C1E66-6513-4574-AC54-23B79729615B + template <> inline constexpr guid guid_v{ 0xE550D979,0x27A1,0x49A7,{ 0xBB,0xF4,0xD7,0xA9,0xE9,0xD0,0x76,0x68 } }; // E550D979-27A1-49A7-BBF4-D7A9E9D07668 + template <> inline constexpr guid guid_v{ 0xF2645C20,0x5C76,0x4CDC,{ 0x93,0x64,0x82,0xFE,0x9E,0xB6,0x53,0x4D } }; // F2645C20-5C76-4CDC-9364-82FE9EB6534D + template <> inline constexpr guid guid_v{ 0x4881D0F2,0xABC5,0x4FC6,{ 0x84,0xB0,0x89,0x37,0x0B,0xB4,0x72,0x12 } }; // 4881D0F2-ABC5-4FC6-84B0-89370BB47212 + template <> inline constexpr guid guid_v{ 0x14B60F5A,0x6E4A,0x4B80,{ 0xA1,0x4F,0x67,0xEE,0x77,0xD1,0x53,0xE7 } }; // 14B60F5A-6E4A-4B80-A14F-67EE77D153E7 + template <> inline constexpr guid guid_v{ 0x5A57F2DE,0x8DEA,0x4E86,{ 0x90,0xAD,0x03,0xFC,0x26,0xB9,0x65,0x3C } }; // 5A57F2DE-8DEA-4E86-90AD-03FC26B9653C + template <> inline constexpr guid guid_v{ 0x92228D50,0xDB3F,0x40A8,{ 0x8C,0xD4,0xF4,0xE3,0x71,0xDD,0xAB,0x37 } }; // 92228D50-DB3F-40A8-8CD4-F4E371DDAB37 + template <> inline constexpr guid guid_v{ 0x010FBEA1,0x94FE,0x4499,{ 0xB8,0xC0,0x8D,0x24,0x42,0x79,0xFB,0x12 } }; // 010FBEA1-94FE-4499-B8C0-8D244279FB12 + template <> inline constexpr guid guid_v{ 0x8BEF6113,0xDA84,0x4499,{ 0xA7,0xAB,0x87,0x11,0x8C,0xB4,0xA1,0x57 } }; // 8BEF6113-DA84-4499-A7AB-87118CB4A157 + template <> inline constexpr guid guid_v{ 0xC30BDF62,0x9948,0x458F,{ 0xAD,0x50,0xAA,0x06,0xEC,0x03,0xDA,0x08 } }; // C30BDF62-9948-458F-AD50-AA06EC03DA08 + template <> inline constexpr guid guid_v{ 0x8660B4D6,0x969B,0x4E3C,{ 0xAC,0x3A,0x8B,0x04,0x2E,0xE4,0xEE,0x63 } }; // 8660B4D6-969B-4E3C-AC3A-8B042EE4EE63 + template <> inline constexpr guid guid_v{ 0x02B692A4,0x5919,0x4A9E,{ 0x8D,0x5E,0xC9,0xBB,0x0D,0xD3,0x37,0x7A } }; // 02B692A4-5919-4A9E-8D5E-C9BB0DD3377A + template <> inline constexpr guid guid_v{ 0xEE08056D,0x8099,0x4DDD,{ 0x92,0x2E,0xC5,0x6D,0xAC,0x58,0xAB,0xFB } }; // EE08056D-8099-4DDD-922E-C56DAC58ABFB + template <> inline constexpr guid guid_v{ 0xEFAB4AC8,0x21BA,0x453F,{ 0x8B,0xB7,0x5E,0x93,0x8A,0x2E,0x9A,0x74 } }; // EFAB4AC8-21BA-453F-8BB7-5E938A2E9A74 + template <> inline constexpr guid guid_v{ 0xBF21A570,0x6B78,0x4216,{ 0x9F,0x07,0x5A,0xFF,0x52,0x56,0xF1,0xB7 } }; // BF21A570-6B78-4216-9F07-5AFF5256F1B7 + template <> inline constexpr guid guid_v{ 0xB338BCF9,0x3364,0x4460,{ 0xB5,0xF1,0x3C,0xC2,0x79,0x6A,0x8A,0xA2 } }; // B338BCF9-3364-4460-B5F1-3CC2796A8AA2 + template <> inline constexpr guid guid_v{ 0x5108A733,0xD008,0x4A89,{ 0x93,0xBE,0x58,0xAE,0xD9,0x61,0x37,0x4E } }; // 5108A733-D008-4A89-93BE-58AED961374E + template <> inline constexpr guid guid_v{ 0x0F97CF2B,0xC9E4,0x4E88,{ 0x81,0x94,0xD8,0x14,0xCB,0xD5,0x85,0xD8 } }; // 0F97CF2B-C9E4-4E88-8194-D814CBD585D8 + template <> inline constexpr guid guid_v{ 0x0B9EBECE,0x7E32,0x432D,{ 0x8C,0xA2,0x36,0xBF,0x10,0xB9,0xF4,0x62 } }; // 0B9EBECE-7E32-432D-8CA2-36BF10B9F462 + template <> inline constexpr guid guid_v{ 0xDEEBAB35,0xEC5E,0x4D8F,{ 0xB1,0xC0,0x5D,0xA6,0xE8,0xC7,0x56,0x38 } }; // DEEBAB35-EC5E-4D8F-B1C0-5DA6E8C75638 + template <> inline constexpr guid guid_v{ 0xE6E11825,0x5401,0x4ADE,{ 0x8B,0xD2,0xC1,0x4E,0xCE,0xE6,0x80,0x7D } }; // E6E11825-5401-4ADE-8BD2-C14ECEE6807D + template <> inline constexpr guid guid_v{ 0x9749D453,0xA29A,0x45ED,{ 0x8F,0x29,0x22,0xD0,0x99,0x42,0xCF,0xF7 } }; // 9749D453-A29A-45ED-8F29-22D09942CFF7 + template <> inline constexpr guid guid_v{ 0x19E8E0EF,0x236C,0x40F9,{ 0xB3,0x8F,0x9B,0x7D,0xD6,0x5D,0x1C,0xCC } }; // 19E8E0EF-236C-40F9-B38F-9B7DD65D1CCC + template <> inline constexpr guid guid_v{ 0xC3669090,0xDD17,0x47F0,{ 0x95,0xE5,0xCE,0x42,0x28,0x6C,0xF3,0x38 } }; // C3669090-DD17-47F0-95E5-CE42286CF338 + template <> inline constexpr guid guid_v{ 0x7B81448C,0x418E,0x469C,{ 0xA4,0x9A,0x45,0xB5,0x97,0xC8,0x26,0xB6 } }; // 7B81448C-418E-469C-A49A-45B597C826B6 + template <> inline constexpr guid guid_v{ 0xC1F5563B,0xFFA1,0x44C9,{ 0x97,0x5F,0x27,0xFB,0xEB,0x55,0x3B,0x35 } }; // C1F5563B-FFA1-44C9-975F-27FBEB553B35 + template <> inline constexpr guid guid_v{ 0x4189FBF4,0x465E,0x45BF,{ 0x90,0x7F,0x16,0x5B,0x3F,0xB2,0x37,0x58 } }; // 4189FBF4-465E-45BF-907F-165B3FB23758 + template <> inline constexpr guid guid_v{ 0x7D9E3EA7,0x6282,0x4735,{ 0x8D,0x4E,0xAA,0x45,0xF9,0x0F,0x67,0x23 } }; // 7D9E3EA7-6282-4735-8D4E-AA45F90F6723 + template <> inline constexpr guid guid_v{ 0xE0CE4877,0x9AAF,0x46B4,{ 0xAD,0x31,0x6A,0x60,0xB4,0x41,0xC7,0x80 } }; // E0CE4877-9AAF-46B4-AD31-6A60B441C780 + template <> inline constexpr guid guid_v{ 0x324D249E,0x45BC,0x4C35,{ 0xBC,0x35,0xE4,0x69,0xFC,0x7A,0x69,0xE0 } }; // 324D249E-45BC-4C35-BC35-E469FC7A69E0 + template <> inline constexpr guid guid_v{ 0xC66020A9,0x1538,0x495C,{ 0x9B,0xBB,0x2B,0xA8,0x70,0xEC,0x58,0x61 } }; // C66020A9-1538-495C-9BBB-2BA870EC5861 + template <> inline constexpr guid guid_v{ 0x24FC8712,0xE305,0x490D,{ 0xB4,0x15,0x6B,0x1C,0x90,0x49,0x73,0x6B } }; // 24FC8712-E305-490D-B415-6B1C9049736B + template <> inline constexpr guid guid_v{ 0x44FEC0B5,0x34F5,0x4F18,{ 0xAE,0x8C,0xB9,0x12,0x3A,0xBB,0xFC,0x0D } }; // 44FEC0B5-34F5-4F18-AE8C-B9123ABBFC0D + template <> inline constexpr guid guid_v{ 0x14683A86,0x8807,0x48D3,{ 0x88,0x3A,0x97,0x0E,0xE4,0x53,0x2A,0x39 } }; // 14683A86-8807-48D3-883A-970EE4532A39 + template <> inline constexpr guid guid_v{ 0xFCB8CEE7,0xE26B,0x476F,{ 0x9B,0x1A,0xEC,0x34,0x2D,0x2A,0x8F,0xDE } }; // FCB8CEE7-E26B-476F-9B1A-EC342D2A8FDE + template <> inline constexpr guid guid_v{ 0xA93502FE,0x88C2,0x42D6,{ 0xAA,0xAA,0x40,0xFE,0xFF,0xD7,0x5A,0xEC } }; // A93502FE-88C2-42D6-AAAA-40FEFFD75AEC + template <> inline constexpr guid guid_v{ 0x07C2774C,0x1A81,0x482F,{ 0xA2,0x44,0x04,0x9D,0x95,0xF2,0x5B,0x0B } }; // 07C2774C-1A81-482F-A244-049D95F25B0B + template <> inline constexpr guid guid_v{ 0x18894522,0xB0E8,0x4BA0,{ 0x8F,0x13,0x3E,0xAA,0x5F,0xA4,0x01,0x3B } }; // 18894522-B0E8-4BA0-8F13-3EAA5FA4013B + template <> inline constexpr guid guid_v{ 0x73134372,0xD4EB,0x44CE,{ 0x95,0x38,0x46,0x5F,0x50,0x6A,0xC4,0xEA } }; // 73134372-D4EB-44CE-9538-465F506AC4EA + template <> inline constexpr guid guid_v{ 0xF922DD6C,0x0A7E,0x4E74,{ 0x8B,0x20,0x9C,0x1F,0x90,0x2D,0x08,0xA1 } }; // F922DD6C-0A7E-4E74-8B20-9C1F902D08A1 + template <> inline constexpr guid guid_v{ 0xB2D881D4,0x836C,0x4DA4,{ 0xAF,0xD7,0xFA,0xCC,0x04,0x1E,0x1C,0xF3 } }; // B2D881D4-836C-4DA4-AFD7-FACC041E1CF3 + template <> inline constexpr guid guid_v{ 0x48587540,0x6F93,0x4BB4,{ 0xB8,0xF3,0xE8,0x9E,0x48,0x94,0x8C,0x91 } }; // 48587540-6F93-4BB4-B8F3-E89E48948C91 + template <> inline constexpr guid guid_v{ 0xB9F5BE97,0x3472,0x46A8,{ 0x8A,0x9E,0x04,0xCE,0x42,0xCC,0xC9,0x7D } }; // B9F5BE97-3472-46A8-8A9E-04CE42CCC97D + template <> inline constexpr guid guid_v{ 0x64E92D1F,0xA28D,0x425A,{ 0xB8,0x4F,0xE5,0x68,0x33,0x5F,0xF2,0x4E } }; // 64E92D1F-A28D-425A-B84F-E568335FF24E + template <> inline constexpr guid guid_v{ 0x3B0D5E34,0x3906,0x4B7D,{ 0x94,0x6C,0x7B,0xDE,0x84,0x44,0x99,0xAE } }; // 3B0D5E34-3906-4B7D-946C-7BDE844499AE + template <> inline constexpr guid guid_v{ 0x1DD2DE1F,0x571B,0x44D8,{ 0x8E,0x80,0xA0,0x8A,0x15,0x78,0x76,0x6E } }; // 1DD2DE1F-571B-44D8-8E80-A08A1578766E + template <> inline constexpr guid guid_v{ 0x543FA6D1,0xBD78,0x4866,{ 0xAD,0xDA,0x24,0x31,0x4B,0xC6,0x5D,0xEA } }; // 543FA6D1-BD78-4866-ADDA-24314BC65DEA + template <> inline constexpr guid guid_v{ 0x90C65B7F,0x4E0D,0x4CA4,{ 0x88,0x2D,0x7A,0x14,0x4F,0xED,0x0A,0x90 } }; // 90C65B7F-4E0D-4CA4-882D-7A144FED0A90 + template <> inline constexpr guid guid_v{ 0x500B2B88,0x06D2,0x4AA7,{ 0xA7,0xDB,0xD3,0x7A,0xF7,0x33,0x21,0xD8 } }; // 500B2B88-06D2-4AA7-A7DB-D37AF73321D8 + template <> inline constexpr guid guid_v{ 0xB58E8B6E,0x8503,0x49B5,{ 0x9E,0x86,0x89,0x7D,0x26,0xA3,0xFF,0x3D } }; // B58E8B6E-8503-49B5-9E86-897D26A3FF3D + template <> inline constexpr guid guid_v{ 0xB0CE7E5A,0xCFCC,0x4D6C,{ 0x8A,0xD1,0x08,0x69,0x20,0x8A,0xCA,0x16 } }; // B0CE7E5A-CFCC-4D6C-8AD1-0869208ACA16 + template <> inline constexpr guid guid_v{ 0x2DBEAD57,0x50A6,0x499E,{ 0x8C,0x6C,0xD3,0x30,0xA7,0x31,0x17,0x96 } }; // 2DBEAD57-50A6-499E-8C6C-D330A7311796 + template <> inline constexpr guid guid_v{ 0xA74226B2,0xF176,0x4FCF,{ 0x8F,0xBB,0xCF,0x69,0x8B,0x2E,0xB8,0xE0 } }; // A74226B2-F176-4FCF-8FBB-CF698B2EB8E0 + template <> inline constexpr guid guid_v{ 0x3A4B9CFA,0x7F8B,0x4C60,{ 0x9D,0xBB,0x0B,0xCD,0x26,0x2D,0xFF,0xC6 } }; // 3A4B9CFA-7F8B-4C60-9DBB-0BCD262DFFC6 + template <> inline constexpr guid guid_v{ 0xEDEDBD9C,0x143E,0x49A3,{ 0xA5,0xEA,0x0B,0x19,0x95,0xC8,0xD4,0x6E } }; // EDEDBD9C-143E-49A3-A5EA-0B1995C8D46E + template <> inline constexpr guid guid_v{ 0x34C1B616,0xFF25,0x4792,{ 0x98,0xF2,0xD3,0x75,0x3F,0x15,0xAC,0x13 } }; // 34C1B616-FF25-4792-98F2-D3753F15AC13 + template <> inline constexpr guid guid_v{ 0xB4202F92,0x1611,0x4E05,{ 0xB6,0xEF,0xDF,0xD7,0x37,0xAE,0x33,0xB0 } }; // B4202F92-1611-4E05-B6EF-DFD737AE33B0 + template <> inline constexpr guid guid_v{ 0x41C8BAF7,0xFF3F,0x49F0,{ 0xA4,0x77,0xF1,0x95,0xE3,0xCE,0x51,0x08 } }; // 41C8BAF7-FF3F-49F0-A477-F195E3CE5108 + template <> inline constexpr guid guid_v{ 0x6369C758,0x5644,0x41E2,{ 0x97,0xAF,0x8E,0xF5,0x6A,0x25,0xE2,0x25 } }; // 6369C758-5644-41E2-97AF-8EF56A25E225 + template <> inline constexpr guid guid_v{ 0x5C33AB12,0x48F7,0x47DA,{ 0xB4,0x1E,0x90,0x88,0x0A,0x5F,0xE0,0xEC } }; // 5C33AB12-48F7-47DA-B41E-90880A5FE0EC + template <> inline constexpr guid guid_v{ 0xA37251B7,0x6B44,0x473D,{ 0x8F,0x24,0xF7,0x03,0xD6,0xC0,0xEC,0x44 } }; // A37251B7-6B44-473D-8F24-F703D6C0EC44 + template <> inline constexpr guid guid_v{ 0x7CC346BB,0xB9A9,0x4C91,{ 0x8F,0xFA,0x28,0x7E,0x9C,0x66,0x86,0x69 } }; // 7CC346BB-B9A9-4C91-8FFA-287E9C668669 + template <> inline constexpr guid guid_v{ 0xC61AFBB4,0xFB10,0x4A34,{ 0xAC,0x18,0xCA,0x80,0xD9,0xC8,0xE7,0xEE } }; // C61AFBB4-FB10-4A34-AC18-CA80D9C8E7EE + template <> inline constexpr guid guid_v{ 0x9CC68260,0x7DA1,0x4043,{ 0xB6,0x52,0x21,0xB8,0x87,0x8D,0xAF,0xF9 } }; // 9CC68260-7DA1-4043-B652-21B8878DAFF9 + template <> inline constexpr guid guid_v{ 0xD4136F30,0x1564,0x466E,{ 0xBC,0x0A,0xAF,0x94,0xE0,0x2A,0xB0,0x16 } }; // D4136F30-1564-466E-BC0A-AF94E02AB016 + template <> inline constexpr guid guid_v{ 0xBACD6FD6,0xFB08,0x4947,{ 0xAE,0xA2,0xCE,0x14,0xEF,0xF0,0xCE,0x13 } }; // BACD6FD6-FB08-4947-AEA2-CE14EFF0CE13 + template <> inline constexpr guid guid_v{ 0xDA787C22,0x3A9B,0x4720,{ 0xA7,0x1E,0x97,0x90,0x0A,0x31,0x6E,0x5A } }; // DA787C22-3A9B-4720-A71E-97900A316E5A + template <> inline constexpr guid guid_v{ 0x228948BD,0x4B20,0x4BB1,{ 0x9F,0xD6,0xA5,0x83,0x21,0x2A,0x10,0x12 } }; // 228948BD-4B20-4BB1-9FD6-A583212A1012 + template <> inline constexpr guid guid_v{ 0x9169F102,0x8888,0x541A,{ 0x95,0xBC,0x24,0xE4,0xD4,0x62,0x54,0x2A } }; // 9169F102-8888-541A-95BC-24E4D462542A + template <> inline constexpr guid guid_v{ 0x9D2F920D,0xA588,0x43C6,{ 0x89,0xD6,0x5A,0xD3,0x22,0xAF,0x00,0x6A } }; // 9D2F920D-A588-43C6-89D6-5AD322AF006A + template <> inline constexpr guid guid_v{ 0x80FDE3F4,0x54C4,0x42C0,{ 0x8D,0x19,0xCE,0xA1,0xA8,0x7C,0xA1,0x8B } }; // 80FDE3F4-54C4-42C0-8D19-CEA1A87CA18B + template <> inline constexpr guid guid_v{ 0x81E1BC7F,0x2277,0x493E,{ 0xAB,0xEE,0xD3,0xF4,0x4F,0xF9,0x8C,0x04 } }; // 81E1BC7F-2277-493E-ABEE-D3F44FF98C04 + template <> inline constexpr guid guid_v{ 0x9782BA70,0xEA65,0x4900,{ 0x93,0x56,0x8C,0xA8,0x87,0x72,0x68,0x84 } }; // 9782BA70-EA65-4900-9356-8CA887726884 + template <> inline constexpr guid guid_v{ 0x404E0626,0xC9DC,0x43E9,{ 0xAE,0xE4,0xE6,0xBF,0x1B,0x57,0xB4,0x4C } }; // 404E0626-C9DC-43E9-AEE4-E6BF1B57B44C + template <> inline constexpr guid guid_v{ 0x4160519D,0xBE48,0x4730,{ 0x81,0x04,0x0C,0xF6,0xE9,0xE9,0x79,0x48 } }; // 4160519D-BE48-4730-8104-0CF6E9E97948 + template <> inline constexpr guid guid_v{ 0xF502A537,0x4CB7,0x4D28,{ 0x95,0xED,0x4F,0x9F,0x01,0x2E,0x05,0x18 } }; // F502A537-4CB7-4D28-95ED-4F9F012E0518 + template <> inline constexpr guid guid_v{ 0xD5A2E3B8,0x2626,0x4E94,{ 0xB7,0xB3,0x53,0x08,0xA0,0xF6,0x4B,0x1A } }; // D5A2E3B8-2626-4E94-B7B3-5308A0F64B1A + template <> inline constexpr guid guid_v{ 0xB2E26B47,0x3DB1,0x4D33,{ 0xAB,0x63,0x0F,0xFA,0x09,0x05,0x65,0x85 } }; // B2E26B47-3DB1-4D33-AB63-0FFA09056585 + template <> inline constexpr guid guid_v{ 0x41546967,0xF58A,0x5D82,{ 0x9E,0xF4,0xED,0x57,0x2F,0xB5,0xE3,0x4E } }; // 41546967-F58A-5D82-9EF4-ED572FB5E34E + template <> inline constexpr guid guid_v{ 0xAEC47CA3,0x4477,0x4B04,{ 0xA0,0x6F,0x2C,0x1C,0x51,0x82,0xFE,0x9D } }; // AEC47CA3-4477-4B04-A06F-2C1C5182FE9D + template <> inline constexpr guid guid_v{ 0x7D896566,0x04BE,0x5B89,{ 0xB3,0x0E,0xBD,0x34,0xA9,0xF1,0x2D,0xB0 } }; // 7D896566-04BE-5B89-B30E-BD34A9F12DB0 + template <> inline constexpr guid guid_v{ 0x1D83AAFE,0x6D45,0x4477,{ 0x8D,0xC4,0xAC,0x5B,0xC0,0x1C,0x40,0x91 } }; // 1D83AAFE-6D45-4477-8DC4-AC5BC01C4091 + template <> inline constexpr guid guid_v{ 0x6F9E7CFB,0xFA9F,0x4B13,{ 0x9C,0xBE,0x5A,0xB9,0x4F,0x1F,0x34,0x93 } }; // 6F9E7CFB-FA9F-4B13-9CBE-5AB94F1F3493 + template <> inline constexpr guid guid_v{ 0x303C67C2,0x8058,0x4B1B,{ 0xB8,0x77,0x8C,0x2E,0xF3,0x52,0x84,0x40 } }; // 303C67C2-8058-4B1B-B877-8C2EF3528440 + template <> inline constexpr guid guid_v{ 0xACEF81FF,0x99ED,0x4645,{ 0x96,0x5E,0x19,0x25,0xCF,0xC6,0x38,0x34 } }; // ACEF81FF-99ED-4645-965E-1925CFC63834 + template <> inline constexpr guid guid_v{ 0xF9DB6A2A,0xA092,0x4AD1,{ 0x97,0xD4,0xF2,0x01,0xF9,0xD0,0x82,0xDB } }; // F9DB6A2A-A092-4AD1-97D4-F201F9D082DB + template <> inline constexpr guid guid_v{ 0x27727073,0x549E,0x447F,{ 0xA2,0x0A,0x4F,0x03,0xC4,0x79,0xD8,0xC0 } }; // 27727073-549E-447F-A20A-4F03C479D8C0 + template <> inline constexpr guid guid_v{ 0x21A073BF,0xA3EE,0x4ECF,{ 0x9E,0xF6,0x50,0xB0,0xBC,0x4E,0x13,0x05 } }; // 21A073BF-A3EE-4ECF-9EF6-50B0BC4E1305 + template <> inline constexpr guid guid_v{ 0x97DDC95F,0x94CE,0x468F,{ 0x93,0x16,0xFC,0x5B,0xC2,0x63,0x8F,0x6B } }; // 97DDC95F-94CE-468F-9316-FC5BC2638F6B + template <> inline constexpr guid guid_v{ 0x8012AFEF,0xB691,0x49FF,{ 0x83,0xF2,0xC1,0xE7,0x6E,0xAA,0xEA,0x1B } }; // 8012AFEF-B691-49FF-83F2-C1E76EAAEA1B + template <> inline constexpr guid guid_v{ 0xC6A6EF13,0x322D,0x413A,{ 0xB8,0x5A,0x68,0xA8,0x8E,0x02,0xF4,0xE9 } }; // C6A6EF13-322D-413A-B85A-68A88E02F4E9 + template <> inline constexpr guid guid_v{ 0x470F88B3,0x1E6D,0x4051,{ 0x9C,0x8B,0xF1,0xD8,0x5A,0xF0,0x47,0xB7 } }; // 470F88B3-1E6D-4051-9C8B-F1D85AF047B7 + template <> inline constexpr guid guid_v{ 0x373BFBC1,0x984E,0x4FF0,{ 0xBF,0x85,0x1C,0x00,0xAA,0xBC,0x5A,0x45 } }; // 373BFBC1-984E-4FF0-BF85-1C00AABC5A45 + template <> inline constexpr guid guid_v{ 0xAB473672,0xC28A,0x4827,{ 0x8F,0x8D,0x36,0x36,0xD3,0xBE,0xB5,0x1E } }; // AB473672-C28A-4827-8F8D-3636D3BEB51E + template <> inline constexpr guid guid_v{ 0xD8770A6F,0x4390,0x4B5E,{ 0xAD,0x3E,0x0F,0x8A,0xF0,0x96,0x34,0x90 } }; // D8770A6F-4390-4B5E-AD3E-0F8AF0963490 + template <> inline constexpr guid guid_v{ 0x2014EFFB,0x5CD8,0x4F08,{ 0xA3,0x14,0x0D,0x36,0x0D,0xA5,0x9F,0x14 } }; // 2014EFFB-5CD8-4F08-A314-0D360DA59F14 + template <> inline constexpr guid guid_v{ 0x3FAE8F2E,0x4FE1,0x4FFD,{ 0xAA,0xBA,0xE1,0xF1,0x33,0x7D,0x4E,0x53 } }; // 3FAE8F2E-4FE1-4FFD-AABA-E1F1337D4E53 + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAdvancedCapturedPhoto; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAdvancedPhotoCapture; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastBackgroundService; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPlugIn; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPlugInManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPreview; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastProviderSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastServices; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastState; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamReader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCapture; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureMetadataWriter; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureRecordOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureServices; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IAppCaptureState; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICameraCaptureUI; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICapturedFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICapturedFrameControlValues; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ICapturedPhoto; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IGameBarServices; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IGameBarServicesManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IGameBarServicesTargetInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ILowLagMediaRecording; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ILowLagPhotoCapture; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCapture; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCapturePauseResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureStopResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureVideoProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IPhotoCapturedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::IVideoStreamConfiguration; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Context(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameBoundsRelativeToReferencePhoto(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CaptureAsync(void**) noexcept = 0; + virtual int32_t __stdcall CaptureWithContextAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_OptionalReferencePhotoCaptured(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OptionalReferencePhotoCaptured(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AllPhotosCaptured(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AllPhotosCaptured(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall FinishAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PlugInState(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PlugInState(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SignInInfo(void*) noexcept = 0; + virtual int32_t __stdcall get_SignInInfo(void**) noexcept = 0; + virtual int32_t __stdcall put_StreamInfo(void*) noexcept = 0; + virtual int32_t __stdcall get_StreamInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + virtual int32_t __stdcall get_BroadcastTitle(void**) noexcept = 0; + virtual int32_t __stdcall put_ViewerCount(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ViewerCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall TerminateBroadcast(int32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall add_HeartbeatRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HeartbeatRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_TitleId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_BroadcastTitle(void*) noexcept = 0; + virtual int32_t __stdcall get_BroadcastLanguage(void**) noexcept = 0; + virtual int32_t __stdcall put_BroadcastLanguage(void*) noexcept = 0; + virtual int32_t __stdcall get_BroadcastChannel(void**) noexcept = 0; + virtual int32_t __stdcall put_BroadcastChannel(void*) noexcept = 0; + virtual int32_t __stdcall add_BroadcastTitleChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BroadcastTitleChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BroadcastLanguageChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BroadcastLanguageChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BroadcastChannelChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BroadcastChannelChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SignInState(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_OAuthRequestUri(void*) noexcept = 0; + virtual int32_t __stdcall get_OAuthRequestUri(void**) noexcept = 0; + virtual int32_t __stdcall put_OAuthCallbackUri(void*) noexcept = 0; + virtual int32_t __stdcall get_OAuthCallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationResult(void**) noexcept = 0; + virtual int32_t __stdcall put_UserName(void*) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall add_SignInStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SignInStateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_UserNameChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UserNameChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StreamState(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredVideoEncodingBitrate(uint64_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredVideoEncodingBitrate(uint64_t*) noexcept = 0; + virtual int32_t __stdcall put_BandwidthTestBitrate(uint64_t) noexcept = 0; + virtual int32_t __stdcall get_BandwidthTestBitrate(uint64_t*) noexcept = 0; + virtual int32_t __stdcall put_AudioCodec(void*) noexcept = 0; + virtual int32_t __stdcall get_AudioCodec(void**) noexcept = 0; + virtual int32_t __stdcall get_BroadcastStreamReader(void**) noexcept = 0; + virtual int32_t __stdcall add_StreamStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StreamStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoEncodingResolutionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoEncodingResolutionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoEncodingBitrateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoEncodingBitrateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportProblemWithStream() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBroadcastEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledByPolicy(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsGpuConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasHardwareEncoder(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsAudioCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsAudioCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsMicrophoneCaptureEnabledByDefault(bool) noexcept = 0; + virtual int32_t __stdcall get_IsMicrophoneCaptureEnabledByDefault(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEchoCancellationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsEchoCancellationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_SystemAudioGain(double) noexcept = 0; + virtual int32_t __stdcall get_SystemAudioGain(double*) noexcept = 0; + virtual int32_t __stdcall put_MicrophoneGain(double) noexcept = 0; + virtual int32_t __stdcall get_MicrophoneGain(double*) noexcept = 0; + virtual int32_t __stdcall put_IsCameraCaptureEnabledByDefault(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCameraCaptureEnabledByDefault(bool*) noexcept = 0; + virtual int32_t __stdcall put_SelectedCameraId(void*) noexcept = 0; + virtual int32_t __stdcall get_SelectedCameraId(void**) noexcept = 0; + virtual int32_t __stdcall put_CameraOverlayLocation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CameraOverlayLocation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CameraOverlaySize(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CameraOverlaySize(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsCursorImageCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCursorImageCaptureEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetGlobalSettings(void**) noexcept = 0; + virtual int32_t __stdcall ApplyGlobalSettings(void*) noexcept = 0; + virtual int32_t __stdcall GetProviderSettings(void**) noexcept = 0; + virtual int32_t __stdcall ApplyProviderSettings(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderSettings(void**) noexcept = 0; + virtual int32_t __stdcall get_Logo(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBroadcastProviderAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_PlugInList(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultPlugIn(void**) noexcept = 0; + virtual int32_t __stdcall put_DefaultPlugIn(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlugInState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StopPreview() noexcept = 0; + virtual int32_t __stdcall get_PreviewState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(void**) noexcept = 0; + virtual int32_t __stdcall add_PreviewStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PreviewStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_PreviewStreamReader(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreviewState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoStride(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoBitmapPixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoBitmapAlphaMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall TryGetNextVideoFrame(void**) noexcept = 0; + virtual int32_t __stdcall add_VideoFrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoFrameArrived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoHeader(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoBuffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_RelativeTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_FrameId(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DefaultBroadcastTitle(void*) noexcept = 0; + virtual int32_t __stdcall get_DefaultBroadcastTitle(void**) noexcept = 0; + virtual int32_t __stdcall put_AudioEncodingBitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_AudioEncodingBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingBitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingWidth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_VideoEncodingBitrateMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoEncodingBitrateMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_VideoEncodingResolutionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoEncodingResolutionMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CaptureTargetType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CaptureTargetType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BroadcastTitle(void**) noexcept = 0; + virtual int32_t __stdcall put_BroadcastTitle(void*) noexcept = 0; + virtual int32_t __stdcall get_BroadcastLanguage(void**) noexcept = 0; + virtual int32_t __stdcall put_BroadcastLanguage(void*) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall get_CanCapture(bool*) noexcept = 0; + virtual int32_t __stdcall EnterBroadcastModeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ExitBroadcastMode(int32_t) noexcept = 0; + virtual int32_t __stdcall StartBroadcast() noexcept = 0; + virtual int32_t __stdcall PauseBroadcast() noexcept = 0; + virtual int32_t __stdcall ResumeBroadcast() noexcept = 0; + virtual int32_t __stdcall StartPreview(winrt::Windows::Foundation::Size, void**) noexcept = 0; + virtual int32_t __stdcall get_State(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SignInState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Result(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCaptureTargetRunning(bool*) noexcept = 0; + virtual int32_t __stdcall get_ViewerCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ShouldCaptureMicrophone(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShouldCaptureMicrophone(bool) noexcept = 0; + virtual int32_t __stdcall RestartMicrophoneCapture() noexcept = 0; + virtual int32_t __stdcall get_ShouldCaptureCamera(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShouldCaptureCamera(bool) noexcept = 0; + virtual int32_t __stdcall RestartCameraCapture() noexcept = 0; + virtual int32_t __stdcall get_EncodedVideoSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall get_MicrophoneCaptureState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MicrophoneCaptureError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CameraCaptureState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CameraCaptureError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_StreamState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PlugInState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_OAuthRequestUri(void**) noexcept = 0; + virtual int32_t __stdcall get_OAuthCallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationResult(void**) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationResult(void*) noexcept = 0; + virtual int32_t __stdcall put_SignInState(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SignInState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TerminationReason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TerminationReasonPlugInSpecific(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_ViewerCountChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ViewerCountChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MicrophoneCaptureStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MicrophoneCaptureStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CameraCaptureStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraCaptureStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlugInStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlugInStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StreamStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StreamStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CaptureTargetClosed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CaptureTargetClosed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioHeader(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioBuffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_RelativeTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_HasDiscontinuity(bool*) noexcept = 0; + virtual int32_t __stdcall get_FrameId(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioChannels(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AudioSampleRate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AudioAacSequence(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall TryGetNextAudioFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall TryGetNextVideoFrame(void**) noexcept = 0; + virtual int32_t __stdcall add_AudioFrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioFrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoFrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoFrameArrived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StreamState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoHeader(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoBuffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_RelativeTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_IsKeyFrame(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasDiscontinuity(bool*) noexcept = 0; + virtual int32_t __stdcall get_FrameId(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BackgroundService(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ViewerCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCapturingAudio(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCapturingVideo(bool*) noexcept = 0; + virtual int32_t __stdcall add_CapturingChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CapturingChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ToggleGameBarKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleGameBarKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleGameBarKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleGameBarKeyModifiers(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_SaveHistoricalVideoKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SaveHistoricalVideoKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SaveHistoricalVideoKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_SaveHistoricalVideoKeyModifiers(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleRecordingKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleRecordingKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleRecordingKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleRecordingKeyModifiers(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TakeScreenshotKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TakeScreenshotKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TakeScreenshotKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_TakeScreenshotKeyModifiers(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleRecordingIndicatorKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleRecordingIndicatorKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleRecordingIndicatorKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleRecordingIndicatorKeyModifiers(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ToggleMicrophoneCaptureKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleMicrophoneCaptureKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleMicrophoneCaptureKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleMicrophoneCaptureKeyModifiers(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ToggleCameraCaptureKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleCameraCaptureKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleCameraCaptureKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleCameraCaptureKeyModifiers(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleBroadcastKey(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleBroadcastKey(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ToggleBroadcastKeyModifiers(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ToggleBroadcastKeyModifiers(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentSettings(void**) noexcept = 0; + virtual int32_t __stdcall ApplySettings(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddStringEvent(void*, void*, int32_t) noexcept = 0; + virtual int32_t __stdcall AddInt32Event(void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall AddDoubleEvent(void*, double, int32_t) noexcept = 0; + virtual int32_t __stdcall StartStringState(void*, void*, int32_t) noexcept = 0; + virtual int32_t __stdcall StartInt32State(void*, int32_t, int32_t) noexcept = 0; + virtual int32_t __stdcall StartDoubleState(void*, double, int32_t) noexcept = 0; + virtual int32_t __stdcall StopState(void*) noexcept = 0; + virtual int32_t __stdcall StopAllStates() noexcept = 0; + virtual int32_t __stdcall get_RemainingStorageBytesAvailable(uint64_t*) noexcept = 0; + virtual int32_t __stdcall add_MetadataPurged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MetadataPurged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StopRecording() noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(void**) noexcept = 0; + virtual int32_t __stdcall get_Duration(void**) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + virtual int32_t __stdcall get_IsFileTruncated(void**) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DurationGenerated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DurationGenerated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_FileGenerated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FileGenerated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Record(void**) noexcept = 0; + virtual int32_t __stdcall RecordTimeSpan(int64_t, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall get_CanCapture(bool*) noexcept = 0; + virtual int32_t __stdcall get_State(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AppCaptureDestinationFolder(void*) noexcept = 0; + virtual int32_t __stdcall get_AppCaptureDestinationFolder(void**) noexcept = 0; + virtual int32_t __stdcall put_AudioEncodingBitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_AudioEncodingBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsAudioCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsAudioCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingBitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingHeight(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomVideoEncodingWidth(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CustomVideoEncodingWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_HistoricalBufferLength(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_HistoricalBufferLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_HistoricalBufferLengthUnit(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HistoricalBufferLengthUnit(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsHistoricalCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsHistoricalCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsHistoricalCaptureOnBatteryAllowed(bool) noexcept = 0; + virtual int32_t __stdcall get_IsHistoricalCaptureOnBatteryAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsHistoricalCaptureOnWirelessDisplayAllowed(bool) noexcept = 0; + virtual int32_t __stdcall get_IsHistoricalCaptureOnWirelessDisplayAllowed(bool*) noexcept = 0; + virtual int32_t __stdcall put_MaximumRecordLength(int64_t) noexcept = 0; + virtual int32_t __stdcall get_MaximumRecordLength(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ScreenshotDestinationFolder(void*) noexcept = 0; + virtual int32_t __stdcall get_ScreenshotDestinationFolder(void**) noexcept = 0; + virtual int32_t __stdcall put_VideoEncodingBitrateMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoEncodingBitrateMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_VideoEncodingResolutionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoEncodingResolutionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_IsAppCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsAppCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsCpuConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDisabledByPolicy(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMemoryConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasHardwareEncoder(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsGpuConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall get_AlternateShortcutKeys(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsMicrophoneCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsMicrophoneCaptureEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsMicrophoneCaptureEnabledByDefault(bool) noexcept = 0; + virtual int32_t __stdcall get_IsMicrophoneCaptureEnabledByDefault(bool*) noexcept = 0; + virtual int32_t __stdcall put_SystemAudioGain(double) noexcept = 0; + virtual int32_t __stdcall get_SystemAudioGain(double*) noexcept = 0; + virtual int32_t __stdcall put_MicrophoneGain(double) noexcept = 0; + virtual int32_t __stdcall get_MicrophoneGain(double*) noexcept = 0; + virtual int32_t __stdcall put_VideoEncodingFrameRateMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoEncodingFrameRateMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsEchoCancellationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsEchoCancellationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCursorImageCaptureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCursorImageCaptureEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsTargetRunning(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHistoricalCaptureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_ShouldCaptureMicrophone(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShouldCaptureMicrophone(bool) noexcept = 0; + virtual int32_t __stdcall RestartMicrophoneCapture() noexcept = 0; + virtual int32_t __stdcall get_MicrophoneCaptureState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MicrophoneCaptureError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall add_MicrophoneCaptureStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MicrophoneCaptureStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CaptureTargetClosed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CaptureTargetClosed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetAllowedAsync(bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PhotoSettings(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoSettings(void**) noexcept = 0; + virtual int32_t __stdcall CaptureFileAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxResolution(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxResolution(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CroppedSizeInPixels(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall put_CroppedSizeInPixels(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall get_CroppedAspectRatio(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall put_CroppedAspectRatio(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall get_AllowCropping(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowCropping(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Format(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxResolution(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxResolution(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxDurationInSeconds(float*) noexcept = 0; + virtual int32_t __stdcall put_MaxDurationInSeconds(float) noexcept = 0; + virtual int32_t __stdcall get_AllowTrimming(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowTrimming(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Show(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ControlValues(void**) noexcept = 0; + virtual int32_t __stdcall get_BitmapProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Exposure(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensation(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoSpeed(void**) noexcept = 0; + virtual int32_t __stdcall get_Focus(void**) noexcept = 0; + virtual int32_t __stdcall get_SceneMode(void**) noexcept = 0; + virtual int32_t __stdcall get_Flashed(void**) noexcept = 0; + virtual int32_t __stdcall get_FlashPowerPercent(void**) noexcept = 0; + virtual int32_t __stdcall get_WhiteBalance(void**) noexcept = 0; + virtual int32_t __stdcall get_ZoomFactor(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FocusState(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoDigitalGain(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoAnalogGain(void**) noexcept = 0; + virtual int32_t __stdcall get_SensorFrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_WhiteBalanceGain(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SoftwareBitmap(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TargetCapturePolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall EnableCapture() noexcept = 0; + virtual int32_t __stdcall DisableCapture() noexcept = 0; + virtual int32_t __stdcall get_TargetInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionId(void**) noexcept = 0; + virtual int32_t __stdcall get_AppBroadcastServices(void**) noexcept = 0; + virtual int32_t __stdcall get_AppCaptureServices(void**) noexcept = 0; + virtual int32_t __stdcall add_CommandReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CommandReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Command(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Origin(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_GameBarServicesCreated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_GameBarServicesCreated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GameBarServices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + virtual int32_t __stdcall get_TitleId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall FinishAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PauseAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ResumeAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PauseWithResultAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StopWithResultAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CaptureAsync(void**) noexcept = 0; + virtual int32_t __stdcall FinishAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall FinishAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_PhotoCaptured(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PhotoCaptured(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall InitializeAsync(void**) noexcept = 0; + virtual int32_t __stdcall InitializeWithSettingsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall StartRecordToStorageFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartRecordToStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartRecordToCustomSinkAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartRecordToCustomSinkIdAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StopRecordAsync(void**) noexcept = 0; + virtual int32_t __stdcall CapturePhotoToStorageFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CapturePhotoToStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AddEffectAsync(int32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearEffectsAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetEncoderProperty(int32_t, winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall GetEncoderProperty(int32_t, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall add_Failed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Failed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RecordLimitationExceeded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RecordLimitationExceeded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_MediaCaptureSettings(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioDeviceController(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceController(void**) noexcept = 0; + virtual int32_t __stdcall SetPreviewMirroring(bool) noexcept = 0; + virtual int32_t __stdcall GetPreviewMirroring(bool*) noexcept = 0; + virtual int32_t __stdcall SetPreviewRotation(int32_t) noexcept = 0; + virtual int32_t __stdcall GetPreviewRotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetRecordRotation(int32_t) noexcept = 0; + virtual int32_t __stdcall GetRecordRotation(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PrepareLowLagRecordToStorageFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareLowLagRecordToStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareLowLagRecordToCustomSinkAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareLowLagRecordToCustomSinkIdAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareLowLagPhotoCaptureAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareLowLagPhotoSequenceCaptureAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetEncodingPropertiesAsync(int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PrepareVariablePhotoSequenceCaptureAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_FocusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FocusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PhotoConfirmationCaptured(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PhotoConfirmationCaptured(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAudioEffectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddVideoEffectAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall PauseRecordAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ResumeRecordAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_CameraStreamStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CameraStreamStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_CameraStreamState(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetPreviewFrameAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetPreviewFrameCopyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ThermalStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ThermalStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_ThermalStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall PrepareAdvancedPhotoCaptureAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RemoveEffectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall PauseRecordWithResultAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StopRecordWithResultAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameSources(void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameReaderAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameReaderWithSubtypeAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFrameReaderWithSubtypeAndSizeAsync(void*, void*, struct struct_Windows_Graphics_Imaging_BitmapSize, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CaptureDeviceExclusiveControlStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CaptureDeviceExclusiveControlStatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateMultiSourceFrameReaderAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateRelativePanelWatcher(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_Code(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FocusState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AudioDeviceId(void*) noexcept = 0; + virtual int32_t __stdcall get_AudioDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall put_VideoDeviceId(void*) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall put_StreamingCaptureMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_StreamingCaptureMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PhotoCaptureSource(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PhotoCaptureSource(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MediaCategory(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MediaCategory(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AudioProcessing(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AudioProcessing(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AudioSource(void*) noexcept = 0; + virtual int32_t __stdcall get_AudioSource(void**) noexcept = 0; + virtual int32_t __stdcall put_VideoSource(void*) noexcept = 0; + virtual int32_t __stdcall get_VideoSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoProfile(void**) noexcept = 0; + virtual int32_t __stdcall put_VideoProfile(void*) noexcept = 0; + virtual int32_t __stdcall get_PreviewMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall put_PreviewMediaDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_RecordMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall put_RecordMediaDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_PhotoMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall put_PhotoMediaDescription(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceGroup(void**) noexcept = 0; + virtual int32_t __stdcall put_SourceGroup(void*) noexcept = 0; + virtual int32_t __stdcall get_SharingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SharingMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MemoryPreference(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MemoryPreference(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlwaysPlaySystemShutterSound(bool*) noexcept = 0; + virtual int32_t __stdcall put_AlwaysPlaySystemShutterSound(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceUriPasswordCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_DeviceUriPasswordCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_DeviceUri(void**) noexcept = 0; + virtual int32_t __stdcall put_DeviceUri(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LastFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_RecordDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativePanel(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_StreamingCaptureMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhotoCaptureSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceCharacteristic(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConcurrentRecordAndPhotoSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_ConcurrentRecordAndPhotoSequenceSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_CameraSoundRequiredForRegion(bool*) noexcept = 0; + virtual int32_t __stdcall get_Horizontal35mmEquivalentFocalLength(void**) noexcept = 0; + virtual int32_t __stdcall get_PitchOffsetDegrees(void**) noexcept = 0; + virtual int32_t __stdcall get_Vertical35mmEquivalentFocalLength(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaCategory(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AudioProcessing(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Direct3D11Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsVideoProfileSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FindAllVideoProfiles(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindConcurrentProfiles(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindKnownVideoProfiles(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LastFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_RecordDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartPreviewAsync(void**) noexcept = 0; + virtual int32_t __stdcall StartPreviewToCustomSinkAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StartPreviewToCustomSinkIdAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall StopPreviewAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedPreviewMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedRecordMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedPhotoMediaDescription(void**) noexcept = 0; + virtual int32_t __stdcall GetConcurrency(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameSourceInfos(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_FrameRate(double*) noexcept = 0; + virtual int32_t __stdcall get_IsVariablePhotoSequenceSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsHdrVideoSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Subtype(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_Context(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall get_CaptureTimeOffset(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_CaptureTimeOffset(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Capture_IAdvancedCapturedPhoto + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Context() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAdvancedCapturedPhoto; + }; + template + struct consume_Windows_Media_Capture_IAdvancedCapturedPhoto2 + { + [[nodiscard]] auto FrameBoundsRelativeToReferencePhoto() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAdvancedCapturedPhoto2; + }; + template + struct consume_Windows_Media_Capture_IAdvancedPhotoCapture + { + auto CaptureAsync() const; + auto CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const; + auto OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OptionalReferencePhotoCaptured_revoker = impl::event_revoker::remove_OptionalReferencePhotoCaptured>; + [[nodiscard]] auto OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept; + auto AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AllPhotosCaptured_revoker = impl::event_revoker::remove_AllPhotosCaptured>; + [[nodiscard]] auto AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AllPhotosCaptured(winrt::event_token const& token) const noexcept; + auto FinishAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAdvancedPhotoCapture; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundService + { + auto PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const; + [[nodiscard]] auto PlugInState() const; + auto SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const; + [[nodiscard]] auto SignInInfo() const; + auto StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const; + [[nodiscard]] auto StreamInfo() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto BroadcastTitle() const; + auto ViewerCount(uint32_t value) const; + [[nodiscard]] auto ViewerCount() const; + auto TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const; + auto HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using HeartbeatRequested_revoker = impl::event_revoker::remove_HeartbeatRequested>; + [[nodiscard]] auto HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HeartbeatRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TitleId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundService; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundService2 + { + auto BroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto BroadcastLanguage() const; + auto BroadcastLanguage(param::hstring const& value) const; + [[nodiscard]] auto BroadcastChannel() const; + auto BroadcastChannel(param::hstring const& value) const; + auto BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BroadcastTitleChanged_revoker = impl::event_revoker::remove_BroadcastTitleChanged>; + [[nodiscard]] auto BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastTitleChanged(winrt::event_token const& token) const noexcept; + auto BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BroadcastLanguageChanged_revoker = impl::event_revoker::remove_BroadcastLanguageChanged>; + [[nodiscard]] auto BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastLanguageChanged(winrt::event_token const& token) const noexcept; + auto BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BroadcastChannelChanged_revoker = impl::event_revoker::remove_BroadcastChannelChanged>; + [[nodiscard]] auto BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastChannelChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundService2; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo + { + [[nodiscard]] auto SignInState() const; + auto OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OAuthRequestUri() const; + auto OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OAuthCallbackUri() const; + [[nodiscard]] auto AuthenticationResult() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SignInStateChanged_revoker = impl::event_revoker::remove_SignInStateChanged>; + [[nodiscard]] auto SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SignInStateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2 + { + auto UserNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UserNameChanged_revoker = impl::event_revoker::remove_UserNameChanged>; + [[nodiscard]] auto UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserNameChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo + { + [[nodiscard]] auto StreamState() const; + auto DesiredVideoEncodingBitrate(uint64_t value) const; + [[nodiscard]] auto DesiredVideoEncodingBitrate() const; + auto BandwidthTestBitrate(uint64_t value) const; + [[nodiscard]] auto BandwidthTestBitrate() const; + auto AudioCodec(param::hstring const& value) const; + [[nodiscard]] auto AudioCodec() const; + [[nodiscard]] auto BroadcastStreamReader() const; + auto StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StreamStateChanged_revoker = impl::event_revoker::remove_StreamStateChanged>; + [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamStateChanged(winrt::event_token const& token) const noexcept; + auto VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoEncodingResolutionChanged_revoker = impl::event_revoker::remove_VideoEncodingResolutionChanged>; + [[nodiscard]] auto VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept; + auto VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoEncodingBitrateChanged_revoker = impl::event_revoker::remove_VideoEncodingBitrateChanged>; + [[nodiscard]] auto VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2 + { + auto ReportProblemWithStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastGlobalSettings + { + [[nodiscard]] auto IsBroadcastEnabled() const; + [[nodiscard]] auto IsDisabledByPolicy() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto HasHardwareEncoder() const; + auto IsAudioCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAudioCaptureEnabled() const; + auto IsMicrophoneCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabledByDefault() const; + auto IsEchoCancellationEnabled(bool value) const; + [[nodiscard]] auto IsEchoCancellationEnabled() const; + auto SystemAudioGain(double value) const; + [[nodiscard]] auto SystemAudioGain() const; + auto MicrophoneGain(double value) const; + [[nodiscard]] auto MicrophoneGain() const; + auto IsCameraCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsCameraCaptureEnabledByDefault() const; + auto SelectedCameraId(param::hstring const& value) const; + [[nodiscard]] auto SelectedCameraId() const; + auto CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const; + [[nodiscard]] auto CameraOverlayLocation() const; + auto CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const; + [[nodiscard]] auto CameraOverlaySize() const; + auto IsCursorImageCaptureEnabled(bool value) const; + [[nodiscard]] auto IsCursorImageCaptureEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastGlobalSettings; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs + { + auto Handled(bool value) const; + [[nodiscard]] auto Handled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastManagerStatics + { + auto GetGlobalSettings() const; + auto ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const; + auto GetProviderSettings() const; + auto ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastManagerStatics; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPlugIn + { + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto ProviderSettings() const; + [[nodiscard]] auto Logo() const; + [[nodiscard]] auto DisplayName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPlugIn; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPlugInManager + { + [[nodiscard]] auto IsBroadcastProviderAvailable() const; + [[nodiscard]] auto PlugInList() const; + [[nodiscard]] auto DefaultPlugIn() const; + auto DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPlugInManager; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics + { + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs + { + [[nodiscard]] auto PlugInState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPreview + { + auto StopPreview() const; + [[nodiscard]] auto PreviewState() const; + [[nodiscard]] auto ErrorCode() const; + auto PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PreviewStateChanged_revoker = impl::event_revoker::remove_PreviewStateChanged>; + [[nodiscard]] auto PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PreviewStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PreviewStreamReader() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPreview; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs + { + [[nodiscard]] auto PreviewState() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader + { + [[nodiscard]] auto VideoWidth() const; + [[nodiscard]] auto VideoHeight() const; + [[nodiscard]] auto VideoStride() const; + [[nodiscard]] auto VideoBitmapPixelFormat() const; + [[nodiscard]] auto VideoBitmapAlphaMode() const; + auto TryGetNextVideoFrame() const; + auto VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using VideoFrameArrived_revoker = impl::event_revoker::remove_VideoFrameArrived>; + [[nodiscard]] auto VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameArrived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame + { + [[nodiscard]] auto VideoHeader() const; + [[nodiscard]] auto VideoBuffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader + { + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto FrameId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastProviderSettings + { + auto DefaultBroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto DefaultBroadcastTitle() const; + auto AudioEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto AudioEncodingBitrate() const; + auto CustomVideoEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingBitrate() const; + auto CustomVideoEncodingHeight(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingHeight() const; + auto CustomVideoEncodingWidth(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingWidth() const; + auto VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const; + [[nodiscard]] auto VideoEncodingBitrateMode() const; + auto VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const; + [[nodiscard]] auto VideoEncodingResolutionMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastProviderSettings; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastServices + { + [[nodiscard]] auto CaptureTargetType() const; + auto CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const; + [[nodiscard]] auto BroadcastTitle() const; + auto BroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto BroadcastLanguage() const; + auto BroadcastLanguage(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto CanCapture() const; + auto EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const; + auto ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const; + auto StartBroadcast() const; + auto PauseBroadcast() const; + auto ResumeBroadcast() const; + auto StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const; + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastServices; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs + { + [[nodiscard]] auto SignInState() const; + [[nodiscard]] auto Result() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastState + { + [[nodiscard]] auto IsCaptureTargetRunning() const; + [[nodiscard]] auto ViewerCount() const; + [[nodiscard]] auto ShouldCaptureMicrophone() const; + auto ShouldCaptureMicrophone(bool value) const; + auto RestartMicrophoneCapture() const; + [[nodiscard]] auto ShouldCaptureCamera() const; + auto ShouldCaptureCamera(bool value) const; + auto RestartCameraCapture() const; + [[nodiscard]] auto EncodedVideoSize() const; + [[nodiscard]] auto MicrophoneCaptureState() const; + [[nodiscard]] auto MicrophoneCaptureError() const; + [[nodiscard]] auto CameraCaptureState() const; + [[nodiscard]] auto CameraCaptureError() const; + [[nodiscard]] auto StreamState() const; + [[nodiscard]] auto PlugInState() const; + [[nodiscard]] auto OAuthRequestUri() const; + [[nodiscard]] auto OAuthCallbackUri() const; + [[nodiscard]] auto AuthenticationResult() const; + auto AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const; + auto SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const; + [[nodiscard]] auto SignInState() const; + [[nodiscard]] auto TerminationReason() const; + [[nodiscard]] auto TerminationReasonPlugInSpecific() const; + auto ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using ViewerCountChanged_revoker = impl::event_revoker::remove_ViewerCountChanged>; + [[nodiscard]] auto ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ViewerCountChanged(winrt::event_token const& token) const noexcept; + auto MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MicrophoneCaptureStateChanged_revoker = impl::event_revoker::remove_MicrophoneCaptureStateChanged>; + [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using CameraCaptureStateChanged_revoker = impl::event_revoker::remove_CameraCaptureStateChanged>; + [[nodiscard]] auto CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CameraCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlugInStateChanged_revoker = impl::event_revoker::remove_PlugInStateChanged>; + [[nodiscard]] auto PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlugInStateChanged(winrt::event_token const& token) const noexcept; + auto StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StreamStateChanged_revoker = impl::event_revoker::remove_StreamStateChanged>; + [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamStateChanged(winrt::event_token const& token) const noexcept; + auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using CaptureTargetClosed_revoker = impl::event_revoker::remove_CaptureTargetClosed>; + [[nodiscard]] auto CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CaptureTargetClosed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastState; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame + { + [[nodiscard]] auto AudioHeader() const; + [[nodiscard]] auto AudioBuffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader + { + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto HasDiscontinuity() const; + [[nodiscard]] auto FrameId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamReader + { + [[nodiscard]] auto AudioChannels() const; + [[nodiscard]] auto AudioSampleRate() const; + [[nodiscard]] auto AudioAacSequence() const; + [[nodiscard]] auto AudioBitrate() const; + auto TryGetNextAudioFrame() const; + [[nodiscard]] auto VideoWidth() const; + [[nodiscard]] auto VideoHeight() const; + [[nodiscard]] auto VideoBitrate() const; + auto TryGetNextVideoFrame() const; + auto AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using AudioFrameArrived_revoker = impl::event_revoker::remove_AudioFrameArrived>; + [[nodiscard]] auto AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto AudioFrameArrived(winrt::event_token const& token) const noexcept; + auto VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using VideoFrameArrived_revoker = impl::event_revoker::remove_VideoFrameArrived>; + [[nodiscard]] auto VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameArrived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamReader; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs + { + [[nodiscard]] auto StreamState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame + { + [[nodiscard]] auto VideoHeader() const; + [[nodiscard]] auto VideoBuffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader + { + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsKeyFrame() const; + [[nodiscard]] auto HasDiscontinuity() const; + [[nodiscard]] auto FrameId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastTriggerDetails + { + [[nodiscard]] auto BackgroundService() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastTriggerDetails; + }; + template + struct consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs + { + [[nodiscard]] auto ViewerCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppCapture + { + [[nodiscard]] auto IsCapturingAudio() const; + [[nodiscard]] auto IsCapturingVideo() const; + auto CapturingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CapturingChanged_revoker = impl::event_revoker::remove_CapturingChanged>; + [[nodiscard]] auto CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CapturingChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCapture; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys + { + auto ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleGameBarKey() const; + auto ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleGameBarKeyModifiers() const; + auto SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto SaveHistoricalVideoKey() const; + auto SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto SaveHistoricalVideoKeyModifiers() const; + auto ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleRecordingKey() const; + auto ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleRecordingKeyModifiers() const; + auto TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto TakeScreenshotKey() const; + auto TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto TakeScreenshotKeyModifiers() const; + auto ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleRecordingIndicatorKey() const; + auto ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleRecordingIndicatorKeyModifiers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2 + { + auto ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleMicrophoneCaptureKey() const; + auto ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleMicrophoneCaptureKeyModifiers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3 + { + auto ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleCameraCaptureKey() const; + auto ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleCameraCaptureKeyModifiers() const; + auto ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleBroadcastKey() const; + auto ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleBroadcastKeyModifiers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs + { + [[nodiscard]] auto Duration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs + { + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureManagerStatics + { + auto GetCurrentSettings() const; + auto ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureManagerStatics; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureMetadataWriter + { + auto AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StopState(param::hstring const& name) const; + auto StopAllStates() const; + [[nodiscard]] auto RemainingStorageBytesAvailable() const; + auto MetadataPurged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MetadataPurged_revoker = impl::event_revoker::remove_MetadataPurged>; + [[nodiscard]] auto MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MetadataPurged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureMetadataWriter; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureRecordOperation + { + auto StopRecording() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto IsFileTruncated() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto DurationGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using DurationGenerated_revoker = impl::event_revoker::remove_DurationGenerated>; + [[nodiscard]] auto DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DurationGenerated(winrt::event_token const& token) const noexcept; + auto FileGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using FileGenerated_revoker = impl::event_revoker::remove_FileGenerated>; + [[nodiscard]] auto FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto FileGenerated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureRecordOperation; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureServices + { + auto Record() const; + auto RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + [[nodiscard]] auto CanCapture() const; + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureServices; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureSettings + { + auto AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; + [[nodiscard]] auto AppCaptureDestinationFolder() const; + auto AudioEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto AudioEncodingBitrate() const; + auto IsAudioCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAudioCaptureEnabled() const; + auto CustomVideoEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingBitrate() const; + auto CustomVideoEncodingHeight(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingHeight() const; + auto CustomVideoEncodingWidth(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingWidth() const; + auto HistoricalBufferLength(uint32_t value) const; + [[nodiscard]] auto HistoricalBufferLength() const; + auto HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const; + [[nodiscard]] auto HistoricalBufferLengthUnit() const; + auto IsHistoricalCaptureEnabled(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureEnabled() const; + auto IsHistoricalCaptureOnBatteryAllowed(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureOnBatteryAllowed() const; + auto IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureOnWirelessDisplayAllowed() const; + auto MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MaximumRecordLength() const; + auto ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; + [[nodiscard]] auto ScreenshotDestinationFolder() const; + auto VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const; + [[nodiscard]] auto VideoEncodingBitrateMode() const; + auto VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const; + [[nodiscard]] auto VideoEncodingResolutionMode() const; + auto IsAppCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAppCaptureEnabled() const; + [[nodiscard]] auto IsCpuConstrained() const; + [[nodiscard]] auto IsDisabledByPolicy() const; + [[nodiscard]] auto IsMemoryConstrained() const; + [[nodiscard]] auto HasHardwareEncoder() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureSettings; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureSettings2 + { + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto AlternateShortcutKeys() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureSettings2; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureSettings3 + { + auto IsMicrophoneCaptureEnabled(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureSettings3; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureSettings4 + { + auto IsMicrophoneCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabledByDefault() const; + auto SystemAudioGain(double value) const; + [[nodiscard]] auto SystemAudioGain() const; + auto MicrophoneGain(double value) const; + [[nodiscard]] auto MicrophoneGain() const; + auto VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const; + [[nodiscard]] auto VideoEncodingFrameRateMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureSettings4; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureSettings5 + { + auto IsEchoCancellationEnabled(bool value) const; + [[nodiscard]] auto IsEchoCancellationEnabled() const; + auto IsCursorImageCaptureEnabled(bool value) const; + [[nodiscard]] auto IsCursorImageCaptureEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureSettings5; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureState + { + [[nodiscard]] auto IsTargetRunning() const; + [[nodiscard]] auto IsHistoricalCaptureEnabled() const; + [[nodiscard]] auto ShouldCaptureMicrophone() const; + auto ShouldCaptureMicrophone(bool value) const; + auto RestartMicrophoneCapture() const; + [[nodiscard]] auto MicrophoneCaptureState() const; + [[nodiscard]] auto MicrophoneCaptureError() const; + auto MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MicrophoneCaptureStateChanged_revoker = impl::event_revoker::remove_MicrophoneCaptureStateChanged>; + [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using CaptureTargetClosed_revoker = impl::event_revoker::remove_CaptureTargetClosed>; + [[nodiscard]] auto CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CaptureTargetClosed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureState; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureStatics + { + auto GetForCurrentView() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureStatics; + }; + template + struct consume_Windows_Media_Capture_IAppCaptureStatics2 + { + auto SetAllowedAsync(bool allowed) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IAppCaptureStatics2; + }; + template + struct consume_Windows_Media_Capture_ICameraCaptureUI + { + [[nodiscard]] auto PhotoSettings() const; + [[nodiscard]] auto VideoSettings() const; + auto CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICameraCaptureUI; + }; + template + struct consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings + { + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const; + [[nodiscard]] auto MaxResolution() const; + auto MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const; + [[nodiscard]] auto CroppedSizeInPixels() const; + auto CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CroppedAspectRatio() const; + auto CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto AllowCropping() const; + auto AllowCropping(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings; + }; + template + struct consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings + { + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const; + [[nodiscard]] auto MaxResolution() const; + auto MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const; + [[nodiscard]] auto MaxDurationInSeconds() const; + auto MaxDurationInSeconds(float value) const; + [[nodiscard]] auto AllowTrimming() const; + auto AllowTrimming(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings; + }; + template + struct consume_Windows_Media_Capture_ICameraOptionsUIStatics + { + auto Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICameraOptionsUIStatics; + }; + template + struct consume_Windows_Media_Capture_ICapturedFrame + { + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedFrame; + }; + template + struct consume_Windows_Media_Capture_ICapturedFrame2 + { + [[nodiscard]] auto ControlValues() const; + [[nodiscard]] auto BitmapProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedFrame2; + }; + template + struct consume_Windows_Media_Capture_ICapturedFrameControlValues + { + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto IsoSpeed() const; + [[nodiscard]] auto Focus() const; + [[nodiscard]] auto SceneMode() const; + [[nodiscard]] auto Flashed() const; + [[nodiscard]] auto FlashPowerPercent() const; + [[nodiscard]] auto WhiteBalance() const; + [[nodiscard]] auto ZoomFactor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedFrameControlValues; + }; + template + struct consume_Windows_Media_Capture_ICapturedFrameControlValues2 + { + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto IsoDigitalGain() const; + [[nodiscard]] auto IsoAnalogGain() const; + [[nodiscard]] auto SensorFrameRate() const; + [[nodiscard]] auto WhiteBalanceGain() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedFrameControlValues2; + }; + template + struct consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap + { + [[nodiscard]] auto SoftwareBitmap() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap; + }; + template + struct consume_Windows_Media_Capture_ICapturedPhoto + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Thumbnail() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ICapturedPhoto; + }; + template + struct consume_Windows_Media_Capture_IGameBarServices + { + [[nodiscard]] auto TargetCapturePolicy() const; + auto EnableCapture() const; + auto DisableCapture() const; + [[nodiscard]] auto TargetInfo() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto AppBroadcastServices() const; + [[nodiscard]] auto AppCaptureServices() const; + auto CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using CommandReceived_revoker = impl::event_revoker::remove_CommandReceived>; + [[nodiscard]] auto CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CommandReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServices; + }; + template + struct consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs + { + [[nodiscard]] auto Command() const; + [[nodiscard]] auto Origin() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs; + }; + template + struct consume_Windows_Media_Capture_IGameBarServicesManager + { + auto GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using GameBarServicesCreated_revoker = impl::event_revoker::remove_GameBarServicesCreated>; + [[nodiscard]] auto GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto GameBarServicesCreated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServicesManager; + }; + template + struct consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs + { + [[nodiscard]] auto GameBarServices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IGameBarServicesManagerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServicesManagerStatics; + }; + template + struct consume_Windows_Media_Capture_IGameBarServicesTargetInfo + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto TitleId() const; + [[nodiscard]] auto DisplayMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IGameBarServicesTargetInfo; + }; + template + struct consume_Windows_Media_Capture_ILowLagMediaRecording + { + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ILowLagMediaRecording; + }; + template + struct consume_Windows_Media_Capture_ILowLagMediaRecording2 + { + auto PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto ResumeAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ILowLagMediaRecording2; + }; + template + struct consume_Windows_Media_Capture_ILowLagMediaRecording3 + { + auto PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto StopWithResultAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ILowLagMediaRecording3; + }; + template + struct consume_Windows_Media_Capture_ILowLagPhotoCapture + { + auto CaptureAsync() const; + auto FinishAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ILowLagPhotoCapture; + }; + template + struct consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture + { + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; + auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PhotoCaptured_revoker = impl::event_revoker::remove_PhotoCaptured>; + [[nodiscard]] auto PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoCaptured(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture + { + auto InitializeAsync() const; + auto InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const; + auto StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; + auto StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto StopRecordAsync() const; + auto CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const; + auto CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const; + auto ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const; + auto Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; + using Failed_revoker = impl::event_revoker::remove_Failed>; + [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; + auto Failed(winrt::event_token const& eventCookie) const noexcept; + auto RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; + using RecordLimitationExceeded_revoker = impl::event_revoker::remove_RecordLimitationExceeded>; + [[nodiscard]] auto RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; + auto RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto MediaCaptureSettings() const; + [[nodiscard]] auto AudioDeviceController() const; + [[nodiscard]] auto VideoDeviceController() const; + auto SetPreviewMirroring(bool value) const; + auto GetPreviewMirroring() const; + auto SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; + auto GetPreviewRotation() const; + auto SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; + auto GetRecordRotation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture2 + { + auto PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; + auto PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture2; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture3 + { + auto PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto FocusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FocusChanged_revoker = impl::event_revoker::remove_FocusChanged>; + [[nodiscard]] auto FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FocusChanged(winrt::event_token const& token) const noexcept; + auto PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PhotoConfirmationCaptured_revoker = impl::event_revoker::remove_PhotoConfirmationCaptured>; + [[nodiscard]] auto PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture3; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture4 + { + auto AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + auto AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto ResumeRecordAsync() const; + auto CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CameraStreamStateChanged_revoker = impl::event_revoker::remove_CameraStreamStateChanged>; + [[nodiscard]] auto CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraStreamStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CameraStreamState() const; + auto GetPreviewFrameAsync() const; + auto GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const; + auto ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ThermalStatusChanged_revoker = impl::event_revoker::remove_ThermalStatusChanged>; + [[nodiscard]] auto ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ThermalStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ThermalStatus() const; + auto PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture4; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture5 + { + auto RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const; + auto PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto StopRecordWithResultAsync() const; + [[nodiscard]] auto FrameSources() const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture5; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture6 + { + auto CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CaptureDeviceExclusiveControlStatusChanged_revoker = impl::event_revoker::remove_CaptureDeviceExclusiveControlStatusChanged>; + [[nodiscard]] auto CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept; + auto CreateMultiSourceFrameReaderAsync(param::async_iterable const& inputSources) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture6; + }; + template + struct consume_Windows_Media_Capture_IMediaCapture7 + { + auto CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapture7; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs + { + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Code() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs + { + [[nodiscard]] auto FocusState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings + { + auto AudioDeviceId(param::hstring const& value) const; + [[nodiscard]] auto AudioDeviceId() const; + auto VideoDeviceId(param::hstring const& value) const; + [[nodiscard]] auto VideoDeviceId() const; + auto StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const; + [[nodiscard]] auto StreamingCaptureMode() const; + auto PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const; + [[nodiscard]] auto PhotoCaptureSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2 + { + auto MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const; + [[nodiscard]] auto MediaCategory() const; + auto AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; + [[nodiscard]] auto AudioProcessing() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3 + { + auto AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const; + [[nodiscard]] auto AudioSource() const; + auto VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const; + [[nodiscard]] auto VideoSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4 + { + [[nodiscard]] auto VideoProfile() const; + auto VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const; + [[nodiscard]] auto PreviewMediaDescription() const; + auto PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + [[nodiscard]] auto RecordMediaDescription() const; + auto RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + [[nodiscard]] auto PhotoMediaDescription() const; + auto PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5 + { + [[nodiscard]] auto SourceGroup() const; + auto SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const; + [[nodiscard]] auto MemoryPreference() const; + auto MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6 + { + [[nodiscard]] auto AlwaysPlaySystemShutterSound() const; + auto AlwaysPlaySystemShutterSound(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7 + { + [[nodiscard]] auto DeviceUriPasswordCredential() const; + auto DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto DeviceUri() const; + auto DeviceUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7; + }; + template + struct consume_Windows_Media_Capture_IMediaCapturePauseResult + { + [[nodiscard]] auto LastFrame() const; + [[nodiscard]] auto RecordDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCapturePauseResult; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher + { + [[nodiscard]] auto RelativePanel() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureSettings + { + [[nodiscard]] auto AudioDeviceId() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto StreamingCaptureMode() const; + [[nodiscard]] auto PhotoCaptureSource() const; + [[nodiscard]] auto VideoDeviceCharacteristic() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureSettings; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureSettings2 + { + [[nodiscard]] auto ConcurrentRecordAndPhotoSupported() const; + [[nodiscard]] auto ConcurrentRecordAndPhotoSequenceSupported() const; + [[nodiscard]] auto CameraSoundRequiredForRegion() const; + [[nodiscard]] auto Horizontal35mmEquivalentFocalLength() const; + [[nodiscard]] auto PitchOffsetDegrees() const; + [[nodiscard]] auto Vertical35mmEquivalentFocalLength() const; + [[nodiscard]] auto MediaCategory() const; + [[nodiscard]] auto AudioProcessing() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureSettings2; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureSettings3 + { + [[nodiscard]] auto Direct3D11Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureSettings3; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureStatics + { + auto IsVideoProfileSupported(param::hstring const& videoDeviceId) const; + auto FindAllVideoProfiles(param::hstring const& videoDeviceId) const; + auto FindConcurrentProfiles(param::hstring const& videoDeviceId) const; + auto FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureStatics; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureStopResult + { + [[nodiscard]] auto LastFrame() const; + [[nodiscard]] auto RecordDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureStopResult; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureVideoPreview + { + auto StartPreviewAsync() const; + auto StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto StopPreviewAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureVideoPreview; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureVideoProfile + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto SupportedPreviewMediaDescription() const; + [[nodiscard]] auto SupportedRecordMediaDescription() const; + [[nodiscard]] auto SupportedPhotoMediaDescription() const; + auto GetConcurrency() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureVideoProfile; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureVideoProfile2 + { + [[nodiscard]] auto FrameSourceInfos() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureVideoProfile2; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription + { + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto IsVariablePhotoSequenceSupported() const; + [[nodiscard]] auto IsHdrVideoSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription; + }; + template + struct consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2 + { + [[nodiscard]] auto Subtype() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2; + }; + template + struct consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Context() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IPhotoCapturedEventArgs + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto CaptureTimeOffset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IPhotoCapturedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto CaptureTimeOffset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs; + }; + template + struct consume_Windows_Media_Capture_IVideoStreamConfiguration + { + [[nodiscard]] auto InputProperties() const; + [[nodiscard]] auto OutputProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_IVideoStreamConfiguration; + }; + struct struct_Windows_Media_Capture_WhiteBalanceGain + { + double R; + double G; + double B; + }; + template <> struct abi + { + using type = struct_Windows_Media_Capture_WhiteBalanceGain; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.1.h new file mode 100644 index 0000000000000000000000000000000000000000..61b847352656b6db1a93edcb89c830966022f60d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.1.h @@ -0,0 +1,779 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_1_H +#define WINRT_Windows_Media_Capture_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Storage.Streams.0.h" +#include "winrt/impl/Windows.Media.Capture.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + struct WINRT_IMPL_EMPTY_BASES IAdvancedCapturedPhoto : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedCapturedPhoto(std::nullptr_t = nullptr) noexcept {} + IAdvancedCapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedCapturedPhoto2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedCapturedPhoto2(std::nullptr_t = nullptr) noexcept {} + IAdvancedCapturedPhoto2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedPhotoCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedPhotoCapture(std::nullptr_t = nullptr) noexcept {} + IAdvancedPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundService(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundService2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundService2(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundService2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundServiceSignInInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundServiceSignInInfo(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundServiceSignInInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundServiceSignInInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundServiceSignInInfo2(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundServiceSignInInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundServiceStreamInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundServiceStreamInfo(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundServiceStreamInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastBackgroundServiceStreamInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastBackgroundServiceStreamInfo2(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastBackgroundServiceStreamInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastCameraCaptureStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastCameraCaptureStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastCameraCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastGlobalSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastGlobalSettings(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastGlobalSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastHeartbeatRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastHeartbeatRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastHeartbeatRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastMicrophoneCaptureStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastMicrophoneCaptureStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPlugIn : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPlugIn(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPlugIn(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPlugInManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPlugInManager(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPlugInManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPlugInManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPlugInManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPlugInManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPlugInStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPlugInStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPlugInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPreview(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPreviewStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPreviewStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPreviewStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPreviewStreamReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPreviewStreamReader(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPreviewStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPreviewStreamVideoFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPreviewStreamVideoFrame(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPreviewStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastPreviewStreamVideoHeader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastPreviewStreamVideoHeader(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastPreviewStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastProviderSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastProviderSettings(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastProviderSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastServices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastServices(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastSignInStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastSignInStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastSignInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastState(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamAudioFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamAudioFrame(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamAudioFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamAudioHeader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamAudioHeader(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamAudioHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamReader(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamVideoFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamVideoFrame(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastStreamVideoHeader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastStreamVideoHeader(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppBroadcastViewerCountChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppBroadcastViewerCountChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppBroadcastViewerCountChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCapture(std::nullptr_t = nullptr) noexcept {} + IAppCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureAlternateShortcutKeys : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureAlternateShortcutKeys(std::nullptr_t = nullptr) noexcept {} + IAppCaptureAlternateShortcutKeys(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureAlternateShortcutKeys2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureAlternateShortcutKeys2(std::nullptr_t = nullptr) noexcept {} + IAppCaptureAlternateShortcutKeys2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureAlternateShortcutKeys3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureAlternateShortcutKeys3(std::nullptr_t = nullptr) noexcept {} + IAppCaptureAlternateShortcutKeys3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureDurationGeneratedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureDurationGeneratedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppCaptureDurationGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureFileGeneratedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureFileGeneratedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppCaptureFileGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAppCaptureManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureMetadataWriter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureMetadataWriter(std::nullptr_t = nullptr) noexcept {} + IAppCaptureMetadataWriter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureMicrophoneCaptureStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureMicrophoneCaptureStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppCaptureMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureRecordOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureRecordOperation(std::nullptr_t = nullptr) noexcept {} + IAppCaptureRecordOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureRecordingStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureRecordingStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppCaptureRecordingStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureServices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureServices(std::nullptr_t = nullptr) noexcept {} + IAppCaptureServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureSettings(std::nullptr_t = nullptr) noexcept {} + IAppCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureSettings2(std::nullptr_t = nullptr) noexcept {} + IAppCaptureSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureSettings3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureSettings3(std::nullptr_t = nullptr) noexcept {} + IAppCaptureSettings3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureSettings4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureSettings4(std::nullptr_t = nullptr) noexcept {} + IAppCaptureSettings4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureSettings5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureSettings5(std::nullptr_t = nullptr) noexcept {} + IAppCaptureSettings5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureState(std::nullptr_t = nullptr) noexcept {} + IAppCaptureState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureStatics(std::nullptr_t = nullptr) noexcept {} + IAppCaptureStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCaptureStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCaptureStatics2(std::nullptr_t = nullptr) noexcept {} + IAppCaptureStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraCaptureUI : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraCaptureUI(std::nullptr_t = nullptr) noexcept {} + ICameraCaptureUI(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraCaptureUIPhotoCaptureSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraCaptureUIPhotoCaptureSettings(std::nullptr_t = nullptr) noexcept {} + ICameraCaptureUIPhotoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraCaptureUIVideoCaptureSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraCaptureUIVideoCaptureSettings(std::nullptr_t = nullptr) noexcept {} + ICameraCaptureUIVideoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraOptionsUIStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraOptionsUIStatics(std::nullptr_t = nullptr) noexcept {} + ICameraOptionsUIStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICapturedFrame(std::nullptr_t = nullptr) noexcept {} + ICapturedFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICapturedFrame2(std::nullptr_t = nullptr) noexcept {} + ICapturedFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedFrameControlValues : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICapturedFrameControlValues(std::nullptr_t = nullptr) noexcept {} + ICapturedFrameControlValues(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedFrameControlValues2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICapturedFrameControlValues2(std::nullptr_t = nullptr) noexcept {} + ICapturedFrameControlValues2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedFrameWithSoftwareBitmap : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICapturedFrameWithSoftwareBitmap(std::nullptr_t = nullptr) noexcept {} + ICapturedFrameWithSoftwareBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICapturedPhoto : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICapturedPhoto(std::nullptr_t = nullptr) noexcept {} + ICapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServices(std::nullptr_t = nullptr) noexcept {} + IGameBarServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServicesCommandEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServicesCommandEventArgs(std::nullptr_t = nullptr) noexcept {} + IGameBarServicesCommandEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServicesManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServicesManager(std::nullptr_t = nullptr) noexcept {} + IGameBarServicesManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServicesManagerGameBarServicesCreatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServicesManagerGameBarServicesCreatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IGameBarServicesManagerGameBarServicesCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServicesManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServicesManagerStatics(std::nullptr_t = nullptr) noexcept {} + IGameBarServicesManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGameBarServicesTargetInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGameBarServicesTargetInfo(std::nullptr_t = nullptr) noexcept {} + IGameBarServicesTargetInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagMediaRecording : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagMediaRecording(std::nullptr_t = nullptr) noexcept {} + ILowLagMediaRecording(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagMediaRecording2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagMediaRecording2(std::nullptr_t = nullptr) noexcept {} + ILowLagMediaRecording2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagMediaRecording3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagMediaRecording3(std::nullptr_t = nullptr) noexcept {} + ILowLagMediaRecording3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagPhotoCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagPhotoCapture(std::nullptr_t = nullptr) noexcept {} + ILowLagPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagPhotoSequenceCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagPhotoSequenceCapture(std::nullptr_t = nullptr) noexcept {} + ILowLagPhotoSequenceCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture(std::nullptr_t = nullptr) noexcept {} + IMediaCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture2(std::nullptr_t = nullptr) noexcept {} + IMediaCapture2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture3(std::nullptr_t = nullptr) noexcept {} + IMediaCapture3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture4(std::nullptr_t = nullptr) noexcept {} + IMediaCapture4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture5(std::nullptr_t = nullptr) noexcept {} + IMediaCapture5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture6(std::nullptr_t = nullptr) noexcept {} + IMediaCapture6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapture7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapture7(std::nullptr_t = nullptr) noexcept {} + IMediaCapture7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureFocusChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureFocusChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureFocusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings2(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings3(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings4(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings5(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings6(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureInitializationSettings7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureInitializationSettings7(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureInitializationSettings7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCapturePauseResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCapturePauseResult(std::nullptr_t = nullptr) noexcept {} + IMediaCapturePauseResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureRelativePanelWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureRelativePanelWatcher(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureRelativePanelWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureSettings(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureSettings2(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureSettings3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureSettings3(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureSettings3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureStatics(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureStopResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureStopResult(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureStopResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureVideoPreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureVideoPreview(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureVideoPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureVideoProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureVideoProfile(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureVideoProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureVideoProfile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureVideoProfile2(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureVideoProfile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureVideoProfileMediaDescription : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureVideoProfileMediaDescription(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureVideoProfileMediaDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCaptureVideoProfileMediaDescription2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCaptureVideoProfileMediaDescription2(std::nullptr_t = nullptr) noexcept {} + IMediaCaptureVideoProfileMediaDescription2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOptionalReferencePhotoCapturedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOptionalReferencePhotoCapturedEventArgs(std::nullptr_t = nullptr) noexcept {} + IOptionalReferencePhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoCapturedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoCapturedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoConfirmationCapturedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoConfirmationCapturedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPhotoConfirmationCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStreamConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoStreamConfiguration(std::nullptr_t = nullptr) noexcept {} + IVideoStreamConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.2.h new file mode 100644 index 0000000000000000000000000000000000000000..68b269c38bf094b5d92b93b59b83192cc648d69b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.2.h @@ -0,0 +1,453 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_2_H +#define WINRT_Windows_Media_Capture_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Media.Capture.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + struct MediaCaptureFailedEventHandler : winrt::Windows::Foundation::IUnknown + { + MediaCaptureFailedEventHandler(std::nullptr_t = nullptr) noexcept {} + MediaCaptureFailedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template MediaCaptureFailedEventHandler(L lambda); + template MediaCaptureFailedEventHandler(F* function); + template MediaCaptureFailedEventHandler(O* object, M method); + template MediaCaptureFailedEventHandler(com_ptr&& object, M method); + template MediaCaptureFailedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template MediaCaptureFailedEventHandler(std::shared_ptr&& object, M method); + template MediaCaptureFailedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Capture::MediaCapture const& sender, winrt::Windows::Media::Capture::MediaCaptureFailedEventArgs const& errorEventArgs) const; + }; + struct RecordLimitationExceededEventHandler : winrt::Windows::Foundation::IUnknown + { + RecordLimitationExceededEventHandler(std::nullptr_t = nullptr) noexcept {} + RecordLimitationExceededEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template RecordLimitationExceededEventHandler(L lambda); + template RecordLimitationExceededEventHandler(F* function); + template RecordLimitationExceededEventHandler(O* object, M method); + template RecordLimitationExceededEventHandler(com_ptr&& object, M method); + template RecordLimitationExceededEventHandler(weak_ref&& object, LM&& lambda_or_method); + template RecordLimitationExceededEventHandler(std::shared_ptr&& object, M method); + template RecordLimitationExceededEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Capture::MediaCapture const& sender) const; + }; + struct WhiteBalanceGain + { + double R {}; + double G {}; + double B {}; + }; + inline bool operator==(WhiteBalanceGain const& left, WhiteBalanceGain const& right) noexcept + { + return left.R == right.R && left.G == right.G && left.B == right.B; + } + inline bool operator!=(WhiteBalanceGain const& left, WhiteBalanceGain const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AdvancedCapturedPhoto : winrt::Windows::Media::Capture::IAdvancedCapturedPhoto, + impl::require + { + AdvancedCapturedPhoto(std::nullptr_t) noexcept {} + AdvancedCapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAdvancedCapturedPhoto(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdvancedPhotoCapture : winrt::Windows::Media::Capture::IAdvancedPhotoCapture + { + AdvancedPhotoCapture(std::nullptr_t) noexcept {} + AdvancedPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAdvancedPhotoCapture(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundService : winrt::Windows::Media::Capture::IAppBroadcastBackgroundService, + impl::require + { + AppBroadcastBackgroundService(std::nullptr_t) noexcept {} + AppBroadcastBackgroundService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundService(ptr, take_ownership_from_abi) {} + using winrt::Windows::Media::Capture::IAppBroadcastBackgroundService::BroadcastTitle; + using impl::consume_t::BroadcastTitle; + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundServiceSignInInfo : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo, + impl::require + { + AppBroadcastBackgroundServiceSignInInfo(std::nullptr_t) noexcept {} + AppBroadcastBackgroundServiceSignInInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundServiceStreamInfo : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo, + impl::require + { + AppBroadcastBackgroundServiceStreamInfo(std::nullptr_t) noexcept {} + AppBroadcastBackgroundServiceStreamInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastCameraCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs + { + AppBroadcastCameraCaptureStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastCameraCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastGlobalSettings : winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings + { + AppBroadcastGlobalSettings(std::nullptr_t) noexcept {} + AppBroadcastGlobalSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastHeartbeatRequestedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs + { + AppBroadcastHeartbeatRequestedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastHeartbeatRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct AppBroadcastManager + { + AppBroadcastManager() = delete; + static auto GetGlobalSettings(); + static auto ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value); + static auto GetProviderSettings(); + static auto ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value); + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastMicrophoneCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs + { + AppBroadcastMicrophoneCaptureStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugIn : winrt::Windows::Media::Capture::IAppBroadcastPlugIn + { + AppBroadcastPlugIn(std::nullptr_t) noexcept {} + AppBroadcastPlugIn(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugIn(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugInManager : winrt::Windows::Media::Capture::IAppBroadcastPlugInManager + { + AppBroadcastPlugInManager(std::nullptr_t) noexcept {} + AppBroadcastPlugInManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugInManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto GetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugInStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs + { + AppBroadcastPlugInStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastPlugInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreview : winrt::Windows::Media::Capture::IAppBroadcastPreview + { + AppBroadcastPreview(std::nullptr_t) noexcept {} + AppBroadcastPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreview(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs + { + AppBroadcastPreviewStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastPreviewStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamReader : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader + { + AppBroadcastPreviewStreamReader(std::nullptr_t) noexcept {} + AppBroadcastPreviewStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamVideoFrame : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame + { + AppBroadcastPreviewStreamVideoFrame(std::nullptr_t) noexcept {} + AppBroadcastPreviewStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamVideoHeader : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader + { + AppBroadcastPreviewStreamVideoHeader(std::nullptr_t) noexcept {} + AppBroadcastPreviewStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastProviderSettings : winrt::Windows::Media::Capture::IAppBroadcastProviderSettings + { + AppBroadcastProviderSettings(std::nullptr_t) noexcept {} + AppBroadcastProviderSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastProviderSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastServices : winrt::Windows::Media::Capture::IAppBroadcastServices + { + AppBroadcastServices(std::nullptr_t) noexcept {} + AppBroadcastServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastServices(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastSignInStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs + { + AppBroadcastSignInStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastSignInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastState : winrt::Windows::Media::Capture::IAppBroadcastState + { + AppBroadcastState(std::nullptr_t) noexcept {} + AppBroadcastState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamAudioFrame : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame + { + AppBroadcastStreamAudioFrame(std::nullptr_t) noexcept {} + AppBroadcastStreamAudioFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamAudioHeader : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader + { + AppBroadcastStreamAudioHeader(std::nullptr_t) noexcept {} + AppBroadcastStreamAudioHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamReader : winrt::Windows::Media::Capture::IAppBroadcastStreamReader + { + AppBroadcastStreamReader(std::nullptr_t) noexcept {} + AppBroadcastStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs + { + AppBroadcastStreamStateChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastStreamStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamVideoFrame : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame + { + AppBroadcastStreamVideoFrame(std::nullptr_t) noexcept {} + AppBroadcastStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamVideoHeader : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader + { + AppBroadcastStreamVideoHeader(std::nullptr_t) noexcept {} + AppBroadcastStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastTriggerDetails : winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails + { + AppBroadcastTriggerDetails(std::nullptr_t) noexcept {} + AppBroadcastTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppBroadcastViewerCountChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs + { + AppBroadcastViewerCountChangedEventArgs(std::nullptr_t) noexcept {} + AppBroadcastViewerCountChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCapture : winrt::Windows::Media::Capture::IAppCapture + { + AppCapture(std::nullptr_t) noexcept {} + AppCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCapture(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto SetAllowedAsync(bool allowed); + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureAlternateShortcutKeys : winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys, + impl::require + { + AppCaptureAlternateShortcutKeys(std::nullptr_t) noexcept {} + AppCaptureAlternateShortcutKeys(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureDurationGeneratedEventArgs : winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs + { + AppCaptureDurationGeneratedEventArgs(std::nullptr_t) noexcept {} + AppCaptureDurationGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureFileGeneratedEventArgs : winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs + { + AppCaptureFileGeneratedEventArgs(std::nullptr_t) noexcept {} + AppCaptureFileGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct AppCaptureManager + { + AppCaptureManager() = delete; + static auto GetCurrentSettings(); + static auto ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings); + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureMetadataWriter : winrt::Windows::Media::Capture::IAppCaptureMetadataWriter, + impl::require + { + AppCaptureMetadataWriter(std::nullptr_t) noexcept {} + AppCaptureMetadataWriter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureMetadataWriter(ptr, take_ownership_from_abi) {} + AppCaptureMetadataWriter(); + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureMicrophoneCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs + { + AppCaptureMicrophoneCaptureStateChangedEventArgs(std::nullptr_t) noexcept {} + AppCaptureMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureRecordOperation : winrt::Windows::Media::Capture::IAppCaptureRecordOperation + { + AppCaptureRecordOperation(std::nullptr_t) noexcept {} + AppCaptureRecordOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureRecordOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureRecordingStateChangedEventArgs : winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs + { + AppCaptureRecordingStateChangedEventArgs(std::nullptr_t) noexcept {} + AppCaptureRecordingStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureServices : winrt::Windows::Media::Capture::IAppCaptureServices + { + AppCaptureServices(std::nullptr_t) noexcept {} + AppCaptureServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureServices(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureSettings : winrt::Windows::Media::Capture::IAppCaptureSettings, + impl::require + { + AppCaptureSettings(std::nullptr_t) noexcept {} + AppCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AppCaptureState : winrt::Windows::Media::Capture::IAppCaptureState + { + AppCaptureState(std::nullptr_t) noexcept {} + AppCaptureState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CameraCaptureUI : winrt::Windows::Media::Capture::ICameraCaptureUI + { + CameraCaptureUI(std::nullptr_t) noexcept {} + CameraCaptureUI(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUI(ptr, take_ownership_from_abi) {} + CameraCaptureUI(); + }; + struct WINRT_IMPL_EMPTY_BASES CameraCaptureUIPhotoCaptureSettings : winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings + { + CameraCaptureUIPhotoCaptureSettings(std::nullptr_t) noexcept {} + CameraCaptureUIPhotoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CameraCaptureUIVideoCaptureSettings : winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings + { + CameraCaptureUIVideoCaptureSettings(std::nullptr_t) noexcept {} + CameraCaptureUIVideoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings(ptr, take_ownership_from_abi) {} + }; + struct CameraOptionsUI + { + CameraOptionsUI() = delete; + static auto Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture); + }; + struct WINRT_IMPL_EMPTY_BASES CapturedFrame : winrt::Windows::Media::Capture::ICapturedFrame, + impl::require + { + CapturedFrame(std::nullptr_t) noexcept {} + CapturedFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CapturedFrameControlValues : winrt::Windows::Media::Capture::ICapturedFrameControlValues, + impl::require + { + CapturedFrameControlValues(std::nullptr_t) noexcept {} + CapturedFrameControlValues(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedFrameControlValues(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CapturedPhoto : winrt::Windows::Media::Capture::ICapturedPhoto + { + CapturedPhoto(std::nullptr_t) noexcept {} + CapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedPhoto(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameBarServices : winrt::Windows::Media::Capture::IGameBarServices + { + GameBarServices(std::nullptr_t) noexcept {} + GameBarServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServices(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameBarServicesCommandEventArgs : winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs + { + GameBarServicesCommandEventArgs(std::nullptr_t) noexcept {} + GameBarServicesCommandEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameBarServicesManager : winrt::Windows::Media::Capture::IGameBarServicesManager + { + GameBarServicesManager(std::nullptr_t) noexcept {} + GameBarServicesManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesManager(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES GameBarServicesManagerGameBarServicesCreatedEventArgs : winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs + { + GameBarServicesManagerGameBarServicesCreatedEventArgs(std::nullptr_t) noexcept {} + GameBarServicesManagerGameBarServicesCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GameBarServicesTargetInfo : winrt::Windows::Media::Capture::IGameBarServicesTargetInfo + { + GameBarServicesTargetInfo(std::nullptr_t) noexcept {} + GameBarServicesTargetInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesTargetInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LowLagMediaRecording : winrt::Windows::Media::Capture::ILowLagMediaRecording, + impl::require + { + LowLagMediaRecording(std::nullptr_t) noexcept {} + LowLagMediaRecording(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagMediaRecording(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LowLagPhotoCapture : winrt::Windows::Media::Capture::ILowLagPhotoCapture + { + LowLagPhotoCapture(std::nullptr_t) noexcept {} + LowLagPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagPhotoCapture(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LowLagPhotoSequenceCapture : winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture + { + LowLagPhotoSequenceCapture(std::nullptr_t) noexcept {} + LowLagPhotoSequenceCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCapture : winrt::Windows::Media::Capture::IMediaCapture, + impl::require + { + MediaCapture(std::nullptr_t) noexcept {} + MediaCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCapture(ptr, take_ownership_from_abi) {} + MediaCapture(); + static auto IsVideoProfileSupported(param::hstring const& videoDeviceId); + static auto FindAllVideoProfiles(param::hstring const& videoDeviceId); + static auto FindConcurrentProfiles(param::hstring const& videoDeviceId); + static auto FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name); + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureDeviceExclusiveControlStatusChangedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs + { + MediaCaptureDeviceExclusiveControlStatusChangedEventArgs(std::nullptr_t) noexcept {} + MediaCaptureDeviceExclusiveControlStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureFailedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs + { + MediaCaptureFailedEventArgs(std::nullptr_t) noexcept {} + MediaCaptureFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureFocusChangedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs + { + MediaCaptureFocusChangedEventArgs(std::nullptr_t) noexcept {} + MediaCaptureFocusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureInitializationSettings : winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings, + impl::require + { + MediaCaptureInitializationSettings(std::nullptr_t) noexcept {} + MediaCaptureInitializationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings(ptr, take_ownership_from_abi) {} + MediaCaptureInitializationSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaCapturePauseResult : winrt::Windows::Media::Capture::IMediaCapturePauseResult, + impl::require + { + MediaCapturePauseResult(std::nullptr_t) noexcept {} + MediaCapturePauseResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCapturePauseResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureRelativePanelWatcher : winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher, + impl::require + { + MediaCaptureRelativePanelWatcher(std::nullptr_t) noexcept {} + MediaCaptureRelativePanelWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureSettings : winrt::Windows::Media::Capture::IMediaCaptureSettings, + impl::require + { + MediaCaptureSettings(std::nullptr_t) noexcept {} + MediaCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureStopResult : winrt::Windows::Media::Capture::IMediaCaptureStopResult, + impl::require + { + MediaCaptureStopResult(std::nullptr_t) noexcept {} + MediaCaptureStopResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureStopResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureVideoProfile : winrt::Windows::Media::Capture::IMediaCaptureVideoProfile, + impl::require + { + MediaCaptureVideoProfile(std::nullptr_t) noexcept {} + MediaCaptureVideoProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureVideoProfile(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCaptureVideoProfileMediaDescription : winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription, + impl::require + { + MediaCaptureVideoProfileMediaDescription(std::nullptr_t) noexcept {} + MediaCaptureVideoProfileMediaDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OptionalReferencePhotoCapturedEventArgs : winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs + { + OptionalReferencePhotoCapturedEventArgs(std::nullptr_t) noexcept {} + OptionalReferencePhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoCapturedEventArgs : winrt::Windows::Media::Capture::IPhotoCapturedEventArgs + { + PhotoCapturedEventArgs(std::nullptr_t) noexcept {} + PhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IPhotoCapturedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoConfirmationCapturedEventArgs : winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs + { + PhotoConfirmationCapturedEventArgs(std::nullptr_t) noexcept {} + PhotoConfirmationCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoStreamConfiguration : winrt::Windows::Media::Capture::IVideoStreamConfiguration + { + VideoStreamConfiguration(std::nullptr_t) noexcept {} + VideoStreamConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IVideoStreamConfiguration(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..270808cf340881c8c5ab11a8eb8d7cc2589ce80f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.0.h @@ -0,0 +1,116 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Core_0_H +#define WINRT_Windows_Media_Capture_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + struct CapturedFrame; + struct CapturedFrameControlValues; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Core +{ + struct IVariablePhotoCapturedEventArgs; + struct IVariablePhotoSequenceCapture; + struct IVariablePhotoSequenceCapture2; + struct VariablePhotoCapturedEventArgs; + struct VariablePhotoSequenceCapture; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Core.VariablePhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Core.VariablePhotoSequenceCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Core.IVariablePhotoCapturedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Core.IVariablePhotoSequenceCapture"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Core.IVariablePhotoSequenceCapture2"; + template <> inline constexpr guid guid_v{ 0xD1EB4C5C,0x1B53,0x4E4A,{ 0x8B,0x5C,0xDB,0x78,0x87,0xAC,0x94,0x9B } }; // D1EB4C5C-1B53-4E4A-8B5C-DB7887AC949B + template <> inline constexpr guid guid_v{ 0xD0112D1D,0x031E,0x4041,{ 0xA6,0xD6,0xBD,0x74,0x24,0x76,0xA8,0xEE } }; // D0112D1D-031E-4041-A6D6-BD742476A8EE + template <> inline constexpr guid guid_v{ 0xFE2C62BC,0x50B0,0x43E3,{ 0x91,0x7C,0xE3,0xB9,0x27,0x98,0x94,0x2F } }; // FE2C62BC-50B0-43E3-917C-E3B92798942F + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + virtual int32_t __stdcall get_CaptureTimeOffset(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_UsedFrameControllerIndex(void**) noexcept = 0; + virtual int32_t __stdcall get_CapturedFrameControlValues(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall FinishAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_PhotoCaptured(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PhotoCaptured(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateSettingsAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs + { + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto CaptureTimeOffset() const; + [[nodiscard]] auto UsedFrameControllerIndex() const; + [[nodiscard]] auto CapturedFrameControlValues() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs; + }; + template + struct consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture + { + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; + auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PhotoCaptured_revoker = impl::event_revoker::remove_PhotoCaptured>; + [[nodiscard]] auto PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoCaptured(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture; + }; + template + struct consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2 + { + auto UpdateSettingsAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6197a2b5e0481602bdb8cfbd0fba35c7f50bdec5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Core_1_H +#define WINRT_Windows_Media_Capture_Core_1_H +#include "winrt/impl/Windows.Media.Capture.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Core +{ + struct WINRT_IMPL_EMPTY_BASES IVariablePhotoCapturedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVariablePhotoCapturedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVariablePhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVariablePhotoSequenceCapture : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVariablePhotoSequenceCapture(std::nullptr_t = nullptr) noexcept {} + IVariablePhotoSequenceCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVariablePhotoSequenceCapture2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVariablePhotoSequenceCapture2(std::nullptr_t = nullptr) noexcept {} + IVariablePhotoSequenceCapture2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a204dce02adb511e2bb9ff42ac2de07c6f729a4b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.core.2.h @@ -0,0 +1,24 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Core_2_H +#define WINRT_Windows_Media_Capture_Core_2_H +#include "winrt/impl/Windows.Media.Capture.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Core +{ + struct WINRT_IMPL_EMPTY_BASES VariablePhotoCapturedEventArgs : winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs + { + VariablePhotoCapturedEventArgs(std::nullptr_t) noexcept {} + VariablePhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VariablePhotoSequenceCapture : winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture, + impl::require + { + VariablePhotoSequenceCapture(std::nullptr_t) noexcept {} + VariablePhotoSequenceCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f575bb29272ea94c82e249019dd17ad5be30a25b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.0.h @@ -0,0 +1,936 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Frames_0_H +#define WINRT_Windows_Media_Capture_Frames_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + enum class Panel : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct AudioFrame; + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + enum class MediaStreamType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + struct AudioDeviceController; + struct VideoDeviceController; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + struct CameraIntrinsics; + struct DepthCorrelatedCoordinateMapper; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct AudioEncodingProperties; + struct MediaRatio; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement +{ + struct DisplayRegion; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames +{ + enum class MediaFrameReaderAcquisitionMode : int32_t + { + Realtime = 0, + Buffered = 1, + }; + enum class MediaFrameReaderStartStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + DeviceNotAvailable = 2, + OutputFormatNotSupported = 3, + ExclusiveControlNotAvailable = 4, + }; + enum class MediaFrameSourceGetPropertyStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + NotSupported = 2, + DeviceNotAvailable = 3, + MaxPropertyValueSizeTooSmall = 4, + MaxPropertyValueSizeRequired = 5, + }; + enum class MediaFrameSourceKind : int32_t + { + Custom = 0, + Color = 1, + Infrared = 2, + Depth = 3, + Audio = 4, + Image = 5, + Metadata = 6, + }; + enum class MediaFrameSourceSetPropertyStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + NotSupported = 2, + InvalidValue = 3, + DeviceNotAvailable = 4, + NotInControl = 5, + }; + enum class MultiSourceMediaFrameReaderStartStatus : int32_t + { + Success = 0, + NotSupported = 1, + InsufficientResources = 2, + DeviceNotAvailable = 3, + UnknownFailure = 4, + }; + struct IAudioMediaFrame; + struct IBufferMediaFrame; + struct IDepthMediaFrame; + struct IDepthMediaFrame2; + struct IDepthMediaFrameFormat; + struct IInfraredMediaFrame; + struct IMediaFrameArrivedEventArgs; + struct IMediaFrameFormat; + struct IMediaFrameFormat2; + struct IMediaFrameReader; + struct IMediaFrameReader2; + struct IMediaFrameReference; + struct IMediaFrameReference2; + struct IMediaFrameSource; + struct IMediaFrameSourceController; + struct IMediaFrameSourceController2; + struct IMediaFrameSourceController3; + struct IMediaFrameSourceGetPropertyResult; + struct IMediaFrameSourceGroup; + struct IMediaFrameSourceGroupStatics; + struct IMediaFrameSourceInfo; + struct IMediaFrameSourceInfo2; + struct IMediaFrameSourceInfo3; + struct IMediaFrameSourceInfo4; + struct IMultiSourceMediaFrameArrivedEventArgs; + struct IMultiSourceMediaFrameReader; + struct IMultiSourceMediaFrameReader2; + struct IMultiSourceMediaFrameReference; + struct IVideoMediaFrame; + struct IVideoMediaFrameFormat; + struct AudioMediaFrame; + struct BufferMediaFrame; + struct DepthMediaFrame; + struct DepthMediaFrameFormat; + struct InfraredMediaFrame; + struct MediaFrameArrivedEventArgs; + struct MediaFrameFormat; + struct MediaFrameReader; + struct MediaFrameReference; + struct MediaFrameSource; + struct MediaFrameSourceController; + struct MediaFrameSourceGetPropertyResult; + struct MediaFrameSourceGroup; + struct MediaFrameSourceInfo; + struct MultiSourceMediaFrameArrivedEventArgs; + struct MultiSourceMediaFrameReader; + struct MultiSourceMediaFrameReference; + struct VideoMediaFrame; + struct VideoMediaFrameFormat; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.AudioMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.BufferMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.DepthMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.DepthMediaFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.InfraredMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameReference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceGroup"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MultiSourceMediaFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MultiSourceMediaFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MultiSourceMediaFrameReference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.VideoMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.VideoMediaFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameReaderAcquisitionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameReaderStartStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MediaFrameSourceSetPropertyStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.MultiSourceMediaFrameReaderStartStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IAudioMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IBufferMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IDepthMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IDepthMediaFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IDepthMediaFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IInfraredMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameFormat2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameReader2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameReference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameReference2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceController2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceController3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceGetPropertyResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceGroup"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceGroupStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceInfo3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMediaFrameSourceInfo4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMultiSourceMediaFrameArrivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMultiSourceMediaFrameReader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMultiSourceMediaFrameReader2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IMultiSourceMediaFrameReference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IVideoMediaFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Capture.Frames.IVideoMediaFrameFormat"; + template <> inline constexpr guid guid_v{ 0xA3A9FEFF,0x8021,0x441B,{ 0x9A,0x46,0xE7,0xF0,0x13,0x7B,0x79,0x81 } }; // A3A9FEFF-8021-441B-9A46-E7F0137B7981 + template <> inline constexpr guid guid_v{ 0xB5B153C7,0x9B84,0x4062,{ 0xB7,0x9C,0xA3,0x65,0xB2,0x59,0x68,0x54 } }; // B5B153C7-9B84-4062-B79C-A365B2596854 + template <> inline constexpr guid guid_v{ 0x47135E4F,0x8549,0x45C0,{ 0x92,0x5B,0x80,0xD3,0x5E,0xFD,0xB1,0x0A } }; // 47135E4F-8549-45C0-925B-80D35EFDB10A + template <> inline constexpr guid guid_v{ 0x6CCA473D,0xC4A4,0x4176,{ 0xB0,0xCD,0x33,0xEA,0xE3,0xB3,0x5A,0xA3 } }; // 6CCA473D-C4A4-4176-B0CD-33EAE3B35AA3 + template <> inline constexpr guid guid_v{ 0xC312CF40,0xD729,0x453E,{ 0x87,0x80,0x2E,0x04,0xF1,0x40,0xD2,0x8E } }; // C312CF40-D729-453E-8780-2E04F140D28E + template <> inline constexpr guid guid_v{ 0x3FD13503,0x004B,0x4F0E,{ 0x91,0xAC,0x46,0x52,0x99,0xB4,0x16,0x58 } }; // 3FD13503-004B-4F0E-91AC-465299B41658 + template <> inline constexpr guid guid_v{ 0x0B430ADD,0xA490,0x4435,{ 0xAD,0xA1,0x9A,0xFF,0xD5,0x52,0x39,0xF7 } }; // 0B430ADD-A490-4435-ADA1-9AFFD55239F7 + template <> inline constexpr guid guid_v{ 0x71902B4E,0xB279,0x4A97,{ 0xA9,0xDB,0xBD,0x5A,0x2F,0xB7,0x8F,0x39 } }; // 71902B4E-B279-4A97-A9DB-BD5A2FB78F39 + template <> inline constexpr guid guid_v{ 0x63856340,0x5E87,0x4C10,{ 0x86,0xD1,0x6D,0xF0,0x97,0xA6,0xC6,0xA8 } }; // 63856340-5E87-4C10-86D1-6DF097A6C6A8 + template <> inline constexpr guid guid_v{ 0xE4C94395,0x2028,0x48ED,{ 0x90,0xB0,0xD1,0xC1,0xB1,0x62,0xE2,0x4C } }; // E4C94395-2028-48ED-90B0-D1C1B162E24C + template <> inline constexpr guid guid_v{ 0x871127B3,0x8531,0x4050,{ 0x87,0xCC,0xA1,0x37,0x33,0xCF,0x3E,0x9B } }; // 871127B3-8531-4050-87CC-A13733CF3E9B + template <> inline constexpr guid guid_v{ 0xF6B88641,0xF0DC,0x4044,{ 0x8D,0xC9,0x96,0x1C,0xED,0xD0,0x5B,0xAD } }; // F6B88641-F0DC-4044-8DC9-961CEDD05BAD + template <> inline constexpr guid guid_v{ 0xDDBC3ECC,0xD5B2,0x49EF,{ 0x83,0x6A,0x94,0x7D,0x98,0x9B,0x80,0xC1 } }; // DDBC3ECC-D5B2-49EF-836A-947D989B80C1 + template <> inline constexpr guid guid_v{ 0xD6782953,0x90DB,0x46A8,{ 0x8A,0xDD,0x2A,0xA8,0x84,0xA8,0xD2,0x53 } }; // D6782953-90DB-46A8-8ADD-2AA884A8D253 + template <> inline constexpr guid guid_v{ 0x6D076635,0x316D,0x4B8F,{ 0xB7,0xB6,0xEE,0xB0,0x4A,0x8C,0x65,0x25 } }; // 6D076635-316D-4B8F-B7B6-EEB04A8C6525 + template <> inline constexpr guid guid_v{ 0xEFC49FD4,0xFCF2,0x4A03,{ 0xB4,0xE4,0xAC,0x96,0x28,0x73,0x9B,0xEE } }; // EFC49FD4-FCF2-4A03-B4E4-AC9628739BEE + template <> inline constexpr guid guid_v{ 0x1F0CF815,0x2464,0x4651,{ 0xB1,0xE8,0x4A,0x82,0xDB,0xDB,0x54,0xDE } }; // 1F0CF815-2464-4651-B1E8-4A82DBDB54DE + template <> inline constexpr guid guid_v{ 0x088616C2,0x3A64,0x4BD5,{ 0xBD,0x2B,0xE7,0xC8,0x98,0xD2,0xF3,0x7A } }; // 088616C2-3A64-4BD5-BD2B-E7C898D2F37A + template <> inline constexpr guid guid_v{ 0x7F605B87,0x4832,0x4B5F,{ 0xAE,0x3D,0x41,0x2F,0xAA,0xB3,0x7D,0x34 } }; // 7F605B87-4832-4B5F-AE3D-412FAAB37D34 + template <> inline constexpr guid guid_v{ 0x1C48BFC5,0x436F,0x4508,{ 0x94,0xCF,0xD5,0xD8,0xB7,0x32,0x64,0x45 } }; // 1C48BFC5-436F-4508-94CF-D5D8B7326445 + template <> inline constexpr guid guid_v{ 0x87BDC9CD,0x4601,0x408F,{ 0x91,0xCF,0x03,0x83,0x18,0xCD,0x0A,0xF3 } }; // 87BDC9CD-4601-408F-91CF-038318CD0AF3 + template <> inline constexpr guid guid_v{ 0x195A7855,0x6457,0x42C6,{ 0xA7,0x69,0x19,0xB6,0x5B,0xD3,0x2E,0x6E } }; // 195A7855-6457-42C6-A769-19B65BD32E6E + template <> inline constexpr guid guid_v{ 0xCA824AB6,0x66EA,0x5885,{ 0xA2,0xB6,0x26,0xC0,0xEE,0xEC,0x3C,0x7B } }; // CA824AB6-66EA-5885-A2B6-26C0EEEC3C7B + template <> inline constexpr guid guid_v{ 0x4817D721,0x85EB,0x470C,{ 0x8F,0x37,0x43,0xCA,0x54,0x98,0xE4,0x1D } }; // 4817D721-85EB-470C-8F37-43CA5498E41D + template <> inline constexpr guid guid_v{ 0x63115E01,0xCF51,0x48FD,{ 0xAA,0xB0,0x6D,0x69,0x3E,0xB4,0x81,0x27 } }; // 63115E01-CF51-48FD-AAB0-6D693EB48127 + template <> inline constexpr guid guid_v{ 0x8D144402,0xF763,0x488D,{ 0x98,0xF2,0xB4,0x37,0xBC,0xF0,0x75,0xE7 } }; // 8D144402-F763-488D-98F2-B437BCF075E7 + template <> inline constexpr guid guid_v{ 0xEF5C8ABD,0xFC5C,0x4C6B,{ 0x9D,0x81,0x3C,0xB9,0xCC,0x63,0x7C,0x26 } }; // EF5C8ABD-FC5C-4C6B-9D81-3CB9CC637C26 + template <> inline constexpr guid guid_v{ 0x21964B1A,0x7FE2,0x44D6,{ 0x92,0xE5,0x29,0x8E,0x6D,0x28,0x10,0xE9 } }; // 21964B1A-7FE2-44D6-92E5-298E6D2810E9 + template <> inline constexpr guid guid_v{ 0x00DD4CCB,0x32BD,0x4FE1,{ 0xA0,0x13,0x7C,0xC1,0x3C,0xF5,0xDB,0xCF } }; // 00DD4CCB-32BD-4FE1-A013-7CC13CF5DBCF + template <> inline constexpr guid guid_v{ 0x46027FC0,0xD71B,0x45C7,{ 0x8F,0x14,0x6D,0x9A,0x0A,0xE6,0x04,0xE4 } }; // 46027FC0-D71B-45C7-8F14-6D9A0AE604E4 + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IAudioMediaFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IBufferMediaFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IDepthMediaFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameFormat; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameReference; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameArrivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReference; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IVideoMediaFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameReference(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall GetAudioFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameReference(void**) noexcept = 0; + virtual int32_t __stdcall get_Buffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameReference(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_DepthFormat(void**) noexcept = 0; + virtual int32_t __stdcall TryCreateCoordinateMapper(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxReliableDepth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinReliableDepth(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_DepthScaleInMeters(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameReference(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_IsIlluminated(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MajorType(void**) noexcept = 0; + virtual int32_t __stdcall get_Subtype(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormat(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioEncodingProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall TryAcquireLatestFrame(void**) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AcquisitionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AcquisitionMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Format(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemRelativeTime(void**) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_BufferMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioMediaFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Info(void**) noexcept = 0; + virtual int32_t __stdcall get_Controller(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentFormat(void**) noexcept = 0; + virtual int32_t __stdcall SetFormatAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_FormatChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FormatChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall TryGetCameraIntrinsics(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPropertyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPropertyAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_VideoDeviceController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetPropertyByExtendedIdAsync(uint32_t, uint8_t*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPropertyByExtendedIdAsync(uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioDeviceController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_SourceInfos(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaStreamType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SourceGroup(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProfileId(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProfileMediaDescription(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetRelativePanel(void*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsShareable(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_FrameArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FrameArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall TryAcquireLatestFrame(void**) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_AcquisitionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AcquisitionMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetFrameReferenceBySourceId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameReference(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_SoftwareBitmap(void**) noexcept = 0; + virtual int32_t __stdcall get_Direct3DSurface(void**) noexcept = 0; + virtual int32_t __stdcall get_CameraIntrinsics(void**) noexcept = 0; + virtual int32_t __stdcall get_InfraredMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_DepthMediaFrame(void**) noexcept = 0; + virtual int32_t __stdcall GetVideoFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaFrameFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_DepthFormat(void**) noexcept = 0; + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Capture_Frames_IAudioMediaFrame + { + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto AudioEncodingProperties() const; + auto GetAudioFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IAudioMediaFrame; + }; + template + struct consume_Windows_Media_Capture_Frames_IBufferMediaFrame + { + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto Buffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IBufferMediaFrame; + }; + template + struct consume_Windows_Media_Capture_Frames_IDepthMediaFrame + { + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto DepthFormat() const; + auto TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IDepthMediaFrame; + }; + template + struct consume_Windows_Media_Capture_Frames_IDepthMediaFrame2 + { + [[nodiscard]] auto MaxReliableDepth() const; + [[nodiscard]] auto MinReliableDepth() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IDepthMediaFrame2; + }; + template + struct consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat + { + [[nodiscard]] auto VideoFormat() const; + [[nodiscard]] auto DepthScaleInMeters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat; + }; + template + struct consume_Windows_Media_Capture_Frames_IInfraredMediaFrame + { + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto IsIlluminated() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IInfraredMediaFrame; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameArrivedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameArrivedEventArgs; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameFormat + { + [[nodiscard]] auto MajorType() const; + [[nodiscard]] auto Subtype() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto VideoFormat() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameFormat; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameFormat2 + { + [[nodiscard]] auto AudioEncodingProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameFormat2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameReader + { + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto TryAcquireLatestFrame() const; + auto StartAsync() const; + auto StopAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameReader; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameReader2 + { + auto AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; + [[nodiscard]] auto AcquisitionMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameReader2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameReference + { + [[nodiscard]] auto SourceKind() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto SystemRelativeTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto BufferMediaFrame() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto CoordinateSystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameReference; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameReference2 + { + [[nodiscard]] auto AudioMediaFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameReference2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSource + { + [[nodiscard]] auto Info() const; + [[nodiscard]] auto Controller() const; + [[nodiscard]] auto SupportedFormats() const; + [[nodiscard]] auto CurrentFormat() const; + auto SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; + auto FormatChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FormatChanged_revoker = impl::event_revoker::remove_FormatChanged>; + [[nodiscard]] auto FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FormatChanged(winrt::event_token const& token) const noexcept; + auto TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSource; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController + { + auto GetPropertyAsync(param::hstring const& propertyId) const; + auto SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + [[nodiscard]] auto VideoDeviceController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceController; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2 + { + auto GetPropertyByExtendedIdAsync(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetPropertyByExtendedIdAsync(array_view extendedPropertyId, array_view propertyValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3 + { + [[nodiscard]] auto AudioDeviceController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto SourceInfos() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics + { + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto GetDeviceSelector() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MediaStreamType() const; + [[nodiscard]] auto SourceKind() const; + [[nodiscard]] auto SourceGroup() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto CoordinateSystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2 + { + [[nodiscard]] auto ProfileId() const; + [[nodiscard]] auto VideoProfileMediaDescription() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3 + { + auto GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3; + }; + template + struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo4 + { + [[nodiscard]] auto IsShareable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo4; + }; + template + struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameArrivedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameArrivedEventArgs; + }; + template + struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader + { + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto TryAcquireLatestFrame() const; + auto StartAsync() const; + auto StopAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader; + }; + template + struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2 + { + auto AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; + [[nodiscard]] auto AcquisitionMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2; + }; + template + struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference + { + auto TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference; + }; + template + struct consume_Windows_Media_Capture_Frames_IVideoMediaFrame + { + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoFormat() const; + [[nodiscard]] auto SoftwareBitmap() const; + [[nodiscard]] auto Direct3DSurface() const; + [[nodiscard]] auto CameraIntrinsics() const; + [[nodiscard]] auto InfraredMediaFrame() const; + [[nodiscard]] auto DepthMediaFrame() const; + auto GetVideoFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IVideoMediaFrame; + }; + template + struct consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat + { + [[nodiscard]] auto MediaFrameFormat() const; + [[nodiscard]] auto DepthFormat() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a66fb30473f24ec29b85dada19aaa36b112fc446 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.1.h @@ -0,0 +1,228 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Frames_1_H +#define WINRT_Windows_Media_Capture_Frames_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Capture.Frames.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames +{ + struct WINRT_IMPL_EMPTY_BASES IAudioMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioMediaFrame(std::nullptr_t = nullptr) noexcept {} + IAudioMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBufferMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBufferMediaFrame(std::nullptr_t = nullptr) noexcept {} + IBufferMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDepthMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDepthMediaFrame(std::nullptr_t = nullptr) noexcept {} + IDepthMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDepthMediaFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDepthMediaFrame2(std::nullptr_t = nullptr) noexcept {} + IDepthMediaFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDepthMediaFrameFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDepthMediaFrameFormat(std::nullptr_t = nullptr) noexcept {} + IDepthMediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInfraredMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInfraredMediaFrame(std::nullptr_t = nullptr) noexcept {} + IInfraredMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameFormat(std::nullptr_t = nullptr) noexcept {} + IMediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameFormat2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameFormat2(std::nullptr_t = nullptr) noexcept {} + IMediaFrameFormat2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaFrameReader(std::nullptr_t = nullptr) noexcept {} + IMediaFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameReader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameReader2(std::nullptr_t = nullptr) noexcept {} + IMediaFrameReader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaFrameReference(std::nullptr_t = nullptr) noexcept {} + IMediaFrameReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameReference2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameReference2(std::nullptr_t = nullptr) noexcept {} + IMediaFrameReference2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSource(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceController(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceController2(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceController3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceController3(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceController3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceGetPropertyResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceGetPropertyResult(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceGetPropertyResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceGroup(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceGroupStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceGroupStatics(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceGroupStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceInfo(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceInfo2(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceInfo3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceInfo3(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceInfo3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaFrameSourceInfo4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaFrameSourceInfo4(std::nullptr_t = nullptr) noexcept {} + IMediaFrameSourceInfo4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMultiSourceMediaFrameArrivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMultiSourceMediaFrameArrivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMultiSourceMediaFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMultiSourceMediaFrameReader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMultiSourceMediaFrameReader(std::nullptr_t = nullptr) noexcept {} + IMultiSourceMediaFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMultiSourceMediaFrameReader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMultiSourceMediaFrameReader2(std::nullptr_t = nullptr) noexcept {} + IMultiSourceMediaFrameReader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMultiSourceMediaFrameReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMultiSourceMediaFrameReference(std::nullptr_t = nullptr) noexcept {} + IMultiSourceMediaFrameReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoMediaFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoMediaFrame(std::nullptr_t = nullptr) noexcept {} + IVideoMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoMediaFrameFormat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoMediaFrameFormat(std::nullptr_t = nullptr) noexcept {} + IVideoMediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.2.h new file mode 100644 index 0000000000000000000000000000000000000000..47908426b6d19cdff274b8ef692915a711ea54a6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.capture.frames.2.h @@ -0,0 +1,119 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Capture_Frames_2_H +#define WINRT_Windows_Media_Capture_Frames_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Capture.Frames.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames +{ + struct WINRT_IMPL_EMPTY_BASES AudioMediaFrame : winrt::Windows::Media::Capture::Frames::IAudioMediaFrame + { + AudioMediaFrame(std::nullptr_t) noexcept {} + AudioMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IAudioMediaFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BufferMediaFrame : winrt::Windows::Media::Capture::Frames::IBufferMediaFrame + { + BufferMediaFrame(std::nullptr_t) noexcept {} + BufferMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IBufferMediaFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DepthMediaFrame : winrt::Windows::Media::Capture::Frames::IDepthMediaFrame, + impl::require + { + DepthMediaFrame(std::nullptr_t) noexcept {} + DepthMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IDepthMediaFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DepthMediaFrameFormat : winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat + { + DepthMediaFrameFormat(std::nullptr_t) noexcept {} + DepthMediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES InfraredMediaFrame : winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame + { + InfraredMediaFrame(std::nullptr_t) noexcept {} + InfraredMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameArrivedEventArgs : winrt::Windows::Media::Capture::Frames::IMediaFrameArrivedEventArgs + { + MediaFrameArrivedEventArgs(std::nullptr_t) noexcept {} + MediaFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameFormat : winrt::Windows::Media::Capture::Frames::IMediaFrameFormat, + impl::require + { + MediaFrameFormat(std::nullptr_t) noexcept {} + MediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameFormat(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameReader : winrt::Windows::Media::Capture::Frames::IMediaFrameReader, + impl::require + { + MediaFrameReader(std::nullptr_t) noexcept {} + MediaFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameReference : winrt::Windows::Media::Capture::Frames::IMediaFrameReference, + impl::require + { + MediaFrameReference(std::nullptr_t) noexcept {} + MediaFrameReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameReference(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameSource : winrt::Windows::Media::Capture::Frames::IMediaFrameSource + { + MediaFrameSource(std::nullptr_t) noexcept {} + MediaFrameSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameSource(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameSourceController : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController, + impl::require + { + MediaFrameSourceController(std::nullptr_t) noexcept {} + MediaFrameSourceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameSourceGetPropertyResult : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult + { + MediaFrameSourceGetPropertyResult(std::nullptr_t) noexcept {} + MediaFrameSourceGetPropertyResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameSourceGroup : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup + { + MediaFrameSourceGroup(std::nullptr_t) noexcept {} + MediaFrameSourceGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup(ptr, take_ownership_from_abi) {} + static auto FindAllAsync(); + static auto FromIdAsync(param::hstring const& id); + static auto GetDeviceSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaFrameSourceInfo : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo, + impl::require + { + MediaFrameSourceInfo(std::nullptr_t) noexcept {} + MediaFrameSourceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MultiSourceMediaFrameArrivedEventArgs : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameArrivedEventArgs + { + MultiSourceMediaFrameArrivedEventArgs(std::nullptr_t) noexcept {} + MultiSourceMediaFrameArrivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameArrivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MultiSourceMediaFrameReader : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader, + impl::require + { + MultiSourceMediaFrameReader(std::nullptr_t) noexcept {} + MultiSourceMediaFrameReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MultiSourceMediaFrameReference : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReference + { + MultiSourceMediaFrameReference(std::nullptr_t) noexcept {} + MultiSourceMediaFrameReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReference(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoMediaFrame : winrt::Windows::Media::Capture::Frames::IVideoMediaFrame + { + VideoMediaFrame(std::nullptr_t) noexcept {} + VideoMediaFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IVideoMediaFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoMediaFrameFormat : winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat + { + VideoMediaFrameFormat(std::nullptr_t) noexcept {} + VideoMediaFrameFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d47f7ff5344d96453ae4081cfe86b71772fdf6ea --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.0.h @@ -0,0 +1,326 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Casting_0_H +#define WINRT_Windows_Media_Casting_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + struct DevicePickerAppearance; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::UI::Popups +{ + enum class Placement : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Casting +{ + enum class CastingConnectionErrorStatus : int32_t + { + Succeeded = 0, + DeviceDidNotRespond = 1, + DeviceError = 2, + DeviceLocked = 3, + ProtectedPlaybackFailed = 4, + InvalidCastingSource = 5, + Unknown = 6, + }; + enum class CastingConnectionState : int32_t + { + Disconnected = 0, + Connected = 1, + Rendering = 2, + Disconnecting = 3, + Connecting = 4, + }; + enum class CastingPlaybackTypes : uint32_t + { + None = 0, + Audio = 0x1, + Video = 0x2, + Picture = 0x4, + }; + struct ICastingConnection; + struct ICastingConnectionErrorOccurredEventArgs; + struct ICastingDevice; + struct ICastingDevicePicker; + struct ICastingDevicePickerFilter; + struct ICastingDeviceSelectedEventArgs; + struct ICastingDeviceStatics; + struct ICastingSource; + struct CastingConnection; + struct CastingConnectionErrorOccurredEventArgs; + struct CastingDevice; + struct CastingDevicePicker; + struct CastingDevicePickerFilter; + struct CastingDeviceSelectedEventArgs; + struct CastingSource; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingConnectionErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingDevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingDevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingDeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingConnectionErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingConnectionState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.CastingPlaybackTypes"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingConnectionErrorOccurredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingDevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingDevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingDeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Casting.ICastingSource"; + template <> inline constexpr guid guid_v{ 0xCD951653,0xC2F1,0x4498,{ 0x8B,0x78,0x5F,0xB4,0xCD,0x36,0x40,0xDD } }; // CD951653-C2F1-4498-8B78-5FB4CD3640DD + template <> inline constexpr guid guid_v{ 0xA7FB3C69,0x8719,0x4F00,{ 0x81,0xFB,0x96,0x18,0x63,0xC7,0x9A,0x32 } }; // A7FB3C69-8719-4F00-81FB-961863C79A32 + template <> inline constexpr guid guid_v{ 0xDE721C83,0x4A43,0x4AD1,{ 0xA6,0xD2,0x24,0x92,0xA7,0x96,0xC3,0xF2 } }; // DE721C83-4A43-4AD1-A6D2-2492A796C3F2 + template <> inline constexpr guid guid_v{ 0xDCD39924,0x0591,0x49BE,{ 0xAA,0xCB,0x4B,0x82,0xEE,0x75,0x6A,0x95 } }; // DCD39924-0591-49BE-AACB-4B82EE756A95 + template <> inline constexpr guid guid_v{ 0xBE8C619C,0xB563,0x4354,{ 0xAE,0x33,0x9F,0xDA,0xAD,0x8C,0x62,0x91 } }; // BE8C619C-B563-4354-AE33-9FDAAD8C6291 + template <> inline constexpr guid guid_v{ 0xDC439E86,0xDD57,0x4D0D,{ 0x94,0x00,0xAF,0x45,0xE4,0xFB,0x36,0x63 } }; // DC439E86-DD57-4D0D-9400-AF45E4FB3663 + template <> inline constexpr guid guid_v{ 0xE7D958D7,0x4D13,0x4237,{ 0xA3,0x65,0x4C,0x4F,0x6A,0x4C,0xFD,0x2F } }; // E7D958D7-4D13-4237-A365-4C4F6A4CFD2F + template <> inline constexpr guid guid_v{ 0xF429EA72,0x3467,0x47E6,{ 0xA0,0x27,0x52,0x29,0x23,0xE9,0xD7,0x27 } }; // F429EA72-3467-47E6-A027-522923E9D727 + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingDevicePicker; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingDevicePickerFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingDeviceSelectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Casting::ICastingSource; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall put_Source(void*) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ErrorOccurred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ErrorOccurred(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall RequestStartCastingAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_Icon(void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedCastingPlaybackTypesAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreateCastingConnection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Filter(void**) noexcept = 0; + virtual int32_t __stdcall get_Appearance(void**) noexcept = 0; + virtual int32_t __stdcall add_CastingDeviceSelected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CastingDeviceSelected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CastingDevicePickerDismissed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CastingDevicePickerDismissed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Show(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall ShowWithPlacement(winrt::Windows::Foundation::Rect, int32_t) noexcept = 0; + virtual int32_t __stdcall Hide() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportsAudio(bool*) noexcept = 0; + virtual int32_t __stdcall put_SupportsAudio(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportsVideo(bool*) noexcept = 0; + virtual int32_t __stdcall put_SupportsVideo(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportsPictures(bool*) noexcept = 0; + virtual int32_t __stdcall put_SupportsPictures(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportedCastingSources(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedCastingDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceSelectorFromCastingSourceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeviceInfoSupportsCastingAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreferredSourceUri(void**) noexcept = 0; + virtual int32_t __stdcall put_PreferredSourceUri(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Casting_ICastingConnection + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto Device() const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Casting::CastingSource const& value) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + auto RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const; + auto DisconnectAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingConnection; + }; + template + struct consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs + { + [[nodiscard]] auto ErrorStatus() const; + [[nodiscard]] auto Message() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs; + }; + template + struct consume_Windows_Media_Casting_ICastingDevice + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Icon() const; + auto GetSupportedCastingPlaybackTypesAsync() const; + auto CreateCastingConnection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingDevice; + }; + template + struct consume_Windows_Media_Casting_ICastingDevicePicker + { + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + auto CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CastingDeviceSelected_revoker = impl::event_revoker::remove_CastingDeviceSelected>; + [[nodiscard]] auto CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CastingDeviceSelected(winrt::event_token const& token) const noexcept; + auto CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CastingDevicePickerDismissed_revoker = impl::event_revoker::remove_CastingDevicePickerDismissed>; + [[nodiscard]] auto CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto Hide() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingDevicePicker; + }; + template + struct consume_Windows_Media_Casting_ICastingDevicePickerFilter + { + [[nodiscard]] auto SupportsAudio() const; + auto SupportsAudio(bool value) const; + [[nodiscard]] auto SupportsVideo() const; + auto SupportsVideo(bool value) const; + [[nodiscard]] auto SupportsPictures() const; + auto SupportsPictures(bool value) const; + [[nodiscard]] auto SupportedCastingSources() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingDevicePickerFilter; + }; + template + struct consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs + { + [[nodiscard]] auto SelectedCastingDevice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs; + }; + template + struct consume_Windows_Media_Casting_ICastingDeviceStatics + { + auto GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const; + auto GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const; + auto FromIdAsync(param::hstring const& value) const; + auto DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingDeviceStatics; + }; + template + struct consume_Windows_Media_Casting_ICastingSource + { + [[nodiscard]] auto PreferredSourceUri() const; + auto PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Casting_ICastingSource; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6edb00a3033fdec24507681c49f3f5f8f798c914 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.1.h @@ -0,0 +1,71 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Casting_1_H +#define WINRT_Windows_Media_Casting_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Casting.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Casting +{ + struct WINRT_IMPL_EMPTY_BASES ICastingConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICastingConnection(std::nullptr_t = nullptr) noexcept {} + ICastingConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingConnectionErrorOccurredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingConnectionErrorOccurredEventArgs(std::nullptr_t = nullptr) noexcept {} + ICastingConnectionErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingDevice(std::nullptr_t = nullptr) noexcept {} + ICastingDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingDevicePicker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingDevicePicker(std::nullptr_t = nullptr) noexcept {} + ICastingDevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingDevicePickerFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingDevicePickerFilter(std::nullptr_t = nullptr) noexcept {} + ICastingDevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingDeviceSelectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingDeviceSelectedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICastingDeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingDeviceStatics(std::nullptr_t = nullptr) noexcept {} + ICastingDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICastingSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICastingSource(std::nullptr_t = nullptr) noexcept {} + ICastingSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5371da05ff4c645d37ed1313b6a5c814350a02d9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.casting.2.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Casting_2_H +#define WINRT_Windows_Media_Casting_2_H +#include "winrt/impl/Windows.Devices.Enumeration.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Casting.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Casting +{ + struct WINRT_IMPL_EMPTY_BASES CastingConnection : winrt::Windows::Media::Casting::ICastingConnection + { + CastingConnection(std::nullptr_t) noexcept {} + CastingConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CastingConnectionErrorOccurredEventArgs : winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs + { + CastingConnectionErrorOccurredEventArgs(std::nullptr_t) noexcept {} + CastingConnectionErrorOccurredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CastingDevice : winrt::Windows::Media::Casting::ICastingDevice + { + CastingDevice(std::nullptr_t) noexcept {} + CastingDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type); + static auto GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource); + static auto FromIdAsync(param::hstring const& value); + static auto DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device); + }; + struct WINRT_IMPL_EMPTY_BASES CastingDevicePicker : winrt::Windows::Media::Casting::ICastingDevicePicker + { + CastingDevicePicker(std::nullptr_t) noexcept {} + CastingDevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingDevicePicker(ptr, take_ownership_from_abi) {} + CastingDevicePicker(); + }; + struct WINRT_IMPL_EMPTY_BASES CastingDevicePickerFilter : winrt::Windows::Media::Casting::ICastingDevicePickerFilter + { + CastingDevicePickerFilter(std::nullptr_t) noexcept {} + CastingDevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingDevicePickerFilter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CastingDeviceSelectedEventArgs : winrt::Windows::Media::Casting::ICastingDeviceSelectedEventArgs + { + CastingDeviceSelectedEventArgs(std::nullptr_t) noexcept {} + CastingDeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingDeviceSelectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CastingSource : winrt::Windows::Media::Casting::ICastingSource + { + CastingSource(std::nullptr_t) noexcept {} + CastingSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Casting::ICastingSource(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.0.h new file mode 100644 index 0000000000000000000000000000000000000000..969c14ee42136b1fd89be91b038a293313d1bf81 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.0.h @@ -0,0 +1,151 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ClosedCaptioning_0_H +#define WINRT_Windows_Media_ClosedCaptioning_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Media::ClosedCaptioning +{ + enum class ClosedCaptionColor : int32_t + { + Default = 0, + White = 1, + Black = 2, + Red = 3, + Green = 4, + Blue = 5, + Yellow = 6, + Magenta = 7, + Cyan = 8, + }; + enum class ClosedCaptionEdgeEffect : int32_t + { + Default = 0, + None = 1, + Raised = 2, + Depressed = 3, + Uniform = 4, + DropShadow = 5, + }; + enum class ClosedCaptionOpacity : int32_t + { + Default = 0, + OneHundredPercent = 1, + SeventyFivePercent = 2, + TwentyFivePercent = 3, + ZeroPercent = 4, + }; + enum class ClosedCaptionSize : int32_t + { + Default = 0, + FiftyPercent = 1, + OneHundredPercent = 2, + OneHundredFiftyPercent = 3, + TwoHundredPercent = 4, + }; + enum class ClosedCaptionStyle : int32_t + { + Default = 0, + MonospacedWithSerifs = 1, + ProportionalWithSerifs = 2, + MonospacedWithoutSerifs = 3, + ProportionalWithoutSerifs = 4, + Casual = 5, + Cursive = 6, + SmallCapitals = 7, + }; + struct IClosedCaptionPropertiesStatics; + struct IClosedCaptionPropertiesStatics2; + struct ClosedCaptionProperties; +} +namespace winrt::impl +{ + 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 = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionColor"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionOpacity"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionSize"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionStyle"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.IClosedCaptionPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.IClosedCaptionPropertiesStatics2"; + template <> inline constexpr guid guid_v{ 0x10AA1F84,0xCC30,0x4141,{ 0xB5,0x03,0x52,0x72,0x28,0x9E,0x0C,0x20 } }; // 10AA1F84-CC30-4141-B503-5272289E0C20 + template <> inline constexpr guid guid_v{ 0x9DE26870,0x37DE,0x4197,{ 0x88,0x45,0x9A,0x48,0xDC,0x5A,0xC3,0x17 } }; // 9DE26870-37DE-4197-8845-9A48DC5AC317 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FontColor(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ComputedFontColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall get_FontOpacity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FontSize(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FontStyle(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FontEffect(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BackgroundColor(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ComputedBackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall get_BackgroundOpacity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RegionColor(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ComputedRegionColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall get_RegionOpacity(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PropertiesChanged(winrt::event_token) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics + { + [[nodiscard]] auto FontColor() const; + [[nodiscard]] auto ComputedFontColor() const; + [[nodiscard]] auto FontOpacity() const; + [[nodiscard]] auto FontSize() const; + [[nodiscard]] auto FontStyle() const; + [[nodiscard]] auto FontEffect() const; + [[nodiscard]] auto BackgroundColor() const; + [[nodiscard]] auto ComputedBackgroundColor() const; + [[nodiscard]] auto BackgroundOpacity() const; + [[nodiscard]] auto RegionColor() const; + [[nodiscard]] auto ComputedRegionColor() const; + [[nodiscard]] auto RegionOpacity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics; + }; + template + struct consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics2 + { + auto PropertiesChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.1.h new file mode 100644 index 0000000000000000000000000000000000000000..28d3e07e95e932e7489eaceefa879dc18837d738 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ClosedCaptioning_1_H +#define WINRT_Windows_Media_ClosedCaptioning_1_H +#include "winrt/impl/Windows.Media.ClosedCaptioning.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::ClosedCaptioning +{ + struct WINRT_IMPL_EMPTY_BASES IClosedCaptionPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClosedCaptionPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IClosedCaptionPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IClosedCaptionPropertiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IClosedCaptionPropertiesStatics2(std::nullptr_t = nullptr) noexcept {} + IClosedCaptionPropertiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6abb9d9cb696e16000d8405fb8dceaa333d5483f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.closedcaptioning.2.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ClosedCaptioning_2_H +#define WINRT_Windows_Media_ClosedCaptioning_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.ClosedCaptioning.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::ClosedCaptioning +{ + struct ClosedCaptionProperties + { + ClosedCaptionProperties() = delete; + [[nodiscard]] static auto FontColor(); + [[nodiscard]] static auto ComputedFontColor(); + [[nodiscard]] static auto FontOpacity(); + [[nodiscard]] static auto FontSize(); + [[nodiscard]] static auto FontStyle(); + [[nodiscard]] static auto FontEffect(); + [[nodiscard]] static auto BackgroundColor(); + [[nodiscard]] static auto ComputedBackgroundColor(); + [[nodiscard]] static auto BackgroundOpacity(); + [[nodiscard]] static auto RegionColor(); + [[nodiscard]] static auto ComputedRegionColor(); + [[nodiscard]] static auto RegionOpacity(); + static auto PropertiesChanged(winrt::Windows::Foundation::EventHandler const& handler); + using PropertiesChanged_revoker = impl::factory_event_revoker::remove_PropertiesChanged>; + [[nodiscard]] static auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PropertiesChanged(winrt::event_token const& token); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e41afeb01ed85c07b9f218e6afb01e5dbe06c613 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.0.h @@ -0,0 +1,192 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ContentRestrictions_0_H +#define WINRT_Windows_Media_ContentRestrictions_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Media::ContentRestrictions +{ + enum class ContentAccessRestrictionLevel : int32_t + { + Allow = 0, + Warn = 1, + Block = 2, + Hide = 3, + }; + enum class RatedContentCategory : int32_t + { + General = 0, + Application = 1, + Game = 2, + Movie = 3, + Television = 4, + Music = 5, + }; + struct IContentRestrictionsBrowsePolicy; + struct IRatedContentDescription; + struct IRatedContentDescriptionFactory; + struct IRatedContentRestrictions; + struct IRatedContentRestrictionsFactory; + struct ContentRestrictionsBrowsePolicy; + struct RatedContentDescription; + struct RatedContentRestrictions; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.ContentRestrictionsBrowsePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.RatedContentDescription"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.RatedContentRestrictions"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.ContentAccessRestrictionLevel"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.RatedContentCategory"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.IContentRestrictionsBrowsePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.IRatedContentDescription"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.IRatedContentDescriptionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.IRatedContentRestrictions"; + template <> inline constexpr auto& name_v = L"Windows.Media.ContentRestrictions.IRatedContentRestrictionsFactory"; + template <> inline constexpr guid guid_v{ 0x8C0133A4,0x442E,0x461A,{ 0x87,0x57,0xFA,0xD2,0xF5,0xBD,0x37,0xE4 } }; // 8C0133A4-442E-461A-8757-FAD2F5BD37E4 + template <> inline constexpr guid guid_v{ 0x694866DF,0x66B2,0x4DC3,{ 0x96,0xB1,0xF0,0x90,0xEE,0xDE,0xE2,0x55 } }; // 694866DF-66B2-4DC3-96B1-F090EEDEE255 + template <> inline constexpr guid guid_v{ 0x2E38DF62,0x9B90,0x4FA6,{ 0x89,0xC1,0x4B,0x8D,0x2F,0xFB,0x35,0x73 } }; // 2E38DF62-9B90-4FA6-89C1-4B8D2FFB3573 + template <> inline constexpr guid guid_v{ 0x3F7F23CB,0xBA07,0x4401,{ 0xA4,0x9D,0x8B,0x92,0x22,0x20,0x57,0x23 } }; // 3F7F23CB-BA07-4401-A49D-8B9222205723 + template <> inline constexpr guid guid_v{ 0xFB4B2996,0xC3BD,0x4910,{ 0x96,0x19,0x97,0xCF,0xD0,0x69,0x4D,0x56 } }; // FB4B2996-C3BD-4910-9619-97CFD0694D56 + template <> struct default_interface{ using type = winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ContentRestrictions::IRatedContentDescription; }; + template <> struct default_interface{ using type = winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GeographicRegion(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxBrowsableAgeRating(void**) noexcept = 0; + virtual int32_t __stdcall get_PreferredAgeRating(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall put_Id(void*) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Image(void**) noexcept = 0; + virtual int32_t __stdcall put_Image(void*) noexcept = 0; + virtual int32_t __stdcall get_Category(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Category(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Ratings(void**) noexcept = 0; + virtual int32_t __stdcall put_Ratings(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetBrowsePolicyAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetRestrictionLevelAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestContentAccessAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_RestrictionsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RestrictionsChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithMaxAgeRating(uint32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy + { + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto MaxBrowsableAgeRating() const; + [[nodiscard]] auto PreferredAgeRating() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy; + }; + template + struct consume_Windows_Media_ContentRestrictions_IRatedContentDescription + { + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Category() const; + auto Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const; + [[nodiscard]] auto Ratings() const; + auto Ratings(param::vector const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ContentRestrictions_IRatedContentDescription; + }; + template + struct consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory + { + auto Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory; + }; + template + struct consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions + { + auto GetBrowsePolicyAsync() const; + auto GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; + auto RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; + auto RestrictionsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using RestrictionsChanged_revoker = impl::event_revoker::remove_RestrictionsChanged>; + [[nodiscard]] auto RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RestrictionsChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions; + }; + template + struct consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory + { + auto CreateWithMaxAgeRating(uint32_t maxAgeRating) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4d275b29206bde453880eeb43699d8079e12ec66 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ContentRestrictions_1_H +#define WINRT_Windows_Media_ContentRestrictions_1_H +#include "winrt/impl/Windows.Media.ContentRestrictions.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::ContentRestrictions +{ + struct WINRT_IMPL_EMPTY_BASES IContentRestrictionsBrowsePolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IContentRestrictionsBrowsePolicy(std::nullptr_t = nullptr) noexcept {} + IContentRestrictionsBrowsePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRatedContentDescription : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRatedContentDescription(std::nullptr_t = nullptr) noexcept {} + IRatedContentDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRatedContentDescriptionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRatedContentDescriptionFactory(std::nullptr_t = nullptr) noexcept {} + IRatedContentDescriptionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRatedContentRestrictions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRatedContentRestrictions(std::nullptr_t = nullptr) noexcept {} + IRatedContentRestrictions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRatedContentRestrictionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRatedContentRestrictionsFactory(std::nullptr_t = nullptr) noexcept {} + IRatedContentRestrictionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1a71e5b039980abaaf1634bf5e65d75000c12741 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.contentrestrictions.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_ContentRestrictions_2_H +#define WINRT_Windows_Media_ContentRestrictions_2_H +#include "winrt/impl/Windows.Media.ContentRestrictions.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::ContentRestrictions +{ + struct WINRT_IMPL_EMPTY_BASES ContentRestrictionsBrowsePolicy : winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy + { + ContentRestrictionsBrowsePolicy(std::nullptr_t) noexcept {} + ContentRestrictionsBrowsePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RatedContentDescription : winrt::Windows::Media::ContentRestrictions::IRatedContentDescription + { + RatedContentDescription(std::nullptr_t) noexcept {} + RatedContentDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ContentRestrictions::IRatedContentDescription(ptr, take_ownership_from_abi) {} + RatedContentDescription(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category); + }; + struct WINRT_IMPL_EMPTY_BASES RatedContentRestrictions : winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions + { + RatedContentRestrictions(std::nullptr_t) noexcept {} + RatedContentRestrictions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions(ptr, take_ownership_from_abi) {} + RatedContentRestrictions(); + explicit RatedContentRestrictions(uint32_t maxAgeRating); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cc6f9be1d146f076a5021af31dbe6d954ecb0310 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.0.h @@ -0,0 +1,447 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Control_0_H +#define WINRT_Windows_Media_Control_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + enum class MediaPlaybackAutoRepeatMode : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Media::Control +{ + enum class GlobalSystemMediaTransportControlsSessionPlaybackStatus : int32_t + { + Closed = 0, + Opened = 1, + Changing = 2, + Stopped = 3, + Playing = 4, + Paused = 5, + }; + struct ICurrentSessionChangedEventArgs; + struct IGlobalSystemMediaTransportControlsSession; + struct IGlobalSystemMediaTransportControlsSessionManager; + struct IGlobalSystemMediaTransportControlsSessionManagerStatics; + struct IGlobalSystemMediaTransportControlsSessionMediaProperties; + struct IGlobalSystemMediaTransportControlsSessionPlaybackControls; + struct IGlobalSystemMediaTransportControlsSessionPlaybackInfo; + struct IGlobalSystemMediaTransportControlsSessionTimelineProperties; + struct IMediaPropertiesChangedEventArgs; + struct IPlaybackInfoChangedEventArgs; + struct ISessionsChangedEventArgs; + struct ITimelinePropertiesChangedEventArgs; + struct CurrentSessionChangedEventArgs; + struct GlobalSystemMediaTransportControlsSession; + struct GlobalSystemMediaTransportControlsSessionManager; + struct GlobalSystemMediaTransportControlsSessionMediaProperties; + struct GlobalSystemMediaTransportControlsSessionPlaybackControls; + struct GlobalSystemMediaTransportControlsSessionPlaybackInfo; + struct GlobalSystemMediaTransportControlsSessionTimelineProperties; + struct MediaPropertiesChangedEventArgs; + struct PlaybackInfoChangedEventArgs; + struct SessionsChangedEventArgs; + struct TimelinePropertiesChangedEventArgs; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.CurrentSessionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackControls"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionTimelineProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.MediaPropertiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.PlaybackInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.SessionsChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.TimelinePropertiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.ICurrentSessionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionMediaProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionPlaybackControls"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionPlaybackInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IGlobalSystemMediaTransportControlsSessionTimelineProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IMediaPropertiesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.IPlaybackInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.ISessionsChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Control.ITimelinePropertiesChangedEventArgs"; + template <> inline constexpr guid guid_v{ 0x6969CB39,0x0BFA,0x5FE0,{ 0x8D,0x73,0x09,0xCC,0x5E,0x54,0x08,0xE1 } }; // 6969CB39-0BFA-5FE0-8D73-09CC5E5408E1 + template <> inline constexpr guid guid_v{ 0x7148C835,0x9B14,0x5AE2,{ 0xAB,0x85,0xDC,0x9B,0x1C,0x14,0xE1,0xA8 } }; // 7148C835-9B14-5AE2-AB85-DC9B1C14E1A8 + template <> inline constexpr guid guid_v{ 0xCACE8EAC,0xE86E,0x504A,{ 0xAB,0x31,0x5F,0xF8,0xFF,0x1B,0xCE,0x49 } }; // CACE8EAC-E86E-504A-AB31-5FF8FF1BCE49 + template <> inline constexpr guid guid_v{ 0x2050C4EE,0x11A0,0x57DE,{ 0xAE,0xD7,0xC9,0x7C,0x70,0x33,0x82,0x45 } }; // 2050C4EE-11A0-57DE-AED7-C97C70338245 + template <> inline constexpr guid guid_v{ 0x68856CF6,0xADB4,0x54B2,{ 0xAC,0x16,0x05,0x83,0x79,0x07,0xAC,0xB6 } }; // 68856CF6-ADB4-54B2-AC16-05837907ACB6 + template <> inline constexpr guid guid_v{ 0x6501A3E6,0xBC7A,0x503A,{ 0xBB,0x1B,0x68,0xF1,0x58,0xF3,0xFB,0x03 } }; // 6501A3E6-BC7A-503A-BB1B-68F158F3FB03 + template <> inline constexpr guid guid_v{ 0x94B4B6CF,0xE8BA,0x51AD,{ 0x87,0xA7,0xC1,0x0A,0xDE,0x10,0x61,0x27 } }; // 94B4B6CF-E8BA-51AD-87A7-C10ADE106127 + template <> inline constexpr guid guid_v{ 0xEDE34136,0x6F25,0x588D,{ 0x8E,0xCF,0xEA,0x5B,0x67,0x35,0xAA,0xA5 } }; // EDE34136-6F25-588D-8ECF-EA5B6735AAA5 + template <> inline constexpr guid guid_v{ 0x7D3741CB,0xADF0,0x5CEF,{ 0x91,0xBA,0xCF,0xAB,0xCD,0xD7,0x76,0x78 } }; // 7D3741CB-ADF0-5CEF-91BA-CFABCDD77678 + template <> inline constexpr guid guid_v{ 0x786756C2,0xBC0D,0x50A5,{ 0x88,0x07,0x05,0x42,0x91,0xFE,0xF1,0x39 } }; // 786756C2-BC0D-50A5-8807-054291FEF139 + template <> inline constexpr guid guid_v{ 0xBBF0CD32,0x42C4,0x5A58,{ 0xB3,0x17,0xF3,0x4B,0xBF,0xBD,0x26,0xE0 } }; // BBF0CD32-42C4-5A58-B317-F34BBFBD26E0 + template <> inline constexpr guid guid_v{ 0x29033A2F,0xC923,0x5A77,{ 0xBC,0xAF,0x05,0x5F,0xF4,0x15,0xAD,0x32 } }; // 29033A2F-C923-5A77-BCAF-055FF415AD32 + template <> struct default_interface{ using type = winrt::Windows::Media::Control::ICurrentSessionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IMediaPropertiesChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::IPlaybackInfoChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::ISessionsChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Control::ITimelinePropertiesChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceAppUserModelId(void**) noexcept = 0; + virtual int32_t __stdcall TryGetMediaPropertiesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetTimelineProperties(void**) noexcept = 0; + virtual int32_t __stdcall GetPlaybackInfo(void**) noexcept = 0; + virtual int32_t __stdcall TryPlayAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryPauseAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryStopAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryRecordAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryFastForwardAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryRewindAsync(void**) noexcept = 0; + virtual int32_t __stdcall TrySkipNextAsync(void**) noexcept = 0; + virtual int32_t __stdcall TrySkipPreviousAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryChangeChannelUpAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryChangeChannelDownAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryTogglePlayPauseAsync(void**) noexcept = 0; + virtual int32_t __stdcall TryChangeAutoRepeatModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryChangePlaybackRateAsync(double, void**) noexcept = 0; + virtual int32_t __stdcall TryChangeShuffleActiveAsync(bool, void**) noexcept = 0; + virtual int32_t __stdcall TryChangePlaybackPositionAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall add_TimelinePropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TimelinePropertiesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackInfoChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackInfoChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MediaPropertiesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaPropertiesChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentSession(void**) noexcept = 0; + virtual int32_t __stdcall GetSessions(void**) noexcept = 0; + virtual int32_t __stdcall add_CurrentSessionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentSessionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SessionsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SessionsChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Subtitle(void**) noexcept = 0; + virtual int32_t __stdcall get_AlbumArtist(void**) noexcept = 0; + virtual int32_t __stdcall get_Artist(void**) noexcept = 0; + virtual int32_t __stdcall get_AlbumTitle(void**) noexcept = 0; + virtual int32_t __stdcall get_TrackNumber(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Genres(void**) noexcept = 0; + virtual int32_t __stdcall get_AlbumTrackCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PlaybackType(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPlayEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPauseEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStopEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsRecordEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsFastForwardEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsRewindEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsNextEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPreviousEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsChannelUpEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsChannelDownEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPlayPauseToggleEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsShuffleEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsRepeatEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPlaybackRateEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsPlaybackPositionEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Controls(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PlaybackType(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoRepeatMode(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackRate(void**) noexcept = 0; + virtual int32_t __stdcall get_IsShuffleActive(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_EndTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MinSeekTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxSeekTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_LastUpdatedTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template + struct consume_Windows_Media_Control_ICurrentSessionChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_ICurrentSessionChangedEventArgs; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession + { + [[nodiscard]] auto SourceAppUserModelId() const; + auto TryGetMediaPropertiesAsync() const; + auto GetTimelineProperties() const; + auto GetPlaybackInfo() const; + auto TryPlayAsync() const; + auto TryPauseAsync() const; + auto TryStopAsync() const; + auto TryRecordAsync() const; + auto TryFastForwardAsync() const; + auto TryRewindAsync() const; + auto TrySkipNextAsync() const; + auto TrySkipPreviousAsync() const; + auto TryChangeChannelUpAsync() const; + auto TryChangeChannelDownAsync() const; + auto TryTogglePlayPauseAsync() const; + auto TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const; + auto TryChangePlaybackRateAsync(double requestedPlaybackRate) const; + auto TryChangeShuffleActiveAsync(bool requestedShuffleState) const; + auto TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const; + auto TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TimelinePropertiesChanged_revoker = impl::event_revoker::remove_TimelinePropertiesChanged>; + [[nodiscard]] auto TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimelinePropertiesChanged(winrt::event_token const& token) const noexcept; + auto PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlaybackInfoChanged_revoker = impl::event_revoker::remove_PlaybackInfoChanged>; + [[nodiscard]] auto PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackInfoChanged(winrt::event_token const& token) const noexcept; + auto MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MediaPropertiesChanged_revoker = impl::event_revoker::remove_MediaPropertiesChanged>; + [[nodiscard]] auto MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaPropertiesChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager + { + auto GetCurrentSession() const; + auto GetSessions() const; + auto CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CurrentSessionChanged_revoker = impl::event_revoker::remove_CurrentSessionChanged>; + [[nodiscard]] auto CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentSessionChanged(winrt::event_token const& token) const noexcept; + auto SessionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SessionsChanged_revoker = impl::event_revoker::remove_SessionsChanged>; + [[nodiscard]] auto SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionsChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics + { + auto RequestAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties + { + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Subtitle() const; + [[nodiscard]] auto AlbumArtist() const; + [[nodiscard]] auto Artist() const; + [[nodiscard]] auto AlbumTitle() const; + [[nodiscard]] auto TrackNumber() const; + [[nodiscard]] auto Genres() const; + [[nodiscard]] auto AlbumTrackCount() const; + [[nodiscard]] auto PlaybackType() const; + [[nodiscard]] auto Thumbnail() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls + { + [[nodiscard]] auto IsPlayEnabled() const; + [[nodiscard]] auto IsPauseEnabled() const; + [[nodiscard]] auto IsStopEnabled() const; + [[nodiscard]] auto IsRecordEnabled() const; + [[nodiscard]] auto IsFastForwardEnabled() const; + [[nodiscard]] auto IsRewindEnabled() const; + [[nodiscard]] auto IsNextEnabled() const; + [[nodiscard]] auto IsPreviousEnabled() const; + [[nodiscard]] auto IsChannelUpEnabled() const; + [[nodiscard]] auto IsChannelDownEnabled() const; + [[nodiscard]] auto IsPlayPauseToggleEnabled() const; + [[nodiscard]] auto IsShuffleEnabled() const; + [[nodiscard]] auto IsRepeatEnabled() const; + [[nodiscard]] auto IsPlaybackRateEnabled() const; + [[nodiscard]] auto IsPlaybackPositionEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo + { + [[nodiscard]] auto Controls() const; + [[nodiscard]] auto PlaybackStatus() const; + [[nodiscard]] auto PlaybackType() const; + [[nodiscard]] auto AutoRepeatMode() const; + [[nodiscard]] auto PlaybackRate() const; + [[nodiscard]] auto IsShuffleActive() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo; + }; + template + struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties + { + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto EndTime() const; + [[nodiscard]] auto MinSeekTime() const; + [[nodiscard]] auto MaxSeekTime() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto LastUpdatedTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties; + }; + template + struct consume_Windows_Media_Control_IMediaPropertiesChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IMediaPropertiesChangedEventArgs; + }; + template + struct consume_Windows_Media_Control_IPlaybackInfoChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_IPlaybackInfoChangedEventArgs; + }; + template + struct consume_Windows_Media_Control_ISessionsChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_ISessionsChangedEventArgs; + }; + template + struct consume_Windows_Media_Control_ITimelinePropertiesChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Control_ITimelinePropertiesChangedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.1.h new file mode 100644 index 0000000000000000000000000000000000000000..cebfcd44ef5ea98a52da11688be7a53c597fbbe0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Control_1_H +#define WINRT_Windows_Media_Control_1_H +#include "winrt/impl/Windows.Media.Control.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Control +{ + struct WINRT_IMPL_EMPTY_BASES ICurrentSessionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentSessionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICurrentSessionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSession(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionManager(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionMediaProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionMediaProperties(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionMediaProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionPlaybackControls : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionPlaybackControls(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionPlaybackControls(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionPlaybackInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionPlaybackInfo(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionPlaybackInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IGlobalSystemMediaTransportControlsSessionTimelineProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGlobalSystemMediaTransportControlsSessionTimelineProperties(std::nullptr_t = nullptr) noexcept {} + IGlobalSystemMediaTransportControlsSessionTimelineProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPropertiesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPropertiesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackInfoChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackInfoChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlaybackInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISessionsChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISessionsChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISessionsChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimelinePropertiesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimelinePropertiesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ITimelinePropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.2.h new file mode 100644 index 0000000000000000000000000000000000000000..20f6a2ee25b07277f49fecf5fb17b2241a6d1c19 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.control.2.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Control_2_H +#define WINRT_Windows_Media_Control_2_H +#include "winrt/impl/Windows.Media.Control.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Control +{ + struct WINRT_IMPL_EMPTY_BASES CurrentSessionChangedEventArgs : winrt::Windows::Media::Control::ICurrentSessionChangedEventArgs + { + CurrentSessionChangedEventArgs(std::nullptr_t) noexcept {} + CurrentSessionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::ICurrentSessionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSession : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession + { + GlobalSystemMediaTransportControlsSession(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSessionManager : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager + { + GlobalSystemMediaTransportControlsSessionManager(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSessionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager(ptr, take_ownership_from_abi) {} + static auto RequestAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSessionMediaProperties : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties + { + GlobalSystemMediaTransportControlsSessionMediaProperties(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSessionMediaProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSessionPlaybackControls : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls + { + GlobalSystemMediaTransportControlsSessionPlaybackControls(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSessionPlaybackControls(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSessionPlaybackInfo : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo + { + GlobalSystemMediaTransportControlsSessionPlaybackInfo(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSessionPlaybackInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES GlobalSystemMediaTransportControlsSessionTimelineProperties : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties + { + GlobalSystemMediaTransportControlsSessionTimelineProperties(std::nullptr_t) noexcept {} + GlobalSystemMediaTransportControlsSessionTimelineProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPropertiesChangedEventArgs : winrt::Windows::Media::Control::IMediaPropertiesChangedEventArgs + { + MediaPropertiesChangedEventArgs(std::nullptr_t) noexcept {} + MediaPropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IMediaPropertiesChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackInfoChangedEventArgs : winrt::Windows::Media::Control::IPlaybackInfoChangedEventArgs + { + PlaybackInfoChangedEventArgs(std::nullptr_t) noexcept {} + PlaybackInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::IPlaybackInfoChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SessionsChangedEventArgs : winrt::Windows::Media::Control::ISessionsChangedEventArgs + { + SessionsChangedEventArgs(std::nullptr_t) noexcept {} + SessionsChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::ISessionsChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimelinePropertiesChangedEventArgs : winrt::Windows::Media::Control::ITimelinePropertiesChangedEventArgs + { + TimelinePropertiesChangedEventArgs(std::nullptr_t) noexcept {} + TimelinePropertiesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Control::ITimelinePropertiesChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e1919c099e300418aaa9169b43ecb43662ef8a84 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.0.h @@ -0,0 +1,3690 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_0_H +#define WINRT_Windows_Media_Core_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::AppService +{ + struct AppServiceConnection; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IMap; + struct PropertySet; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + struct CapturedFrameControlValues; + struct VideoStreamConfiguration; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames +{ + struct MediaFrameSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + struct VideoDeviceController; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct IVideoEffectDefinition; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct AudioEncodingProperties; + struct TimedMetadataEncodingProperties; + struct VideoEncodingProperties; +} +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + struct MediaPlaybackItem; +} +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + struct MediaProtectionManager; +} +WINRT_EXPORT namespace winrt::Windows::Media::Streaming::Adaptive +{ + struct AdaptiveMediaSource; +} +WINRT_EXPORT namespace winrt::Windows::Networking::BackgroundTransfer +{ + struct DownloadOperation; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::FileProperties +{ + struct MusicProperties; + struct VideoProperties; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct Buffer; + struct IBuffer; + struct IInputStream; + struct IRandomAccessStream; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + enum class AudioDecoderDegradation : int32_t + { + None = 0, + DownmixTo2Channels = 1, + DownmixTo6Channels = 2, + DownmixTo8Channels = 3, + }; + enum class AudioDecoderDegradationReason : int32_t + { + None = 0, + LicensingRequirement = 1, + SpatialAudioNotSupported = 2, + }; + enum class CodecCategory : int32_t + { + Encoder = 0, + Decoder = 1, + }; + enum class CodecKind : int32_t + { + Audio = 0, + Video = 1, + }; + enum class FaceDetectionMode : int32_t + { + HighPerformance = 0, + Balanced = 1, + HighQuality = 2, + }; + enum class MediaDecoderStatus : int32_t + { + FullySupported = 0, + UnsupportedSubtype = 1, + UnsupportedEncoderProperties = 2, + Degraded = 3, + }; + enum class MediaSourceState : int32_t + { + Initial = 0, + Opening = 1, + Opened = 2, + Failed = 3, + Closed = 4, + }; + enum class MediaSourceStatus : int32_t + { + FullySupported = 0, + Unknown = 1, + }; + enum class MediaStreamSourceClosedReason : int32_t + { + Done = 0, + UnknownError = 1, + AppReportedError = 2, + UnsupportedProtectionSystem = 3, + ProtectionSystemFailure = 4, + UnsupportedEncodingFormat = 5, + MissingSampleRequestedEventHandler = 6, + }; + enum class MediaStreamSourceErrorStatus : int32_t + { + Other = 0, + OutOfMemory = 1, + FailedToOpenFile = 2, + FailedToConnectToServer = 3, + ConnectionToServerLost = 4, + UnspecifiedNetworkError = 5, + DecodeError = 6, + UnsupportedMediaFormat = 7, + }; + enum class MediaTrackKind : int32_t + { + Audio = 0, + Video = 1, + TimedMetadata = 2, + }; + enum class MseAppendMode : int32_t + { + Segments = 0, + Sequence = 1, + }; + enum class MseEndOfStreamStatus : int32_t + { + Success = 0, + NetworkError = 1, + DecodeError = 2, + UnknownError = 3, + }; + enum class MseReadyState : int32_t + { + Closed = 0, + Open = 1, + Ended = 2, + }; + enum class SceneAnalysisRecommendation : int32_t + { + Standard = 0, + Hdr = 1, + LowLight = 2, + }; + enum class TimedMetadataKind : int32_t + { + Caption = 0, + Chapter = 1, + Custom = 2, + Data = 3, + Description = 4, + Subtitle = 5, + ImageSubtitle = 6, + Speech = 7, + }; + enum class TimedMetadataTrackErrorCode : int32_t + { + None = 0, + DataFormatError = 1, + NetworkError = 2, + InternalError = 3, + }; + enum class TimedTextBoutenPosition : int32_t + { + Before = 0, + After = 1, + Outside = 2, + }; + enum class TimedTextBoutenType : int32_t + { + None = 0, + Auto = 1, + FilledCircle = 2, + OpenCircle = 3, + FilledDot = 4, + OpenDot = 5, + FilledSesame = 6, + OpenSesame = 7, + }; + enum class TimedTextDisplayAlignment : int32_t + { + Before = 0, + After = 1, + Center = 2, + }; + enum class TimedTextFlowDirection : int32_t + { + LeftToRight = 0, + RightToLeft = 1, + }; + enum class TimedTextFontStyle : int32_t + { + Normal = 0, + Oblique = 1, + Italic = 2, + }; + enum class TimedTextLineAlignment : int32_t + { + Start = 0, + End = 1, + Center = 2, + }; + enum class TimedTextRubyAlign : int32_t + { + Center = 0, + Start = 1, + End = 2, + SpaceAround = 3, + SpaceBetween = 4, + WithBase = 5, + }; + enum class TimedTextRubyPosition : int32_t + { + Before = 0, + After = 1, + Outside = 2, + }; + enum class TimedTextRubyReserve : int32_t + { + None = 0, + Before = 1, + After = 2, + Both = 3, + Outside = 4, + }; + enum class TimedTextScrollMode : int32_t + { + Popon = 0, + Rollup = 1, + }; + enum class TimedTextUnit : int32_t + { + Pixels = 0, + Percentage = 1, + }; + enum class TimedTextWeight : int32_t + { + Normal = 400, + Bold = 700, + }; + enum class TimedTextWrapping : int32_t + { + NoWrap = 0, + Wrap = 1, + }; + enum class TimedTextWritingMode : int32_t + { + LeftRightTopBottom = 0, + RightLeftTopBottom = 1, + TopBottomRightLeft = 2, + TopBottomLeftRight = 3, + LeftRight = 4, + RightLeft = 5, + TopBottom = 6, + }; + enum class VideoStabilizationEffectEnabledChangedReason : int32_t + { + Programmatic = 0, + PixelRateTooHigh = 1, + RunningSlowly = 2, + }; + struct IAudioStreamDescriptor; + struct IAudioStreamDescriptor2; + struct IAudioStreamDescriptor3; + struct IAudioStreamDescriptorFactory; + struct IAudioTrack; + struct IAudioTrackOpenFailedEventArgs; + struct IAudioTrackSupportInfo; + struct IChapterCue; + struct ICodecInfo; + struct ICodecQuery; + struct ICodecSubtypesStatics; + struct ICodecSubtypesStatics2; + struct IDataCue; + struct IDataCue2; + struct IFaceDetectedEventArgs; + struct IFaceDetectionEffect; + struct IFaceDetectionEffectDefinition; + struct IFaceDetectionEffectFrame; + struct IHighDynamicRangeControl; + struct IHighDynamicRangeOutput; + struct IImageCue; + struct IInitializeMediaStreamSourceRequestedEventArgs; + struct ILowLightFusionResult; + struct ILowLightFusionStatics; + struct IMediaBinder; + struct IMediaBindingEventArgs; + struct IMediaBindingEventArgs2; + struct IMediaBindingEventArgs3; + struct IMediaCue; + struct IMediaCueEventArgs; + struct IMediaSource; + struct IMediaSource2; + struct IMediaSource3; + struct IMediaSource4; + struct IMediaSource5; + struct IMediaSourceAppServiceConnection; + struct IMediaSourceAppServiceConnectionFactory; + struct IMediaSourceError; + struct IMediaSourceOpenOperationCompletedEventArgs; + struct IMediaSourceStateChangedEventArgs; + struct IMediaSourceStatics; + struct IMediaSourceStatics2; + struct IMediaSourceStatics3; + struct IMediaSourceStatics4; + struct IMediaStreamDescriptor; + struct IMediaStreamDescriptor2; + struct IMediaStreamSample; + struct IMediaStreamSample2; + struct IMediaStreamSampleProtectionProperties; + struct IMediaStreamSampleStatics; + struct IMediaStreamSampleStatics2; + struct IMediaStreamSource; + struct IMediaStreamSource2; + struct IMediaStreamSource3; + struct IMediaStreamSource4; + struct IMediaStreamSourceClosedEventArgs; + struct IMediaStreamSourceClosedRequest; + struct IMediaStreamSourceFactory; + struct IMediaStreamSourceSampleRenderedEventArgs; + struct IMediaStreamSourceSampleRequest; + struct IMediaStreamSourceSampleRequestDeferral; + struct IMediaStreamSourceSampleRequestedEventArgs; + struct IMediaStreamSourceStartingEventArgs; + struct IMediaStreamSourceStartingRequest; + struct IMediaStreamSourceStartingRequestDeferral; + struct IMediaStreamSourceSwitchStreamsRequest; + struct IMediaStreamSourceSwitchStreamsRequestDeferral; + struct IMediaStreamSourceSwitchStreamsRequestedEventArgs; + struct IMediaTrack; + struct IMseSourceBuffer; + struct IMseSourceBufferList; + struct IMseStreamSource; + struct IMseStreamSource2; + struct IMseStreamSourceStatics; + struct ISceneAnalysisEffect; + struct ISceneAnalysisEffectFrame; + struct ISceneAnalysisEffectFrame2; + struct ISceneAnalyzedEventArgs; + struct ISingleSelectMediaTrackList; + struct ISpeechCue; + struct ITimedMetadataStreamDescriptor; + struct ITimedMetadataStreamDescriptorFactory; + struct ITimedMetadataTrack; + struct ITimedMetadataTrack2; + struct ITimedMetadataTrackError; + struct ITimedMetadataTrackFactory; + struct ITimedMetadataTrackFailedEventArgs; + struct ITimedMetadataTrackProvider; + struct ITimedTextBouten; + struct ITimedTextCue; + struct ITimedTextLine; + struct ITimedTextRegion; + struct ITimedTextRuby; + struct ITimedTextSource; + struct ITimedTextSourceResolveResultEventArgs; + struct ITimedTextSourceStatics; + struct ITimedTextSourceStatics2; + struct ITimedTextStyle; + struct ITimedTextStyle2; + struct ITimedTextStyle3; + struct ITimedTextSubformat; + struct IVideoStabilizationEffect; + struct IVideoStabilizationEffectEnabledChangedEventArgs; + struct IVideoStreamDescriptor; + struct IVideoStreamDescriptor2; + struct IVideoStreamDescriptorFactory; + struct IVideoTrack; + struct IVideoTrackOpenFailedEventArgs; + struct IVideoTrackSupportInfo; + struct AudioStreamDescriptor; + struct AudioTrack; + struct AudioTrackOpenFailedEventArgs; + struct AudioTrackSupportInfo; + struct ChapterCue; + struct CodecInfo; + struct CodecQuery; + struct CodecSubtypes; + struct DataCue; + struct FaceDetectedEventArgs; + struct FaceDetectionEffect; + struct FaceDetectionEffectDefinition; + struct FaceDetectionEffectFrame; + struct HighDynamicRangeControl; + struct HighDynamicRangeOutput; + struct ImageCue; + struct InitializeMediaStreamSourceRequestedEventArgs; + struct LowLightFusion; + struct LowLightFusionResult; + struct MediaBinder; + struct MediaBindingEventArgs; + struct MediaCueEventArgs; + struct MediaSource; + struct MediaSourceAppServiceConnection; + struct MediaSourceError; + struct MediaSourceOpenOperationCompletedEventArgs; + struct MediaSourceStateChangedEventArgs; + struct MediaStreamSample; + struct MediaStreamSamplePropertySet; + struct MediaStreamSampleProtectionProperties; + struct MediaStreamSource; + struct MediaStreamSourceClosedEventArgs; + struct MediaStreamSourceClosedRequest; + struct MediaStreamSourceSampleRenderedEventArgs; + struct MediaStreamSourceSampleRequest; + struct MediaStreamSourceSampleRequestDeferral; + struct MediaStreamSourceSampleRequestedEventArgs; + struct MediaStreamSourceStartingEventArgs; + struct MediaStreamSourceStartingRequest; + struct MediaStreamSourceStartingRequestDeferral; + struct MediaStreamSourceSwitchStreamsRequest; + struct MediaStreamSourceSwitchStreamsRequestDeferral; + struct MediaStreamSourceSwitchStreamsRequestedEventArgs; + struct MseSourceBuffer; + struct MseSourceBufferList; + struct MseStreamSource; + struct SceneAnalysisEffect; + struct SceneAnalysisEffectDefinition; + struct SceneAnalysisEffectFrame; + struct SceneAnalyzedEventArgs; + struct SpeechCue; + struct TimedMetadataStreamDescriptor; + struct TimedMetadataTrack; + struct TimedMetadataTrackError; + struct TimedMetadataTrackFailedEventArgs; + struct TimedTextBouten; + struct TimedTextCue; + struct TimedTextLine; + struct TimedTextRegion; + struct TimedTextRuby; + struct TimedTextSource; + struct TimedTextSourceResolveResultEventArgs; + struct TimedTextStyle; + struct TimedTextSubformat; + struct VideoStabilizationEffect; + struct VideoStabilizationEffectDefinition; + struct VideoStabilizationEffectEnabledChangedEventArgs; + struct VideoStreamDescriptor; + struct VideoTrack; + struct VideoTrackOpenFailedEventArgs; + struct VideoTrackSupportInfo; + struct MseTimeRange; + struct TimedTextDouble; + struct TimedTextPadding; + struct TimedTextPoint; + struct TimedTextSize; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioTrackOpenFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioTrackSupportInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ChapterCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.CodecInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.CodecQuery"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.CodecSubtypes"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.DataCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.FaceDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.FaceDetectionEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.FaceDetectionEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.FaceDetectionEffectFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.HighDynamicRangeControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.HighDynamicRangeOutput"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ImageCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.InitializeMediaStreamSourceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.LowLightFusion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.LowLightFusionResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaBinder"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaBindingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaCueEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceAppServiceConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceOpenOperationCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSample"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSamplePropertySet"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSampleProtectionProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceClosedRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSampleRenderedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSampleRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSampleRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSampleRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceStartingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceStartingRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceStartingRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSwitchStreamsRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseSourceBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseSourceBufferList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseStreamSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalysisEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalysisEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalysisEffectFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalyzedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SpeechCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBouten"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextLine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRegion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRuby"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSourceResolveResultEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextStyle"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSubformat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoStabilizationEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoStabilizationEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoStabilizationEffectEnabledChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoTrackOpenFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoTrackSupportInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioDecoderDegradation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.AudioDecoderDegradationReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.CodecCategory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.CodecKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.FaceDetectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaDecoderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaSourceStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceClosedReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaStreamSourceErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MediaTrackKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseAppendMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseEndOfStreamStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseReadyState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalysisRecommendation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackErrorCode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBoutenPosition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBoutenType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextDisplayAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextFlowDirection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextFontStyle"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextLineAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyAlign"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyPosition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyReserve"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextScrollMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextUnit"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextWeight"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextWrapping"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextWritingMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.VideoStabilizationEffectEnabledChangedReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.MseTimeRange"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextDouble"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextPadding"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextPoint"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSize"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioStreamDescriptor2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioStreamDescriptor3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioStreamDescriptorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioTrackOpenFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IAudioTrackSupportInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IChapterCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ICodecInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ICodecQuery"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ICodecSubtypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ICodecSubtypesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IDataCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IDataCue2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IFaceDetectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IFaceDetectionEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IFaceDetectionEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IFaceDetectionEffectFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IHighDynamicRangeControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IHighDynamicRangeOutput"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IImageCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IInitializeMediaStreamSourceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ILowLightFusionResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ILowLightFusionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaBinder"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaBindingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaBindingEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaBindingEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaCueEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSource2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSource3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSource4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSource5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceAppServiceConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceAppServiceConnectionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceOpenOperationCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaSourceStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamDescriptor2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSample"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSample2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSampleProtectionProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSampleStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSampleStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSource2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSource3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSource4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceClosedRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSampleRenderedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSampleRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSampleRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSampleRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceStartingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceStartingRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceStartingRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSwitchStreamsRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSwitchStreamsRequestDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaStreamSourceSwitchStreamsRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMediaTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMseSourceBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMseSourceBufferList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMseStreamSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMseStreamSource2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IMseStreamSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISceneAnalysisEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISceneAnalysisEffectFrame"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISceneAnalysisEffectFrame2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISceneAnalyzedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISingleSelectMediaTrackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ISpeechCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataStreamDescriptorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrack2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackProvider"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextBouten"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextCue"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextLine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextRegion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextRuby"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceResolveResultEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSubformat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStabilizationEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStabilizationEffectEnabledChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStreamDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStreamDescriptor2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStreamDescriptorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoTrackOpenFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoTrackSupportInfo"; + template <> inline constexpr guid guid_v{ 0x1E3692E4,0x4027,0x4847,{ 0xA7,0x0B,0xDF,0x1D,0x9A,0x2A,0x7B,0x04 } }; // 1E3692E4-4027-4847-A70B-DF1D9A2A7B04 + template <> inline constexpr guid guid_v{ 0x2E68F1F6,0xA448,0x497B,{ 0x88,0x40,0x85,0x08,0x26,0x65,0xAC,0xF9 } }; // 2E68F1F6-A448-497B-8840-85082665ACF9 + template <> inline constexpr guid guid_v{ 0x4D220DA1,0x8E83,0x44EF,{ 0x89,0x73,0x2F,0x63,0xE9,0x93,0xF3,0x6B } }; // 4D220DA1-8E83-44EF-8973-2F63E993F36B + template <> inline constexpr guid guid_v{ 0x4A86CE9E,0x4CB1,0x4380,{ 0x8E,0x0C,0x83,0x50,0x4B,0x7F,0x5B,0xF3 } }; // 4A86CE9E-4CB1-4380-8E0C-83504B7F5BF3 + template <> inline constexpr guid guid_v{ 0xF23B6E77,0x3EF7,0x40DE,{ 0xB9,0x43,0x06,0x8B,0x13,0x21,0x70,0x1D } }; // F23B6E77-3EF7-40DE-B943-068B1321701D + template <> inline constexpr guid guid_v{ 0xEEDDB9B9,0xBB7C,0x4112,{ 0xBF,0x76,0x93,0x84,0x67,0x6F,0x82,0x4B } }; // EEDDB9B9-BB7C-4112-BF76-9384676F824B + template <> inline constexpr guid guid_v{ 0x178BEFF7,0xCC39,0x44A6,{ 0xB9,0x51,0x4A,0x56,0x53,0xF0,0x73,0xFA } }; // 178BEFF7-CC39-44A6-B951-4A5653F073FA + template <> inline constexpr guid guid_v{ 0x72A98001,0xD38A,0x4C0A,{ 0x8F,0xA6,0x75,0xCD,0xDA,0xF4,0x66,0x4C } }; // 72A98001-D38A-4C0A-8FA6-75CDDAF4664C + template <> inline constexpr guid guid_v{ 0x51E89F85,0xEA97,0x499C,{ 0x86,0xAC,0x4C,0xE5,0xE7,0x3F,0x3A,0x42 } }; // 51E89F85-EA97-499C-86AC-4CE5E73F3A42 + template <> inline constexpr guid guid_v{ 0x222A953A,0xAF61,0x4E04,{ 0x80,0x8A,0xA4,0x63,0x4E,0x2F,0x3A,0xC4 } }; // 222A953A-AF61-4E04-808A-A4634E2F3AC4 + template <> inline constexpr guid guid_v{ 0xA66AC4F2,0x888B,0x4224,{ 0x8C,0xF6,0x2A,0x8D,0x4E,0xB0,0x23,0x82 } }; // A66AC4F2-888B-4224-8CF6-2A8D4EB02382 + template <> inline constexpr guid guid_v{ 0x363B0930,0xDE26,0x582E,{ 0x80,0x14,0xF5,0x46,0xD0,0x75,0x38,0x87 } }; // 363B0930-DE26-582E-8014-F546D0753887 + template <> inline constexpr guid guid_v{ 0x7C7F676D,0x1FBC,0x4E2D,{ 0x9A,0x87,0xEE,0x38,0xBD,0x1D,0xC6,0x37 } }; // 7C7F676D-1FBC-4E2D-9A87-EE38BD1DC637 + template <> inline constexpr guid guid_v{ 0xBC561B15,0x95F2,0x49E8,{ 0x96,0xF1,0x8D,0xD5,0xDA,0xC6,0x8D,0x93 } }; // BC561B15-95F2-49E8-96F1-8DD5DAC68D93 + template <> inline constexpr guid guid_v{ 0x19918426,0xC65B,0x46BA,{ 0x85,0xF8,0x13,0x88,0x05,0x76,0xC9,0x0A } }; // 19918426-C65B-46BA-85F8-13880576C90A + template <> inline constexpr guid guid_v{ 0xAE15EBD2,0x0542,0x42A9,{ 0xBC,0x90,0xF2,0x83,0xA2,0x9F,0x46,0xC1 } }; // AE15EBD2-0542-42A9-BC90-F283A29F46C1 + template <> inline constexpr guid guid_v{ 0x43DCA081,0xB848,0x4F33,{ 0xB7,0x02,0x1F,0xD2,0x62,0x4F,0xB0,0x16 } }; // 43DCA081-B848-4F33-B702-1FD2624FB016 + template <> inline constexpr guid guid_v{ 0x8AB08993,0x5DC8,0x447B,{ 0xA2,0x47,0x52,0x70,0xBD,0x80,0x2E,0xCE } }; // 8AB08993-5DC8-447B-A247-5270BD802ECE + template <> inline constexpr guid guid_v{ 0x55F1A7AE,0xD957,0x4DC9,{ 0x9D,0x1C,0x85,0x53,0xA8,0x2A,0x7D,0x99 } }; // 55F1A7AE-D957-4DC9-9D1C-8553A82A7D99 + template <> inline constexpr guid guid_v{ 0x0F57806B,0x253B,0x4119,{ 0xBB,0x40,0x3A,0x90,0xE5,0x13,0x84,0xF7 } }; // 0F57806B-253B-4119-BB40-3A90E51384F7 + template <> inline constexpr guid guid_v{ 0x52828282,0x367B,0x440B,{ 0x91,0x16,0x3C,0x84,0x57,0x0D,0xD2,0x70 } }; // 52828282-367B-440B-9116-3C84570DD270 + template <> inline constexpr guid guid_v{ 0x25BC45E1,0x9B08,0x4C2E,{ 0xA8,0x55,0x45,0x42,0xF1,0xA7,0x5D,0xEB } }; // 25BC45E1-9B08-4C2E-A855-4542F1A75DEB + template <> inline constexpr guid guid_v{ 0x78EDBE35,0x27A0,0x42E0,{ 0x9C,0xD3,0x73,0x8D,0x20,0x89,0xDE,0x9C } }; // 78EDBE35-27A0-42E0-9CD3-738D2089DE9C + template <> inline constexpr guid guid_v{ 0x5305016D,0xC29E,0x40E2,{ 0x87,0xA9,0x9E,0x1F,0xD2,0xF1,0x92,0xF5 } }; // 5305016D-C29E-40E2-87A9-9E1FD2F192F5 + template <> inline constexpr guid guid_v{ 0x2B7E40AA,0xDE07,0x424F,{ 0x83,0xF1,0xF1,0xDE,0x46,0xC4,0xFA,0x2E } }; // 2B7E40AA-DE07-424F-83F1-F1DE46C4FA2E + template <> inline constexpr guid guid_v{ 0xB61CB25A,0x1B6D,0x4630,{ 0xA8,0x6D,0x2F,0x08,0x37,0xF7,0x12,0xE5 } }; // B61CB25A-1B6D-4630-A86D-2F0837F712E5 + template <> inline constexpr guid guid_v{ 0x0464CCEB,0xBB5A,0x482F,{ 0xB8,0xBA,0xF0,0x28,0x4C,0x69,0x65,0x67 } }; // 0464CCEB-BB5A-482F-B8BA-F0284C696567 + template <> inline constexpr guid guid_v{ 0xF8EB475E,0x19BE,0x44FC,{ 0xA5,0xED,0x7A,0xBA,0x31,0x50,0x37,0xF9 } }; // F8EB475E-19BE-44FC-A5ED-7ABA315037F9 + template <> inline constexpr guid guid_v{ 0xC7D15E5D,0x59DC,0x431F,{ 0xA0,0xEE,0x27,0x74,0x43,0x23,0xB3,0x6D } }; // C7D15E5D-59DC-431F-A0EE-27744323B36D + template <> inline constexpr guid guid_v{ 0xD12F47F7,0x5FA4,0x4E68,{ 0x9F,0xE5,0x32,0x16,0x0D,0xCE,0xE5,0x7E } }; // D12F47F7-5FA4-4E68-9FE5-32160DCEE57E + template <> inline constexpr guid guid_v{ 0xE7BFB599,0xA09D,0x4C21,{ 0xBC,0xDF,0x20,0xAF,0x4F,0x86,0xB3,0xD9 } }; // E7BFB599-A09D-4C21-BCDF-20AF4F86B3D9 + template <> inline constexpr guid guid_v{ 0x2EB61048,0x655F,0x4C37,{ 0xB8,0x13,0xB4,0xE4,0x5D,0xFA,0x0A,0xBE } }; // 2EB61048-655F-4C37-B813-B4E45DFA0ABE + template <> inline constexpr guid guid_v{ 0xB59F0D9B,0x4B6E,0x41ED,{ 0xBB,0xB4,0x7C,0x75,0x09,0xA9,0x94,0xAD } }; // B59F0D9B-4B6E-41ED-BBB4-7C7509A994AD + template <> inline constexpr guid guid_v{ 0xBDAFAD57,0x8EFF,0x4C63,{ 0x85,0xA6,0x84,0xDE,0x0A,0xE3,0xE4,0xF2 } }; // BDAFAD57-8EFF-4C63-85A6-84DE0AE3E4F2 + template <> inline constexpr guid guid_v{ 0x331A22AE,0xED2E,0x4A22,{ 0x94,0xC8,0xB7,0x43,0xA9,0x2B,0x30,0x22 } }; // 331A22AE-ED2E-4A22-94C8-B743A92B3022 + template <> inline constexpr guid guid_v{ 0x61E1EA97,0x1916,0x4810,{ 0xB7,0xF4,0xB6,0x42,0xBE,0x82,0x95,0x96 } }; // 61E1EA97-1916-4810-B7F4-B642BE829596 + template <> inline constexpr guid guid_v{ 0x65B912EB,0x80B9,0x44F9,{ 0x9C,0x1E,0xE1,0x20,0xF6,0xD9,0x28,0x38 } }; // 65B912EB-80B9-44F9-9C1E-E120F6D92838 + template <> inline constexpr guid guid_v{ 0x5C0A8965,0x37C5,0x4E9D,{ 0x8D,0x21,0x1C,0xDE,0xE9,0x0C,0xEC,0xC6 } }; // 5C0A8965-37C5-4E9D-8D21-1CDEE90CECC6 + template <> inline constexpr guid guid_v{ 0xFC682CEB,0xE281,0x477C,{ 0xA8,0xE0,0x1A,0xCD,0x65,0x41,0x14,0xC8 } }; // FC682CEB-E281-477C-A8E0-1ACD654114C8 + template <> inline constexpr guid guid_v{ 0x0A30AF82,0x9071,0x4BAC,{ 0xBC,0x39,0xCA,0x2A,0x93,0xB7,0x17,0xA9 } }; // 0A30AF82-9071-4BAC-BC39-CA2A93B717A9 + template <> inline constexpr guid guid_v{ 0xF77D6FA4,0x4652,0x410E,{ 0xB1,0xD8,0xE9,0xA5,0xE2,0x45,0xA4,0x5C } }; // F77D6FA4-4652-410E-B1D8-E9A5E245A45C + template <> inline constexpr guid guid_v{ 0xEEE161A4,0x7F13,0x4896,{ 0xB8,0xCB,0xDF,0x0D,0xE5,0xBC,0xB9,0xF1 } }; // EEE161A4-7F13-4896-B8CB-DF0DE5BCB9F1 + template <> inline constexpr guid guid_v{ 0x453A30D6,0x2BEA,0x4122,{ 0x9F,0x73,0xEA,0xCE,0x04,0x52,0x6E,0x35 } }; // 453A30D6-2BEA-4122-9F73-EACE04526E35 + template <> inline constexpr guid guid_v{ 0x281B3BFC,0xE50A,0x4428,{ 0xA5,0x00,0x9C,0x4E,0xD9,0x18,0xD3,0xF0 } }; // 281B3BFC-E50A-4428-A500-9C4ED918D3F0 + template <> inline constexpr guid guid_v{ 0x80F16E6E,0x92F7,0x451E,{ 0x97,0xD2,0xAF,0xD8,0x07,0x42,0xDA,0x70 } }; // 80F16E6E-92F7-451E-97D2-AFD80742DA70 + template <> inline constexpr guid guid_v{ 0x5073010F,0xE8B2,0x4071,{ 0xB0,0x0B,0xEB,0xF3,0x37,0xA7,0x6B,0x58 } }; // 5073010F-E8B2-4071-B00B-EBF337A76B58 + template <> inline constexpr guid guid_v{ 0x5C8DB627,0x4B80,0x4361,{ 0x98,0x37,0x6C,0xB7,0x48,0x1A,0xD9,0xD6 } }; // 5C8DB627-4B80-4361-9837-6CB7481AD9D6 + template <> inline constexpr guid guid_v{ 0x45078691,0xFCE8,0x4746,{ 0xA1,0xC8,0x10,0xC2,0x5D,0x3D,0x7C,0xD3 } }; // 45078691-FCE8-4746-A1C8-10C25D3D7CD3 + template <> inline constexpr guid guid_v{ 0x4EB88292,0xECDF,0x493E,{ 0x84,0x1D,0xDD,0x4A,0xDD,0x7C,0xAC,0xA2 } }; // 4EB88292-ECDF-493E-841D-DD4ADD7CACA2 + template <> inline constexpr guid guid_v{ 0xDFDF218F,0xA6CF,0x4579,{ 0xBE,0x41,0x73,0xDD,0x94,0x1A,0xD9,0x72 } }; // DFDF218F-A6CF-4579-BE41-73DD941AD972 + template <> inline constexpr guid guid_v{ 0x9EFE9521,0x6D46,0x494C,{ 0xA2,0xF8,0xD6,0x62,0x92,0x2E,0x2D,0xD7 } }; // 9EFE9521-6D46-494C-A2F8-D662922E2DD7 + template <> inline constexpr guid guid_v{ 0x3712D543,0x45EB,0x4138,{ 0xAA,0x62,0xC0,0x1E,0x26,0xF3,0x84,0x3F } }; // 3712D543-45EB-4138-AA62-C01E26F3843F + template <> inline constexpr guid guid_v{ 0xEC55D0AD,0x2E6A,0x4F74,{ 0xAD,0xBB,0xB5,0x62,0xD1,0x53,0x38,0x49 } }; // EC55D0AD-2E6A-4F74-ADBB-B562D1533849 + template <> inline constexpr guid guid_v{ 0x6A2A2746,0x3DDD,0x4DDF,{ 0xA1,0x21,0x94,0x04,0x5E,0xCF,0x94,0x40 } }; // 6A2A2746-3DDD-4DDF-A121-94045ECF9440 + template <> inline constexpr guid guid_v{ 0x1D0CFCAB,0x830D,0x417C,{ 0xA3,0xA9,0x24,0x54,0xFD,0x64,0x15,0xC7 } }; // 1D0CFCAB-830D-417C-A3A9-2454FD6415C7 + template <> inline constexpr guid guid_v{ 0xCD8C7EB2,0x4816,0x4E24,{ 0x88,0xF0,0x49,0x1E,0xF7,0x38,0x64,0x06 } }; // CD8C7EB2-4816-4E24-88F0-491EF7386406 + template <> inline constexpr guid guid_v{ 0x907C00E9,0x18A3,0x4951,{ 0x88,0x7A,0x2C,0x1E,0xEB,0xD5,0xC6,0x9E } }; // 907C00E9-18A3-4951-887A-2C1EEBD5C69E + template <> inline constexpr guid guid_v{ 0xEF77E0D9,0xD158,0x4B7A,{ 0x86,0x3F,0x20,0x33,0x42,0xFB,0xFD,0x41 } }; // EF77E0D9-D158-4B7A-863F-203342FBFD41 + template <> inline constexpr guid guid_v{ 0x9D697B05,0xD4F2,0x4C7A,{ 0x9D,0xFE,0x8D,0x6C,0xD0,0xB3,0xEE,0x84 } }; // 9D697B05-D4F2-4C7A-9DFE-8D6CD0B3EE84 + template <> inline constexpr guid guid_v{ 0x4DB341A9,0x3501,0x4D9B,{ 0x83,0xF9,0x8F,0x23,0x5C,0x82,0x25,0x32 } }; // 4DB341A9-3501-4D9B-83F9-8F235C822532 + template <> inline constexpr guid guid_v{ 0x7895CC02,0xF982,0x43C8,{ 0x9D,0x16,0xC6,0x2D,0x99,0x93,0x19,0xBE } }; // 7895CC02-F982-43C8-9D16-C62D999319BE + template <> inline constexpr guid guid_v{ 0x10F9BB9E,0x71C5,0x492F,{ 0x84,0x7F,0x0D,0xA1,0xF3,0x5E,0x81,0xF8 } }; // 10F9BB9E-71C5-492F-847F-0DA1F35E81F8 + template <> inline constexpr guid guid_v{ 0xF41468F2,0xC274,0x4940,{ 0xA5,0xBB,0x28,0xA5,0x72,0x45,0x2F,0xA7 } }; // F41468F2-C274-4940-A5BB-28A572452FA7 + template <> inline constexpr guid guid_v{ 0x2A9093E4,0x35C4,0x4B1B,{ 0xA7,0x91,0x0D,0x99,0xDB,0x56,0xDD,0x1D } }; // 2A9093E4-35C4-4B1B-A791-0D99DB56DD1D + template <> inline constexpr guid guid_v{ 0x3F1356A5,0x6340,0x4DC4,{ 0x99,0x10,0x06,0x8E,0xD9,0xF5,0x98,0xF8 } }; // 3F1356A5-6340-4DC4-9910-068ED9F598F8 + template <> inline constexpr guid guid_v{ 0x41B8808E,0x38A9,0x4EC3,{ 0x9B,0xA0,0xB6,0x9B,0x85,0x50,0x1E,0x90 } }; // 41B8808E-38A9-4EC3-9BA0-B69B85501E90 + template <> inline constexpr guid guid_v{ 0xBEE3D835,0xA505,0x4F9A,{ 0xB9,0x43,0x2B,0x8C,0xB1,0xB4,0xBB,0xD9 } }; // BEE3D835-A505-4F9A-B943-2B8CB1B4BBD9 + template <> inline constexpr guid guid_v{ 0x42202B72,0x6EA1,0x4677,{ 0x98,0x1E,0x35,0x0A,0x0D,0xA4,0x12,0xAA } }; // 42202B72-6EA1-4677-981E-350A0DA412AA + template <> inline constexpr guid guid_v{ 0x03E1FAFC,0xC931,0x491A,{ 0xB4,0x6B,0xC1,0x0E,0xE8,0xC2,0x56,0xB7 } }; // 03E1FAFC-C931-491A-B46B-C10EE8C256B7 + template <> inline constexpr guid guid_v{ 0x0C1AA3E3,0xDF8D,0x4079,{ 0xA3,0xFE,0x68,0x49,0x18,0x4B,0x4E,0x2F } }; // 0C1AA3E3-DF8D-4079-A3FE-6849184B4E2F + template <> inline constexpr guid guid_v{ 0x95FAE8E7,0xA8E7,0x4EBF,{ 0x89,0x27,0x14,0x5E,0x94,0x0B,0xA5,0x11 } }; // 95FAE8E7-A8E7-4EBF-8927-145E940BA511 + template <> inline constexpr guid guid_v{ 0xB0B4198D,0x02F4,0x4923,{ 0x88,0xDD,0x81,0xBC,0x3F,0x36,0x0F,0xFA } }; // B0B4198D-02F4-4923-88DD-81BC3F360FFA + template <> inline constexpr guid guid_v{ 0x66F57D37,0xF9E7,0x418A,{ 0x9C,0xDE,0xA0,0x20,0xE9,0x56,0x55,0x2B } }; // 66F57D37-F9E7-418A-9CDE-A020E956552B + template <> inline constexpr guid guid_v{ 0x465C679D,0xD570,0x43CE,{ 0xBA,0x21,0x0B,0xFF,0x5F,0x3F,0xBD,0x0A } }; // 465C679D-D570-43CE-BA21-0BFF5F3FBD0A + template <> inline constexpr guid guid_v{ 0xC04BA319,0xCA41,0x4813,{ 0xBF,0xFD,0x7B,0x08,0xB0,0xED,0x25,0x57 } }; // C04BA319-CA41-4813-BFFD-7B08B0ED2557 + template <> inline constexpr guid guid_v{ 0xD8B10E4C,0x7FD9,0x42E1,{ 0x85,0xEB,0x65,0x72,0xC2,0x97,0xC9,0x87 } }; // D8B10E4C-7FD9-42E1-85EB-6572C297C987 + template <> inline constexpr guid guid_v{ 0x2D4E29BE,0x061F,0x47AE,{ 0x99,0x15,0x02,0x52,0x4B,0x5F,0x9A,0x5F } }; // 2D4E29BE-061F-47AE-9915-02524B5F9A5F + template <> inline constexpr guid guid_v{ 0x146B9588,0x2851,0x45E4,{ 0xAD,0x55,0x44,0xCF,0x8D,0xF8,0xDB,0x4D } }; // 146B9588-2851-45E4-AD55-44CF8DF8DB4D + template <> inline constexpr guid guid_v{ 0x77206F1F,0xC34F,0x494F,{ 0x80,0x77,0x2B,0xAD,0x9F,0xF4,0xEC,0xF1 } }; // 77206F1F-C34F-494F-8077-2BAD9FF4ECF1 + template <> inline constexpr guid guid_v{ 0xAEE254DC,0x1725,0x4BAD,{ 0x80,0x43,0xA9,0x84,0x99,0xB0,0x17,0xA2 } }; // AEE254DC-1725-4BAD-8043-A98499B017A2 + template <> inline constexpr guid guid_v{ 0x133336BF,0x296A,0x463E,{ 0x9F,0xF9,0x01,0xCD,0x25,0x69,0x14,0x08 } }; // 133336BF-296A-463E-9FF9-01CD25691408 + template <> inline constexpr guid guid_v{ 0xC027DE30,0x7362,0x4FF9,{ 0x98,0xB1,0x2D,0xFD,0x0B,0x8D,0x1C,0xAE } }; // C027DE30-7362-4FF9-98B1-2DFD0B8D1CAE + template <> inline constexpr guid guid_v{ 0x9E6AED9E,0xF67A,0x49A9,{ 0xB3,0x30,0xCF,0x03,0xB0,0xE9,0xCF,0x07 } }; // 9E6AED9E-F67A-49A9-B330-CF03B0E9CF07 + template <> inline constexpr guid guid_v{ 0x21B4B648,0x9F9D,0x40BA,{ 0xA8,0xF3,0x1A,0x92,0x75,0x3A,0xEF,0x0B } }; // 21B4B648-9F9D-40BA-A8F3-1A92753AEF0B + template <> inline constexpr guid guid_v{ 0xB3767915,0x4114,0x4819,{ 0xB9,0xD9,0xDD,0x76,0x08,0x9E,0x72,0xF8 } }; // B3767915-4114-4819-B9D9-DD76089E72F8 + template <> inline constexpr guid guid_v{ 0x8DD57611,0x97B3,0x4E1F,{ 0x85,0x2C,0x0F,0x48,0x2C,0x81,0xAD,0x26 } }; // 8DD57611-97B3-4E1F-852C-0F482C81AD26 + template <> inline constexpr guid guid_v{ 0xA57FC9D1,0x6789,0x4D4D,{ 0xB0,0x7F,0x84,0xB4,0xF3,0x1A,0xCB,0x70 } }; // A57FC9D1-6789-4D4D-B07F-84B4F31ACB70 + template <> inline constexpr guid guid_v{ 0x3B7F2024,0xF74E,0x4ADE,{ 0x93,0xC5,0x21,0x9D,0xA0,0x5B,0x68,0x56 } }; // 3B7F2024-F74E-4ADE-93C5-219DA05B6856 + template <> inline constexpr guid guid_v{ 0xD9062783,0x5597,0x5092,{ 0x82,0x0C,0x8F,0x73,0x8E,0x0F,0x77,0x4A } }; // D9062783-5597-5092-820C-8F738E0F774A + template <> inline constexpr guid guid_v{ 0x51C79E51,0x3B86,0x494D,{ 0xB3,0x59,0xBB,0x2E,0xA7,0xAC,0xA9,0xA9 } }; // 51C79E51-3B86-494D-B359-BB2EA7ACA9A9 + template <> inline constexpr guid guid_v{ 0x978D7CE2,0x7308,0x4C66,{ 0xBE,0x50,0x65,0x77,0x72,0x89,0xF5,0xDF } }; // 978D7CE2-7308-4C66-BE50-65777289F5DF + template <> inline constexpr guid guid_v{ 0x1ED0881F,0x8A06,0x4222,{ 0x9F,0x59,0xB2,0x1B,0xF4,0x01,0x24,0xB4 } }; // 1ED0881F-8A06-4222-9F59-B21BF40124B4 + template <> inline constexpr guid guid_v{ 0x10335C29,0x5B3C,0x5693,{ 0x99,0x59,0xD0,0x5A,0x0B,0xD2,0x46,0x28 } }; // 10335C29-5B3C-5693-9959-D05A0BD24628 + template <> inline constexpr guid guid_v{ 0xC4ED9BA6,0x101F,0x404D,{ 0xA9,0x49,0x82,0xF3,0x3F,0xCD,0x93,0xB7 } }; // C4ED9BA6-101F-404D-A949-82F33FCD93B7 + template <> inline constexpr guid guid_v{ 0x48907C9C,0xDCD8,0x4C33,{ 0x9A,0xD3,0x6C,0xDC,0xE7,0xB1,0xC5,0x66 } }; // 48907C9C-DCD8-4C33-9AD3-6CDCE7B1C566 + template <> inline constexpr guid guid_v{ 0x7E311853,0x9ABA,0x4AC4,{ 0xBB,0x98,0x2F,0xB1,0x76,0xC3,0xBF,0xDD } }; // 7E311853-9ABA-4AC4-BB98-2FB176C3BFDD + template <> inline constexpr guid guid_v{ 0xB66B7602,0x923E,0x43FA,{ 0x96,0x33,0x58,0x70,0x75,0x81,0x2D,0xB5 } }; // B66B7602-923E-43FA-9633-587075812DB5 + template <> inline constexpr guid guid_v{ 0x1BB2384D,0xA825,0x40C2,{ 0xA7,0xF5,0x28,0x1E,0xAE,0xDF,0x3B,0x55 } }; // 1BB2384D-A825-40C2-A7F5-281EAEDF3B55 + template <> inline constexpr guid guid_v{ 0x655F492D,0x6111,0x4787,{ 0x89,0xCC,0x68,0x6F,0xEC,0xE5,0x7E,0x14 } }; // 655F492D-6111-4787-89CC-686FECE57E14 + template <> inline constexpr guid guid_v{ 0xF803F93B,0x3E99,0x595E,{ 0xBB,0xB7,0x78,0xA2,0xFA,0x13,0xC2,0x70 } }; // F803F93B-3E99-595E-BBB7-78A2FA13C270 + template <> inline constexpr guid guid_v{ 0xD713502F,0x3261,0x4722,{ 0xA0,0xC2,0xB9,0x37,0xB2,0x39,0x0F,0x14 } }; // D713502F-3261-4722-A0C2-B937B2390F14 + template <> inline constexpr guid guid_v{ 0x0808A650,0x9698,0x4E57,{ 0x87,0x7B,0xBD,0x7C,0xB2,0xEE,0x0F,0x8A } }; // 0808A650-9698-4E57-877B-BD7CB2EE0F8A + template <> inline constexpr guid guid_v{ 0x187EFF28,0x67BB,0x4713,{ 0xB9,0x00,0x41,0x68,0xDA,0x16,0x45,0x29 } }; // 187EFF28-67BB-4713-B900-4168DA164529 + template <> inline constexpr guid guid_v{ 0x12EE0D55,0x9C2B,0x4440,{ 0x80,0x57,0x2C,0x7A,0x90,0xF0,0xCB,0xEC } }; // 12EE0D55-9C2B-4440-8057-2C7A90F0CBEC + template <> inline constexpr guid guid_v{ 0x8B306E10,0x453E,0x4088,{ 0x83,0x2D,0xC3,0x6F,0xA4,0xF9,0x4A,0xF3 } }; // 8B306E10-453E-4088-832D-C36FA4F94AF3 + template <> inline constexpr guid guid_v{ 0x494EF6D1,0xBB75,0x43D2,{ 0x9E,0x5E,0x7B,0x79,0xA3,0xAF,0xCE,0xD4 } }; // 494EF6D1-BB75-43D2-9E5E-7B79A3AFCED4 + template <> inline constexpr guid guid_v{ 0x99F3B7F3,0xE298,0x4396,{ 0xBB,0x6A,0xA5,0x1B,0xE6,0xA2,0xA2,0x0A } }; // 99F3B7F3-E298-4396-BB6A-A51BE6A2A20A + template <> inline constexpr guid guid_v{ 0x7679E231,0x04F9,0x4C82,{ 0xA4,0xEE,0x86,0x02,0xC8,0xBB,0x47,0x54 } }; // 7679E231-04F9-4C82-A4EE-8602C8BB4754 + template <> inline constexpr guid guid_v{ 0x4BB534A0,0xFC5F,0x450D,{ 0x8F,0xF0,0x77,0x8D,0x59,0x04,0x86,0xDE } }; // 4BB534A0-FC5F-450D-8FF0-778D590486DE + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IAudioStreamDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaTrack; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IAudioTrackSupportInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IChapterCue; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ICodecInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ICodecQuery; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IDataCue; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IFaceDetectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IFaceDetectionEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IFaceDetectionEffectFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IHighDynamicRangeControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IHighDynamicRangeOutput; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IImageCue; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ILowLightFusionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaBinder; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaBindingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaCueEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaSource2; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaSourceAppServiceConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaSourceError; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaSourceOpenOperationCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSample; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMap; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSampleRenderedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceStartingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMseSourceBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMseSourceBufferList; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMseStreamSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ISceneAnalysisEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ISceneAnalysisEffectFrame; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ISceneAnalyzedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ISpeechCue; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaStreamDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrack; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackError; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextBouten; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextCue; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextLine; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextRegion; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextRuby; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextStyle; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextSubformat; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IVideoStabilizationEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IVideoStreamDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IMediaTrack; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::IVideoTrackSupportInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_LeadingEncoderPadding(void*) noexcept = 0; + virtual int32_t __stdcall get_LeadingEncoderPadding(void**) noexcept = 0; + virtual int32_t __stdcall put_TrailingEncoderPadding(void*) noexcept = 0; + virtual int32_t __stdcall get_TrailingEncoderPadding(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_OpenFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OpenFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackItem(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DecoderStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Degradation(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DegradationReason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaSourceStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Title(void*) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Category(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Subtypes(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_IsTrusted(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAsync(int32_t, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFormatDV25(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDV50(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDvc(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDvh1(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDvhD(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDvsd(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatDvsl(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatH263(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatH264(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatH265(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatH264ES(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatHevc(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatHevcES(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatM4S2(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMjpg(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMP43(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMP4S(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMP4V(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMpeg2(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatVP80(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatVP90(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMpg1(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMss1(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatMss2(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatWmv1(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatWmv2(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatWmv3(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormatWvc1(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoFormat420O(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAac(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAdts(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAlac(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAmrNB(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAmrWB(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatAmrWP(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatDolbyAC3(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatDolbyAC3Spdif(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatDolbyDDPlus(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatDrm(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatDts(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatFlac(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatFloat(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatMP3(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatMPeg(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatMsp1(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatOpus(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatPcm(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatWmaSpdif(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatWMAudioLossless(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatWMAudioV8(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioFormatWMAudioV9(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoFormatAv1(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Data(void*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResultFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_DesiredDetectionInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredDetectionInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall add_FaceDetected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FaceDetected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DetectionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DetectionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_SynchronousDetectionEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_SynchronousDetectionEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DetectedFaces(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Certainty(double*) noexcept = 0; + virtual int32_t __stdcall get_FrameControllers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(struct struct_Windows_Media_Core_TimedTextPoint*) noexcept = 0; + virtual int32_t __stdcall put_Position(struct struct_Windows_Media_Core_TimedTextPoint) noexcept = 0; + virtual int32_t __stdcall get_Extent(struct struct_Windows_Media_Core_TimedTextSize*) noexcept = 0; + virtual int32_t __stdcall put_Extent(struct struct_Windows_Media_Core_TimedTextSize) noexcept = 0; + virtual int32_t __stdcall put_SoftwareBitmap(void*) noexcept = 0; + virtual int32_t __stdcall get_SoftwareBitmap(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_RandomAccessStream(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Frame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedBitmapPixelFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxSupportedFrameCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall FuseAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Binding(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Binding(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Token(void**) noexcept = 0; + virtual int32_t __stdcall put_Token(void*) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Canceled(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Canceled(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_MediaBinder(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall SetUri(void*) noexcept = 0; + virtual int32_t __stdcall SetStream(void*, void*) noexcept = 0; + virtual int32_t __stdcall SetStreamReference(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetAdaptiveMediaSource(void*) noexcept = 0; + virtual int32_t __stdcall SetStorageFile(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetDownloadOperation(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_StartTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Id(void*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Cue(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_OpenOperationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OpenOperationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_CustomProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_Duration(void**) noexcept = 0; + virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExternalTimedTextSources(void**) noexcept = 0; + virtual int32_t __stdcall get_ExternalTimedMetadataTracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall Reset() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AdaptiveMediaSource(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaStreamSource(void**) noexcept = 0; + virtual int32_t __stdcall get_MseStreamSource(void**) noexcept = 0; + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall OpenAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DownloadOperation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_InitializeMediaStreamSourceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_InitializeMediaStreamSourceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromAdaptiveMediaSource(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromMediaStreamSource(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromMseStreamSource(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromIMediaSource(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStorageFile(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStream(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamReference(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUri(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromMediaBinder(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromMediaFrameSource(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromDownloadOperation(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSelected(bool*) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Language(void*) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Label(void*) noexcept = 0; + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Processed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Processed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Buffer(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_Protection(void**) noexcept = 0; + virtual int32_t __stdcall put_DecodeTimestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall get_DecodeTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_KeyFrame(bool) noexcept = 0; + virtual int32_t __stdcall get_KeyFrame(bool*) noexcept = 0; + virtual int32_t __stdcall put_Discontinuous(bool) noexcept = 0; + virtual int32_t __stdcall get_Discontinuous(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Direct3D11Surface(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetKeyIdentifier(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetKeyIdentifier(uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall SetInitializationVector(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetInitializationVector(uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall SetSubSampleMapping(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetSubSampleMapping(uint32_t*, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromBuffer(void*, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamAsync(void*, uint32_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromDirect3D11Surface(void*, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Starting(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Starting(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Paused(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Paused(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SampleRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SampleRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SwitchStreamsRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SwitchStreamsRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall NotifyError(int32_t) noexcept = 0; + virtual int32_t __stdcall AddStreamDescriptor(void*) noexcept = 0; + virtual int32_t __stdcall put_MediaProtectionManager(void*) noexcept = 0; + virtual int32_t __stdcall get_MediaProtectionManager(void**) noexcept = 0; + virtual int32_t __stdcall put_Duration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_CanSeek(bool) noexcept = 0; + virtual int32_t __stdcall get_CanSeek(bool*) noexcept = 0; + virtual int32_t __stdcall put_BufferTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_BufferTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall SetBufferedRange(int64_t, int64_t) noexcept = 0; + virtual int32_t __stdcall get_MusicProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProperties(void**) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall AddProtectionKey(void*, uint32_t, uint8_t*, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SampleRendered(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SampleRendered(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_MaxSupportedPlaybackRate(void*) noexcept = 0; + virtual int32_t __stdcall get_MaxSupportedPlaybackRate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsLive(bool) noexcept = 0; + virtual int32_t __stdcall get_IsLive(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromDescriptor(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromDescriptors(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SampleLag(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StreamDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall put_Sample(void*) noexcept = 0; + virtual int32_t __stdcall get_Sample(void**) noexcept = 0; + virtual int32_t __stdcall ReportSampleProgress(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartPosition(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall SetActualStartPosition(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldStreamDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall get_NewStreamDescriptor(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_TrackKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Label(void*) noexcept = 0; + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_UpdateStarting(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UpdateStarting(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_UpdateEnded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UpdateEnded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ErrorOccurred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ErrorOccurred(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Aborted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Aborted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsUpdating(bool*) noexcept = 0; + virtual int32_t __stdcall get_Buffered(void**) noexcept = 0; + virtual int32_t __stdcall get_TimestampOffset(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TimestampOffset(int64_t) noexcept = 0; + virtual int32_t __stdcall get_AppendWindowStart(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_AppendWindowStart(int64_t) noexcept = 0; + virtual int32_t __stdcall get_AppendWindowEnd(void**) noexcept = 0; + virtual int32_t __stdcall put_AppendWindowEnd(void*) noexcept = 0; + virtual int32_t __stdcall AppendBuffer(void*) noexcept = 0; + virtual int32_t __stdcall AppendStream(void*) noexcept = 0; + virtual int32_t __stdcall AppendStreamMaxSize(void*, uint64_t) noexcept = 0; + virtual int32_t __stdcall Abort() noexcept = 0; + virtual int32_t __stdcall Remove(int64_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SourceBufferAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceBufferAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceBufferRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceBufferRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Buffers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Opened(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Opened(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Ended(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Ended(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_SourceBuffers(void**) noexcept = 0; + virtual int32_t __stdcall get_ActiveSourceBuffers(void**) noexcept = 0; + virtual int32_t __stdcall get_ReadyState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Duration(void**) noexcept = 0; + virtual int32_t __stdcall put_Duration(void*) noexcept = 0; + virtual int32_t __stdcall AddSourceBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveSourceBuffer(void*) noexcept = 0; + virtual int32_t __stdcall EndOfStream(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LiveSeekableRange(void**) noexcept = 0; + virtual int32_t __stdcall put_LiveSeekableRange(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsContentTypeSupported(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HighDynamicRangeAnalyzer(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredAnalysisInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredAnalysisInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall add_SceneAnalyzed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SceneAnalyzed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FrameControlValues(void**) noexcept = 0; + virtual int32_t __stdcall get_HighDynamicRange(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AnalysisRecommendation(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResultFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SelectedIndexChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SelectedIndexChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall put_SelectedIndex(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SelectedIndex(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_StartPositionInInput(void**) noexcept = 0; + virtual int32_t __stdcall put_StartPositionInInput(void*) noexcept = 0; + virtual int32_t __stdcall get_EndPositionInInput(void**) noexcept = 0; + virtual int32_t __stdcall put_EndPositionInInput(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CueEntered(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CueEntered(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CueExited(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CueExited(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TrackFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TrackFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Cues(void**) noexcept = 0; + virtual int32_t __stdcall get_ActiveCues(void**) noexcept = 0; + virtual int32_t __stdcall get_TimedMetadataKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DispatchType(void**) noexcept = 0; + virtual int32_t __stdcall AddCue(void*) noexcept = 0; + virtual int32_t __stdcall RemoveCue(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlaybackItem(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TimedMetadataTracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CueRegion(void**) noexcept = 0; + virtual int32_t __stdcall put_CueRegion(void*) noexcept = 0; + virtual int32_t __stdcall get_CueStyle(void**) noexcept = 0; + virtual int32_t __stdcall put_CueStyle(void*) noexcept = 0; + virtual int32_t __stdcall get_Lines(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_Subformats(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Position(struct struct_Windows_Media_Core_TimedTextPoint*) noexcept = 0; + virtual int32_t __stdcall put_Position(struct struct_Windows_Media_Core_TimedTextPoint) noexcept = 0; + virtual int32_t __stdcall get_Extent(struct struct_Windows_Media_Core_TimedTextSize*) noexcept = 0; + virtual int32_t __stdcall put_Extent(struct struct_Windows_Media_Core_TimedTextSize) noexcept = 0; + virtual int32_t __stdcall get_Background(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Background(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_WritingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_WritingMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayAlignment(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DisplayAlignment(int32_t) noexcept = 0; + virtual int32_t __stdcall get_LineHeight(struct struct_Windows_Media_Core_TimedTextDouble*) noexcept = 0; + virtual int32_t __stdcall put_LineHeight(struct struct_Windows_Media_Core_TimedTextDouble) noexcept = 0; + virtual int32_t __stdcall get_IsOverflowClipped(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsOverflowClipped(bool) noexcept = 0; + virtual int32_t __stdcall get_Padding(struct struct_Windows_Media_Core_TimedTextPadding*) noexcept = 0; + virtual int32_t __stdcall put_Padding(struct struct_Windows_Media_Core_TimedTextPadding) noexcept = 0; + virtual int32_t __stdcall get_TextWrapping(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TextWrapping(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ZIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ZIndex(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ScrollMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ScrollMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Align(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Align(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Reserve(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Reserve(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Resolved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Resolved(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(void**) noexcept = 0; + virtual int32_t __stdcall get_Tracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStream(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUri(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamWithLanguage(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUriWithLanguage(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStreamWithIndex(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUriWithIndex(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamWithIndexAndLanguage(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUriWithIndexAndLanguage(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_FontFamily(void**) noexcept = 0; + virtual int32_t __stdcall put_FontFamily(void*) noexcept = 0; + virtual int32_t __stdcall get_FontSize(struct struct_Windows_Media_Core_TimedTextDouble*) noexcept = 0; + virtual int32_t __stdcall put_FontSize(struct struct_Windows_Media_Core_TimedTextDouble) noexcept = 0; + virtual int32_t __stdcall get_FontWeight(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FontWeight(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Foreground(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Foreground(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_Background(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Background(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_IsBackgroundAlwaysShown(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsBackgroundAlwaysShown(bool) noexcept = 0; + virtual int32_t __stdcall get_FlowDirection(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FlowDirection(int32_t) noexcept = 0; + virtual int32_t __stdcall get_LineAlignment(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_LineAlignment(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OutlineColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_OutlineColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_OutlineThickness(struct struct_Windows_Media_Core_TimedTextDouble*) noexcept = 0; + virtual int32_t __stdcall put_OutlineThickness(struct struct_Windows_Media_Core_TimedTextDouble) noexcept = 0; + virtual int32_t __stdcall get_OutlineRadius(struct struct_Windows_Media_Core_TimedTextDouble*) noexcept = 0; + virtual int32_t __stdcall put_OutlineRadius(struct struct_Windows_Media_Core_TimedTextDouble) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FontStyle(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FontStyle(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IsUnderlineEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsUnderlineEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsLineThroughEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsLineThroughEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsOverlineEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsOverlineEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Ruby(void**) noexcept = 0; + virtual int32_t __stdcall get_Bouten(void**) noexcept = 0; + virtual int32_t __stdcall get_IsTextCombined(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsTextCombined(bool) noexcept = 0; + virtual int32_t __stdcall get_FontAngleInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall put_FontAngleInDegrees(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StartIndex(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Length(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Length(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SubformatStyle(void**) noexcept = 0; + virtual int32_t __stdcall put_SubformatStyle(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall add_EnabledChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnabledChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetRecommendedStreamConfiguration(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncodingProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_OpenFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_OpenFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackItem(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DecoderStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaSourceStatus(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Core_IAudioStreamDescriptor + { + [[nodiscard]] auto EncodingProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioStreamDescriptor; + }; + template + struct consume_Windows_Media_Core_IAudioStreamDescriptor2 + { + auto LeadingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LeadingEncoderPadding() const; + auto TrailingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto TrailingEncoderPadding() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioStreamDescriptor2; + }; + template + struct consume_Windows_Media_Core_IAudioStreamDescriptor3 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioStreamDescriptor3; + }; + template + struct consume_Windows_Media_Core_IAudioStreamDescriptorFactory + { + auto Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioStreamDescriptorFactory; + }; + template + struct consume_Windows_Media_Core_IAudioTrack + { + auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OpenFailed_revoker = impl::event_revoker::remove_OpenFailed>; + [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::event_token const& token) const noexcept; + auto GetEncodingProperties() const; + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SupportInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioTrack; + }; + template + struct consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs; + }; + template + struct consume_Windows_Media_Core_IAudioTrackSupportInfo + { + [[nodiscard]] auto DecoderStatus() const; + [[nodiscard]] auto Degradation() const; + [[nodiscard]] auto DegradationReason() const; + [[nodiscard]] auto MediaSourceStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IAudioTrackSupportInfo; + }; + template + struct consume_Windows_Media_Core_IChapterCue + { + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IChapterCue; + }; + template + struct consume_Windows_Media_Core_ICodecInfo + { + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Subtypes() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsTrusted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ICodecInfo; + }; + template + struct consume_Windows_Media_Core_ICodecQuery + { + auto FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ICodecQuery; + }; + template + struct consume_Windows_Media_Core_ICodecSubtypesStatics + { + [[nodiscard]] auto VideoFormatDV25() const; + [[nodiscard]] auto VideoFormatDV50() const; + [[nodiscard]] auto VideoFormatDvc() const; + [[nodiscard]] auto VideoFormatDvh1() const; + [[nodiscard]] auto VideoFormatDvhD() const; + [[nodiscard]] auto VideoFormatDvsd() const; + [[nodiscard]] auto VideoFormatDvsl() const; + [[nodiscard]] auto VideoFormatH263() const; + [[nodiscard]] auto VideoFormatH264() const; + [[nodiscard]] auto VideoFormatH265() const; + [[nodiscard]] auto VideoFormatH264ES() const; + [[nodiscard]] auto VideoFormatHevc() const; + [[nodiscard]] auto VideoFormatHevcES() const; + [[nodiscard]] auto VideoFormatM4S2() const; + [[nodiscard]] auto VideoFormatMjpg() const; + [[nodiscard]] auto VideoFormatMP43() const; + [[nodiscard]] auto VideoFormatMP4S() const; + [[nodiscard]] auto VideoFormatMP4V() const; + [[nodiscard]] auto VideoFormatMpeg2() const; + [[nodiscard]] auto VideoFormatVP80() const; + [[nodiscard]] auto VideoFormatVP90() const; + [[nodiscard]] auto VideoFormatMpg1() const; + [[nodiscard]] auto VideoFormatMss1() const; + [[nodiscard]] auto VideoFormatMss2() const; + [[nodiscard]] auto VideoFormatWmv1() const; + [[nodiscard]] auto VideoFormatWmv2() const; + [[nodiscard]] auto VideoFormatWmv3() const; + [[nodiscard]] auto VideoFormatWvc1() const; + [[nodiscard]] auto VideoFormat420O() const; + [[nodiscard]] auto AudioFormatAac() const; + [[nodiscard]] auto AudioFormatAdts() const; + [[nodiscard]] auto AudioFormatAlac() const; + [[nodiscard]] auto AudioFormatAmrNB() const; + [[nodiscard]] auto AudioFormatAmrWB() const; + [[nodiscard]] auto AudioFormatAmrWP() const; + [[nodiscard]] auto AudioFormatDolbyAC3() const; + [[nodiscard]] auto AudioFormatDolbyAC3Spdif() const; + [[nodiscard]] auto AudioFormatDolbyDDPlus() const; + [[nodiscard]] auto AudioFormatDrm() const; + [[nodiscard]] auto AudioFormatDts() const; + [[nodiscard]] auto AudioFormatFlac() const; + [[nodiscard]] auto AudioFormatFloat() const; + [[nodiscard]] auto AudioFormatMP3() const; + [[nodiscard]] auto AudioFormatMPeg() const; + [[nodiscard]] auto AudioFormatMsp1() const; + [[nodiscard]] auto AudioFormatOpus() const; + [[nodiscard]] auto AudioFormatPcm() const; + [[nodiscard]] auto AudioFormatWmaSpdif() const; + [[nodiscard]] auto AudioFormatWMAudioLossless() const; + [[nodiscard]] auto AudioFormatWMAudioV8() const; + [[nodiscard]] auto AudioFormatWMAudioV9() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ICodecSubtypesStatics; + }; + template + struct consume_Windows_Media_Core_ICodecSubtypesStatics2 + { + [[nodiscard]] auto VideoFormatAv1() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ICodecSubtypesStatics2; + }; + template + struct consume_Windows_Media_Core_IDataCue + { + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto Data() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IDataCue; + }; + template + struct consume_Windows_Media_Core_IDataCue2 + { + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IDataCue2; + }; + template + struct consume_Windows_Media_Core_IFaceDetectedEventArgs + { + [[nodiscard]] auto ResultFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IFaceDetectedEventArgs; + }; + template + struct consume_Windows_Media_Core_IFaceDetectionEffect + { + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + auto DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DesiredDetectionInterval() const; + auto FaceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FaceDetected_revoker = impl::event_revoker::remove_FaceDetected>; + [[nodiscard]] auto FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FaceDetected(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IFaceDetectionEffect; + }; + template + struct consume_Windows_Media_Core_IFaceDetectionEffectDefinition + { + auto DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const; + [[nodiscard]] auto DetectionMode() const; + auto SynchronousDetectionEnabled(bool value) const; + [[nodiscard]] auto SynchronousDetectionEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IFaceDetectionEffectDefinition; + }; + template + struct consume_Windows_Media_Core_IFaceDetectionEffectFrame + { + [[nodiscard]] auto DetectedFaces() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IFaceDetectionEffectFrame; + }; + template + struct consume_Windows_Media_Core_IHighDynamicRangeControl + { + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IHighDynamicRangeControl; + }; + template + struct consume_Windows_Media_Core_IHighDynamicRangeOutput + { + [[nodiscard]] auto Certainty() const; + [[nodiscard]] auto FrameControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IHighDynamicRangeOutput; + }; + template + struct consume_Windows_Media_Core_IImageCue + { + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; + [[nodiscard]] auto Extent() const; + auto Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; + auto SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const; + [[nodiscard]] auto SoftwareBitmap() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IImageCue; + }; + template + struct consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs + { + [[nodiscard]] auto Source() const; + [[nodiscard]] auto RandomAccessStream() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs; + }; + template + struct consume_Windows_Media_Core_ILowLightFusionResult + { + [[nodiscard]] auto Frame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ILowLightFusionResult; + }; + template + struct consume_Windows_Media_Core_ILowLightFusionStatics + { + [[nodiscard]] auto SupportedBitmapPixelFormats() const; + [[nodiscard]] auto MaxSupportedFrameCount() const; + auto FuseAsync(param::async_iterable const& frameSet) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ILowLightFusionStatics; + }; + template + struct consume_Windows_Media_Core_IMediaBinder + { + auto Binding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Binding_revoker = impl::event_revoker::remove_Binding>; + [[nodiscard]] auto Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Binding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Token() const; + auto Token(param::hstring const& value) const; + [[nodiscard]] auto Source() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaBinder; + }; + template + struct consume_Windows_Media_Core_IMediaBindingEventArgs + { + auto Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Canceled_revoker = impl::event_revoker::remove_Canceled>; + [[nodiscard]] auto Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Canceled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaBinder() const; + auto GetDeferral() const; + auto SetUri(winrt::Windows::Foundation::Uri const& uri) const; + auto SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; + auto SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaBindingEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaBindingEventArgs2 + { + auto SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; + auto SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaBindingEventArgs2; + }; + template + struct consume_Windows_Media_Core_IMediaBindingEventArgs3 + { + auto SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaBindingEventArgs3; + }; + template + struct consume_Windows_Media_Core_IMediaCue + { + auto StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartTime() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaCue; + }; + template + struct consume_Windows_Media_Core_IMediaCueEventArgs + { + [[nodiscard]] auto Cue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaCueEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaSource + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSource; + }; + template + struct consume_Windows_Media_Core_IMediaSource2 + { + auto OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OpenOperationCompleted_revoker = impl::event_revoker::remove_OpenOperationCompleted>; + [[nodiscard]] auto OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenOperationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CustomProperties() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsOpen() const; + [[nodiscard]] auto ExternalTimedTextSources() const; + [[nodiscard]] auto ExternalTimedMetadataTracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSource2; + }; + template + struct consume_Windows_Media_Core_IMediaSource3 + { + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto State() const; + auto Reset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSource3; + }; + template + struct consume_Windows_Media_Core_IMediaSource4 + { + [[nodiscard]] auto AdaptiveMediaSource() const; + [[nodiscard]] auto MediaStreamSource() const; + [[nodiscard]] auto MseStreamSource() const; + [[nodiscard]] auto Uri() const; + auto OpenAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSource4; + }; + template + struct consume_Windows_Media_Core_IMediaSource5 + { + [[nodiscard]] auto DownloadOperation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSource5; + }; + template + struct consume_Windows_Media_Core_IMediaSourceAppServiceConnection + { + auto InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using InitializeMediaStreamSourceRequested_revoker = impl::event_revoker::remove_InitializeMediaStreamSourceRequested>; + [[nodiscard]] auto InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept; + auto Start() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceAppServiceConnection; + }; + template + struct consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory + { + auto Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory; + }; + template + struct consume_Windows_Media_Core_IMediaSourceError + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceError; + }; + template + struct consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs + { + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs + { + [[nodiscard]] auto OldState() const; + [[nodiscard]] auto NewState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaSourceStatics + { + auto CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; + auto CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const; + auto CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const; + auto CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const; + auto CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; + auto CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceStatics; + }; + template + struct consume_Windows_Media_Core_IMediaSourceStatics2 + { + auto CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceStatics2; + }; + template + struct consume_Windows_Media_Core_IMediaSourceStatics3 + { + auto CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceStatics3; + }; + template + struct consume_Windows_Media_Core_IMediaSourceStatics4 + { + auto CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaSourceStatics4; + }; + template + struct consume_Windows_Media_Core_IMediaStreamDescriptor + { + [[nodiscard]] auto IsSelected() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto Language() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamDescriptor; + }; + template + struct consume_Windows_Media_Core_IMediaStreamDescriptor2 + { + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamDescriptor2; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSample + { + auto Processed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Processed_revoker = impl::event_revoker::remove_Processed>; + [[nodiscard]] auto Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Processed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Buffer() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto ExtendedProperties() const; + [[nodiscard]] auto Protection() const; + auto DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DecodeTimestamp() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto KeyFrame(bool value) const; + [[nodiscard]] auto KeyFrame() const; + auto Discontinuous(bool value) const; + [[nodiscard]] auto Discontinuous() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSample; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSample2 + { + [[nodiscard]] auto Direct3D11Surface() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSample2; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties + { + auto SetKeyIdentifier(array_view value) const; + auto GetKeyIdentifier(com_array& value) const; + auto SetInitializationVector(array_view value) const; + auto GetInitializationVector(com_array& value) const; + auto SetSubSampleMapping(array_view value) const; + auto GetSubSampleMapping(com_array& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSampleStatics + { + auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSampleStatics; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSampleStatics2 + { + auto CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSampleStatics2; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSource + { + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Starting_revoker = impl::event_revoker::remove_Starting>; + [[nodiscard]] auto Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Starting(winrt::event_token const& token) const noexcept; + auto Paused(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Paused_revoker = impl::event_revoker::remove_Paused>; + [[nodiscard]] auto Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Paused(winrt::event_token const& token) const noexcept; + auto SampleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SampleRequested_revoker = impl::event_revoker::remove_SampleRequested>; + [[nodiscard]] auto SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SampleRequested(winrt::event_token const& token) const noexcept; + auto SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SwitchStreamsRequested_revoker = impl::event_revoker::remove_SwitchStreamsRequested>; + [[nodiscard]] auto SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SwitchStreamsRequested(winrt::event_token const& token) const noexcept; + auto NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const; + auto AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; + auto MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; + [[nodiscard]] auto MediaProtectionManager() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto CanSeek(bool value) const; + [[nodiscard]] auto CanSeek() const; + auto BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BufferTime() const; + auto SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + auto Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view keyIdentifier, array_view licenseData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSource; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSource2 + { + auto SampleRendered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SampleRendered_revoker = impl::event_revoker::remove_SampleRendered>; + [[nodiscard]] auto SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SampleRendered(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSource2; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSource3 + { + auto MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxSupportedPlaybackRate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSource3; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSource4 + { + auto IsLive(bool value) const; + [[nodiscard]] auto IsLive() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSource4; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceClosedRequest + { + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceClosedRequest; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceFactory + { + auto CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; + auto CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceFactory; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs + { + [[nodiscard]] auto SampleLag() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequest + { + [[nodiscard]] auto StreamDescriptor() const; + auto GetDeferral() const; + auto Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const; + [[nodiscard]] auto Sample() const; + auto ReportSampleProgress(uint32_t progress) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSampleRequest; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequest + { + [[nodiscard]] auto StartPosition() const; + auto GetDeferral() const; + auto SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceStartingRequest; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest + { + [[nodiscard]] auto OldStreamDescriptor() const; + [[nodiscard]] auto NewStreamDescriptor() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral; + }; + template + struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs + { + [[nodiscard]] auto Request() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs; + }; + template + struct consume_Windows_Media_Core_IMediaTrack + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto TrackKind() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMediaTrack; + }; + template + struct consume_Windows_Media_Core_IMseSourceBuffer + { + auto UpdateStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UpdateStarting_revoker = impl::event_revoker::remove_UpdateStarting>; + [[nodiscard]] auto UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateStarting(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto UpdateEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using UpdateEnded_revoker = impl::event_revoker::remove_UpdateEnded>; + [[nodiscard]] auto UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateEnded(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + auto Aborted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Aborted_revoker = impl::event_revoker::remove_Aborted>; + [[nodiscard]] auto Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Aborted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const; + [[nodiscard]] auto IsUpdating() const; + [[nodiscard]] auto Buffered() const; + [[nodiscard]] auto TimestampOffset() const; + auto TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AppendWindowStart() const; + auto AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AppendWindowEnd() const; + auto AppendWindowEnd(winrt::Windows::Foundation::IReference const& value) const; + auto AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + auto AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const; + auto Abort() const; + auto Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference const& end) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMseSourceBuffer; + }; + template + struct consume_Windows_Media_Core_IMseSourceBufferList + { + auto SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceBufferAdded_revoker = impl::event_revoker::remove_SourceBufferAdded>; + [[nodiscard]] auto SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceBufferAdded(winrt::event_token const& token) const noexcept; + auto SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceBufferRemoved_revoker = impl::event_revoker::remove_SourceBufferRemoved>; + [[nodiscard]] auto SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceBufferRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Buffers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMseSourceBufferList; + }; + template + struct consume_Windows_Media_Core_IMseStreamSource + { + auto Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Opened_revoker = impl::event_revoker::remove_Opened>; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Ended(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Ended_revoker = impl::event_revoker::remove_Ended>; + [[nodiscard]] auto Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Ended(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SourceBuffers() const; + [[nodiscard]] auto ActiveSourceBuffers() const; + [[nodiscard]] auto ReadyState() const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + auto AddSourceBuffer(param::hstring const& mimeType) const; + auto RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const; + auto EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMseStreamSource; + }; + template + struct consume_Windows_Media_Core_IMseStreamSource2 + { + [[nodiscard]] auto LiveSeekableRange() const; + auto LiveSeekableRange(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMseStreamSource2; + }; + template + struct consume_Windows_Media_Core_IMseStreamSourceStatics + { + auto IsContentTypeSupported(param::hstring const& contentType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IMseStreamSourceStatics; + }; + template + struct consume_Windows_Media_Core_ISceneAnalysisEffect + { + [[nodiscard]] auto HighDynamicRangeAnalyzer() const; + auto DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DesiredAnalysisInterval() const; + auto SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SceneAnalyzed_revoker = impl::event_revoker::remove_SceneAnalyzed>; + [[nodiscard]] auto SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SceneAnalyzed(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISceneAnalysisEffect; + }; + template + struct consume_Windows_Media_Core_ISceneAnalysisEffectFrame + { + [[nodiscard]] auto FrameControlValues() const; + [[nodiscard]] auto HighDynamicRange() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISceneAnalysisEffectFrame; + }; + template + struct consume_Windows_Media_Core_ISceneAnalysisEffectFrame2 + { + [[nodiscard]] auto AnalysisRecommendation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISceneAnalysisEffectFrame2; + }; + template + struct consume_Windows_Media_Core_ISceneAnalyzedEventArgs + { + [[nodiscard]] auto ResultFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISceneAnalyzedEventArgs; + }; + template + struct consume_Windows_Media_Core_ISingleSelectMediaTrackList + { + auto SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SelectedIndexChanged_revoker = impl::event_revoker::remove_SelectedIndexChanged>; + [[nodiscard]] auto SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedIndexChanged(winrt::event_token const& token) const noexcept; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISingleSelectMediaTrackList; + }; + template + struct consume_Windows_Media_Core_ISpeechCue + { + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto StartPositionInInput() const; + auto StartPositionInInput(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndPositionInInput() const; + auto EndPositionInInput(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ISpeechCue; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataStreamDescriptor + { + [[nodiscard]] auto EncodingProperties() const; + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataStreamDescriptor; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory + { + auto Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrack + { + auto CueEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CueEntered_revoker = impl::event_revoker::remove_CueEntered>; + [[nodiscard]] auto CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CueEntered(winrt::event_token const& token) const noexcept; + auto CueExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CueExited_revoker = impl::event_revoker::remove_CueExited>; + [[nodiscard]] auto CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CueExited(winrt::event_token const& token) const noexcept; + auto TrackFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TrackFailed_revoker = impl::event_revoker::remove_TrackFailed>; + [[nodiscard]] auto TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TrackFailed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Cues() const; + [[nodiscard]] auto ActiveCues() const; + [[nodiscard]] auto TimedMetadataKind() const; + [[nodiscard]] auto DispatchType() const; + auto AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; + auto RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrack; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrack2 + { + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrack2; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrackError + { + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrackError; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrackFactory + { + auto Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrackFactory; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs + { + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs; + }; + template + struct consume_Windows_Media_Core_ITimedMetadataTrackProvider + { + [[nodiscard]] auto TimedMetadataTracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedMetadataTrackProvider; + }; + template + struct consume_Windows_Media_Core_ITimedTextBouten + { + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextBouten; + }; + template + struct consume_Windows_Media_Core_ITimedTextCue + { + [[nodiscard]] auto CueRegion() const; + auto CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const; + [[nodiscard]] auto CueStyle() const; + auto CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; + [[nodiscard]] auto Lines() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextCue; + }; + template + struct consume_Windows_Media_Core_ITimedTextLine + { + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Subformats() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextLine; + }; + template + struct consume_Windows_Media_Core_ITimedTextRegion + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; + [[nodiscard]] auto Extent() const; + auto Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto WritingMode() const; + auto WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const; + [[nodiscard]] auto DisplayAlignment() const; + auto DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto IsOverflowClipped() const; + auto IsOverflowClipped(bool value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; + [[nodiscard]] auto ScrollMode() const; + auto ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextRegion; + }; + template + struct consume_Windows_Media_Core_ITimedTextRuby + { + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const; + [[nodiscard]] auto Align() const; + auto Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const; + [[nodiscard]] auto Reserve() const; + auto Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextRuby; + }; + template + struct consume_Windows_Media_Core_ITimedTextSource + { + auto Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Resolved_revoker = impl::event_revoker::remove_Resolved>; + [[nodiscard]] auto Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Resolved(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextSource; + }; + template + struct consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Tracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs; + }; + template + struct consume_Windows_Media_Core_ITimedTextSourceStatics + { + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextSourceStatics; + }; + template + struct consume_Windows_Media_Core_ITimedTextSourceStatics2 + { + auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const; + auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const; + auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const; + auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextSourceStatics2; + }; + template + struct consume_Windows_Media_Core_ITimedTextStyle + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(param::hstring const& value) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto IsBackgroundAlwaysShown() const; + auto IsBackgroundAlwaysShown(bool value) const; + [[nodiscard]] auto FlowDirection() const; + auto FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const; + [[nodiscard]] auto LineAlignment() const; + auto LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const; + [[nodiscard]] auto OutlineColor() const; + auto OutlineColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto OutlineThickness() const; + auto OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto OutlineRadius() const; + auto OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextStyle; + }; + template + struct consume_Windows_Media_Core_ITimedTextStyle2 + { + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const; + [[nodiscard]] auto IsUnderlineEnabled() const; + auto IsUnderlineEnabled(bool value) const; + [[nodiscard]] auto IsLineThroughEnabled() const; + auto IsLineThroughEnabled(bool value) const; + [[nodiscard]] auto IsOverlineEnabled() const; + auto IsOverlineEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextStyle2; + }; + template + struct consume_Windows_Media_Core_ITimedTextStyle3 + { + [[nodiscard]] auto Ruby() const; + [[nodiscard]] auto Bouten() const; + [[nodiscard]] auto IsTextCombined() const; + auto IsTextCombined(bool value) const; + [[nodiscard]] auto FontAngleInDegrees() const; + auto FontAngleInDegrees(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextStyle3; + }; + template + struct consume_Windows_Media_Core_ITimedTextSubformat + { + [[nodiscard]] auto StartIndex() const; + auto StartIndex(int32_t value) const; + [[nodiscard]] auto Length() const; + auto Length(int32_t value) const; + [[nodiscard]] auto SubformatStyle() const; + auto SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextSubformat; + }; + template + struct consume_Windows_Media_Core_IVideoStabilizationEffect + { + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + auto EnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnabledChanged_revoker = impl::event_revoker::remove_EnabledChanged>; + [[nodiscard]] auto EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnabledChanged(winrt::event_token const& cookie) const noexcept; + auto GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoStabilizationEffect; + }; + template + struct consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs + { + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs; + }; + template + struct consume_Windows_Media_Core_IVideoStreamDescriptor + { + [[nodiscard]] auto EncodingProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoStreamDescriptor; + }; + template + struct consume_Windows_Media_Core_IVideoStreamDescriptor2 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoStreamDescriptor2; + }; + template + struct consume_Windows_Media_Core_IVideoStreamDescriptorFactory + { + auto Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoStreamDescriptorFactory; + }; + template + struct consume_Windows_Media_Core_IVideoTrack + { + auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using OpenFailed_revoker = impl::event_revoker::remove_OpenFailed>; + [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::event_token const& token) const noexcept; + auto GetEncodingProperties() const; + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SupportInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoTrack; + }; + template + struct consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs; + }; + template + struct consume_Windows_Media_Core_IVideoTrackSupportInfo + { + [[nodiscard]] auto DecoderStatus() const; + [[nodiscard]] auto MediaSourceStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_IVideoTrackSupportInfo; + }; + struct struct_Windows_Media_Core_MseTimeRange + { + int64_t Start; + int64_t End; + }; + template <> struct abi + { + using type = struct_Windows_Media_Core_MseTimeRange; + }; + struct struct_Windows_Media_Core_TimedTextDouble + { + double Value; + int32_t Unit; + }; + template <> struct abi + { + using type = struct_Windows_Media_Core_TimedTextDouble; + }; + struct struct_Windows_Media_Core_TimedTextPadding + { + double Before; + double After; + double Start; + double End; + int32_t Unit; + }; + template <> struct abi + { + using type = struct_Windows_Media_Core_TimedTextPadding; + }; + struct struct_Windows_Media_Core_TimedTextPoint + { + double X; + double Y; + int32_t Unit; + }; + template <> struct abi + { + using type = struct_Windows_Media_Core_TimedTextPoint; + }; + struct struct_Windows_Media_Core_TimedTextSize + { + double Height; + double Width; + int32_t Unit; + }; + template <> struct abi + { + using type = struct_Windows_Media_Core_TimedTextSize; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..40c254457c42133d6c0895dc4ec242b671912fb8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.1.h @@ -0,0 +1,807 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_1_H +#define WINRT_Windows_Media_Core_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.0.h" +#include "winrt/impl/Windows.Media.Effects.0.h" +#include "winrt/impl/Windows.Media.Playback.0.h" +#include "winrt/impl/Windows.Media.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct WINRT_IMPL_EMPTY_BASES IAudioStreamDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioStreamDescriptor(std::nullptr_t = nullptr) noexcept {} + IAudioStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioStreamDescriptor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioStreamDescriptor2(std::nullptr_t = nullptr) noexcept {} + IAudioStreamDescriptor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioStreamDescriptor3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioStreamDescriptor3(std::nullptr_t = nullptr) noexcept {} + IAudioStreamDescriptor3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioStreamDescriptorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioStreamDescriptorFactory(std::nullptr_t = nullptr) noexcept {} + IAudioStreamDescriptorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioTrack(std::nullptr_t = nullptr) noexcept {} + IAudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioTrackOpenFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioTrackOpenFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAudioTrackOpenFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioTrackSupportInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioTrackSupportInfo(std::nullptr_t = nullptr) noexcept {} + IAudioTrackSupportInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IChapterCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IChapterCue(std::nullptr_t = nullptr) noexcept {} + IChapterCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICodecInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICodecInfo(std::nullptr_t = nullptr) noexcept {} + ICodecInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICodecQuery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICodecQuery(std::nullptr_t = nullptr) noexcept {} + ICodecQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICodecSubtypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICodecSubtypesStatics(std::nullptr_t = nullptr) noexcept {} + ICodecSubtypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICodecSubtypesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICodecSubtypesStatics2(std::nullptr_t = nullptr) noexcept {} + ICodecSubtypesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDataCue(std::nullptr_t = nullptr) noexcept {} + IDataCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataCue2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDataCue2(std::nullptr_t = nullptr) noexcept {} + IDataCue2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFaceDetectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IFaceDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetectionEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IFaceDetectionEffect(std::nullptr_t = nullptr) noexcept {} + IFaceDetectionEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetectionEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IFaceDetectionEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IFaceDetectionEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetectionEffectFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IFaceDetectionEffectFrame(std::nullptr_t = nullptr) noexcept {} + IFaceDetectionEffectFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHighDynamicRangeControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHighDynamicRangeControl(std::nullptr_t = nullptr) noexcept {} + IHighDynamicRangeControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHighDynamicRangeOutput : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHighDynamicRangeOutput(std::nullptr_t = nullptr) noexcept {} + IHighDynamicRangeOutput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IImageCue(std::nullptr_t = nullptr) noexcept {} + IImageCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInitializeMediaStreamSourceRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInitializeMediaStreamSourceRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IInitializeMediaStreamSourceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLightFusionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLightFusionResult(std::nullptr_t = nullptr) noexcept {} + ILowLightFusionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLightFusionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLightFusionStatics(std::nullptr_t = nullptr) noexcept {} + ILowLightFusionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBinder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBinder(std::nullptr_t = nullptr) noexcept {} + IMediaBinder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBindingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBindingEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaBindingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBindingEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBindingEventArgs2(std::nullptr_t = nullptr) noexcept {} + IMediaBindingEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBindingEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBindingEventArgs3(std::nullptr_t = nullptr) noexcept {} + IMediaBindingEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCue(std::nullptr_t = nullptr) noexcept {} + IMediaCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCueEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCueEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaCueEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSource(std::nullptr_t = nullptr) noexcept {} + IMediaSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaSource2(std::nullptr_t = nullptr) noexcept {} + IMediaSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSource3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaSource3(std::nullptr_t = nullptr) noexcept {} + IMediaSource3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSource4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaSource4(std::nullptr_t = nullptr) noexcept {} + IMediaSource4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSource5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSource5(std::nullptr_t = nullptr) noexcept {} + IMediaSource5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceAppServiceConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceAppServiceConnection(std::nullptr_t = nullptr) noexcept {} + IMediaSourceAppServiceConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceAppServiceConnectionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceAppServiceConnectionFactory(std::nullptr_t = nullptr) noexcept {} + IMediaSourceAppServiceConnectionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceError(std::nullptr_t = nullptr) noexcept {} + IMediaSourceError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceOpenOperationCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceOpenOperationCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaSourceOpenOperationCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaSourceStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceStatics(std::nullptr_t = nullptr) noexcept {} + IMediaSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceStatics2(std::nullptr_t = nullptr) noexcept {} + IMediaSourceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceStatics3(std::nullptr_t = nullptr) noexcept {} + IMediaSourceStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaSourceStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaSourceStatics4(std::nullptr_t = nullptr) noexcept {} + IMediaSourceStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamDescriptor(std::nullptr_t = nullptr) noexcept {} + IMediaStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamDescriptor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaStreamDescriptor2(std::nullptr_t = nullptr) noexcept {} + IMediaStreamDescriptor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSample : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSample(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSample(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSample2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSample2(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSample2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSampleProtectionProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSampleProtectionProperties(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSampleProtectionProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSampleStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSampleStatics(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSampleStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSampleStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSampleStatics2(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSampleStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaStreamSource(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaStreamSource2(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSource3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaStreamSource3(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSource3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSource4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaStreamSource4(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSource4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceClosedRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceClosedRequest(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceClosedRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceFactory(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSampleRenderedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSampleRenderedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSampleRenderedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSampleRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSampleRequest(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSampleRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSampleRequestDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSampleRequestDeferral(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSampleRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSampleRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSampleRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSampleRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceStartingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceStartingEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceStartingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceStartingRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceStartingRequest(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceStartingRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceStartingRequestDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceStartingRequestDeferral(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceStartingRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSwitchStreamsRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSwitchStreamsRequest(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSwitchStreamsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSwitchStreamsRequestDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSwitchStreamsRequestDeferral(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSwitchStreamsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaStreamSourceSwitchStreamsRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaStreamSourceSwitchStreamsRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaStreamSourceSwitchStreamsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTrack(std::nullptr_t = nullptr) noexcept {} + IMediaTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMseSourceBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMseSourceBuffer(std::nullptr_t = nullptr) noexcept {} + IMseSourceBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMseSourceBufferList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMseSourceBufferList(std::nullptr_t = nullptr) noexcept {} + IMseSourceBufferList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMseStreamSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMseStreamSource(std::nullptr_t = nullptr) noexcept {} + IMseStreamSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMseStreamSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMseStreamSource2(std::nullptr_t = nullptr) noexcept {} + IMseStreamSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMseStreamSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMseStreamSourceStatics(std::nullptr_t = nullptr) noexcept {} + IMseStreamSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISceneAnalysisEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISceneAnalysisEffect(std::nullptr_t = nullptr) noexcept {} + ISceneAnalysisEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISceneAnalysisEffectFrame : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISceneAnalysisEffectFrame(std::nullptr_t = nullptr) noexcept {} + ISceneAnalysisEffectFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISceneAnalysisEffectFrame2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISceneAnalysisEffectFrame2(std::nullptr_t = nullptr) noexcept {} + ISceneAnalysisEffectFrame2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISceneAnalyzedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISceneAnalyzedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISceneAnalyzedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISingleSelectMediaTrackList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISingleSelectMediaTrackList(std::nullptr_t = nullptr) noexcept {} + ISingleSelectMediaTrackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechCue(std::nullptr_t = nullptr) noexcept {} + ISpeechCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataStreamDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataStreamDescriptor(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataStreamDescriptorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataStreamDescriptorFactory(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataStreamDescriptorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ITimedMetadataTrack(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrack2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ITimedMetadataTrack2(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrack2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrackError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataTrackError(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrackError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrackFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataTrackFactory(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrackFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrackFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataTrackFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrackFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataTrackProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataTrackProvider(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataTrackProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextBouten : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextBouten(std::nullptr_t = nullptr) noexcept {} + ITimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextCue : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ITimedTextCue(std::nullptr_t = nullptr) noexcept {} + ITimedTextCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextLine : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextLine(std::nullptr_t = nullptr) noexcept {} + ITimedTextLine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextRegion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextRegion(std::nullptr_t = nullptr) noexcept {} + ITimedTextRegion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextRuby : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextRuby(std::nullptr_t = nullptr) noexcept {} + ITimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextSource(std::nullptr_t = nullptr) noexcept {} + ITimedTextSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextSourceResolveResultEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextSourceResolveResultEventArgs(std::nullptr_t = nullptr) noexcept {} + ITimedTextSourceResolveResultEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextSourceStatics(std::nullptr_t = nullptr) noexcept {} + ITimedTextSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextSourceStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextSourceStatics2(std::nullptr_t = nullptr) noexcept {} + ITimedTextSourceStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextStyle : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextStyle(std::nullptr_t = nullptr) noexcept {} + ITimedTextStyle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextStyle2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextStyle2(std::nullptr_t = nullptr) noexcept {} + ITimedTextStyle2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextStyle3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextStyle3(std::nullptr_t = nullptr) noexcept {} + ITimedTextStyle3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedTextSubformat : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextSubformat(std::nullptr_t = nullptr) noexcept {} + ITimedTextSubformat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStabilizationEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoStabilizationEffect(std::nullptr_t = nullptr) noexcept {} + IVideoStabilizationEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStabilizationEffectEnabledChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoStabilizationEffectEnabledChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVideoStabilizationEffectEnabledChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStreamDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoStreamDescriptor(std::nullptr_t = nullptr) noexcept {} + IVideoStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStreamDescriptor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoStreamDescriptor2(std::nullptr_t = nullptr) noexcept {} + IVideoStreamDescriptor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoStreamDescriptorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoStreamDescriptorFactory(std::nullptr_t = nullptr) noexcept {} + IVideoStreamDescriptorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTrack(std::nullptr_t = nullptr) noexcept {} + IVideoTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTrackOpenFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTrackOpenFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVideoTrackOpenFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTrackSupportInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTrackSupportInfo(std::nullptr_t = nullptr) noexcept {} + IVideoTrackSupportInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..50b1df01cc9615de926c0a14dbc4182ec2f7d436 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.2.h @@ -0,0 +1,566 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_2_H +#define WINRT_Windows_Media_Core_2_H +#include "winrt/impl/Windows.ApplicationModel.AppService.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h" +#include "winrt/impl/Windows.Graphics.Imaging.2.h" +#include "winrt/impl/Windows.Media.2.h" +#include "winrt/impl/Windows.Media.Capture.Frames.2.h" +#include "winrt/impl/Windows.Media.Effects.2.h" +#include "winrt/impl/Windows.Media.MediaProperties.2.h" +#include "winrt/impl/Windows.Media.Playback.2.h" +#include "winrt/impl/Windows.Media.Streaming.Adaptive.2.h" +#include "winrt/impl/Windows.Networking.BackgroundTransfer.2.h" +#include "winrt/impl/Windows.Storage.2.h" +#include "winrt/impl/Windows.Storage.Streams.2.h" +#include "winrt/impl/Windows.Media.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct MseTimeRange + { + winrt::Windows::Foundation::TimeSpan Start {}; + winrt::Windows::Foundation::TimeSpan End {}; + }; + inline bool operator==(MseTimeRange const& left, MseTimeRange const& right) noexcept + { + return left.Start == right.Start && left.End == right.End; + } + inline bool operator!=(MseTimeRange const& left, MseTimeRange const& right) noexcept + { + return !(left == right); + } + struct TimedTextDouble + { + double Value {}; + winrt::Windows::Media::Core::TimedTextUnit Unit {}; + }; + inline bool operator==(TimedTextDouble const& left, TimedTextDouble const& right) noexcept + { + return left.Value == right.Value && left.Unit == right.Unit; + } + inline bool operator!=(TimedTextDouble const& left, TimedTextDouble const& right) noexcept + { + return !(left == right); + } + struct TimedTextPadding + { + double Before {}; + double After {}; + double Start {}; + double End {}; + winrt::Windows::Media::Core::TimedTextUnit Unit {}; + }; + inline bool operator==(TimedTextPadding const& left, TimedTextPadding const& right) noexcept + { + return left.Before == right.Before && left.After == right.After && left.Start == right.Start && left.End == right.End && left.Unit == right.Unit; + } + inline bool operator!=(TimedTextPadding const& left, TimedTextPadding const& right) noexcept + { + return !(left == right); + } + struct TimedTextPoint + { + double X {}; + double Y {}; + winrt::Windows::Media::Core::TimedTextUnit Unit {}; + }; + inline bool operator==(TimedTextPoint const& left, TimedTextPoint const& right) noexcept + { + return left.X == right.X && left.Y == right.Y && left.Unit == right.Unit; + } + inline bool operator!=(TimedTextPoint const& left, TimedTextPoint const& right) noexcept + { + return !(left == right); + } + struct TimedTextSize + { + double Height {}; + double Width {}; + winrt::Windows::Media::Core::TimedTextUnit Unit {}; + }; + inline bool operator==(TimedTextSize const& left, TimedTextSize const& right) noexcept + { + return left.Height == right.Height && left.Width == right.Width && left.Unit == right.Unit; + } + inline bool operator!=(TimedTextSize const& left, TimedTextSize const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AudioStreamDescriptor : winrt::Windows::Media::Core::IAudioStreamDescriptor, + impl::require + { + AudioStreamDescriptor(std::nullptr_t) noexcept {} + AudioStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IAudioStreamDescriptor(ptr, take_ownership_from_abi) {} + explicit AudioStreamDescriptor(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties); + }; + struct WINRT_IMPL_EMPTY_BASES AudioTrack : winrt::Windows::Media::Core::IMediaTrack, + impl::require + { + AudioTrack(std::nullptr_t) noexcept {} + AudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaTrack(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioTrackOpenFailedEventArgs : winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs + { + AudioTrackOpenFailedEventArgs(std::nullptr_t) noexcept {} + AudioTrackOpenFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioTrackSupportInfo : winrt::Windows::Media::Core::IAudioTrackSupportInfo + { + AudioTrackSupportInfo(std::nullptr_t) noexcept {} + AudioTrackSupportInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IAudioTrackSupportInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ChapterCue : winrt::Windows::Media::Core::IChapterCue + { + ChapterCue(std::nullptr_t) noexcept {} + ChapterCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IChapterCue(ptr, take_ownership_from_abi) {} + ChapterCue(); + }; + struct WINRT_IMPL_EMPTY_BASES CodecInfo : winrt::Windows::Media::Core::ICodecInfo + { + CodecInfo(std::nullptr_t) noexcept {} + CodecInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ICodecInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CodecQuery : winrt::Windows::Media::Core::ICodecQuery + { + CodecQuery(std::nullptr_t) noexcept {} + CodecQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ICodecQuery(ptr, take_ownership_from_abi) {} + CodecQuery(); + }; + struct CodecSubtypes + { + CodecSubtypes() = delete; + [[nodiscard]] static auto VideoFormatDV25(); + [[nodiscard]] static auto VideoFormatDV50(); + [[nodiscard]] static auto VideoFormatDvc(); + [[nodiscard]] static auto VideoFormatDvh1(); + [[nodiscard]] static auto VideoFormatDvhD(); + [[nodiscard]] static auto VideoFormatDvsd(); + [[nodiscard]] static auto VideoFormatDvsl(); + [[nodiscard]] static auto VideoFormatH263(); + [[nodiscard]] static auto VideoFormatH264(); + [[nodiscard]] static auto VideoFormatH265(); + [[nodiscard]] static auto VideoFormatH264ES(); + [[nodiscard]] static auto VideoFormatHevc(); + [[nodiscard]] static auto VideoFormatHevcES(); + [[nodiscard]] static auto VideoFormatM4S2(); + [[nodiscard]] static auto VideoFormatMjpg(); + [[nodiscard]] static auto VideoFormatMP43(); + [[nodiscard]] static auto VideoFormatMP4S(); + [[nodiscard]] static auto VideoFormatMP4V(); + [[nodiscard]] static auto VideoFormatMpeg2(); + [[nodiscard]] static auto VideoFormatVP80(); + [[nodiscard]] static auto VideoFormatVP90(); + [[nodiscard]] static auto VideoFormatMpg1(); + [[nodiscard]] static auto VideoFormatMss1(); + [[nodiscard]] static auto VideoFormatMss2(); + [[nodiscard]] static auto VideoFormatWmv1(); + [[nodiscard]] static auto VideoFormatWmv2(); + [[nodiscard]] static auto VideoFormatWmv3(); + [[nodiscard]] static auto VideoFormatWvc1(); + [[nodiscard]] static auto VideoFormat420O(); + [[nodiscard]] static auto AudioFormatAac(); + [[nodiscard]] static auto AudioFormatAdts(); + [[nodiscard]] static auto AudioFormatAlac(); + [[nodiscard]] static auto AudioFormatAmrNB(); + [[nodiscard]] static auto AudioFormatAmrWB(); + [[nodiscard]] static auto AudioFormatAmrWP(); + [[nodiscard]] static auto AudioFormatDolbyAC3(); + [[nodiscard]] static auto AudioFormatDolbyAC3Spdif(); + [[nodiscard]] static auto AudioFormatDolbyDDPlus(); + [[nodiscard]] static auto AudioFormatDrm(); + [[nodiscard]] static auto AudioFormatDts(); + [[nodiscard]] static auto AudioFormatFlac(); + [[nodiscard]] static auto AudioFormatFloat(); + [[nodiscard]] static auto AudioFormatMP3(); + [[nodiscard]] static auto AudioFormatMPeg(); + [[nodiscard]] static auto AudioFormatMsp1(); + [[nodiscard]] static auto AudioFormatOpus(); + [[nodiscard]] static auto AudioFormatPcm(); + [[nodiscard]] static auto AudioFormatWmaSpdif(); + [[nodiscard]] static auto AudioFormatWMAudioLossless(); + [[nodiscard]] static auto AudioFormatWMAudioV8(); + [[nodiscard]] static auto AudioFormatWMAudioV9(); + [[nodiscard]] static auto VideoFormatAv1(); + }; + struct WINRT_IMPL_EMPTY_BASES DataCue : winrt::Windows::Media::Core::IDataCue, + impl::require + { + DataCue(std::nullptr_t) noexcept {} + DataCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IDataCue(ptr, take_ownership_from_abi) {} + DataCue(); + }; + struct WINRT_IMPL_EMPTY_BASES FaceDetectedEventArgs : winrt::Windows::Media::Core::IFaceDetectedEventArgs + { + FaceDetectedEventArgs(std::nullptr_t) noexcept {} + FaceDetectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IFaceDetectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FaceDetectionEffect : winrt::Windows::Media::Core::IFaceDetectionEffect + { + FaceDetectionEffect(std::nullptr_t) noexcept {} + FaceDetectionEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IFaceDetectionEffect(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FaceDetectionEffectDefinition : winrt::Windows::Media::Effects::IVideoEffectDefinition, + impl::require + { + FaceDetectionEffectDefinition(std::nullptr_t) noexcept {} + FaceDetectionEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoEffectDefinition(ptr, take_ownership_from_abi) {} + FaceDetectionEffectDefinition(); + }; + struct WINRT_IMPL_EMPTY_BASES FaceDetectionEffectFrame : winrt::Windows::Media::Core::IFaceDetectionEffectFrame + { + FaceDetectionEffectFrame(std::nullptr_t) noexcept {} + FaceDetectionEffectFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IFaceDetectionEffectFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HighDynamicRangeControl : winrt::Windows::Media::Core::IHighDynamicRangeControl + { + HighDynamicRangeControl(std::nullptr_t) noexcept {} + HighDynamicRangeControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IHighDynamicRangeControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HighDynamicRangeOutput : winrt::Windows::Media::Core::IHighDynamicRangeOutput + { + HighDynamicRangeOutput(std::nullptr_t) noexcept {} + HighDynamicRangeOutput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IHighDynamicRangeOutput(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ImageCue : winrt::Windows::Media::Core::IImageCue + { + ImageCue(std::nullptr_t) noexcept {} + ImageCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IImageCue(ptr, take_ownership_from_abi) {} + ImageCue(); + }; + struct WINRT_IMPL_EMPTY_BASES InitializeMediaStreamSourceRequestedEventArgs : winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs + { + InitializeMediaStreamSourceRequestedEventArgs(std::nullptr_t) noexcept {} + InitializeMediaStreamSourceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct LowLightFusion + { + LowLightFusion() = delete; + [[nodiscard]] static auto SupportedBitmapPixelFormats(); + [[nodiscard]] static auto MaxSupportedFrameCount(); + static auto FuseAsync(param::async_iterable const& frameSet); + }; + struct WINRT_IMPL_EMPTY_BASES LowLightFusionResult : winrt::Windows::Media::Core::ILowLightFusionResult, + impl::require + { + LowLightFusionResult(std::nullptr_t) noexcept {} + LowLightFusionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ILowLightFusionResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBinder : winrt::Windows::Media::Core::IMediaBinder + { + MediaBinder(std::nullptr_t) noexcept {} + MediaBinder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaBinder(ptr, take_ownership_from_abi) {} + MediaBinder(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaBindingEventArgs : winrt::Windows::Media::Core::IMediaBindingEventArgs, + impl::require + { + MediaBindingEventArgs(std::nullptr_t) noexcept {} + MediaBindingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaBindingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaCueEventArgs : winrt::Windows::Media::Core::IMediaCueEventArgs + { + MediaCueEventArgs(std::nullptr_t) noexcept {} + MediaCueEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaCueEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaSource : winrt::Windows::Media::Core::IMediaSource2, + impl::require + { + MediaSource(std::nullptr_t) noexcept {} + MediaSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaSource2(ptr, take_ownership_from_abi) {} + static auto CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource); + static auto CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource); + static auto CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource); + static auto CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource); + static auto CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file); + static auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType); + static auto CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType); + static auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri); + static auto CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder); + static auto CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource); + static auto CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation); + }; + struct WINRT_IMPL_EMPTY_BASES MediaSourceAppServiceConnection : winrt::Windows::Media::Core::IMediaSourceAppServiceConnection + { + MediaSourceAppServiceConnection(std::nullptr_t) noexcept {} + MediaSourceAppServiceConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaSourceAppServiceConnection(ptr, take_ownership_from_abi) {} + explicit MediaSourceAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection); + }; + struct WINRT_IMPL_EMPTY_BASES MediaSourceError : winrt::Windows::Media::Core::IMediaSourceError + { + MediaSourceError(std::nullptr_t) noexcept {} + MediaSourceError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaSourceError(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaSourceOpenOperationCompletedEventArgs : winrt::Windows::Media::Core::IMediaSourceOpenOperationCompletedEventArgs + { + MediaSourceOpenOperationCompletedEventArgs(std::nullptr_t) noexcept {} + MediaSourceOpenOperationCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaSourceOpenOperationCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaSourceStateChangedEventArgs : winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs + { + MediaSourceStateChangedEventArgs(std::nullptr_t) noexcept {} + MediaSourceStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSample : winrt::Windows::Media::Core::IMediaStreamSample, + impl::require + { + MediaStreamSample(std::nullptr_t) noexcept {} + MediaStreamSample(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSample(ptr, take_ownership_from_abi) {} + static auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp); + static auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp); + static auto CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp); + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSamplePropertySet : winrt::Windows::Foundation::Collections::IMap + { + MediaStreamSamplePropertySet(std::nullptr_t) noexcept {} + MediaStreamSamplePropertySet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMap(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSampleProtectionProperties : winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties + { + MediaStreamSampleProtectionProperties(std::nullptr_t) noexcept {} + MediaStreamSampleProtectionProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSource : winrt::Windows::Media::Core::IMediaStreamSource, + impl::require + { + MediaStreamSource(std::nullptr_t) noexcept {} + MediaStreamSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSource(ptr, take_ownership_from_abi) {} + explicit MediaStreamSource(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor); + MediaStreamSource(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2); + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceClosedEventArgs : winrt::Windows::Media::Core::IMediaStreamSourceClosedEventArgs + { + MediaStreamSourceClosedEventArgs(std::nullptr_t) noexcept {} + MediaStreamSourceClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceClosedRequest : winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest + { + MediaStreamSourceClosedRequest(std::nullptr_t) noexcept {} + MediaStreamSourceClosedRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSampleRenderedEventArgs : winrt::Windows::Media::Core::IMediaStreamSourceSampleRenderedEventArgs + { + MediaStreamSourceSampleRenderedEventArgs(std::nullptr_t) noexcept {} + MediaStreamSourceSampleRenderedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSampleRenderedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSampleRequest : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest + { + MediaStreamSourceSampleRequest(std::nullptr_t) noexcept {} + MediaStreamSourceSampleRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSampleRequestDeferral : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral + { + MediaStreamSourceSampleRequestDeferral(std::nullptr_t) noexcept {} + MediaStreamSourceSampleRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSampleRequestedEventArgs : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestedEventArgs + { + MediaStreamSourceSampleRequestedEventArgs(std::nullptr_t) noexcept {} + MediaStreamSourceSampleRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceStartingEventArgs : winrt::Windows::Media::Core::IMediaStreamSourceStartingEventArgs + { + MediaStreamSourceStartingEventArgs(std::nullptr_t) noexcept {} + MediaStreamSourceStartingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceStartingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceStartingRequest : winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest + { + MediaStreamSourceStartingRequest(std::nullptr_t) noexcept {} + MediaStreamSourceStartingRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceStartingRequestDeferral : winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral + { + MediaStreamSourceStartingRequestDeferral(std::nullptr_t) noexcept {} + MediaStreamSourceStartingRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSwitchStreamsRequest : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest + { + MediaStreamSourceSwitchStreamsRequest(std::nullptr_t) noexcept {} + MediaStreamSourceSwitchStreamsRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSwitchStreamsRequestDeferral : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral + { + MediaStreamSourceSwitchStreamsRequestDeferral(std::nullptr_t) noexcept {} + MediaStreamSourceSwitchStreamsRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaStreamSourceSwitchStreamsRequestedEventArgs : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestedEventArgs + { + MediaStreamSourceSwitchStreamsRequestedEventArgs(std::nullptr_t) noexcept {} + MediaStreamSourceSwitchStreamsRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MseSourceBuffer : winrt::Windows::Media::Core::IMseSourceBuffer + { + MseSourceBuffer(std::nullptr_t) noexcept {} + MseSourceBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMseSourceBuffer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MseSourceBufferList : winrt::Windows::Media::Core::IMseSourceBufferList + { + MseSourceBufferList(std::nullptr_t) noexcept {} + MseSourceBufferList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMseSourceBufferList(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MseStreamSource : winrt::Windows::Media::Core::IMseStreamSource, + impl::require + { + MseStreamSource(std::nullptr_t) noexcept {} + MseStreamSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMseStreamSource(ptr, take_ownership_from_abi) {} + MseStreamSource(); + static auto IsContentTypeSupported(param::hstring const& contentType); + }; + struct WINRT_IMPL_EMPTY_BASES SceneAnalysisEffect : winrt::Windows::Media::Core::ISceneAnalysisEffect + { + SceneAnalysisEffect(std::nullptr_t) noexcept {} + SceneAnalysisEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ISceneAnalysisEffect(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SceneAnalysisEffectDefinition : winrt::Windows::Media::Effects::IVideoEffectDefinition + { + SceneAnalysisEffectDefinition(std::nullptr_t) noexcept {} + SceneAnalysisEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoEffectDefinition(ptr, take_ownership_from_abi) {} + SceneAnalysisEffectDefinition(); + }; + struct WINRT_IMPL_EMPTY_BASES SceneAnalysisEffectFrame : winrt::Windows::Media::Core::ISceneAnalysisEffectFrame, + impl::require + { + SceneAnalysisEffectFrame(std::nullptr_t) noexcept {} + SceneAnalysisEffectFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ISceneAnalysisEffectFrame(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SceneAnalyzedEventArgs : winrt::Windows::Media::Core::ISceneAnalyzedEventArgs + { + SceneAnalyzedEventArgs(std::nullptr_t) noexcept {} + SceneAnalyzedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ISceneAnalyzedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechCue : winrt::Windows::Media::Core::ISpeechCue + { + SpeechCue(std::nullptr_t) noexcept {} + SpeechCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ISpeechCue(ptr, take_ownership_from_abi) {} + SpeechCue(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataStreamDescriptor : winrt::Windows::Media::Core::IMediaStreamDescriptor, + impl::require + { + TimedMetadataStreamDescriptor(std::nullptr_t) noexcept {} + TimedMetadataStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaStreamDescriptor(ptr, take_ownership_from_abi) {} + explicit TimedMetadataStreamDescriptor(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties); + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataTrack : winrt::Windows::Media::Core::ITimedMetadataTrack, + impl::require + { + TimedMetadataTrack(std::nullptr_t) noexcept {} + TimedMetadataTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedMetadataTrack(ptr, take_ownership_from_abi) {} + TimedMetadataTrack(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind); + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataTrackError : winrt::Windows::Media::Core::ITimedMetadataTrackError + { + TimedMetadataTrackError(std::nullptr_t) noexcept {} + TimedMetadataTrackError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedMetadataTrackError(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataTrackFailedEventArgs : winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs + { + TimedMetadataTrackFailedEventArgs(std::nullptr_t) noexcept {} + TimedMetadataTrackFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextBouten : winrt::Windows::Media::Core::ITimedTextBouten + { + TimedTextBouten(std::nullptr_t) noexcept {} + TimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextBouten(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextCue : winrt::Windows::Media::Core::ITimedTextCue + { + TimedTextCue(std::nullptr_t) noexcept {} + TimedTextCue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextCue(ptr, take_ownership_from_abi) {} + TimedTextCue(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextLine : winrt::Windows::Media::Core::ITimedTextLine + { + TimedTextLine(std::nullptr_t) noexcept {} + TimedTextLine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextLine(ptr, take_ownership_from_abi) {} + TimedTextLine(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextRegion : winrt::Windows::Media::Core::ITimedTextRegion + { + TimedTextRegion(std::nullptr_t) noexcept {} + TimedTextRegion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextRegion(ptr, take_ownership_from_abi) {} + TimedTextRegion(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextRuby : winrt::Windows::Media::Core::ITimedTextRuby + { + TimedTextRuby(std::nullptr_t) noexcept {} + TimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextRuby(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextSource : winrt::Windows::Media::Core::ITimedTextSource + { + TimedTextSource(std::nullptr_t) noexcept {} + TimedTextSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextSource(ptr, take_ownership_from_abi) {} + static auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); + static auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri); + static auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage); + static auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage); + static auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream); + static auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri); + static auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage); + static auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage); + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextSourceResolveResultEventArgs : winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs + { + TimedTextSourceResolveResultEventArgs(std::nullptr_t) noexcept {} + TimedTextSourceResolveResultEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextStyle : winrt::Windows::Media::Core::ITimedTextStyle, + impl::require + { + TimedTextStyle(std::nullptr_t) noexcept {} + TimedTextStyle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextStyle(ptr, take_ownership_from_abi) {} + TimedTextStyle(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedTextSubformat : winrt::Windows::Media::Core::ITimedTextSubformat + { + TimedTextSubformat(std::nullptr_t) noexcept {} + TimedTextSubformat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextSubformat(ptr, take_ownership_from_abi) {} + TimedTextSubformat(); + }; + struct WINRT_IMPL_EMPTY_BASES VideoStabilizationEffect : winrt::Windows::Media::Core::IVideoStabilizationEffect + { + VideoStabilizationEffect(std::nullptr_t) noexcept {} + VideoStabilizationEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IVideoStabilizationEffect(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoStabilizationEffectDefinition : winrt::Windows::Media::Effects::IVideoEffectDefinition + { + VideoStabilizationEffectDefinition(std::nullptr_t) noexcept {} + VideoStabilizationEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoEffectDefinition(ptr, take_ownership_from_abi) {} + VideoStabilizationEffectDefinition(); + }; + struct WINRT_IMPL_EMPTY_BASES VideoStabilizationEffectEnabledChangedEventArgs : winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs + { + VideoStabilizationEffectEnabledChangedEventArgs(std::nullptr_t) noexcept {} + VideoStabilizationEffectEnabledChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoStreamDescriptor : winrt::Windows::Media::Core::IVideoStreamDescriptor, + impl::require + { + VideoStreamDescriptor(std::nullptr_t) noexcept {} + VideoStreamDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IVideoStreamDescriptor(ptr, take_ownership_from_abi) {} + explicit VideoStreamDescriptor(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties); + }; + struct WINRT_IMPL_EMPTY_BASES VideoTrack : winrt::Windows::Media::Core::IMediaTrack, + impl::require + { + VideoTrack(std::nullptr_t) noexcept {} + VideoTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IMediaTrack(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoTrackOpenFailedEventArgs : winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs + { + VideoTrackOpenFailedEventArgs(std::nullptr_t) noexcept {} + VideoTrackOpenFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoTrackSupportInfo : winrt::Windows::Media::Core::IVideoTrackSupportInfo + { + VideoTrackSupportInfo(std::nullptr_t) noexcept {} + VideoTrackSupportInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::IVideoTrackSupportInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..9b885c5e3d77ed19c319d0e80b2ff4b2ba71c4aa --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.0.h @@ -0,0 +1,53 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_Preview_0_H +#define WINRT_Windows_Media_Core_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + enum class SoundLevel : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview +{ + struct ISoundLevelBrokerStatics; + struct SoundLevelBroker; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.Preview.SoundLevelBroker"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.Preview.ISoundLevelBrokerStatics"; + template <> inline constexpr guid guid_v{ 0x6A633961,0xDBED,0x464C,{ 0xA0,0x9A,0x33,0x41,0x2F,0x5C,0xAA,0x3F } }; // 6A633961-DBED-464C-A09A-33412F5CAA3F + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SoundLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_SoundLevelChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SoundLevelChanged(winrt::event_token) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics + { + [[nodiscard]] auto SoundLevel() const; + auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..fffa25e6af06a890621b72ba6ece00a77af7899f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_Preview_1_H +#define WINRT_Windows_Media_Core_Preview_1_H +#include "winrt/impl/Windows.Media.Core.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview +{ + struct WINRT_IMPL_EMPTY_BASES ISoundLevelBrokerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISoundLevelBrokerStatics(std::nullptr_t = nullptr) noexcept {} + ISoundLevelBrokerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..db0f5fe6a1792f7147edab3cca5bae834344c6ab --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.core.preview.2.h @@ -0,0 +1,23 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Core_Preview_2_H +#define WINRT_Windows_Media_Core_Preview_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Core.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview +{ + struct SoundLevelBroker + { + SoundLevelBroker() = delete; + [[nodiscard]] static auto SoundLevel(); + static auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); + using SoundLevelChanged_revoker = impl::factory_event_revoker::remove_SoundLevelChanged>; + [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto SoundLevelChanged(winrt::event_token const& token); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.0.h new file mode 100644 index 0000000000000000000000000000000000000000..fb1d78e06548bd3a1c314adf8f14364c4a484817 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.0.h @@ -0,0 +1,2396 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_0_H +#define WINRT_Windows_Media_Devices_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + enum class Panel : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IReference; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + enum class MediaCaptureDeviceExclusiveControlReleaseMode : int32_t; + enum class MediaStreamType : int32_t; + enum class PowerlineFrequency : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + struct VariablePhotoSequenceController; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct AudioCaptureEffectsManager; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct IMediaEncodingProperties; + enum class MediaPixelFormat : int32_t; + struct MediaRatio; + enum class MediaThumbnailFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + enum class AdvancedPhotoMode : int32_t + { + Auto = 0, + Standard = 1, + Hdr = 2, + LowLight = 3, + }; + enum class AudioDeviceRole : int32_t + { + Default = 0, + Communications = 1, + }; + enum class AutoFocusRange : int32_t + { + FullRange = 0, + Macro = 1, + Normal = 2, + }; + enum class CameraOcclusionKind : int32_t + { + Lid = 0, + CameraHardware = 1, + }; + enum class CameraStreamState : int32_t + { + NotStreaming = 0, + Streaming = 1, + BlockedForPrivacy = 2, + Shutdown = 3, + }; + enum class CaptureSceneMode : int32_t + { + Auto = 0, + Manual = 1, + Macro = 2, + Portrait = 3, + Sport = 4, + Snow = 5, + Night = 6, + Beach = 7, + Sunset = 8, + Candlelight = 9, + Landscape = 10, + NightPortrait = 11, + Backlit = 12, + }; + enum class CaptureUse : int32_t + { + None = 0, + Photo = 1, + Video = 2, + }; + enum class ColorTemperaturePreset : int32_t + { + Auto = 0, + Manual = 1, + Cloudy = 2, + Daylight = 3, + Flash = 4, + Fluorescent = 5, + Tungsten = 6, + Candlelight = 7, + }; + enum class DigitalWindowMode : int32_t + { + Off = 0, + On = 1, + Auto = 2, + }; + enum class FocusMode : int32_t + { + Auto = 0, + Single = 1, + Continuous = 2, + Manual = 3, + }; + enum class FocusPreset : int32_t + { + Auto = 0, + Manual = 1, + AutoMacro = 2, + AutoNormal = 3, + AutoInfinity = 4, + AutoHyperfocal = 5, + }; + enum class HdrVideoMode : int32_t + { + Off = 0, + On = 1, + Auto = 2, + }; + enum class InfraredTorchMode : int32_t + { + Off = 0, + On = 1, + AlternatingFrameIllumination = 2, + }; + enum class IsoSpeedPreset : int32_t + { + Auto = 0, + Iso50 = 1, + Iso80 = 2, + Iso100 = 3, + Iso200 = 4, + Iso400 = 5, + Iso800 = 6, + Iso1600 = 7, + Iso3200 = 8, + Iso6400 = 9, + Iso12800 = 10, + Iso25600 = 11, + }; + enum class ManualFocusDistance : int32_t + { + Infinity = 0, + Hyperfocal = 1, + Nearest = 2, + }; + enum class MediaCaptureFocusState : int32_t + { + Uninitialized = 0, + Lost = 1, + Searching = 2, + Focused = 3, + Failed = 4, + }; + enum class MediaCaptureOptimization : int32_t + { + Default = 0, + Quality = 1, + Latency = 2, + Power = 3, + LatencyThenQuality = 4, + LatencyThenPower = 5, + PowerAndQuality = 6, + }; + enum class MediaCapturePauseBehavior : int32_t + { + RetainHardwareResources = 0, + ReleaseHardwareResources = 1, + }; + enum class OpticalImageStabilizationMode : int32_t + { + Off = 0, + On = 1, + Auto = 2, + }; + enum class RegionOfInterestType : int32_t + { + Unknown = 0, + Face = 1, + }; + enum class SendCommandStatus : int32_t + { + Success = 0, + DeviceNotAvailable = 1, + }; + enum class TelephonyKey : int32_t + { + D0 = 0, + D1 = 1, + D2 = 2, + D3 = 3, + D4 = 4, + D5 = 5, + D6 = 6, + D7 = 7, + D8 = 8, + D9 = 9, + Star = 10, + Pound = 11, + A = 12, + B = 13, + C = 14, + D = 15, + }; + enum class VideoDeviceControllerGetDevicePropertyStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + BufferTooSmall = 2, + NotSupported = 3, + DeviceNotAvailable = 4, + MaxPropertyValueSizeTooSmall = 5, + MaxPropertyValueSizeRequired = 6, + }; + enum class VideoDeviceControllerSetDevicePropertyStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + NotSupported = 2, + InvalidValue = 3, + DeviceNotAvailable = 4, + NotInControl = 5, + }; + enum class VideoTemporalDenoisingMode : int32_t + { + Off = 0, + On = 1, + Auto = 2, + }; + enum class ZoomTransitionMode : int32_t + { + Auto = 0, + Direct = 1, + Smooth = 2, + }; + struct IAdvancedPhotoCaptureSettings; + struct IAdvancedPhotoControl; + struct IAdvancedVideoCaptureDeviceController; + struct IAdvancedVideoCaptureDeviceController10; + struct IAdvancedVideoCaptureDeviceController11; + struct IAdvancedVideoCaptureDeviceController2; + struct IAdvancedVideoCaptureDeviceController3; + struct IAdvancedVideoCaptureDeviceController4; + struct IAdvancedVideoCaptureDeviceController5; + struct IAdvancedVideoCaptureDeviceController6; + struct IAdvancedVideoCaptureDeviceController7; + struct IAdvancedVideoCaptureDeviceController8; + struct IAdvancedVideoCaptureDeviceController9; + struct IAudioDeviceController; + struct IAudioDeviceController2; + struct IAudioDeviceModule; + struct IAudioDeviceModuleNotificationEventArgs; + struct IAudioDeviceModulesManager; + struct IAudioDeviceModulesManagerFactory; + struct ICallControl; + struct ICallControlStatics; + struct ICameraOcclusionInfo; + struct ICameraOcclusionState; + struct ICameraOcclusionStateChangedEventArgs; + struct IDefaultAudioDeviceChangedEventArgs; + struct IDialRequestedEventArgs; + struct IDigitalWindowBounds; + struct IDigitalWindowCapability; + struct IDigitalWindowControl; + struct IExposureCompensationControl; + struct IExposureControl; + struct IExposurePriorityVideoControl; + struct IFlashControl; + struct IFlashControl2; + struct IFocusControl; + struct IFocusControl2; + struct IFocusSettings; + struct IHdrVideoControl; + struct IInfraredTorchControl; + struct IIsoSpeedControl; + struct IIsoSpeedControl2; + struct IKeypadPressedEventArgs; + struct ILowLagPhotoControl; + struct ILowLagPhotoSequenceControl; + struct IMediaDeviceControl; + struct IMediaDeviceControlCapabilities; + struct IMediaDeviceController; + struct IMediaDeviceStatics; + struct IModuleCommandResult; + struct IOpticalImageStabilizationControl; + struct IPanelBasedOptimizationControl; + struct IPhotoConfirmationControl; + struct IRedialRequestedEventArgs; + struct IRegionOfInterest; + struct IRegionOfInterest2; + struct IRegionsOfInterestControl; + struct ISceneModeControl; + struct ITorchControl; + struct IVideoDeviceController; + struct IVideoDeviceControllerGetDevicePropertyResult; + struct IVideoTemporalDenoisingControl; + struct IWhiteBalanceControl; + struct IZoomControl; + struct IZoomControl2; + struct IZoomSettings; + struct AdvancedPhotoCaptureSettings; + struct AdvancedPhotoControl; + struct AudioDeviceController; + struct AudioDeviceModule; + struct AudioDeviceModuleNotificationEventArgs; + struct AudioDeviceModulesManager; + struct CallControl; + struct CameraOcclusionInfo; + struct CameraOcclusionState; + struct CameraOcclusionStateChangedEventArgs; + struct DefaultAudioCaptureDeviceChangedEventArgs; + struct DefaultAudioRenderDeviceChangedEventArgs; + struct DialRequestedEventArgs; + struct DigitalWindowBounds; + struct DigitalWindowCapability; + struct DigitalWindowControl; + struct ExposureCompensationControl; + struct ExposureControl; + struct ExposurePriorityVideoControl; + struct FlashControl; + struct FocusControl; + struct FocusSettings; + struct HdrVideoControl; + struct InfraredTorchControl; + struct IsoSpeedControl; + struct KeypadPressedEventArgs; + struct LowLagPhotoControl; + struct LowLagPhotoSequenceControl; + struct MediaDevice; + struct MediaDeviceControl; + struct MediaDeviceControlCapabilities; + struct ModuleCommandResult; + struct OpticalImageStabilizationControl; + struct PanelBasedOptimizationControl; + struct PhotoConfirmationControl; + struct RedialRequestedEventArgs; + struct RegionOfInterest; + struct RegionsOfInterestControl; + struct SceneModeControl; + struct TorchControl; + struct VideoDeviceController; + struct VideoDeviceControllerGetDevicePropertyResult; + struct VideoTemporalDenoisingControl; + struct WhiteBalanceControl; + struct ZoomControl; + struct ZoomSettings; + struct CallControlEventHandler; + struct DialRequestedEventHandler; + struct KeypadPressedEventHandler; + struct RedialRequestedEventHandler; + struct CallControlContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AdvancedPhotoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AdvancedPhotoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AudioDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AudioDeviceModule"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AudioDeviceModuleNotificationEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AudioDeviceModulesManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CallControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CameraOcclusionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CameraOcclusionState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CameraOcclusionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowBounds"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowCapability"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposureCompensationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposureControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposurePriorityVideoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FlashControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.HdrVideoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.InfraredTorchControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IsoSpeedControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.KeypadPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.LowLagPhotoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.LowLagPhotoSequenceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaDeviceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaDeviceControlCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ModuleCommandResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.OpticalImageStabilizationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.PanelBasedOptimizationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.PhotoConfirmationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.RedialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.RegionOfInterest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.RegionsOfInterestControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.SceneModeControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.TorchControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoTemporalDenoisingControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.WhiteBalanceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ZoomControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ZoomSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AdvancedPhotoMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AudioDeviceRole"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.AutoFocusRange"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CameraOcclusionKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CameraStreamState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CaptureSceneMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CaptureUse"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ColorTemperaturePreset"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusPreset"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.HdrVideoMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.InfraredTorchMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IsoSpeedPreset"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ManualFocusDistance"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaCaptureFocusState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaCaptureOptimization"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.MediaCapturePauseBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.OpticalImageStabilizationMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.RegionOfInterestType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.SendCommandStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.TelephonyKey"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoDeviceControllerSetDevicePropertyStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.VideoTemporalDenoisingMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ZoomTransitionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedPhotoCaptureSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedPhotoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController10"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController11"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController6"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController7"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController8"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController9"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceController2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModule"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModuleNotificationEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModulesManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModulesManagerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICallControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICallControlStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICameraOcclusionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICameraOcclusionState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICameraOcclusionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDefaultAudioDeviceChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowBounds"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowCapability"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposureCompensationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposureControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposurePriorityVideoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IFlashControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IFlashControl2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IFocusControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IFocusControl2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IFocusSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IHdrVideoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IInfraredTorchControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IIsoSpeedControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IIsoSpeedControl2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IKeypadPressedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ILowLagPhotoControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ILowLagPhotoSequenceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IMediaDeviceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IMediaDeviceControlCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IMediaDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IMediaDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IModuleCommandResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IOpticalImageStabilizationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IPanelBasedOptimizationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IPhotoConfirmationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IRedialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IRegionOfInterest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IRegionOfInterest2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IRegionsOfInterestControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ISceneModeControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ITorchControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IVideoDeviceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IVideoDeviceControllerGetDevicePropertyResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IVideoTemporalDenoisingControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IWhiteBalanceControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IZoomControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IZoomControl2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IZoomSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CallControlEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DialRequestedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.KeypadPressedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.RedialRequestedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CallControlContract"; + template <> inline constexpr guid guid_v{ 0x08F3863A,0x0018,0x445B,{ 0x93,0xD2,0x64,0x6D,0x1C,0x5E,0xD0,0x5C } }; // 08F3863A-0018-445B-93D2-646D1C5ED05C + template <> inline constexpr guid guid_v{ 0xC5B15486,0x9001,0x4682,{ 0x93,0x09,0x68,0xEA,0xE0,0x08,0x0E,0xEC } }; // C5B15486-9001-4682-9309-68EAE0080EEC + template <> inline constexpr guid guid_v{ 0xDE6FF4D3,0x2B96,0x4583,{ 0x80,0xAB,0xB5,0xB0,0x1D,0xC6,0xA8,0xD7 } }; // DE6FF4D3-2B96-4583-80AB-B5B01DC6A8D7 + template <> inline constexpr guid guid_v{ 0xC621B82D,0xD6F0,0x5C1B,{ 0xA3,0x88,0xA6,0xE9,0x38,0x40,0x71,0x46 } }; // C621B82D-D6F0-5C1B-A388-A6E938407146 + template <> inline constexpr guid guid_v{ 0xD5B65AE2,0x3772,0x580C,{ 0xA6,0x30,0xE7,0x5D,0xE9,0x10,0x69,0x04 } }; // D5B65AE2-3772-580C-A630-E75DE9106904 + template <> inline constexpr guid guid_v{ 0x8BB94F8F,0xF11A,0x43DB,{ 0xB4,0x02,0x11,0x93,0x0B,0x80,0xAE,0x56 } }; // 8BB94F8F-F11A-43DB-B402-11930B80AE56 + template <> inline constexpr guid guid_v{ 0xA98B8F34,0xEE0D,0x470C,{ 0xB9,0xF0,0x42,0x29,0xC4,0xBB,0xD0,0x89 } }; // A98B8F34-EE0D-470C-B9F0-4229C4BBD089 + template <> inline constexpr guid guid_v{ 0xEA9FBFAF,0xD371,0x41C3,{ 0x9A,0x17,0x82,0x4A,0x87,0xEB,0xDF,0xD2 } }; // EA9FBFAF-D371-41C3-9A17-824A87EBDFD2 + template <> inline constexpr guid guid_v{ 0x33512B17,0xB9CB,0x4A23,{ 0xB8,0x75,0xF9,0xEA,0xAB,0x53,0x54,0x92 } }; // 33512B17-B9CB-4A23-B875-F9EAAB535492 + template <> inline constexpr guid guid_v{ 0xB6563A53,0x68A1,0x44B7,{ 0x9F,0x89,0xB5,0xFA,0x97,0xAC,0x0C,0xBE } }; // B6563A53-68A1-44B7-9F89-B5FA97AC0CBE + template <> inline constexpr guid guid_v{ 0x8D2927F0,0xA054,0x50E7,{ 0xB7,0xDF,0x7C,0x04,0x23,0x4D,0x10,0xF0 } }; // 8D2927F0-A054-50E7-B7DF-7C04234D10F0 + template <> inline constexpr guid guid_v{ 0xD843F010,0xE7FB,0x595B,{ 0x9A,0x78,0x0E,0x54,0xC4,0x53,0x2B,0x43 } }; // D843F010-E7FB-595B-9A78-0E54C4532B43 + template <> inline constexpr guid guid_v{ 0x8BDCA95D,0x0255,0x51BC,{ 0xA1,0x0D,0x5A,0x16,0x9E,0xC1,0x62,0x5A } }; // 8BDCA95D-0255-51BC-A10D-5A169EC1625A + template <> inline constexpr guid guid_v{ 0xEDD4A388,0x79C7,0x4F7C,{ 0x90,0xE8,0xEF,0x93,0x4B,0x21,0x58,0x0A } }; // EDD4A388-79C7-4F7C-90E8-EF934B21580A + template <> inline constexpr guid guid_v{ 0x85326599,0x4C24,0x48B0,{ 0x81,0xDD,0x0C,0x5C,0xC7,0x9D,0xDF,0x05 } }; // 85326599-4C24-48B0-81DD-0C5CC79DDF05 + template <> inline constexpr guid guid_v{ 0x86CFAC36,0x47C1,0x4B33,{ 0x98,0x52,0x87,0x73,0xEC,0x4B,0xE1,0x23 } }; // 86CFAC36-47C1-4B33-9852-8773EC4BE123 + template <> inline constexpr guid guid_v{ 0xE3E3CCAF,0x224C,0x48BE,{ 0x95,0x6B,0x9A,0x13,0x13,0x4E,0x96,0xE8 } }; // E3E3CCAF-224C-48BE-956B-9A13134E96E8 + template <> inline constexpr guid guid_v{ 0x6AA40C4D,0x960A,0x4D1C,{ 0xB3,0x18,0x00,0x22,0x60,0x45,0x47,0xED } }; // 6AA40C4D-960A-4D1C-B318-0022604547ED + template <> inline constexpr guid guid_v{ 0x8DB03670,0xE64D,0x4773,{ 0x96,0xC0,0xBC,0x7E,0xBF,0x0E,0x06,0x3F } }; // 8DB03670-E64D-4773-96C0-BC7EBF0E063F + template <> inline constexpr guid guid_v{ 0xA520D0D6,0xAE8D,0x45DB,{ 0x80,0x11,0xCA,0x49,0xD3,0xB3,0xE5,0x78 } }; // A520D0D6-AE8D-45DB-8011-CA49D3B3E578 + template <> inline constexpr guid guid_v{ 0x03945AD5,0x85AB,0x40E1,{ 0xAF,0x19,0x56,0xC9,0x43,0x03,0xB0,0x19 } }; // 03945AD5-85AB-40E1-AF19-56C94303B019 + template <> inline constexpr guid guid_v{ 0xAF6C4AD0,0xA84D,0x5DB6,{ 0xBE,0x58,0xA5,0xDA,0x21,0xCF,0xE0,0x11 } }; // AF6C4AD0-A84D-5DB6-BE58-A5DA21CFE011 + template <> inline constexpr guid guid_v{ 0x430ADEB8,0x6842,0x5E55,{ 0x9B,0xDE,0x04,0xB4,0xEF,0x3A,0x8A,0x57 } }; // 430ADEB8-6842-5E55-9BDE-04B4EF3A8A57 + template <> inline constexpr guid guid_v{ 0x8512D848,0xC0DE,0x57CA,{ 0xA1,0xCA,0xFB,0x2C,0x3D,0x23,0xDF,0x55 } }; // 8512D848-C0DE-57CA-A1CA-FB2C3D23DF55 + template <> inline constexpr guid guid_v{ 0x110F882F,0x1C05,0x4657,{ 0xA1,0x8E,0x47,0xC9,0xB6,0x9F,0x07,0xAB } }; // 110F882F-1C05-4657-A18E-47C9B69F07AB + template <> inline constexpr guid guid_v{ 0x037B929E,0x953C,0x4286,{ 0x88,0x66,0x4F,0x0F,0x37,0x6C,0x85,0x5A } }; // 037B929E-953C-4286-8866-4F0F376C855A + template <> inline constexpr guid guid_v{ 0xDD4F21DD,0xD173,0x5C6B,{ 0x8C,0x25,0xBD,0xD2,0x6D,0x51,0x22,0xB1 } }; // DD4F21DD-D173-5C6B-8C25-BDD26D5122B1 + template <> inline constexpr guid guid_v{ 0xD78BAD2C,0xF721,0x5244,{ 0xA1,0x96,0xB5,0x6C,0xCB,0xEC,0x60,0x6C } }; // D78BAD2C-F721-5244-A196-B56CCBEC606C + template <> inline constexpr guid guid_v{ 0x23B69EFF,0x65D2,0x53EA,{ 0x87,0x80,0xDE,0x58,0x2B,0x48,0xB5,0x44 } }; // 23B69EFF-65D2-53EA-8780-DE582B48B544 + template <> inline constexpr guid guid_v{ 0x81C8E834,0xDCEC,0x4011,{ 0xA6,0x10,0x1F,0x38,0x47,0xE6,0x4A,0xCA } }; // 81C8E834-DCEC-4011-A610-1F3847E64ACA + template <> inline constexpr guid guid_v{ 0x09E8CBE2,0xAD96,0x4F28,{ 0xA0,0xE0,0x96,0xED,0x7E,0x1B,0x5F,0xD2 } }; // 09E8CBE2-AD96-4F28-A0E0-96ED7E1B5FD2 + template <> inline constexpr guid guid_v{ 0x2CB240A3,0x5168,0x4271,{ 0x9E,0xA5,0x47,0x62,0x1A,0x98,0xA3,0x52 } }; // 2CB240A3-5168-4271-9EA5-47621A98A352 + template <> inline constexpr guid guid_v{ 0xDEF41DBE,0x7D68,0x45E3,{ 0x8C,0x0F,0xBE,0x7B,0xB3,0x28,0x37,0xD0 } }; // DEF41DBE-7D68-45E3-8C0F-BE7BB32837D0 + template <> inline constexpr guid guid_v{ 0x7D29CC9E,0x75E1,0x4AF7,{ 0xBD,0x7D,0x4E,0x38,0xE1,0xC0,0x6C,0xD6 } }; // 7D29CC9E-75E1-4AF7-BD7D-4E38E1C06CD6 + template <> inline constexpr guid guid_v{ 0xC0D889F6,0x5228,0x4453,{ 0xB1,0x53,0x85,0x60,0x65,0x92,0xB2,0x38 } }; // C0D889F6-5228-4453-B153-85606592B238 + template <> inline constexpr guid guid_v{ 0x3F7CFF48,0xC534,0x4E9E,{ 0x94,0xC3,0x52,0xEF,0x2A,0xFD,0x5D,0x07 } }; // 3F7CFF48-C534-4E9E-94C3-52EF2AFD5D07 + template <> inline constexpr guid guid_v{ 0x79958F6B,0x3263,0x4275,{ 0x85,0xD6,0xAE,0xAE,0x89,0x1C,0x96,0xEE } }; // 79958F6B-3263-4275-85D6-AEAE891C96EE + template <> inline constexpr guid guid_v{ 0x55D8E2D0,0x30C0,0x43BF,{ 0x9B,0x9A,0x97,0x99,0xD7,0x0C,0xED,0x94 } }; // 55D8E2D0-30C0-43BF-9B9A-9799D70CED94 + template <> inline constexpr guid guid_v{ 0x1CBA2C83,0x6CB6,0x5A04,{ 0xA6,0xFC,0x3B,0xE7,0xB3,0x3F,0xF0,0x56 } }; // 1CBA2C83-6CB6-5A04-A6FC-3BE7B33FF056 + template <> inline constexpr guid guid_v{ 0x27B6C322,0x25AD,0x4F1B,{ 0xAA,0xAB,0x52,0x4A,0xB3,0x76,0xCA,0x33 } }; // 27B6C322-25AD-4F1B-AAAB-524AB376CA33 + template <> inline constexpr guid guid_v{ 0x6F1578F2,0x6D77,0x4F8A,{ 0x8C,0x2F,0x61,0x30,0xB6,0x39,0x50,0x53 } }; // 6F1578F2-6D77-4F8A-8C2F-6130B6395053 + template <> inline constexpr guid guid_v{ 0xD3A43900,0xB4FA,0x49CD,{ 0x94,0x42,0x89,0xAF,0x65,0x68,0xF6,0x01 } }; // D3A43900-B4FA-49CD-9442-89AF6568F601 + template <> inline constexpr guid guid_v{ 0x6D5C4DD0,0xFADF,0x415D,{ 0xAE,0xE6,0x3B,0xAA,0x52,0x93,0x00,0xC9 } }; // 6D5C4DD0-FADF-415D-AEE6-3BAA529300C9 + template <> inline constexpr guid guid_v{ 0x3DCF909D,0x6D16,0x409C,{ 0xBA,0xFE,0xB9,0xA5,0x94,0xC6,0xFD,0xE6 } }; // 3DCF909D-6D16-409C-BAFE-B9A594C6FDE6 + template <> inline constexpr guid guid_v{ 0xEFA8DFA9,0x6F75,0x4863,{ 0xBA,0x0B,0x58,0x3F,0x30,0x36,0xB4,0xDE } }; // EFA8DFA9-6F75-4863-BA0B-583F3036B4DE + template <> inline constexpr guid guid_v{ 0x23005816,0xEB85,0x43E2,{ 0xB9,0x2B,0x82,0x40,0xD5,0xEE,0x70,0xEC } }; // 23005816-EB85-43E2-B92B-8240D5EE70EC + template <> inline constexpr guid guid_v{ 0xF6F8F5CE,0x209A,0x48FB,{ 0x86,0xFC,0xD4,0x45,0x78,0xF3,0x17,0xE6 } }; // F6F8F5CE-209A-48FB-86FC-D44578F317E6 + template <> inline constexpr guid guid_v{ 0xAA2D9A40,0x909F,0x4BBA,{ 0xBF,0x8B,0x0C,0x0D,0x29,0x6F,0x14,0xF0 } }; // AA2D9A40-909F-4BBA-BF8B-0C0D296F14F0 + template <> inline constexpr guid guid_v{ 0x520D1EB4,0x1374,0x4C7D,{ 0xB1,0xE4,0x39,0xDC,0xDF,0x3E,0xAE,0x4E } }; // 520D1EB4-1374-4C7D-B1E4-39DCDF3EAE4E + template <> inline constexpr guid guid_v{ 0xBFAD9C1D,0x00BC,0x423B,{ 0x8E,0xB2,0xA0,0x17,0x8C,0xA9,0x42,0x47 } }; // BFAD9C1D-00BC-423B-8EB2-A0178CA94247 + template <> inline constexpr guid guid_v{ 0x33323223,0x6247,0x5419,{ 0xA5,0xA4,0x3D,0x80,0x86,0x45,0xD9,0x17 } }; // 33323223-6247-5419-A5A4-3D808645D917 + template <> inline constexpr guid guid_v{ 0xC8F3F363,0xFF5E,0x4582,{ 0xA9,0xA8,0x05,0x50,0xF8,0x5A,0x4A,0x76 } }; // C8F3F363-FF5E-4582-A9A8-0550F85A4A76 + template <> inline constexpr guid guid_v{ 0x7EB55209,0x76AB,0x4C31,{ 0xB4,0x0E,0x4B,0x58,0x37,0x9D,0x58,0x0C } }; // 7EB55209-76AB-4C31-B40E-4B58379D580C + template <> inline constexpr guid guid_v{ 0xE5ECC834,0xCE66,0x4E05,{ 0xA7,0x8F,0xCF,0x39,0x1A,0x5E,0xC2,0xD1 } }; // E5ECC834-CE66-4E05-A78F-CF391A5EC2D1 + template <> inline constexpr guid guid_v{ 0x19FE2A91,0x73AA,0x4D51,{ 0x8A,0x9D,0x56,0xCC,0xF7,0xDB,0x7F,0x54 } }; // 19FE2A91-73AA-4D51-8A9D-56CCF7DB7F54 + template <> inline constexpr guid guid_v{ 0xC323F527,0xAB0B,0x4558,{ 0x8B,0x5B,0xDF,0x56,0x93,0xDB,0x03,0x78 } }; // C323F527-AB0B-4558-8B5B-DF5693DB0378 + template <> inline constexpr guid guid_v{ 0xD48E5AF7,0x8D59,0x4854,{ 0x8C,0x62,0x12,0xC7,0x0B,0xA8,0x9B,0x7C } }; // D48E5AF7-8D59-4854-8C62-12C70BA89B7C + template <> inline constexpr guid guid_v{ 0xA6053665,0x8250,0x416C,{ 0x91,0x9A,0x72,0x42,0x96,0xAF,0xA3,0x06 } }; // A6053665-8250-416C-919A-724296AFA306 + template <> inline constexpr guid guid_v{ 0x99555575,0x2E2E,0x40B8,{ 0xB6,0xC7,0xF8,0x2D,0x10,0x01,0x32,0x10 } }; // 99555575-2E2E-40B8-B6C7-F82D10013210 + template <> inline constexpr guid guid_v{ 0xC5D88395,0x6ED5,0x4790,{ 0x8B,0x5D,0x0E,0xF1,0x39,0x35,0xD0,0xF8 } }; // C5D88395-6ED5-4790-8B5D-0EF13935D0F8 + template <> inline constexpr guid guid_v{ 0x7AB34735,0x3E2A,0x4A32,{ 0xBA,0xFF,0x43,0x58,0xC4,0xFB,0xDD,0x57 } }; // 7AB34735-3E2A-4A32-BAFF-4358C4FBDD57 + template <> inline constexpr guid guid_v{ 0x781F047E,0x7162,0x49C8,{ 0xA8,0xF9,0x94,0x81,0xC5,0x65,0x36,0x3E } }; // 781F047E-7162-49C8-A8F9-9481C565363E + template <> inline constexpr guid guid_v{ 0x3A1E0B12,0x32DA,0x4C17,{ 0xBF,0xD7,0x8D,0x0C,0x73,0xC8,0xF5,0xA5 } }; // 3A1E0B12-32DA-4C17-BFD7-8D0C73C8F5A5 + template <> inline constexpr guid guid_v{ 0x69843DB0,0x2E99,0x4641,{ 0x85,0x29,0x18,0x4F,0x31,0x9D,0x16,0x71 } }; // 69843DB0-2E99-4641-8529-184F319D1671 + template <> inline constexpr guid guid_v{ 0x6AD66B24,0x14B4,0x4BFD,{ 0xB1,0x8F,0x88,0xFE,0x24,0x46,0x3B,0x52 } }; // 6AD66B24-14B4-4BFD-B18F-88FE24463B52 + template <> inline constexpr guid guid_v{ 0x596F759F,0x50DF,0x4454,{ 0xBC,0x63,0x4D,0x3D,0x01,0xB6,0x19,0x58 } }; // 596F759F-50DF-4454-BC63-4D3D01B61958 + template <> inline constexpr guid guid_v{ 0x5ABBFFDB,0xC21F,0x4BC4,{ 0x89,0x1B,0x25,0x7E,0x28,0xC1,0xB1,0xA4 } }; // 5ABBFFDB-C21F-4BC4-891B-257E28C1B1A4 + template <> inline constexpr guid guid_v{ 0xE637A454,0xC527,0x422C,{ 0x89,0x26,0xC9,0xAF,0x83,0xB5,0x59,0xA0 } }; // E637A454-C527-422C-8926-C9AF83B559A0 + template <> inline constexpr guid guid_v{ 0xBAF257D1,0x4EBD,0x4B84,{ 0x9F,0x47,0x6E,0xC4,0x3D,0x75,0xD8,0xB1 } }; // BAF257D1-4EBD-4B84-9F47-6EC43D75D8B1 + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAdvancedPhotoControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAudioDeviceController; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAudioDeviceModule; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IAudioDeviceModulesManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ICallControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ICameraOcclusionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ICameraOcclusionState; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ICameraOcclusionStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDialRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowBounds; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowCapability; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposureCompensationControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposureControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposurePriorityVideoControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IFlashControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IFocusControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IFocusSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IHdrVideoControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IInfraredTorchControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IIsoSpeedControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IKeypadPressedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ILowLagPhotoControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IMediaDeviceControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IModuleCommandResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IOpticalImageStabilizationControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IPanelBasedOptimizationControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IPhotoConfirmationControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IRedialRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IRegionOfInterest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IRegionsOfInterestControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ISceneModeControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::ITorchControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IVideoDeviceController; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IWhiteBalanceControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IZoomControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IZoomSettings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall Configure(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetDeviceProperty(void*, void*) noexcept = 0; + virtual int32_t __stdcall GetDeviceProperty(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CameraOcclusionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryAcquireExclusiveControl(void*, int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LowLagPhotoSequence(void**) noexcept = 0; + virtual int32_t __stdcall get_LowLagPhoto(void**) noexcept = 0; + virtual int32_t __stdcall get_SceneModeControl(void**) noexcept = 0; + virtual int32_t __stdcall get_TorchControl(void**) noexcept = 0; + virtual int32_t __stdcall get_FlashControl(void**) noexcept = 0; + virtual int32_t __stdcall get_WhiteBalanceControl(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureControl(void**) noexcept = 0; + virtual int32_t __stdcall get_FocusControl(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensationControl(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoSpeedControl(void**) noexcept = 0; + virtual int32_t __stdcall get_RegionsOfInterestControl(void**) noexcept = 0; + virtual int32_t __stdcall get_PrimaryUse(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PrimaryUse(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VariablePhotoSequenceController(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotoConfirmationControl(void**) noexcept = 0; + virtual int32_t __stdcall get_ZoomControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExposurePriorityVideoControl(void**) noexcept = 0; + virtual int32_t __stdcall get_DesiredOptimization(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredOptimization(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HdrVideoControl(void**) noexcept = 0; + virtual int32_t __stdcall get_OpticalImageStabilizationControl(void**) noexcept = 0; + virtual int32_t __stdcall get_AdvancedPhotoControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall GetDevicePropertyById(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetDevicePropertyById(void*, void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDevicePropertyByExtendedId(uint32_t, uint8_t*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetDevicePropertyByExtendedId(uint32_t, uint8_t*, uint32_t, uint8_t*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoTemporalDenoisingControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InfraredTorchControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PanelBasedOptimizationControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DigitalWindowControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Muted(bool) noexcept = 0; + virtual int32_t __stdcall get_Muted(bool*) noexcept = 0; + virtual int32_t __stdcall put_VolumePercent(float) noexcept = 0; + virtual int32_t __stdcall get_VolumePercent(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioCaptureEffectsManager(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClassId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_InstanceId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MajorVersion(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinorVersion(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendCommandAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Module(void**) noexcept = 0; + virtual int32_t __stdcall get_NotificationData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ModuleNotificationReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ModuleNotificationReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall FindAllById(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAll(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IndicateNewIncomingCall(bool, void*, uint64_t*) noexcept = 0; + virtual int32_t __stdcall IndicateNewOutgoingCall(uint64_t*) noexcept = 0; + virtual int32_t __stdcall IndicateActiveCall(uint64_t) noexcept = 0; + virtual int32_t __stdcall EndCall(uint64_t) noexcept = 0; + virtual int32_t __stdcall get_HasRinger(bool*) noexcept = 0; + virtual int32_t __stdcall add_AnswerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AnswerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_HangUpRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HangUpRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DialRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DialRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RedialRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RedialRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_KeypadPressed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_KeypadPressed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AudioTransferRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioTransferRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetState(void**) noexcept = 0; + virtual int32_t __stdcall IsOcclusionKindSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsOccluded(bool*) noexcept = 0; + virtual int32_t __stdcall IsOcclusionKind(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Role(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Handled() noexcept = 0; + virtual int32_t __stdcall get_Contact(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NormalizedOriginTop(double*) noexcept = 0; + virtual int32_t __stdcall put_NormalizedOriginTop(double) noexcept = 0; + virtual int32_t __stdcall get_NormalizedOriginLeft(double*) noexcept = 0; + virtual int32_t __stdcall put_NormalizedOriginLeft(double) noexcept = 0; + virtual int32_t __stdcall get_Scale(double*) noexcept = 0; + virtual int32_t __stdcall put_Scale(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Width(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinScaleValue(double*) noexcept = 0; + virtual int32_t __stdcall get_MaxScaleValue(double*) noexcept = 0; + virtual int32_t __stdcall get_MinScaleValueWithoutUpsampling(double*) noexcept = 0; + virtual int32_t __stdcall get_NormalizedFieldOfViewLimit(winrt::Windows::Foundation::Rect*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(uint32_t* __valueSize, int32_t**) noexcept = 0; + virtual int32_t __stdcall get_CurrentMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetBounds(void**) noexcept = 0; + virtual int32_t __stdcall Configure(int32_t) noexcept = 0; + virtual int32_t __stdcall ConfigureWithBounds(int32_t, void*) noexcept = 0; + virtual int32_t __stdcall get_SupportedCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall GetCapabilityForSize(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(float*) noexcept = 0; + virtual int32_t __stdcall get_Max(float*) noexcept = 0; + virtual int32_t __stdcall get_Step(float*) noexcept = 0; + virtual int32_t __stdcall get_Value(float*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(float, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall SetAutoAsync(bool, void**) noexcept = 0; + virtual int32_t __stdcall get_Min(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(int64_t*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_PowerSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_RedEyeReductionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall put_Auto(bool) noexcept = 0; + virtual int32_t __stdcall get_RedEyeReduction(bool*) noexcept = 0; + virtual int32_t __stdcall put_RedEyeReduction(bool) noexcept = 0; + virtual int32_t __stdcall get_PowerPercent(float*) noexcept = 0; + virtual int32_t __stdcall put_PowerPercent(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AssistantLightSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_AssistantLightEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AssistantLightEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedPresets(void**) noexcept = 0; + virtual int32_t __stdcall get_Preset(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetPresetAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetPresetWithCompletionOptionAsync(int32_t, bool, void**) noexcept = 0; + virtual int32_t __stdcall get_Min(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall FocusAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FocusChangedSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_WaitForFocusSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedFocusModes(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedFocusDistances(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedFocusRanges(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FocusState(int32_t*) noexcept = 0; + virtual int32_t __stdcall UnlockAsync(void**) noexcept = 0; + virtual int32_t __stdcall LockAsync(void**) noexcept = 0; + virtual int32_t __stdcall Configure(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AutoFocusRange(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoFocusRange(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + virtual int32_t __stdcall get_Distance(void**) noexcept = 0; + virtual int32_t __stdcall put_Distance(void*) noexcept = 0; + virtual int32_t __stdcall get_WaitForFocus(bool*) noexcept = 0; + virtual int32_t __stdcall put_WaitForFocus(bool) noexcept = 0; + virtual int32_t __stdcall get_DisableDriverFallback(bool*) noexcept = 0; + virtual int32_t __stdcall put_DisableDriverFallback(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CurrentMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MinPower(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxPower(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PowerStep(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Power(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Power(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedPresets(void**) noexcept = 0; + virtual int32_t __stdcall get_Preset(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetPresetAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Min(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall SetAutoAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TelephonyKey(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetHighestConcurrentFrameRate(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentFrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_ThumbnailEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_ThumbnailEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ThumbnailFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ThumbnailFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredThumbnailSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredThumbnailSize(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_HardwareAcceleratedThumbnailSupported(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxPastPhotos(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxPhotosPerSecond(float*) noexcept = 0; + virtual int32_t __stdcall get_PastPhotoLimit(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_PastPhotoLimit(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_PhotosPerSecondLimit(float*) noexcept = 0; + virtual int32_t __stdcall put_PhotosPerSecondLimit(float) noexcept = 0; + virtual int32_t __stdcall GetHighestConcurrentFrameRate(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentFrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_ThumbnailEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_ThumbnailEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ThumbnailFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ThumbnailFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DesiredThumbnailSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredThumbnailSize(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_HardwareAcceleratedThumbnailSupported(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0; + virtual int32_t __stdcall TryGetValue(double*, bool*) noexcept = 0; + virtual int32_t __stdcall TrySetValue(double, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetAuto(bool*, bool*) noexcept = 0; + virtual int32_t __stdcall TrySetAuto(bool, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(double*) noexcept = 0; + virtual int32_t __stdcall get_Max(double*) noexcept = 0; + virtual int32_t __stdcall get_Step(double*) noexcept = 0; + virtual int32_t __stdcall get_Default(double*) noexcept = 0; + virtual int32_t __stdcall get_AutoModeSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAvailableMediaStreamProperties(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetMediaStreamProperties(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetMediaStreamPropertiesAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAudioCaptureSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetAudioRenderSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetVideoCaptureSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAudioCaptureId(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetDefaultAudioRenderId(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_DefaultAudioCaptureDeviceChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DefaultAudioCaptureDeviceChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DefaultAudioRenderDeviceChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DefaultAudioRenderDeviceChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Panel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Panel(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_PixelFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PixelFormat(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Handled() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AutoFocusEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoFocusEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_AutoWhiteBalanceEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoWhiteBalanceEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_AutoExposureEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoExposureEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Bounds(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_Bounds(winrt::Windows::Foundation::Rect) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BoundsNormalized(bool*) noexcept = 0; + virtual int32_t __stdcall put_BoundsNormalized(bool) noexcept = 0; + virtual int32_t __stdcall get_Weight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Weight(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxRegions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetRegionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetRegionsWithLockAsync(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall ClearRegionsAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoFocusSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_AutoWhiteBalanceSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_AutoExposureSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_PowerSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Enabled(bool) noexcept = 0; + virtual int32_t __stdcall get_PowerPercent(float*) noexcept = 0; + virtual int32_t __stdcall put_PowerPercent(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Brightness(void**) noexcept = 0; + virtual int32_t __stdcall get_Contrast(void**) noexcept = 0; + virtual int32_t __stdcall get_Hue(void**) noexcept = 0; + virtual int32_t __stdcall get_WhiteBalance(void**) noexcept = 0; + virtual int32_t __stdcall get_BacklightCompensation(void**) noexcept = 0; + virtual int32_t __stdcall get_Pan(void**) noexcept = 0; + virtual int32_t __stdcall get_Tilt(void**) noexcept = 0; + virtual int32_t __stdcall get_Zoom(void**) noexcept = 0; + virtual int32_t __stdcall get_Roll(void**) noexcept = 0; + virtual int32_t __stdcall get_Exposure(void**) noexcept = 0; + virtual int32_t __stdcall get_Focus(void**) noexcept = 0; + virtual int32_t __stdcall TrySetPowerlineFrequency(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetPowerlineFrequency(int32_t*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Preset(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetPresetAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Min(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(uint32_t*) noexcept = 0; + virtual int32_t __stdcall SetValueAsync(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(float*) noexcept = 0; + virtual int32_t __stdcall get_Max(float*) noexcept = 0; + virtual int32_t __stdcall get_Step(float*) noexcept = 0; + virtual int32_t __stdcall get_Value(float*) noexcept = 0; + virtual int32_t __stdcall put_Value(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedModes(void**) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall Configure(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Value(float*) noexcept = 0; + virtual int32_t __stdcall put_Value(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings + { + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings; + }; + template + struct consume_Windows_Media_Devices_IAdvancedPhotoControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedPhotoControl; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController + { + auto SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetDeviceProperty(param::hstring const& propertyId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController10 + { + [[nodiscard]] auto CameraOcclusionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController10; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController11 + { + auto TryAcquireExclusiveControl(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlReleaseMode const& mode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController11; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2 + { + [[nodiscard]] auto LowLagPhotoSequence() const; + [[nodiscard]] auto LowLagPhoto() const; + [[nodiscard]] auto SceneModeControl() const; + [[nodiscard]] auto TorchControl() const; + [[nodiscard]] auto FlashControl() const; + [[nodiscard]] auto WhiteBalanceControl() const; + [[nodiscard]] auto ExposureControl() const; + [[nodiscard]] auto FocusControl() const; + [[nodiscard]] auto ExposureCompensationControl() const; + [[nodiscard]] auto IsoSpeedControl() const; + [[nodiscard]] auto RegionsOfInterestControl() const; + [[nodiscard]] auto PrimaryUse() const; + auto PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3 + { + [[nodiscard]] auto VariablePhotoSequenceController() const; + [[nodiscard]] auto PhotoConfirmationControl() const; + [[nodiscard]] auto ZoomControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4 + { + [[nodiscard]] auto ExposurePriorityVideoControl() const; + [[nodiscard]] auto DesiredOptimization() const; + auto DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const; + [[nodiscard]] auto HdrVideoControl() const; + [[nodiscard]] auto OpticalImageStabilizationControl() const; + [[nodiscard]] auto AdvancedPhotoControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5 + { + [[nodiscard]] auto Id() const; + auto GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetDevicePropertyByExtendedId(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetDevicePropertyByExtendedId(array_view extendedPropertyId, array_view propertyValue) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6 + { + [[nodiscard]] auto VideoTemporalDenoisingControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7 + { + [[nodiscard]] auto InfraredTorchControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8 + { + [[nodiscard]] auto PanelBasedOptimizationControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8; + }; + template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9 + { + [[nodiscard]] auto DigitalWindowControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceController + { + auto Muted(bool value) const; + [[nodiscard]] auto Muted() const; + auto VolumePercent(float value) const; + [[nodiscard]] auto VolumePercent() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceController; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceController2 + { + [[nodiscard]] auto AudioCaptureEffectsManager() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceController2; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceModule + { + [[nodiscard]] auto ClassId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto InstanceId() const; + [[nodiscard]] auto MajorVersion() const; + [[nodiscard]] auto MinorVersion() const; + auto SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceModule; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs + { + [[nodiscard]] auto Module() const; + [[nodiscard]] auto NotificationData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceModulesManager + { + auto ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ModuleNotificationReceived_revoker = impl::event_revoker::remove_ModuleNotificationReceived>; + [[nodiscard]] auto ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ModuleNotificationReceived(winrt::event_token const& token) const noexcept; + auto FindAllById(param::hstring const& moduleId) const; + auto FindAll() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceModulesManager; + }; + template + struct consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory + { + auto Create(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory; + }; + template + struct consume_Windows_Media_Devices_ICallControl + { + auto IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const; + auto IndicateNewOutgoingCall() const; + auto IndicateActiveCall(uint64_t callToken) const; + auto EndCall(uint64_t callToken) const; + [[nodiscard]] auto HasRinger() const; + auto AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + using AnswerRequested_revoker = impl::event_revoker::remove_AnswerRequested>; + [[nodiscard]] auto AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto AnswerRequested(winrt::event_token const& token) const noexcept; + auto HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + using HangUpRequested_revoker = impl::event_revoker::remove_HangUpRequested>; + [[nodiscard]] auto HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto HangUpRequested(winrt::event_token const& token) const noexcept; + auto DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; + using DialRequested_revoker = impl::event_revoker::remove_DialRequested>; + [[nodiscard]] auto DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; + auto DialRequested(winrt::event_token const& token) const noexcept; + auto RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; + using RedialRequested_revoker = impl::event_revoker::remove_RedialRequested>; + [[nodiscard]] auto RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; + auto RedialRequested(winrt::event_token const& token) const noexcept; + auto KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; + using KeypadPressed_revoker = impl::event_revoker::remove_KeypadPressed>; + [[nodiscard]] auto KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; + auto KeypadPressed(winrt::event_token const& token) const noexcept; + auto AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + using AudioTransferRequested_revoker = impl::event_revoker::remove_AudioTransferRequested>; + [[nodiscard]] auto AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto AudioTransferRequested(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ICallControl; + }; + template + struct consume_Windows_Media_Devices_ICallControlStatics + { + auto GetDefault() const; + auto FromId(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ICallControlStatics; + }; + template + struct consume_Windows_Media_Devices_ICameraOcclusionInfo + { + auto GetState() const; + auto IsOcclusionKindSupported(winrt::Windows::Media::Devices::CameraOcclusionKind const& occlusionKind) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ICameraOcclusionInfo; + }; + template + struct consume_Windows_Media_Devices_ICameraOcclusionState + { + [[nodiscard]] auto IsOccluded() const; + auto IsOcclusionKind(winrt::Windows::Media::Devices::CameraOcclusionKind const& occlusionKind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ICameraOcclusionState; + }; + template + struct consume_Windows_Media_Devices_ICameraOcclusionStateChangedEventArgs + { + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ICameraOcclusionStateChangedEventArgs; + }; + template + struct consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Role() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs; + }; + template + struct consume_Windows_Media_Devices_IDialRequestedEventArgs + { + auto Handled() const; + [[nodiscard]] auto Contact() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDialRequestedEventArgs; + }; + template + struct consume_Windows_Media_Devices_IDigitalWindowBounds + { + [[nodiscard]] auto NormalizedOriginTop() const; + auto NormalizedOriginTop(double value) const; + [[nodiscard]] auto NormalizedOriginLeft() const; + auto NormalizedOriginLeft(double value) const; + [[nodiscard]] auto Scale() const; + auto Scale(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowBounds; + }; + template + struct consume_Windows_Media_Devices_IDigitalWindowCapability + { + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto MinScaleValue() const; + [[nodiscard]] auto MaxScaleValue() const; + [[nodiscard]] auto MinScaleValueWithoutUpsampling() const; + [[nodiscard]] auto NormalizedFieldOfViewLimit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowCapability; + }; + template + struct consume_Windows_Media_Devices_IDigitalWindowControl + { + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto CurrentMode() const; + auto GetBounds() const; + auto Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const; + auto Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const; + [[nodiscard]] auto SupportedCapabilities() const; + auto GetCapabilityForSize(int32_t width, int32_t height) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowControl; + }; + template + struct consume_Windows_Media_Devices_IExposureCompensationControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IExposureCompensationControl; + }; + template + struct consume_Windows_Media_Devices_IExposureControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Auto() const; + auto SetAutoAsync(bool value) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IExposureControl; + }; + template + struct consume_Windows_Media_Devices_IExposurePriorityVideoControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IExposurePriorityVideoControl; + }; + template + struct consume_Windows_Media_Devices_IFlashControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto PowerSupported() const; + [[nodiscard]] auto RedEyeReductionSupported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto RedEyeReduction() const; + auto RedEyeReduction(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IFlashControl; + }; + template + struct consume_Windows_Media_Devices_IFlashControl2 + { + [[nodiscard]] auto AssistantLightSupported() const; + [[nodiscard]] auto AssistantLightEnabled() const; + auto AssistantLightEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IFlashControl2; + }; + template + struct consume_Windows_Media_Devices_IFocusControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedPresets() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const; + auto SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t focus) const; + auto FocusAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IFocusControl; + }; + template + struct consume_Windows_Media_Devices_IFocusControl2 + { + [[nodiscard]] auto FocusChangedSupported() const; + [[nodiscard]] auto WaitForFocusSupported() const; + [[nodiscard]] auto SupportedFocusModes() const; + [[nodiscard]] auto SupportedFocusDistances() const; + [[nodiscard]] auto SupportedFocusRanges() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto FocusState() const; + auto UnlockAsync() const; + auto LockAsync() const; + auto Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IFocusControl2; + }; + template + struct consume_Windows_Media_Devices_IFocusSettings + { + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::FocusMode const& value) const; + [[nodiscard]] auto AutoFocusRange() const; + auto AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Distance() const; + auto Distance(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WaitForFocus() const; + auto WaitForFocus(bool value) const; + [[nodiscard]] auto DisableDriverFallback() const; + auto DisableDriverFallback(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IFocusSettings; + }; + template + struct consume_Windows_Media_Devices_IHdrVideoControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IHdrVideoControl; + }; + template + struct consume_Windows_Media_Devices_IInfraredTorchControl + { + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto CurrentMode() const; + auto CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const; + [[nodiscard]] auto MinPower() const; + [[nodiscard]] auto MaxPower() const; + [[nodiscard]] auto PowerStep() const; + [[nodiscard]] auto Power() const; + auto Power(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IInfraredTorchControl; + }; + template + struct consume_Windows_Media_Devices_IIsoSpeedControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedPresets() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IIsoSpeedControl; + }; + template + struct consume_Windows_Media_Devices_IIsoSpeedControl2 + { + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t isoSpeed) const; + [[nodiscard]] auto Auto() const; + auto SetAutoAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IIsoSpeedControl2; + }; + template + struct consume_Windows_Media_Devices_IKeypadPressedEventArgs + { + [[nodiscard]] auto TelephonyKey() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IKeypadPressedEventArgs; + }; + template + struct consume_Windows_Media_Devices_ILowLagPhotoControl + { + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto ThumbnailEnabled() const; + auto ThumbnailEnabled(bool value) const; + [[nodiscard]] auto ThumbnailFormat() const; + auto ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; + [[nodiscard]] auto DesiredThumbnailSize() const; + auto DesiredThumbnailSize(uint32_t value) const; + [[nodiscard]] auto HardwareAcceleratedThumbnailSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ILowLagPhotoControl; + }; + template + struct consume_Windows_Media_Devices_ILowLagPhotoSequenceControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto MaxPastPhotos() const; + [[nodiscard]] auto MaxPhotosPerSecond() const; + [[nodiscard]] auto PastPhotoLimit() const; + auto PastPhotoLimit(uint32_t value) const; + [[nodiscard]] auto PhotosPerSecondLimit() const; + auto PhotosPerSecondLimit(float value) const; + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto ThumbnailEnabled() const; + auto ThumbnailEnabled(bool value) const; + [[nodiscard]] auto ThumbnailFormat() const; + auto ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; + [[nodiscard]] auto DesiredThumbnailSize() const; + auto DesiredThumbnailSize(uint32_t value) const; + [[nodiscard]] auto HardwareAcceleratedThumbnailSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ILowLagPhotoSequenceControl; + }; + template + struct consume_Windows_Media_Devices_IMediaDeviceControl + { + [[nodiscard]] auto Capabilities() const; + auto TryGetValue(double& value) const; + auto TrySetValue(double value) const; + auto TryGetAuto(bool& value) const; + auto TrySetAuto(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IMediaDeviceControl; + }; + template + struct consume_Windows_Media_Devices_IMediaDeviceControlCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Default() const; + [[nodiscard]] auto AutoModeSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IMediaDeviceControlCapabilities; + }; + template + struct consume_Windows_Media_Devices_IMediaDeviceController + { + auto GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IMediaDeviceController; + }; + template + struct consume_Windows_Media_Devices_IMediaDeviceStatics + { + auto GetAudioCaptureSelector() const; + auto GetAudioRenderSelector() const; + auto GetVideoCaptureSelector() const; + auto GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DefaultAudioCaptureDeviceChanged_revoker = impl::event_revoker::remove_DefaultAudioCaptureDeviceChanged>; + [[nodiscard]] auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept; + auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DefaultAudioRenderDeviceChanged_revoker = impl::event_revoker::remove_DefaultAudioRenderDeviceChanged>; + [[nodiscard]] auto DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IMediaDeviceStatics; + }; + template + struct consume_Windows_Media_Devices_IModuleCommandResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Result() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IModuleCommandResult; + }; + template + struct consume_Windows_Media_Devices_IOpticalImageStabilizationControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IOpticalImageStabilizationControl; + }; + template + struct consume_Windows_Media_Devices_IPanelBasedOptimizationControl + { + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto Panel() const; + auto Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IPanelBasedOptimizationControl; + }; + template + struct consume_Windows_Media_Devices_IPhotoConfirmationControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto PixelFormat() const; + auto PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IPhotoConfirmationControl; + }; + template + struct consume_Windows_Media_Devices_IRedialRequestedEventArgs + { + auto Handled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IRedialRequestedEventArgs; + }; + template + struct consume_Windows_Media_Devices_IRegionOfInterest + { + [[nodiscard]] auto AutoFocusEnabled() const; + auto AutoFocusEnabled(bool value) const; + [[nodiscard]] auto AutoWhiteBalanceEnabled() const; + auto AutoWhiteBalanceEnabled(bool value) const; + [[nodiscard]] auto AutoExposureEnabled() const; + auto AutoExposureEnabled(bool value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Foundation::Rect const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IRegionOfInterest; + }; + template + struct consume_Windows_Media_Devices_IRegionOfInterest2 + { + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const; + [[nodiscard]] auto BoundsNormalized() const; + auto BoundsNormalized(bool value) const; + [[nodiscard]] auto Weight() const; + auto Weight(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IRegionOfInterest2; + }; + template + struct consume_Windows_Media_Devices_IRegionsOfInterestControl + { + [[nodiscard]] auto MaxRegions() const; + auto SetRegionsAsync(param::async_iterable const& regions) const; + auto SetRegionsAsync(param::async_iterable const& regions, bool lockValues) const; + auto ClearRegionsAsync() const; + [[nodiscard]] auto AutoFocusSupported() const; + [[nodiscard]] auto AutoWhiteBalanceSupported() const; + [[nodiscard]] auto AutoExposureSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IRegionsOfInterestControl; + }; + template + struct consume_Windows_Media_Devices_ISceneModeControl + { + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ISceneModeControl; + }; + template + struct consume_Windows_Media_Devices_ITorchControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto PowerSupported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_ITorchControl; + }; + template + struct consume_Windows_Media_Devices_IVideoDeviceController + { + [[nodiscard]] auto Brightness() const; + [[nodiscard]] auto Contrast() const; + [[nodiscard]] auto Hue() const; + [[nodiscard]] auto WhiteBalance() const; + [[nodiscard]] auto BacklightCompensation() const; + [[nodiscard]] auto Pan() const; + [[nodiscard]] auto Tilt() const; + [[nodiscard]] auto Zoom() const; + [[nodiscard]] auto Roll() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto Focus() const; + auto TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const; + auto TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IVideoDeviceController; + }; + template + struct consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult; + }; + template + struct consume_Windows_Media_Devices_IVideoTemporalDenoisingControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IVideoTemporalDenoisingControl; + }; + template + struct consume_Windows_Media_Devices_IWhiteBalanceControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t temperature) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IWhiteBalanceControl; + }; + template + struct consume_Windows_Media_Devices_IZoomControl + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto Value(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IZoomControl; + }; + template + struct consume_Windows_Media_Devices_IZoomControl2 + { + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IZoomControl2; + }; + template + struct consume_Windows_Media_Devices_IZoomSettings + { + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const; + [[nodiscard]] auto Value() const; + auto Value(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IZoomSettings; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f009ad6042cd87d6174624ec647aac2399091d7e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.1.h @@ -0,0 +1,470 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_1_H +#define WINRT_Windows_Media_Devices_1_H +#include "winrt/impl/Windows.Media.Devices.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + struct WINRT_IMPL_EMPTY_BASES IAdvancedPhotoCaptureSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedPhotoCaptureSettings(std::nullptr_t = nullptr) noexcept {} + IAdvancedPhotoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedPhotoControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedPhotoControl(std::nullptr_t = nullptr) noexcept {} + IAdvancedPhotoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController10 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController10(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController10(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController11 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController11(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController11(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController2(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController3(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController4(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController5(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController6(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController7(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController8 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController8(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController8(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdvancedVideoCaptureDeviceController9 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController9(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController9(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioDeviceController(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioDeviceController2(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceModule : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioDeviceModule(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceModule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceModuleNotificationEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioDeviceModuleNotificationEventArgs(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceModuleNotificationEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceModulesManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioDeviceModulesManager(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceModulesManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioDeviceModulesManagerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioDeviceModulesManagerFactory(std::nullptr_t = nullptr) noexcept {} + IAudioDeviceModulesManagerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICallControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICallControl(std::nullptr_t = nullptr) noexcept {} + ICallControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICallControlStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICallControlStatics(std::nullptr_t = nullptr) noexcept {} + ICallControlStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraOcclusionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraOcclusionInfo(std::nullptr_t = nullptr) noexcept {} + ICameraOcclusionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraOcclusionState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraOcclusionState(std::nullptr_t = nullptr) noexcept {} + ICameraOcclusionState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraOcclusionStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraOcclusionStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICameraOcclusionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDefaultAudioDeviceChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDefaultAudioDeviceChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDefaultAudioDeviceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDialRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDigitalWindowBounds : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowBounds(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDigitalWindowCapability : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowCapability(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDigitalWindowControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowControl(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IExposureCompensationControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IExposureCompensationControl(std::nullptr_t = nullptr) noexcept {} + IExposureCompensationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IExposureControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IExposureControl(std::nullptr_t = nullptr) noexcept {} + IExposureControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IExposurePriorityVideoControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IExposurePriorityVideoControl(std::nullptr_t = nullptr) noexcept {} + IExposurePriorityVideoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFlashControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFlashControl(std::nullptr_t = nullptr) noexcept {} + IFlashControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFlashControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFlashControl2(std::nullptr_t = nullptr) noexcept {} + IFlashControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFocusControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFocusControl(std::nullptr_t = nullptr) noexcept {} + IFocusControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFocusControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFocusControl2(std::nullptr_t = nullptr) noexcept {} + IFocusControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFocusSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFocusSettings(std::nullptr_t = nullptr) noexcept {} + IFocusSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHdrVideoControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHdrVideoControl(std::nullptr_t = nullptr) noexcept {} + IHdrVideoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInfraredTorchControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInfraredTorchControl(std::nullptr_t = nullptr) noexcept {} + IInfraredTorchControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsoSpeedControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsoSpeedControl(std::nullptr_t = nullptr) noexcept {} + IIsoSpeedControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsoSpeedControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsoSpeedControl2(std::nullptr_t = nullptr) noexcept {} + IIsoSpeedControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeypadPressedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeypadPressedEventArgs(std::nullptr_t = nullptr) noexcept {} + IKeypadPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagPhotoControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagPhotoControl(std::nullptr_t = nullptr) noexcept {} + ILowLagPhotoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILowLagPhotoSequenceControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILowLagPhotoSequenceControl(std::nullptr_t = nullptr) noexcept {} + ILowLagPhotoSequenceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaDeviceControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaDeviceControl(std::nullptr_t = nullptr) noexcept {} + IMediaDeviceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaDeviceControlCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaDeviceControlCapabilities(std::nullptr_t = nullptr) noexcept {} + IMediaDeviceControlCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaDeviceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaDeviceController(std::nullptr_t = nullptr) noexcept {} + IMediaDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IMediaDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IModuleCommandResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IModuleCommandResult(std::nullptr_t = nullptr) noexcept {} + IModuleCommandResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOpticalImageStabilizationControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOpticalImageStabilizationControl(std::nullptr_t = nullptr) noexcept {} + IOpticalImageStabilizationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPanelBasedOptimizationControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPanelBasedOptimizationControl(std::nullptr_t = nullptr) noexcept {} + IPanelBasedOptimizationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoConfirmationControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoConfirmationControl(std::nullptr_t = nullptr) noexcept {} + IPhotoConfirmationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRedialRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRedialRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IRedialRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRegionOfInterest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRegionOfInterest(std::nullptr_t = nullptr) noexcept {} + IRegionOfInterest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRegionOfInterest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRegionOfInterest2(std::nullptr_t = nullptr) noexcept {} + IRegionOfInterest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRegionsOfInterestControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRegionsOfInterestControl(std::nullptr_t = nullptr) noexcept {} + IRegionsOfInterestControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISceneModeControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISceneModeControl(std::nullptr_t = nullptr) noexcept {} + ISceneModeControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITorchControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITorchControl(std::nullptr_t = nullptr) noexcept {} + ITorchControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoDeviceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoDeviceController(std::nullptr_t = nullptr) noexcept {} + IVideoDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoDeviceControllerGetDevicePropertyResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoDeviceControllerGetDevicePropertyResult(std::nullptr_t = nullptr) noexcept {} + IVideoDeviceControllerGetDevicePropertyResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTemporalDenoisingControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTemporalDenoisingControl(std::nullptr_t = nullptr) noexcept {} + IVideoTemporalDenoisingControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWhiteBalanceControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWhiteBalanceControl(std::nullptr_t = nullptr) noexcept {} + IWhiteBalanceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IZoomControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IZoomControl(std::nullptr_t = nullptr) noexcept {} + IZoomControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IZoomControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IZoomControl2(std::nullptr_t = nullptr) noexcept {} + IZoomControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IZoomSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IZoomSettings(std::nullptr_t = nullptr) noexcept {} + IZoomSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.2.h new file mode 100644 index 0000000000000000000000000000000000000000..db2e31f25a8d278f8a2e1e80439357a18966fa11 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.2.h @@ -0,0 +1,323 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_2_H +#define WINRT_Windows_Media_Devices_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Devices.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Devices +{ + struct CallControlEventHandler : winrt::Windows::Foundation::IUnknown + { + CallControlEventHandler(std::nullptr_t = nullptr) noexcept {} + CallControlEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template CallControlEventHandler(L lambda); + template CallControlEventHandler(F* function); + template CallControlEventHandler(O* object, M method); + template CallControlEventHandler(com_ptr&& object, M method); + template CallControlEventHandler(weak_ref&& object, LM&& lambda_or_method); + template CallControlEventHandler(std::shared_ptr&& object, M method); + template CallControlEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Devices::CallControl const& sender) const; + }; + struct DialRequestedEventHandler : winrt::Windows::Foundation::IUnknown + { + DialRequestedEventHandler(std::nullptr_t = nullptr) noexcept {} + DialRequestedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DialRequestedEventHandler(L lambda); + template DialRequestedEventHandler(F* function); + template DialRequestedEventHandler(O* object, M method); + template DialRequestedEventHandler(com_ptr&& object, M method); + template DialRequestedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template DialRequestedEventHandler(std::shared_ptr&& object, M method); + template DialRequestedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Devices::CallControl const& sender, winrt::Windows::Media::Devices::DialRequestedEventArgs const& e) const; + }; + struct KeypadPressedEventHandler : winrt::Windows::Foundation::IUnknown + { + KeypadPressedEventHandler(std::nullptr_t = nullptr) noexcept {} + KeypadPressedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template KeypadPressedEventHandler(L lambda); + template KeypadPressedEventHandler(F* function); + template KeypadPressedEventHandler(O* object, M method); + template KeypadPressedEventHandler(com_ptr&& object, M method); + template KeypadPressedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template KeypadPressedEventHandler(std::shared_ptr&& object, M method); + template KeypadPressedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Devices::CallControl const& sender, winrt::Windows::Media::Devices::KeypadPressedEventArgs const& e) const; + }; + struct RedialRequestedEventHandler : winrt::Windows::Foundation::IUnknown + { + RedialRequestedEventHandler(std::nullptr_t = nullptr) noexcept {} + RedialRequestedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template RedialRequestedEventHandler(L lambda); + template RedialRequestedEventHandler(F* function); + template RedialRequestedEventHandler(O* object, M method); + template RedialRequestedEventHandler(com_ptr&& object, M method); + template RedialRequestedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template RedialRequestedEventHandler(std::shared_ptr&& object, M method); + template RedialRequestedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Devices::CallControl const& sender, winrt::Windows::Media::Devices::RedialRequestedEventArgs const& e) const; + }; + struct WINRT_IMPL_EMPTY_BASES AdvancedPhotoCaptureSettings : winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings + { + AdvancedPhotoCaptureSettings(std::nullptr_t) noexcept {} + AdvancedPhotoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings(ptr, take_ownership_from_abi) {} + AdvancedPhotoCaptureSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES AdvancedPhotoControl : winrt::Windows::Media::Devices::IAdvancedPhotoControl + { + AdvancedPhotoControl(std::nullptr_t) noexcept {} + AdvancedPhotoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAdvancedPhotoControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioDeviceController : winrt::Windows::Media::Devices::IAudioDeviceController, + impl::require + { + AudioDeviceController(std::nullptr_t) noexcept {} + AudioDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAudioDeviceController(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioDeviceModule : winrt::Windows::Media::Devices::IAudioDeviceModule + { + AudioDeviceModule(std::nullptr_t) noexcept {} + AudioDeviceModule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAudioDeviceModule(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioDeviceModuleNotificationEventArgs : winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs + { + AudioDeviceModuleNotificationEventArgs(std::nullptr_t) noexcept {} + AudioDeviceModuleNotificationEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioDeviceModulesManager : winrt::Windows::Media::Devices::IAudioDeviceModulesManager + { + AudioDeviceModulesManager(std::nullptr_t) noexcept {} + AudioDeviceModulesManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IAudioDeviceModulesManager(ptr, take_ownership_from_abi) {} + explicit AudioDeviceModulesManager(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES CallControl : winrt::Windows::Media::Devices::ICallControl + { + CallControl(std::nullptr_t) noexcept {} + CallControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ICallControl(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto FromId(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES CameraOcclusionInfo : winrt::Windows::Media::Devices::ICameraOcclusionInfo + { + CameraOcclusionInfo(std::nullptr_t) noexcept {} + CameraOcclusionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ICameraOcclusionInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CameraOcclusionState : winrt::Windows::Media::Devices::ICameraOcclusionState + { + CameraOcclusionState(std::nullptr_t) noexcept {} + CameraOcclusionState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ICameraOcclusionState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CameraOcclusionStateChangedEventArgs : winrt::Windows::Media::Devices::ICameraOcclusionStateChangedEventArgs + { + CameraOcclusionStateChangedEventArgs(std::nullptr_t) noexcept {} + CameraOcclusionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ICameraOcclusionStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DefaultAudioCaptureDeviceChangedEventArgs : winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs + { + DefaultAudioCaptureDeviceChangedEventArgs(std::nullptr_t) noexcept {} + DefaultAudioCaptureDeviceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DefaultAudioRenderDeviceChangedEventArgs : winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs + { + DefaultAudioRenderDeviceChangedEventArgs(std::nullptr_t) noexcept {} + DefaultAudioRenderDeviceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialRequestedEventArgs : winrt::Windows::Media::Devices::IDialRequestedEventArgs + { + DialRequestedEventArgs(std::nullptr_t) noexcept {} + DialRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDialRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DigitalWindowBounds : winrt::Windows::Media::Devices::IDigitalWindowBounds + { + DigitalWindowBounds(std::nullptr_t) noexcept {} + DigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowBounds(ptr, take_ownership_from_abi) {} + DigitalWindowBounds(); + }; + struct WINRT_IMPL_EMPTY_BASES DigitalWindowCapability : winrt::Windows::Media::Devices::IDigitalWindowCapability + { + DigitalWindowCapability(std::nullptr_t) noexcept {} + DigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowCapability(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DigitalWindowControl : winrt::Windows::Media::Devices::IDigitalWindowControl + { + DigitalWindowControl(std::nullptr_t) noexcept {} + DigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ExposureCompensationControl : winrt::Windows::Media::Devices::IExposureCompensationControl + { + ExposureCompensationControl(std::nullptr_t) noexcept {} + ExposureCompensationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IExposureCompensationControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ExposureControl : winrt::Windows::Media::Devices::IExposureControl + { + ExposureControl(std::nullptr_t) noexcept {} + ExposureControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IExposureControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ExposurePriorityVideoControl : winrt::Windows::Media::Devices::IExposurePriorityVideoControl + { + ExposurePriorityVideoControl(std::nullptr_t) noexcept {} + ExposurePriorityVideoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IExposurePriorityVideoControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FlashControl : winrt::Windows::Media::Devices::IFlashControl, + impl::require + { + FlashControl(std::nullptr_t) noexcept {} + FlashControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IFlashControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FocusControl : winrt::Windows::Media::Devices::IFocusControl, + impl::require + { + FocusControl(std::nullptr_t) noexcept {} + FocusControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IFocusControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FocusSettings : winrt::Windows::Media::Devices::IFocusSettings + { + FocusSettings(std::nullptr_t) noexcept {} + FocusSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IFocusSettings(ptr, take_ownership_from_abi) {} + FocusSettings(); + }; + struct WINRT_IMPL_EMPTY_BASES HdrVideoControl : winrt::Windows::Media::Devices::IHdrVideoControl + { + HdrVideoControl(std::nullptr_t) noexcept {} + HdrVideoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IHdrVideoControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES InfraredTorchControl : winrt::Windows::Media::Devices::IInfraredTorchControl + { + InfraredTorchControl(std::nullptr_t) noexcept {} + InfraredTorchControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IInfraredTorchControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsoSpeedControl : winrt::Windows::Media::Devices::IIsoSpeedControl, + impl::require + { + IsoSpeedControl(std::nullptr_t) noexcept {} + IsoSpeedControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IIsoSpeedControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES KeypadPressedEventArgs : winrt::Windows::Media::Devices::IKeypadPressedEventArgs + { + KeypadPressedEventArgs(std::nullptr_t) noexcept {} + KeypadPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IKeypadPressedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LowLagPhotoControl : winrt::Windows::Media::Devices::ILowLagPhotoControl + { + LowLagPhotoControl(std::nullptr_t) noexcept {} + LowLagPhotoControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ILowLagPhotoControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LowLagPhotoSequenceControl : winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl + { + LowLagPhotoSequenceControl(std::nullptr_t) noexcept {} + LowLagPhotoSequenceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl(ptr, take_ownership_from_abi) {} + }; + struct MediaDevice + { + MediaDevice() = delete; + static auto GetAudioCaptureSelector(); + static auto GetAudioRenderSelector(); + static auto GetVideoCaptureSelector(); + static auto GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role); + static auto GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role); + static auto DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); + using DefaultAudioCaptureDeviceChanged_revoker = impl::factory_event_revoker::remove_DefaultAudioCaptureDeviceChanged>; + [[nodiscard]] static auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + static auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie); + static auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); + using DefaultAudioRenderDeviceChanged_revoker = impl::factory_event_revoker::remove_DefaultAudioRenderDeviceChanged>; + [[nodiscard]] static auto DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + static auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie); + }; + struct WINRT_IMPL_EMPTY_BASES MediaDeviceControl : winrt::Windows::Media::Devices::IMediaDeviceControl + { + MediaDeviceControl(std::nullptr_t) noexcept {} + MediaDeviceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IMediaDeviceControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaDeviceControlCapabilities : winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities + { + MediaDeviceControlCapabilities(std::nullptr_t) noexcept {} + MediaDeviceControlCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ModuleCommandResult : winrt::Windows::Media::Devices::IModuleCommandResult + { + ModuleCommandResult(std::nullptr_t) noexcept {} + ModuleCommandResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IModuleCommandResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OpticalImageStabilizationControl : winrt::Windows::Media::Devices::IOpticalImageStabilizationControl + { + OpticalImageStabilizationControl(std::nullptr_t) noexcept {} + OpticalImageStabilizationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IOpticalImageStabilizationControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PanelBasedOptimizationControl : winrt::Windows::Media::Devices::IPanelBasedOptimizationControl + { + PanelBasedOptimizationControl(std::nullptr_t) noexcept {} + PanelBasedOptimizationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IPanelBasedOptimizationControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoConfirmationControl : winrt::Windows::Media::Devices::IPhotoConfirmationControl + { + PhotoConfirmationControl(std::nullptr_t) noexcept {} + PhotoConfirmationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IPhotoConfirmationControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RedialRequestedEventArgs : winrt::Windows::Media::Devices::IRedialRequestedEventArgs + { + RedialRequestedEventArgs(std::nullptr_t) noexcept {} + RedialRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IRedialRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RegionOfInterest : winrt::Windows::Media::Devices::IRegionOfInterest, + impl::require + { + RegionOfInterest(std::nullptr_t) noexcept {} + RegionOfInterest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IRegionOfInterest(ptr, take_ownership_from_abi) {} + RegionOfInterest(); + }; + struct WINRT_IMPL_EMPTY_BASES RegionsOfInterestControl : winrt::Windows::Media::Devices::IRegionsOfInterestControl + { + RegionsOfInterestControl(std::nullptr_t) noexcept {} + RegionsOfInterestControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IRegionsOfInterestControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SceneModeControl : winrt::Windows::Media::Devices::ISceneModeControl + { + SceneModeControl(std::nullptr_t) noexcept {} + SceneModeControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ISceneModeControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TorchControl : winrt::Windows::Media::Devices::ITorchControl + { + TorchControl(std::nullptr_t) noexcept {} + TorchControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::ITorchControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoDeviceController : winrt::Windows::Media::Devices::IVideoDeviceController, + impl::require + { + VideoDeviceController(std::nullptr_t) noexcept {} + VideoDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IVideoDeviceController(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoDeviceControllerGetDevicePropertyResult : winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult + { + VideoDeviceControllerGetDevicePropertyResult(std::nullptr_t) noexcept {} + VideoDeviceControllerGetDevicePropertyResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoTemporalDenoisingControl : winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl + { + VideoTemporalDenoisingControl(std::nullptr_t) noexcept {} + VideoTemporalDenoisingControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WhiteBalanceControl : winrt::Windows::Media::Devices::IWhiteBalanceControl + { + WhiteBalanceControl(std::nullptr_t) noexcept {} + WhiteBalanceControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IWhiteBalanceControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ZoomControl : winrt::Windows::Media::Devices::IZoomControl, + impl::require + { + ZoomControl(std::nullptr_t) noexcept {} + ZoomControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IZoomControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ZoomSettings : winrt::Windows::Media::Devices::IZoomSettings + { + ZoomSettings(std::nullptr_t) noexcept {} + ZoomSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IZoomSettings(ptr, take_ownership_from_abi) {} + ZoomSettings(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..73ef2396c9fcdfd27e3859b85cfe590d1bb115a4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.0.h @@ -0,0 +1,602 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_Core_0_H +#define WINRT_Windows_Media_Devices_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES IReference; + struct Point; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct IMediaEncodingProperties; + struct MediaRatio; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + enum class FrameFlashMode : int32_t + { + Disable = 0, + Enable = 1, + Global = 2, + }; + struct ICameraIntrinsics; + struct ICameraIntrinsics2; + struct ICameraIntrinsicsFactory; + struct IDepthCorrelatedCoordinateMapper; + struct IFrameControlCapabilities; + struct IFrameControlCapabilities2; + struct IFrameController; + struct IFrameController2; + struct IFrameExposureCapabilities; + struct IFrameExposureCompensationCapabilities; + struct IFrameExposureCompensationControl; + struct IFrameExposureControl; + struct IFrameFlashCapabilities; + struct IFrameFlashControl; + struct IFrameFocusCapabilities; + struct IFrameFocusControl; + struct IFrameIsoSpeedCapabilities; + struct IFrameIsoSpeedControl; + struct IVariablePhotoSequenceController; + struct CameraIntrinsics; + struct DepthCorrelatedCoordinateMapper; + struct FrameControlCapabilities; + struct FrameController; + struct FrameExposureCapabilities; + struct FrameExposureCompensationCapabilities; + struct FrameExposureCompensationControl; + struct FrameExposureControl; + struct FrameFlashCapabilities; + struct FrameFlashControl; + struct FrameFocusCapabilities; + struct FrameFocusControl; + struct FrameIsoSpeedCapabilities; + struct FrameIsoSpeedControl; + struct VariablePhotoSequenceController; +} +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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.CameraIntrinsics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameControlCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameExposureCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameExposureCompensationCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameExposureCompensationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameExposureControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameFlashCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameFlashControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameFocusCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameFocusControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameIsoSpeedCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameIsoSpeedControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.VariablePhotoSequenceController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.FrameFlashMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.ICameraIntrinsics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.ICameraIntrinsics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.ICameraIntrinsicsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IDepthCorrelatedCoordinateMapper"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameControlCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameControlCapabilities2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameController"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameController2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameExposureCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameExposureCompensationCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameExposureCompensationControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameExposureControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameFlashCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameFlashControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameFocusCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameFocusControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameIsoSpeedCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IFrameIsoSpeedControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.Core.IVariablePhotoSequenceController"; + template <> inline constexpr guid guid_v{ 0x0AA6ED32,0x6589,0x49DA,{ 0xAF,0xDE,0x59,0x42,0x70,0xCA,0x0A,0xAC } }; // 0AA6ED32-6589-49DA-AFDE-594270CA0AAC + template <> inline constexpr guid guid_v{ 0x0CDAA447,0x0798,0x4B4D,{ 0x83,0x9F,0xC5,0xEC,0x41,0x4D,0xB2,0x7A } }; // 0CDAA447-0798-4B4D-839F-C5EC414DB27A + template <> inline constexpr guid guid_v{ 0xC0DDC486,0x2132,0x4A34,{ 0xA6,0x59,0x9B,0xFE,0x2A,0x05,0x57,0x12 } }; // C0DDC486-2132-4A34-A659-9BFE2A055712 + template <> inline constexpr guid guid_v{ 0xF95D89FB,0x8AF0,0x4CB0,{ 0x92,0x6D,0x69,0x68,0x66,0xE5,0x04,0x6A } }; // F95D89FB-8AF0-4CB0-926D-696866E5046A + template <> inline constexpr guid guid_v{ 0xA8FFAE60,0x4E9E,0x4377,{ 0xA7,0x89,0xE2,0x4C,0x4A,0xE7,0xE5,0x44 } }; // A8FFAE60-4E9E-4377-A789-E24C4AE7E544 + template <> inline constexpr guid guid_v{ 0xCE9B0464,0x4730,0x440F,{ 0xBD,0x3E,0xEF,0xE8,0xA8,0xF2,0x30,0xA8 } }; // CE9B0464-4730-440F-BD3E-EFE8A8F230A8 + template <> inline constexpr guid guid_v{ 0xC16459D9,0xBAEF,0x4052,{ 0x91,0x77,0x48,0xAF,0xF2,0xAF,0x75,0x22 } }; // C16459D9-BAEF-4052-9177-48AFF2AF7522 + template <> inline constexpr guid guid_v{ 0x00D3BC75,0xD87C,0x485B,{ 0x8A,0x09,0x5C,0x35,0x85,0x68,0xB4,0x27 } }; // 00D3BC75-D87C-485B-8A09-5C358568B427 + template <> inline constexpr guid guid_v{ 0xBDBE9CE3,0x3985,0x4E72,{ 0x97,0xC2,0x05,0x90,0xD6,0x13,0x07,0xA1 } }; // BDBE9CE3-3985-4E72-97C2-0590D61307A1 + template <> inline constexpr guid guid_v{ 0xB988A823,0x8065,0x41EE,{ 0xB0,0x4F,0x72,0x22,0x65,0x95,0x45,0x00 } }; // B988A823-8065-41EE-B04F-722265954500 + template <> inline constexpr guid guid_v{ 0xE95896C9,0xF7F9,0x48CA,{ 0x85,0x91,0xA2,0x65,0x31,0xCB,0x15,0x78 } }; // E95896C9-F7F9-48CA-8591-A26531CB1578 + template <> inline constexpr guid guid_v{ 0xB1605A61,0xFFAF,0x4752,{ 0xB6,0x21,0xF5,0xB6,0xF1,0x17,0xF4,0x32 } }; // B1605A61-FFAF-4752-B621-F5B6F117F432 + template <> inline constexpr guid guid_v{ 0xBB9341A2,0x5EBE,0x4F62,{ 0x82,0x23,0x0E,0x2B,0x05,0xBF,0xBB,0xD0 } }; // BB9341A2-5EBE-4F62-8223-0E2B05BFBBD0 + template <> inline constexpr guid guid_v{ 0x75D5F6C7,0xBD45,0x4FAB,{ 0x93,0x75,0x45,0xAC,0x04,0xB3,0x32,0xC2 } }; // 75D5F6C7-BD45-4FAB-9375-45AC04B332C2 + template <> inline constexpr guid guid_v{ 0x7B25CD58,0x01C0,0x4065,{ 0x9C,0x40,0xC1,0xA7,0x21,0x42,0x5C,0x1A } }; // 7B25CD58-01C0-4065-9C40-C1A721425C1A + template <> inline constexpr guid guid_v{ 0x272DF1D0,0xD912,0x4214,{ 0xA6,0x7B,0xE3,0x8A,0x8D,0x48,0xD8,0xC6 } }; // 272DF1D0-D912-4214-A67B-E38A8D48D8C6 + template <> inline constexpr guid guid_v{ 0x16BDFF61,0x6DF6,0x4AC9,{ 0xB9,0x2A,0x9F,0x6E,0xCD,0x1A,0xD2,0xFA } }; // 16BDFF61-6DF6-4AC9-B92A-9F6ECD1AD2FA + template <> inline constexpr guid guid_v{ 0x1A03EFED,0x786A,0x4C75,{ 0xA5,0x57,0x7A,0xB9,0xA8,0x5F,0x58,0x8C } }; // 1A03EFED-786A-4C75-A557-7AB9A85F588C + template <> inline constexpr guid guid_v{ 0x7FBFF880,0xED8C,0x43FD,{ 0xA7,0xC3,0xB3,0x58,0x09,0xE4,0x22,0x9A } }; // 7FBFF880-ED8C-43FD-A7C3-B35809E4229A + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::ICameraIntrinsics; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameControlCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameController; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameExposureControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameFlashControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameFocusControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FocalLength(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall get_PrincipalPoint(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall get_RadialDistortion(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_TangentialDistortion(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall get_ImageWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ImageHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall UnprojectAtUnitDepth(winrt::Windows::Foundation::Point, winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall ProjectManyOntoFrame(uint32_t, winrt::Windows::Foundation::Numerics::float3*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall UnprojectPixelsAtUnitDepth(uint32_t, winrt::Windows::Foundation::Point*, uint32_t, winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UndistortedProjectionTransform(winrt::Windows::Foundation::Numerics::float4x4*) noexcept = 0; + virtual int32_t __stdcall DistortPoint(winrt::Windows::Foundation::Point, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall DistortPoints(uint32_t, winrt::Windows::Foundation::Point*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall UndistortPoint(winrt::Windows::Foundation::Point, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall UndistortPoints(uint32_t, winrt::Windows::Foundation::Point*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::float2, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UnprojectPoint(winrt::Windows::Foundation::Point, void*, winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall UnprojectPoints(uint32_t, winrt::Windows::Foundation::Point*, void*, uint32_t, winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall MapPoint(winrt::Windows::Foundation::Point, void*, void*, winrt::Windows::Foundation::Point*) noexcept = 0; + virtual int32_t __stdcall MapPoints(uint32_t, winrt::Windows::Foundation::Point*, void*, void*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Exposure(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensation(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoSpeed(void**) noexcept = 0; + virtual int32_t __stdcall get_Focus(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotoConfirmationSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Flash(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExposureControl(void**) noexcept = 0; + virtual int32_t __stdcall get_ExposureCompensationControl(void**) noexcept = 0; + virtual int32_t __stdcall get_IsoSpeedControl(void**) noexcept = 0; + virtual int32_t __stdcall get_FocusControl(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotoConfirmationEnabled(void**) noexcept = 0; + virtual int32_t __stdcall put_PhotoConfirmationEnabled(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FlashControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(float*) noexcept = 0; + virtual int32_t __stdcall get_Max(float*) noexcept = 0; + virtual int32_t __stdcall get_Step(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall put_Auto(bool) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_RedEyeReductionSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_PowerSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall put_Auto(bool) noexcept = 0; + virtual int32_t __stdcall get_RedEyeReduction(bool*) noexcept = 0; + virtual int32_t __stdcall put_RedEyeReduction(bool) noexcept = 0; + virtual int32_t __stdcall get_PowerPercent(float*) noexcept = 0; + virtual int32_t __stdcall put_PowerPercent(float) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_Min(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Max(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Step(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Auto(bool*) noexcept = 0; + virtual int32_t __stdcall put_Auto(bool) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Supported(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxPhotosPerSecond(float*) noexcept = 0; + virtual int32_t __stdcall get_PhotosPerSecondLimit(float*) noexcept = 0; + virtual int32_t __stdcall put_PhotosPerSecondLimit(float) noexcept = 0; + virtual int32_t __stdcall GetHighestConcurrentFrameRate(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentFrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_FrameCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall get_DesiredFrameControllers(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Devices_Core_ICameraIntrinsics + { + [[nodiscard]] auto FocalLength() const; + [[nodiscard]] auto PrincipalPoint() const; + [[nodiscard]] auto RadialDistortion() const; + [[nodiscard]] auto TangentialDistortion() const; + [[nodiscard]] auto ImageWidth() const; + [[nodiscard]] auto ImageHeight() const; + auto ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const; + auto UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const; + auto ProjectManyOntoFrame(array_view coordinates, array_view results) const; + auto UnprojectPixelsAtUnitDepth(array_view pixelCoordinates, array_view results) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_ICameraIntrinsics; + }; + template + struct consume_Windows_Media_Devices_Core_ICameraIntrinsics2 + { + [[nodiscard]] auto UndistortedProjectionTransform() const; + auto DistortPoint(winrt::Windows::Foundation::Point const& input) const; + auto DistortPoints(array_view inputs, array_view results) const; + auto UndistortPoint(winrt::Windows::Foundation::Point const& input) const; + auto UndistortPoints(array_view inputs, array_view results) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_ICameraIntrinsics2; + }; + template + struct consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory + { + auto Create(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory; + }; + template + struct consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper + { + auto UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const; + auto UnprojectPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view results) const; + auto MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const; + auto MapPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view results) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameControlCapabilities + { + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto IsoSpeed() const; + [[nodiscard]] auto Focus() const; + [[nodiscard]] auto PhotoConfirmationSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameControlCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameControlCapabilities2 + { + [[nodiscard]] auto Flash() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameControlCapabilities2; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameController + { + [[nodiscard]] auto ExposureControl() const; + [[nodiscard]] auto ExposureCompensationControl() const; + [[nodiscard]] auto IsoSpeedControl() const; + [[nodiscard]] auto FocusControl() const; + [[nodiscard]] auto PhotoConfirmationEnabled() const; + auto PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameController; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameController2 + { + [[nodiscard]] auto FlashControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameController2; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameExposureCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameExposureCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl + { + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameExposureControl + { + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameExposureControl; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameFlashCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto RedEyeReductionSupported() const; + [[nodiscard]] auto PowerSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameFlashCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameFlashControl + { + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto RedEyeReduction() const; + auto RedEyeReduction(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameFlashControl; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameFocusCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameFocusCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameFocusControl + { + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameFocusControl; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities; + }; + template + struct consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl + { + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl; + }; + template + struct consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController + { + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto MaxPhotosPerSecond() const; + [[nodiscard]] auto PhotosPerSecondLimit() const; + auto PhotosPerSecondLimit(float value) const; + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto FrameCapabilities() const; + [[nodiscard]] auto DesiredFrameControllers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4b6e33c780e7643020ce71d0f9b5a79c09dea7c6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.1.h @@ -0,0 +1,148 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_Core_1_H +#define WINRT_Windows_Media_Devices_Core_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Devices.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + struct WINRT_IMPL_EMPTY_BASES ICameraIntrinsics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraIntrinsics(std::nullptr_t = nullptr) noexcept {} + ICameraIntrinsics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraIntrinsics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraIntrinsics2(std::nullptr_t = nullptr) noexcept {} + ICameraIntrinsics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICameraIntrinsicsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICameraIntrinsicsFactory(std::nullptr_t = nullptr) noexcept {} + ICameraIntrinsicsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDepthCorrelatedCoordinateMapper : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDepthCorrelatedCoordinateMapper(std::nullptr_t = nullptr) noexcept {} + IDepthCorrelatedCoordinateMapper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameControlCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameControlCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameControlCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameControlCapabilities2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameControlCapabilities2(std::nullptr_t = nullptr) noexcept {} + IFrameControlCapabilities2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameController(std::nullptr_t = nullptr) noexcept {} + IFrameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameController2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameController2(std::nullptr_t = nullptr) noexcept {} + IFrameController2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameExposureCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameExposureCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameExposureCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameExposureCompensationCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameExposureCompensationCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameExposureCompensationCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameExposureCompensationControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameExposureCompensationControl(std::nullptr_t = nullptr) noexcept {} + IFrameExposureCompensationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameExposureControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameExposureControl(std::nullptr_t = nullptr) noexcept {} + IFrameExposureControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameFlashCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameFlashCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameFlashCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameFlashControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameFlashControl(std::nullptr_t = nullptr) noexcept {} + IFrameFlashControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameFocusCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameFocusCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameFocusCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameFocusControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameFocusControl(std::nullptr_t = nullptr) noexcept {} + IFrameFocusControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameIsoSpeedCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameIsoSpeedCapabilities(std::nullptr_t = nullptr) noexcept {} + IFrameIsoSpeedCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFrameIsoSpeedControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFrameIsoSpeedControl(std::nullptr_t = nullptr) noexcept {} + IFrameIsoSpeedControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVariablePhotoSequenceController : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVariablePhotoSequenceController(std::nullptr_t = nullptr) noexcept {} + IVariablePhotoSequenceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e1276b55564aa03f5587be54e76194af70ad32a2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.devices.core.2.h @@ -0,0 +1,95 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Devices_Core_2_H +#define WINRT_Windows_Media_Devices_Core_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Numerics.1.h" +#include "winrt/impl/Windows.Media.Devices.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core +{ + struct WINRT_IMPL_EMPTY_BASES CameraIntrinsics : winrt::Windows::Media::Devices::Core::ICameraIntrinsics, + impl::require + { + CameraIntrinsics(std::nullptr_t) noexcept {} + CameraIntrinsics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::ICameraIntrinsics(ptr, take_ownership_from_abi) {} + CameraIntrinsics(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight); + }; + struct WINRT_IMPL_EMPTY_BASES DepthCorrelatedCoordinateMapper : winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper + { + DepthCorrelatedCoordinateMapper(std::nullptr_t) noexcept {} + DepthCorrelatedCoordinateMapper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameControlCapabilities : winrt::Windows::Media::Devices::Core::IFrameControlCapabilities, + impl::require + { + FrameControlCapabilities(std::nullptr_t) noexcept {} + FrameControlCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameControlCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameController : winrt::Windows::Media::Devices::Core::IFrameController, + impl::require + { + FrameController(std::nullptr_t) noexcept {} + FrameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameController(ptr, take_ownership_from_abi) {} + FrameController(); + }; + struct WINRT_IMPL_EMPTY_BASES FrameExposureCapabilities : winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities + { + FrameExposureCapabilities(std::nullptr_t) noexcept {} + FrameExposureCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameExposureCompensationCapabilities : winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities + { + FrameExposureCompensationCapabilities(std::nullptr_t) noexcept {} + FrameExposureCompensationCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameExposureCompensationControl : winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl + { + FrameExposureCompensationControl(std::nullptr_t) noexcept {} + FrameExposureCompensationControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameExposureControl : winrt::Windows::Media::Devices::Core::IFrameExposureControl + { + FrameExposureControl(std::nullptr_t) noexcept {} + FrameExposureControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameExposureControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameFlashCapabilities : winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities + { + FrameFlashCapabilities(std::nullptr_t) noexcept {} + FrameFlashCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameFlashControl : winrt::Windows::Media::Devices::Core::IFrameFlashControl + { + FrameFlashControl(std::nullptr_t) noexcept {} + FrameFlashControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameFlashControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameFocusCapabilities : winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities + { + FrameFocusCapabilities(std::nullptr_t) noexcept {} + FrameFocusCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameFocusControl : winrt::Windows::Media::Devices::Core::IFrameFocusControl + { + FrameFocusControl(std::nullptr_t) noexcept {} + FrameFocusControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameFocusControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameIsoSpeedCapabilities : winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities + { + FrameIsoSpeedCapabilities(std::nullptr_t) noexcept {} + FrameIsoSpeedCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FrameIsoSpeedControl : winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl + { + FrameIsoSpeedControl(std::nullptr_t) noexcept {} + FrameIsoSpeedControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VariablePhotoSequenceController : winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController + { + VariablePhotoSequenceController(std::nullptr_t) noexcept {} + VariablePhotoSequenceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.0.h new file mode 100644 index 0000000000000000000000000000000000000000..269cbe4186c7c36840541b23c69d17736dabcd3f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.0.h @@ -0,0 +1,400 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_DialProtocol_0_H +#define WINRT_Windows_Media_DialProtocol_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + struct DevicePickerAppearance; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + struct Rect; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::UI::Popups +{ + enum class Placement : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::DialProtocol +{ + enum class DialAppLaunchResult : int32_t + { + Launched = 0, + FailedToLaunch = 1, + NotFound = 2, + NetworkFailure = 3, + }; + enum class DialAppState : int32_t + { + Unknown = 0, + Stopped = 1, + Running = 2, + NetworkFailure = 3, + }; + enum class DialAppStopResult : int32_t + { + Stopped = 0, + StopFailed = 1, + OperationNotSupported = 2, + NetworkFailure = 3, + }; + enum class DialDeviceDisplayStatus : int32_t + { + None = 0, + Connecting = 1, + Connected = 2, + Disconnecting = 3, + Disconnected = 4, + Error = 5, + }; + struct IDialApp; + struct IDialAppStateDetails; + struct IDialDevice; + struct IDialDevice2; + struct IDialDevicePicker; + struct IDialDevicePickerFilter; + struct IDialDeviceSelectedEventArgs; + struct IDialDeviceStatics; + struct IDialDisconnectButtonClickedEventArgs; + struct IDialReceiverApp; + struct IDialReceiverApp2; + struct IDialReceiverAppStatics; + struct DialApp; + struct DialAppStateDetails; + struct DialDevice; + struct DialDevicePicker; + struct DialDevicePickerFilter; + struct DialDeviceSelectedEventArgs; + struct DialDisconnectButtonClickedEventArgs; + struct DialReceiverApp; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialApp"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialAppStateDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDisconnectButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialReceiverApp"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialAppLaunchResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialAppState"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialAppStopResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.DialDeviceDisplayStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialApp"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialAppStateDetails"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDevice2"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDevicePicker"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDevicePickerFilter"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDeviceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialDisconnectButtonClickedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialReceiverApp"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialReceiverApp2"; + template <> inline constexpr auto& name_v = L"Windows.Media.DialProtocol.IDialReceiverAppStatics"; + template <> inline constexpr guid guid_v{ 0x555FFBD3,0x45B7,0x49F3,{ 0xBB,0xD7,0x30,0x2D,0xB6,0x08,0x46,0x46 } }; // 555FFBD3-45B7-49F3-BBD7-302DB6084646 + template <> inline constexpr guid guid_v{ 0xDDC4A4A1,0xF5DE,0x400D,{ 0xBE,0xA4,0x8C,0x84,0x66,0xBB,0x29,0x61 } }; // DDC4A4A1-F5DE-400D-BEA4-8C8466BB2961 + template <> inline constexpr guid guid_v{ 0xFFF0EDAF,0x759F,0x41D2,{ 0xA2,0x0A,0x7F,0x29,0xCE,0x0B,0x37,0x84 } }; // FFF0EDAF-759F-41D2-A20A-7F29CE0B3784 + template <> inline constexpr guid guid_v{ 0xBAB7F3D5,0x5BFB,0x4EBA,{ 0x8B,0x32,0xB5,0x7C,0x5C,0x5E,0xE5,0xC9 } }; // BAB7F3D5-5BFB-4EBA-8B32-B57C5C5EE5C9 + template <> inline constexpr guid guid_v{ 0xBA7E520A,0xFF59,0x4F4B,{ 0xBD,0xAC,0xD8,0x9F,0x49,0x5A,0xD6,0xE1 } }; // BA7E520A-FF59-4F4B-BDAC-D89F495AD6E1 + template <> inline constexpr guid guid_v{ 0xC17C93BA,0x86C0,0x485D,{ 0xB8,0xD6,0x0F,0x9A,0x8F,0x64,0x15,0x90 } }; // C17C93BA-86C0-485D-B8D6-0F9A8F641590 + template <> inline constexpr guid guid_v{ 0x480B92AD,0xAC76,0x47EB,{ 0x9C,0x06,0xA1,0x93,0x04,0xDA,0x02,0x47 } }; // 480B92AD-AC76-47EB-9C06-A19304DA0247 + template <> inline constexpr guid guid_v{ 0xAA69CC95,0x01F8,0x4758,{ 0x84,0x61,0x2B,0xBD,0x1C,0xDC,0x3C,0xF3 } }; // AA69CC95-01F8-4758-8461-2BBD1CDC3CF3 + template <> inline constexpr guid guid_v{ 0x52765152,0x9C81,0x4E55,{ 0xAD,0xC2,0x0E,0xBE,0x99,0xCD,0xE3,0xB6 } }; // 52765152-9C81-4E55-ADC2-0EBE99CDE3B6 + template <> inline constexpr guid guid_v{ 0xFD3E7C57,0x5045,0x470E,{ 0xB3,0x04,0x4D,0xD9,0xB1,0x3E,0x7D,0x11 } }; // FD3E7C57-5045-470E-B304-4DD9B13E7D11 + template <> inline constexpr guid guid_v{ 0x530C5805,0x9130,0x42AC,{ 0xA5,0x04,0x19,0x77,0xDC,0xB2,0xEA,0x8A } }; // 530C5805-9130-42AC-A504-1977DCB2EA8A + template <> inline constexpr guid guid_v{ 0x53183A3C,0x4C36,0x4D02,{ 0xB2,0x8A,0xF2,0xA9,0xDA,0x38,0xEC,0x52 } }; // 53183A3C-4C36-4D02-B28A-F2A9DA38EC52 + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialApp; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialAppStateDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialDevicePicker; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialDeviceSelectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialDisconnectButtonClickedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::DialProtocol::IDialReceiverApp; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppName(void**) noexcept = 0; + virtual int32_t __stdcall RequestLaunchAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetAppStateAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FullXml(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall GetDialApp(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Filter(void**) noexcept = 0; + virtual int32_t __stdcall get_Appearance(void**) noexcept = 0; + virtual int32_t __stdcall add_DialDeviceSelected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DialDeviceSelected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DisconnectButtonClicked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DisconnectButtonClicked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DialDevicePickerDismissed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DialDevicePickerDismissed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Show(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall ShowWithPlacement(winrt::Windows::Foundation::Rect, int32_t) noexcept = 0; + virtual int32_t __stdcall PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect, void**) noexcept = 0; + virtual int32_t __stdcall PickSingleDialDeviceAsyncWithPlacement(winrt::Windows::Foundation::Rect, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall Hide() noexcept = 0; + virtual int32_t __stdcall SetDisplayStatus(void*, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedAppNames(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SelectedDialDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeviceInfoSupportsDialAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Device(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAdditionalDataAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetAdditionalDataAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetUniqueDeviceNameAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_DialProtocol_IDialApp + { + [[nodiscard]] auto AppName() const; + auto RequestLaunchAsync(param::hstring const& appArgument) const; + auto StopAsync() const; + auto GetAppStateAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialApp; + }; + template + struct consume_Windows_Media_DialProtocol_IDialAppStateDetails + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto FullXml() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialAppStateDetails; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDevice + { + [[nodiscard]] auto Id() const; + auto GetDialApp(param::hstring const& appName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDevice; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDevice2 + { + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Thumbnail() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDevice2; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDevicePicker + { + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + auto DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DialDeviceSelected_revoker = impl::event_revoker::remove_DialDeviceSelected>; + [[nodiscard]] auto DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DialDeviceSelected(winrt::event_token const& token) const noexcept; + auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DisconnectButtonClicked_revoker = impl::event_revoker::remove_DisconnectButtonClicked>; + [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept; + auto DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DialDevicePickerDismissed_revoker = impl::event_revoker::remove_DialDevicePickerDismissed>; + [[nodiscard]] auto DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DialDevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto Hide() const; + auto SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDevicePicker; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDevicePickerFilter + { + [[nodiscard]] auto SupportedAppNames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDevicePickerFilter; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs + { + [[nodiscard]] auto SelectedDialDevice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDeviceStatics + { + auto GetDeviceSelector(param::hstring const& appName) const; + auto FromIdAsync(param::hstring const& value) const; + auto DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDeviceStatics; + }; + template + struct consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs + { + [[nodiscard]] auto Device() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs; + }; + template + struct consume_Windows_Media_DialProtocol_IDialReceiverApp + { + auto GetAdditionalDataAsync() const; + auto SetAdditionalDataAsync(param::async_iterable> const& additionalData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialReceiverApp; + }; + template + struct consume_Windows_Media_DialProtocol_IDialReceiverApp2 + { + auto GetUniqueDeviceNameAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialReceiverApp2; + }; + template + struct consume_Windows_Media_DialProtocol_IDialReceiverAppStatics + { + [[nodiscard]] auto Current() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_DialProtocol_IDialReceiverAppStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.1.h new file mode 100644 index 0000000000000000000000000000000000000000..f49464afba28ee78924944d4c43e4df112ca0bac --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_DialProtocol_1_H +#define WINRT_Windows_Media_DialProtocol_1_H +#include "winrt/impl/Windows.Media.DialProtocol.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::DialProtocol +{ + struct WINRT_IMPL_EMPTY_BASES IDialApp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialApp(std::nullptr_t = nullptr) noexcept {} + IDialApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialAppStateDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialAppStateDetails(std::nullptr_t = nullptr) noexcept {} + IDialAppStateDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDevice(std::nullptr_t = nullptr) noexcept {} + IDialDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDevice2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDevice2(std::nullptr_t = nullptr) noexcept {} + IDialDevice2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDevicePicker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDevicePicker(std::nullptr_t = nullptr) noexcept {} + IDialDevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDevicePickerFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDevicePickerFilter(std::nullptr_t = nullptr) noexcept {} + IDialDevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDeviceSelectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDeviceSelectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDialDeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IDialDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialDisconnectButtonClickedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialDisconnectButtonClickedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDialDisconnectButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialReceiverApp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialReceiverApp(std::nullptr_t = nullptr) noexcept {} + IDialReceiverApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialReceiverApp2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialReceiverApp2(std::nullptr_t = nullptr) noexcept {} + IDialReceiverApp2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDialReceiverAppStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDialReceiverAppStatics(std::nullptr_t = nullptr) noexcept {} + IDialReceiverAppStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.2.h new file mode 100644 index 0000000000000000000000000000000000000000..b0e46df835e98133eb531d249dcf144fdba37a29 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.dialprotocol.2.h @@ -0,0 +1,61 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_DialProtocol_2_H +#define WINRT_Windows_Media_DialProtocol_2_H +#include "winrt/impl/Windows.Devices.Enumeration.1.h" +#include "winrt/impl/Windows.Media.DialProtocol.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::DialProtocol +{ + struct WINRT_IMPL_EMPTY_BASES DialApp : winrt::Windows::Media::DialProtocol::IDialApp + { + DialApp(std::nullptr_t) noexcept {} + DialApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialApp(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialAppStateDetails : winrt::Windows::Media::DialProtocol::IDialAppStateDetails + { + DialAppStateDetails(std::nullptr_t) noexcept {} + DialAppStateDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialAppStateDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialDevice : winrt::Windows::Media::DialProtocol::IDialDevice, + impl::require + { + DialDevice(std::nullptr_t) noexcept {} + DialDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(param::hstring const& appName); + static auto FromIdAsync(param::hstring const& value); + static auto DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device); + }; + struct WINRT_IMPL_EMPTY_BASES DialDevicePicker : winrt::Windows::Media::DialProtocol::IDialDevicePicker + { + DialDevicePicker(std::nullptr_t) noexcept {} + DialDevicePicker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialDevicePicker(ptr, take_ownership_from_abi) {} + DialDevicePicker(); + }; + struct WINRT_IMPL_EMPTY_BASES DialDevicePickerFilter : winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter + { + DialDevicePickerFilter(std::nullptr_t) noexcept {} + DialDevicePickerFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialDeviceSelectedEventArgs : winrt::Windows::Media::DialProtocol::IDialDeviceSelectedEventArgs + { + DialDeviceSelectedEventArgs(std::nullptr_t) noexcept {} + DialDeviceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialDeviceSelectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialDisconnectButtonClickedEventArgs : winrt::Windows::Media::DialProtocol::IDialDisconnectButtonClickedEventArgs + { + DialDisconnectButtonClickedEventArgs(std::nullptr_t) noexcept {} + DialDisconnectButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialDisconnectButtonClickedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DialReceiverApp : winrt::Windows::Media::DialProtocol::IDialReceiverApp, + impl::require + { + DialReceiverApp(std::nullptr_t) noexcept {} + DialReceiverApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::DialProtocol::IDialReceiverApp(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.0.h new file mode 100644 index 0000000000000000000000000000000000000000..76645db74894af04471eb391cfbf91d8c4d7b04f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.0.h @@ -0,0 +1,467 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Editing_0_H +#define WINRT_Windows_Media_Editing_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Rect; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct MediaStreamSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct IVideoCompositorDefinition; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct AudioEncodingProperties; + struct MediaEncodingProfile; + struct VideoEncodingProperties; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Media::Editing +{ + enum class MediaTrimmingPreference : int32_t + { + Fast = 0, + Precise = 1, + }; + enum class VideoFramePrecision : int32_t + { + NearestFrame = 0, + NearestKeyFrame = 1, + }; + struct IBackgroundAudioTrack; + struct IBackgroundAudioTrackStatics; + struct IEmbeddedAudioTrack; + struct IMediaClip; + struct IMediaClipStatics; + struct IMediaClipStatics2; + struct IMediaComposition; + struct IMediaComposition2; + struct IMediaCompositionStatics; + struct IMediaOverlay; + struct IMediaOverlayFactory; + struct IMediaOverlayLayer; + struct IMediaOverlayLayerFactory; + struct BackgroundAudioTrack; + struct EmbeddedAudioTrack; + struct MediaClip; + struct MediaComposition; + struct MediaOverlay; + struct MediaOverlayLayer; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.BackgroundAudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.EmbeddedAudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.MediaClip"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.MediaComposition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.MediaOverlay"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.MediaOverlayLayer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.MediaTrimmingPreference"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.VideoFramePrecision"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IBackgroundAudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IBackgroundAudioTrackStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IEmbeddedAudioTrack"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaClip"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaClipStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaClipStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaComposition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaComposition2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaCompositionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaOverlay"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaOverlayFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaOverlayLayer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Editing.IMediaOverlayLayerFactory"; + template <> inline constexpr guid guid_v{ 0x4B91B3BD,0x9E21,0x4266,{ 0xA9,0xC2,0x67,0xDD,0x01,0x1A,0x23,0x57 } }; // 4B91B3BD-9E21-4266-A9C2-67DD011A2357 + template <> inline constexpr guid guid_v{ 0xD9B1C0D7,0xD018,0x42A8,{ 0xA5,0x59,0xCB,0x4D,0x9E,0x97,0xE6,0x64 } }; // D9B1C0D7-D018-42A8-A559-CB4D9E97E664 + template <> inline constexpr guid guid_v{ 0x55EE5A7A,0x2D30,0x3FBA,{ 0xA1,0x90,0x4F,0x1A,0x64,0x54,0xF8,0x8F } }; // 55EE5A7A-2D30-3FBA-A190-4F1A6454F88F + template <> inline constexpr guid guid_v{ 0x53F25366,0x5FBA,0x3EA4,{ 0x86,0x93,0x24,0x76,0x18,0x11,0x14,0x0A } }; // 53F25366-5FBA-3EA4-8693-24761811140A + template <> inline constexpr guid guid_v{ 0xFA402B68,0x928F,0x43C4,{ 0xBC,0x6E,0x78,0x3A,0x1A,0x35,0x96,0x56 } }; // FA402B68-928F-43C4-BC6E-783A1A359656 + template <> inline constexpr guid guid_v{ 0x5B1DD7B3,0x854E,0x4D9B,{ 0x87,0x7D,0x47,0x74,0xA5,0x56,0xCD,0x12 } }; // 5B1DD7B3-854E-4D9B-877D-4774A556CD12 + template <> inline constexpr guid guid_v{ 0x2E06E605,0xDC71,0x41D6,{ 0xB8,0x37,0x2D,0x2B,0xC1,0x4A,0x29,0x47 } }; // 2E06E605-DC71-41D6-B837-2D2BC14A2947 + template <> inline constexpr guid guid_v{ 0xA59E5372,0x2366,0x492C,{ 0xBE,0xC8,0xE6,0xDF,0xBA,0x6D,0x02,0x81 } }; // A59E5372-2366-492C-BEC8-E6DFBA6D0281 + template <> inline constexpr guid guid_v{ 0x87A08F04,0xE32A,0x45CE,{ 0x8F,0x66,0xA3,0x0D,0xF0,0x76,0x62,0x24 } }; // 87A08F04-E32A-45CE-8F66-A30DF0766224 + template <> inline constexpr guid guid_v{ 0xA902AE5D,0x7869,0x4830,{ 0x8A,0xB1,0x94,0xDC,0x01,0xC0,0x5F,0xA4 } }; // A902AE5D-7869-4830-8AB1-94DC01C05FA4 + template <> inline constexpr guid guid_v{ 0xB584828A,0x6188,0x4F8F,{ 0xA2,0xE0,0xAA,0x55,0x2D,0x59,0x8E,0x18 } }; // B584828A-6188-4F8F-A2E0-AA552D598E18 + template <> inline constexpr guid guid_v{ 0xA6D9BA57,0xEEDA,0x46C6,{ 0xBB,0xE5,0xE3,0x98,0xC8,0x41,0x68,0xAC } }; // A6D9BA57-EEDA-46C6-BBE5-E398C84168AC + template <> inline constexpr guid guid_v{ 0x947CB473,0xA39E,0x4362,{ 0xAB,0xBF,0x9F,0x8B,0x50,0x70,0xA0,0x62 } }; // 947CB473-A39E-4362-ABBF-9F8B5070A062 + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IBackgroundAudioTrack; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IEmbeddedAudioTrack; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IMediaClip; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IMediaComposition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IMediaOverlay; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Editing::IMediaOverlayLayer; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TrimTimeFromStart(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TrimTimeFromStart(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TrimTimeFromEnd(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TrimTimeFromEnd(int64_t) noexcept = 0; + virtual int32_t __stdcall get_OriginalDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_TrimmedDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_UserData(void**) noexcept = 0; + virtual int32_t __stdcall put_Delay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Delay(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Volume(double) noexcept = 0; + virtual int32_t __stdcall get_Volume(double*) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall GetAudioEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioEffectDefinitions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromEmbeddedAudioTrack(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromFileAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAudioEncodingProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TrimTimeFromStart(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TrimTimeFromStart(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TrimTimeFromEnd(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TrimTimeFromEnd(int64_t) noexcept = 0; + virtual int32_t __stdcall get_OriginalDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_TrimmedDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_UserData(void**) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall get_StartTimeInComposition(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_EndTimeInComposition(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_EmbeddedAudioTracks(void**) noexcept = 0; + virtual int32_t __stdcall get_SelectedEmbeddedAudioTrackIndex(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_SelectedEmbeddedAudioTrackIndex(uint32_t) noexcept = 0; + virtual int32_t __stdcall put_Volume(double) noexcept = 0; + virtual int32_t __stdcall get_Volume(double*) noexcept = 0; + virtual int32_t __stdcall GetVideoEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioEffectDefinitions(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoEffectDefinitions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromColor(struct struct_Windows_UI_Color, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromImageFileAsync(void*, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromSurface(void*, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Duration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Clips(void**) noexcept = 0; + virtual int32_t __stdcall get_BackgroundAudioTracks(void**) noexcept = 0; + virtual int32_t __stdcall get_UserData(void**) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetThumbnailAsync(int64_t, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetThumbnailsAsync(void*, int32_t, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RenderToFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RenderToFileWithTrimmingPreferenceAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RenderToFileWithProfileAsync(void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDefaultEncodingProfile(void**) noexcept = 0; + virtual int32_t __stdcall GenerateMediaStreamSource(void**) noexcept = 0; + virtual int32_t __stdcall GenerateMediaStreamSourceWithProfile(void*, void**) noexcept = 0; + virtual int32_t __stdcall GeneratePreviewMediaStreamSource(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OverlayLayers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_Position(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall put_Delay(int64_t) noexcept = 0; + virtual int32_t __stdcall get_Delay(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Opacity(double*) noexcept = 0; + virtual int32_t __stdcall put_Opacity(double) noexcept = 0; + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall get_Clip(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AudioEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPositionAndOpacity(void*, winrt::Windows::Foundation::Rect, double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Clone(void**) noexcept = 0; + virtual int32_t __stdcall get_Overlays(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomCompositorDefinition(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithCompositorDefinition(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Editing_IBackgroundAudioTrack + { + [[nodiscard]] auto TrimTimeFromStart() const; + auto TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimTimeFromEnd() const; + auto TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto OriginalDuration() const; + [[nodiscard]] auto TrimmedDuration() const; + [[nodiscard]] auto UserData() const; + auto Delay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Delay() const; + auto Volume(double value) const; + [[nodiscard]] auto Volume() const; + auto Clone() const; + auto GetAudioEncodingProperties() const; + [[nodiscard]] auto AudioEffectDefinitions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IBackgroundAudioTrack; + }; + template + struct consume_Windows_Media_Editing_IBackgroundAudioTrackStatics + { + auto CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IBackgroundAudioTrackStatics; + }; + template + struct consume_Windows_Media_Editing_IEmbeddedAudioTrack + { + auto GetAudioEncodingProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IEmbeddedAudioTrack; + }; + template + struct consume_Windows_Media_Editing_IMediaClip + { + [[nodiscard]] auto TrimTimeFromStart() const; + auto TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimTimeFromEnd() const; + auto TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto OriginalDuration() const; + [[nodiscard]] auto TrimmedDuration() const; + [[nodiscard]] auto UserData() const; + auto Clone() const; + [[nodiscard]] auto StartTimeInComposition() const; + [[nodiscard]] auto EndTimeInComposition() const; + [[nodiscard]] auto EmbeddedAudioTracks() const; + [[nodiscard]] auto SelectedEmbeddedAudioTrackIndex() const; + auto SelectedEmbeddedAudioTrackIndex(uint32_t value) const; + auto Volume(double value) const; + [[nodiscard]] auto Volume() const; + auto GetVideoEncodingProperties() const; + [[nodiscard]] auto AudioEffectDefinitions() const; + [[nodiscard]] auto VideoEffectDefinitions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaClip; + }; + template + struct consume_Windows_Media_Editing_IMediaClipStatics + { + auto CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaClipStatics; + }; + template + struct consume_Windows_Media_Editing_IMediaClipStatics2 + { + auto CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaClipStatics2; + }; + template + struct consume_Windows_Media_Editing_IMediaComposition + { + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Clips() const; + [[nodiscard]] auto BackgroundAudioTracks() const; + [[nodiscard]] auto UserData() const; + auto Clone() const; + auto SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; + auto GetThumbnailsAsync(param::async_iterable const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; + auto CreateDefaultEncodingProfile() const; + auto GenerateMediaStreamSource() const; + auto GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; + auto GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaComposition; + }; + template + struct consume_Windows_Media_Editing_IMediaComposition2 + { + [[nodiscard]] auto OverlayLayers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaComposition2; + }; + template + struct consume_Windows_Media_Editing_IMediaCompositionStatics + { + auto LoadAsync(winrt::Windows::Storage::StorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaCompositionStatics; + }; + template + struct consume_Windows_Media_Editing_IMediaOverlay + { + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Rect const& value) const; + auto Delay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Delay() const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; + auto Clone() const; + [[nodiscard]] auto Clip() const; + [[nodiscard]] auto AudioEnabled() const; + auto AudioEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaOverlay; + }; + template + struct consume_Windows_Media_Editing_IMediaOverlayFactory + { + auto Create(winrt::Windows::Media::Editing::MediaClip const& clip) const; + auto CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaOverlayFactory; + }; + template + struct consume_Windows_Media_Editing_IMediaOverlayLayer + { + auto Clone() const; + [[nodiscard]] auto Overlays() const; + [[nodiscard]] auto CustomCompositorDefinition() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaOverlayLayer; + }; + template + struct consume_Windows_Media_Editing_IMediaOverlayLayerFactory + { + auto CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Editing_IMediaOverlayLayerFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.1.h new file mode 100644 index 0000000000000000000000000000000000000000..887e7ac4435f04a0666390fa5a6cec1f1a69374f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.1.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Editing_1_H +#define WINRT_Windows_Media_Editing_1_H +#include "winrt/impl/Windows.Media.Editing.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Editing +{ + struct WINRT_IMPL_EMPTY_BASES IBackgroundAudioTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundAudioTrack(std::nullptr_t = nullptr) noexcept {} + IBackgroundAudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundAudioTrackStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundAudioTrackStatics(std::nullptr_t = nullptr) noexcept {} + IBackgroundAudioTrackStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEmbeddedAudioTrack : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEmbeddedAudioTrack(std::nullptr_t = nullptr) noexcept {} + IEmbeddedAudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaClip : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaClip(std::nullptr_t = nullptr) noexcept {} + IMediaClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaClipStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaClipStatics(std::nullptr_t = nullptr) noexcept {} + IMediaClipStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaClipStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaClipStatics2(std::nullptr_t = nullptr) noexcept {} + IMediaClipStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaComposition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaComposition(std::nullptr_t = nullptr) noexcept {} + IMediaComposition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaComposition2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaComposition2(std::nullptr_t = nullptr) noexcept {} + IMediaComposition2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaCompositionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaCompositionStatics(std::nullptr_t = nullptr) noexcept {} + IMediaCompositionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaOverlay : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaOverlay(std::nullptr_t = nullptr) noexcept {} + IMediaOverlay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaOverlayFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaOverlayFactory(std::nullptr_t = nullptr) noexcept {} + IMediaOverlayFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaOverlayLayer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaOverlayLayer(std::nullptr_t = nullptr) noexcept {} + IMediaOverlayLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaOverlayLayerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaOverlayLayerFactory(std::nullptr_t = nullptr) noexcept {} + IMediaOverlayLayerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2ad39cbf251d9f98b7033d0ee2c538492a055aca --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.editing.2.h @@ -0,0 +1,61 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Editing_2_H +#define WINRT_Windows_Media_Editing_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h" +#include "winrt/impl/Windows.Media.Effects.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.UI.1.h" +#include "winrt/impl/Windows.Media.Editing.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Editing +{ + struct WINRT_IMPL_EMPTY_BASES BackgroundAudioTrack : winrt::Windows::Media::Editing::IBackgroundAudioTrack + { + BackgroundAudioTrack(std::nullptr_t) noexcept {} + BackgroundAudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IBackgroundAudioTrack(ptr, take_ownership_from_abi) {} + static auto CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack); + static auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file); + }; + struct WINRT_IMPL_EMPTY_BASES EmbeddedAudioTrack : winrt::Windows::Media::Editing::IEmbeddedAudioTrack + { + EmbeddedAudioTrack(std::nullptr_t) noexcept {} + EmbeddedAudioTrack(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IEmbeddedAudioTrack(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaClip : winrt::Windows::Media::Editing::IMediaClip + { + MediaClip(std::nullptr_t) noexcept {} + MediaClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IMediaClip(ptr, take_ownership_from_abi) {} + static auto CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration); + static auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file); + static auto CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration); + static auto CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration); + }; + struct WINRT_IMPL_EMPTY_BASES MediaComposition : winrt::Windows::Media::Editing::IMediaComposition, + impl::require + { + MediaComposition(std::nullptr_t) noexcept {} + MediaComposition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IMediaComposition(ptr, take_ownership_from_abi) {} + MediaComposition(); + static auto LoadAsync(winrt::Windows::Storage::StorageFile const& file); + }; + struct WINRT_IMPL_EMPTY_BASES MediaOverlay : winrt::Windows::Media::Editing::IMediaOverlay + { + MediaOverlay(std::nullptr_t) noexcept {} + MediaOverlay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IMediaOverlay(ptr, take_ownership_from_abi) {} + explicit MediaOverlay(winrt::Windows::Media::Editing::MediaClip const& clip); + MediaOverlay(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity); + }; + struct WINRT_IMPL_EMPTY_BASES MediaOverlayLayer : winrt::Windows::Media::Editing::IMediaOverlayLayer + { + MediaOverlayLayer(std::nullptr_t) noexcept {} + MediaOverlayLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Editing::IMediaOverlayLayer(ptr, take_ownership_from_abi) {} + MediaOverlayLayer(); + explicit MediaOverlayLayer(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.0.h new file mode 100644 index 0000000000000000000000000000000000000000..5c551a75ba112e0ccd03e5ee6ba08e3debec3f40 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.0.h @@ -0,0 +1,738 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Effects_0_H +#define WINRT_Windows_Media_Effects_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DDevice; + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct AudioFrame; + enum class AudioProcessing : int32_t; + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Media::Capture +{ + enum class MediaCategory : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Editing +{ + struct MediaOverlay; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct AudioEncodingProperties; + enum class MediaMirroringOptions : uint32_t; + enum class MediaRotation : int32_t; + enum class SphericalVideoFrameFormat : int32_t; + struct VideoEncodingProperties; +} +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + enum class SphericalVideoProjectionMode : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Render +{ + enum class AudioRenderCategory : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Transcoding +{ + enum class MediaVideoProcessingAlgorithm : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct Color; +} +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + enum class AudioEffectState : int32_t + { + Off = 0, + On = 1, + }; + enum class AudioEffectType : int32_t + { + Other = 0, + AcousticEchoCancellation = 1, + NoiseSuppression = 2, + AutomaticGainControl = 3, + BeamForming = 4, + ConstantToneRemoval = 5, + Equalizer = 6, + LoudnessEqualizer = 7, + BassBoost = 8, + VirtualSurround = 9, + VirtualHeadphones = 10, + SpeakerFill = 11, + RoomCorrection = 12, + BassManagement = 13, + EnvironmentalEffects = 14, + SpeakerProtection = 15, + SpeakerCompensation = 16, + DynamicRangeCompression = 17, + FarFieldBeamForming = 18, + DeepNoiseSuppression = 19, + }; + enum class MediaEffectClosedReason : int32_t + { + Done = 0, + UnknownError = 1, + UnsupportedEncodingFormat = 2, + EffectCurrentlyUnloaded = 3, + }; + enum class MediaMemoryTypes : int32_t + { + Gpu = 0, + Cpu = 1, + GpuAndCpu = 2, + }; + struct IAcousticEchoCancellationConfiguration; + struct IAudioCaptureEffectsManager; + struct IAudioEffect; + struct IAudioEffect2; + struct IAudioEffectDefinition; + struct IAudioEffectDefinitionFactory; + struct IAudioEffectsManagerStatics; + struct IAudioRenderEffectsManager; + struct IAudioRenderEffectsManager2; + struct IBasicAudioEffect; + struct IBasicVideoEffect; + struct ICompositeVideoFrameContext; + struct IProcessAudioFrameContext; + struct IProcessVideoFrameContext; + struct IVideoCompositor; + struct IVideoCompositorDefinition; + struct IVideoCompositorDefinitionFactory; + struct IVideoEffectDefinition; + struct IVideoEffectDefinitionFactory; + struct IVideoTransformEffectDefinition; + struct IVideoTransformEffectDefinition2; + struct IVideoTransformSphericalProjection; + struct AcousticEchoCancellationConfiguration; + struct AudioCaptureEffectsManager; + struct AudioEffect; + struct AudioEffectDefinition; + struct AudioEffectsManager; + struct AudioRenderEffectsManager; + struct CompositeVideoFrameContext; + struct ProcessAudioFrameContext; + struct ProcessVideoFrameContext; + struct VideoCompositorDefinition; + struct VideoEffectDefinition; + struct VideoTransformEffectDefinition; + struct VideoTransformSphericalProjection; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AcousticEchoCancellationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioCaptureEffectsManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioEffectsManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioRenderEffectsManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.CompositeVideoFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.ProcessAudioFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.ProcessVideoFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.VideoCompositorDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.VideoEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.VideoTransformEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.VideoTransformSphericalProjection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioEffectState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.AudioEffectType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.MediaEffectClosedReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.MediaMemoryTypes"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAcousticEchoCancellationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioCaptureEffectsManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioEffect2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioEffectsManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioRenderEffectsManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IAudioRenderEffectsManager2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IBasicAudioEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IBasicVideoEffect"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.ICompositeVideoFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IProcessAudioFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IProcessVideoFrameContext"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoCompositor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoCompositorDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoCompositorDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoEffectDefinitionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoTransformEffectDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoTransformEffectDefinition2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Effects.IVideoTransformSphericalProjection"; + template <> inline constexpr guid guid_v{ 0x587E735B,0x175B,0x5177,{ 0xA4,0x07,0x2E,0x33,0xBA,0xFE,0x33,0xA5 } }; // 587E735B-175B-5177-A407-2E33BAFE33A5 + template <> inline constexpr guid guid_v{ 0x8F85C271,0x038D,0x4393,{ 0x82,0x98,0x54,0x01,0x10,0x60,0x8E,0xEF } }; // 8F85C271-038D-4393-8298-540110608EEF + template <> inline constexpr guid guid_v{ 0x34AAFA51,0x9207,0x4055,{ 0xBE,0x93,0x6E,0x57,0x34,0xA8,0x6A,0xE4 } }; // 34AAFA51-9207-4055-BE93-6E5734A86AE4 + template <> inline constexpr guid guid_v{ 0x06703CB0,0x757E,0x5757,{ 0x8A,0xF0,0x6B,0xA5,0x8A,0x8B,0x29,0x90 } }; // 06703CB0-757E-5757-8AF0-6BA58A8B2990 + template <> inline constexpr guid guid_v{ 0xE4D7F974,0x7D80,0x4F73,{ 0x90,0x89,0xE3,0x1C,0x9D,0xB9,0xC2,0x94 } }; // E4D7F974-7D80-4F73-9089-E31C9DB9C294 + template <> inline constexpr guid guid_v{ 0x8E1DA646,0xE705,0x45ED,{ 0x8A,0x2B,0xFC,0x4E,0x4F,0x40,0x5A,0x97 } }; // 8E1DA646-E705-45ED-8A2B-FC4E4F405A97 + template <> inline constexpr guid guid_v{ 0x66406C04,0x86FA,0x47CC,{ 0xA3,0x15,0xF4,0x89,0xD8,0xC3,0xFE,0x10 } }; // 66406C04-86FA-47CC-A315-F489D8C3FE10 + template <> inline constexpr guid guid_v{ 0x4DC98966,0x8751,0x42B2,{ 0xBF,0xCB,0x39,0xCA,0x78,0x64,0xBD,0x47 } }; // 4DC98966-8751-42B2-BFCB-39CA7864BD47 + template <> inline constexpr guid guid_v{ 0xA844CD09,0x5ECC,0x44B3,{ 0xBB,0x4E,0x1D,0xB0,0x72,0x87,0x13,0x9C } }; // A844CD09-5ECC-44B3-BB4E-1DB07287139C + template <> inline constexpr guid guid_v{ 0x8C062C53,0x6BC0,0x48B8,{ 0xA9,0x9A,0x4B,0x41,0x55,0x0F,0x13,0x59 } }; // 8C062C53-6BC0-48B8-A99A-4B41550F1359 + template <> inline constexpr guid guid_v{ 0x8262C7EF,0xB360,0x40BE,{ 0x94,0x9B,0x2F,0xF4,0x2F,0xF3,0x56,0x93 } }; // 8262C7EF-B360-40BE-949B-2FF42FF35693 + template <> inline constexpr guid guid_v{ 0x6C30024B,0xF514,0x4278,{ 0xA5,0xF7,0xB9,0x18,0x80,0x49,0xD1,0x10 } }; // 6C30024B-F514-4278-A5F7-B9188049D110 + template <> inline constexpr guid guid_v{ 0x4CD92946,0x1222,0x4A27,{ 0xA5,0x86,0xFB,0x3E,0x20,0x27,0x32,0x55 } }; // 4CD92946-1222-4A27-A586-FB3E20273255 + template <> inline constexpr guid guid_v{ 0x276F0E2B,0x6461,0x401E,{ 0xBA,0x78,0x0F,0xDA,0xD6,0x11,0x4E,0xEC } }; // 276F0E2B-6461-401E-BA78-0FDAD6114EEC + template <> inline constexpr guid guid_v{ 0x8510B43E,0x420C,0x420F,{ 0x96,0xC7,0x7C,0x98,0xBB,0xA1,0xFC,0x55 } }; // 8510B43E-420C-420F-96C7-7C98BBA1FC55 + template <> inline constexpr guid guid_v{ 0x7946B8D0,0x2010,0x4AE3,{ 0x9A,0xB2,0x2C,0xEF,0x42,0xED,0xD4,0xD2 } }; // 7946B8D0-2010-4AE3-9AB2-2CEF42EDD4D2 + template <> inline constexpr guid guid_v{ 0x4366FD10,0x68B8,0x4D52,{ 0x89,0xB6,0x02,0xA9,0x68,0xCC,0xA8,0x99 } }; // 4366FD10-68B8-4D52-89B6-02A968CCA899 + template <> inline constexpr guid guid_v{ 0x39F38CF0,0x8D0F,0x4F3E,{ 0x84,0xFC,0x2D,0x46,0xA5,0x29,0x79,0x43 } }; // 39F38CF0-8D0F-4F3E-84FC-2D46A5297943 + template <> inline constexpr guid guid_v{ 0x81439B4E,0x6E33,0x428F,{ 0x9D,0x21,0xB5,0xAA,0xFE,0xF7,0x61,0x7C } }; // 81439B4E-6E33-428F-9D21-B5AAFEF7617C + template <> inline constexpr guid guid_v{ 0x9664BB6A,0x1EA6,0x4AA6,{ 0x80,0x74,0xAB,0xE8,0x85,0x1E,0xCA,0xE2 } }; // 9664BB6A-1EA6-4AA6-8074-ABE8851ECAE2 + template <> inline constexpr guid guid_v{ 0xF0A8089F,0x66C8,0x4694,{ 0x9F,0xD9,0x11,0x36,0xAB,0xF7,0x44,0x4A } }; // F0A8089F-66C8-4694-9FD9-1136ABF7444A + template <> inline constexpr guid guid_v{ 0xCF4401F0,0x9BF2,0x4C39,{ 0x9F,0x41,0xE0,0x22,0x51,0x4A,0x84,0x68 } }; // CF4401F0-9BF2-4C39-9F41-E022514A8468 + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IAcousticEchoCancellationConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IAudioCaptureEffectsManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IAudioEffect; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IAudioEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IAudioRenderEffectsManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::ICompositeVideoFrameContext; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IProcessAudioFrameContext; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IProcessVideoFrameContext; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoCompositorDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoEffectDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Effects::IVideoTransformSphericalProjection; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetEchoCancellationRenderEndpoint(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AudioCaptureEffectsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioCaptureEffectsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetAudioCaptureEffects(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioEffectType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AcousticEchoCancellationConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall get_CanSetState(bool*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetState(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivatableClassId(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithProperties(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAudioRenderEffectsManager(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAudioRenderEffectsManagerWithMode(void*, int32_t, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAudioCaptureEffectsManager(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAudioCaptureEffectsManagerWithMode(void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AudioRenderEffectsChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioRenderEffectsChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetAudioRenderEffects(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EffectsProviderThumbnail(void**) noexcept = 0; + virtual int32_t __stdcall get_EffectsProviderSettingsLabel(void**) noexcept = 0; + virtual int32_t __stdcall ShowSettingsUI() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UseInputFrameForOutput(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall SetEncodingProperties(void*) noexcept = 0; + virtual int32_t __stdcall ProcessFrame(void*) noexcept = 0; + virtual int32_t __stdcall Close(int32_t) noexcept = 0; + virtual int32_t __stdcall DiscardQueuedFrames() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedMemoryTypes(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TimeIndependent(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedEncodingProperties(void**) noexcept = 0; + virtual int32_t __stdcall SetEncodingProperties(void*, void*) noexcept = 0; + virtual int32_t __stdcall ProcessFrame(void*) noexcept = 0; + virtual int32_t __stdcall Close(int32_t) noexcept = 0; + virtual int32_t __stdcall DiscardQueuedFrames() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SurfacesToOverlay(void**) noexcept = 0; + virtual int32_t __stdcall get_BackgroundFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputFrame(void**) noexcept = 0; + virtual int32_t __stdcall GetOverlayForSurface(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputFrame(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputFrame(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TimeIndependent(bool*) noexcept = 0; + virtual int32_t __stdcall SetEncodingProperties(void*, void*) noexcept = 0; + virtual int32_t __stdcall CompositeFrame(void*) noexcept = 0; + virtual int32_t __stdcall Close(int32_t) noexcept = 0; + virtual int32_t __stdcall DiscardQueuedFrames() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivatableClassId(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithProperties(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivatableClassId(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithProperties(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PaddingColor(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_PaddingColor(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_OutputSize(winrt::Windows::Foundation::Size*) noexcept = 0; + virtual int32_t __stdcall put_OutputSize(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall get_CropRectangle(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_CropRectangle(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall get_Rotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Rotation(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Mirror(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mirror(uint32_t) noexcept = 0; + virtual int32_t __stdcall put_ProcessingAlgorithm(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProcessingAlgorithm(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SphericalProjection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_FrameFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FrameFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProjectionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ProjectionMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HorizontalFieldOfViewInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall put_HorizontalFieldOfViewInDegrees(double) noexcept = 0; + virtual int32_t __stdcall get_ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall put_ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Effects_IAcousticEchoCancellationConfiguration + { + auto SetEchoCancellationRenderEndpoint(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAcousticEchoCancellationConfiguration; + }; + template + struct consume_Windows_Media_Effects_IAudioCaptureEffectsManager + { + auto AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AudioCaptureEffectsChanged_revoker = impl::event_revoker::remove_AudioCaptureEffectsChanged>; + [[nodiscard]] auto AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept; + auto GetAudioCaptureEffects() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioCaptureEffectsManager; + }; + template + struct consume_Windows_Media_Effects_IAudioEffect + { + [[nodiscard]] auto AudioEffectType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioEffect; + }; + template + struct consume_Windows_Media_Effects_IAudioEffect2 + { + [[nodiscard]] auto AcousticEchoCancellationConfiguration() const; + [[nodiscard]] auto CanSetState() const; + [[nodiscard]] auto State() const; + auto SetState(winrt::Windows::Media::Effects::AudioEffectState const& newState) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioEffect2; + }; + template + struct consume_Windows_Media_Effects_IAudioEffectDefinition + { + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioEffectDefinition; + }; + template + struct consume_Windows_Media_Effects_IAudioEffectDefinitionFactory + { + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Effects_IAudioEffectsManagerStatics + { + auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const; + auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; + auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioEffectsManagerStatics; + }; + template + struct consume_Windows_Media_Effects_IAudioRenderEffectsManager + { + auto AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AudioRenderEffectsChanged_revoker = impl::event_revoker::remove_AudioRenderEffectsChanged>; + [[nodiscard]] auto AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept; + auto GetAudioRenderEffects() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioRenderEffectsManager; + }; + template + struct consume_Windows_Media_Effects_IAudioRenderEffectsManager2 + { + [[nodiscard]] auto EffectsProviderThumbnail() const; + [[nodiscard]] auto EffectsProviderSettingsLabel() const; + auto ShowSettingsUI() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IAudioRenderEffectsManager2; + }; + template + struct consume_Windows_Media_Effects_IBasicAudioEffect + { + [[nodiscard]] auto UseInputFrameForOutput() const; + [[nodiscard]] auto SupportedEncodingProperties() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IBasicAudioEffect; + }; + template + struct consume_Windows_Media_Effects_IBasicVideoEffect + { + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto SupportedMemoryTypes() const; + [[nodiscard]] auto TimeIndependent() const; + [[nodiscard]] auto SupportedEncodingProperties() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IBasicVideoEffect; + }; + template + struct consume_Windows_Media_Effects_ICompositeVideoFrameContext + { + [[nodiscard]] auto SurfacesToOverlay() const; + [[nodiscard]] auto BackgroundFrame() const; + [[nodiscard]] auto OutputFrame() const; + auto GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_ICompositeVideoFrameContext; + }; + template + struct consume_Windows_Media_Effects_IProcessAudioFrameContext + { + [[nodiscard]] auto InputFrame() const; + [[nodiscard]] auto OutputFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IProcessAudioFrameContext; + }; + template + struct consume_Windows_Media_Effects_IProcessVideoFrameContext + { + [[nodiscard]] auto InputFrame() const; + [[nodiscard]] auto OutputFrame() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IProcessVideoFrameContext; + }; + template + struct consume_Windows_Media_Effects_IVideoCompositor + { + [[nodiscard]] auto TimeIndependent() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoCompositor; + }; + template + struct consume_Windows_Media_Effects_IVideoCompositorDefinition + { + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoCompositorDefinition; + }; + template + struct consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory + { + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory; + }; + template + struct consume_Windows_Media_Effects_IVideoEffectDefinition + { + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoEffectDefinition; + }; + template + struct consume_Windows_Media_Effects_IVideoEffectDefinitionFactory + { + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoEffectDefinitionFactory; + }; + template + struct consume_Windows_Media_Effects_IVideoTransformEffectDefinition + { + [[nodiscard]] auto PaddingColor() const; + auto PaddingColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto OutputSize() const; + auto OutputSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CropRectangle() const; + auto CropRectangle(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; + [[nodiscard]] auto Mirror() const; + auto Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const; + auto ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; + [[nodiscard]] auto ProcessingAlgorithm() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoTransformEffectDefinition; + }; + template + struct consume_Windows_Media_Effects_IVideoTransformEffectDefinition2 + { + [[nodiscard]] auto SphericalProjection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoTransformEffectDefinition2; + }; + template + struct consume_Windows_Media_Effects_IVideoTransformSphericalProjection + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto FrameFormat() const; + auto FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; + [[nodiscard]] auto ProjectionMode() const; + auto ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; + [[nodiscard]] auto HorizontalFieldOfViewInDegrees() const; + auto HorizontalFieldOfViewInDegrees(double value) const; + [[nodiscard]] auto ViewOrientation() const; + auto ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Effects_IVideoTransformSphericalProjection; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.1.h new file mode 100644 index 0000000000000000000000000000000000000000..97b29cd823a891bd2d3b92eea7e6ca468d0f5c5d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.1.h @@ -0,0 +1,172 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Effects_1_H +#define WINRT_Windows_Media_Effects_1_H +#include "winrt/impl/Windows.Media.0.h" +#include "winrt/impl/Windows.Media.Effects.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct WINRT_IMPL_EMPTY_BASES IAcousticEchoCancellationConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAcousticEchoCancellationConfiguration(std::nullptr_t = nullptr) noexcept {} + IAcousticEchoCancellationConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioCaptureEffectsManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioCaptureEffectsManager(std::nullptr_t = nullptr) noexcept {} + IAudioCaptureEffectsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffect(std::nullptr_t = nullptr) noexcept {} + IAudioEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffect2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffect2(std::nullptr_t = nullptr) noexcept {} + IAudioEffect2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IAudioEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IAudioEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEffectsManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEffectsManagerStatics(std::nullptr_t = nullptr) noexcept {} + IAudioEffectsManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioRenderEffectsManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioRenderEffectsManager(std::nullptr_t = nullptr) noexcept {} + IAudioRenderEffectsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioRenderEffectsManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioRenderEffectsManager2(std::nullptr_t = nullptr) noexcept {} + IAudioRenderEffectsManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBasicAudioEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBasicAudioEffect(std::nullptr_t = nullptr) noexcept {} + IBasicAudioEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBasicVideoEffect : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBasicVideoEffect(std::nullptr_t = nullptr) noexcept {} + IBasicVideoEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICompositeVideoFrameContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompositeVideoFrameContext(std::nullptr_t = nullptr) noexcept {} + ICompositeVideoFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProcessAudioFrameContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProcessAudioFrameContext(std::nullptr_t = nullptr) noexcept {} + IProcessAudioFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProcessVideoFrameContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProcessVideoFrameContext(std::nullptr_t = nullptr) noexcept {} + IProcessVideoFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoCompositor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoCompositor(std::nullptr_t = nullptr) noexcept {} + IVideoCompositor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoCompositorDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoCompositorDefinition(std::nullptr_t = nullptr) noexcept {} + IVideoCompositorDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoCompositorDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoCompositorDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IVideoCompositorDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IVideoEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEffectDefinitionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEffectDefinitionFactory(std::nullptr_t = nullptr) noexcept {} + IVideoEffectDefinitionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTransformEffectDefinition : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoTransformEffectDefinition(std::nullptr_t = nullptr) noexcept {} + IVideoTransformEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTransformEffectDefinition2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTransformEffectDefinition2(std::nullptr_t = nullptr) noexcept {} + IVideoTransformEffectDefinition2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoTransformSphericalProjection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoTransformSphericalProjection(std::nullptr_t = nullptr) noexcept {} + IVideoTransformSphericalProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.2.h new file mode 100644 index 0000000000000000000000000000000000000000..db43491115cac36f5306dde79867235032aa3cb5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.effects.2.h @@ -0,0 +1,95 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Effects_2_H +#define WINRT_Windows_Media_Effects_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Media.1.h" +#include "winrt/impl/Windows.Media.Capture.1.h" +#include "winrt/impl/Windows.Media.Render.1.h" +#include "winrt/impl/Windows.Media.Effects.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Effects +{ + struct WINRT_IMPL_EMPTY_BASES AcousticEchoCancellationConfiguration : winrt::Windows::Media::Effects::IAcousticEchoCancellationConfiguration + { + AcousticEchoCancellationConfiguration(std::nullptr_t) noexcept {} + AcousticEchoCancellationConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IAcousticEchoCancellationConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioCaptureEffectsManager : winrt::Windows::Media::Effects::IAudioCaptureEffectsManager + { + AudioCaptureEffectsManager(std::nullptr_t) noexcept {} + AudioCaptureEffectsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IAudioCaptureEffectsManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioEffect : winrt::Windows::Media::Effects::IAudioEffect, + impl::require + { + AudioEffect(std::nullptr_t) noexcept {} + AudioEffect(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IAudioEffect(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AudioEffectDefinition : winrt::Windows::Media::Effects::IAudioEffectDefinition + { + AudioEffectDefinition(std::nullptr_t) noexcept {} + AudioEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IAudioEffectDefinition(ptr, take_ownership_from_abi) {} + explicit AudioEffectDefinition(param::hstring const& activatableClassId); + AudioEffectDefinition(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props); + }; + struct AudioEffectsManager + { + AudioEffectsManager() = delete; + static auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category); + static auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode); + static auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category); + static auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode); + }; + struct WINRT_IMPL_EMPTY_BASES AudioRenderEffectsManager : winrt::Windows::Media::Effects::IAudioRenderEffectsManager, + impl::require + { + AudioRenderEffectsManager(std::nullptr_t) noexcept {} + AudioRenderEffectsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IAudioRenderEffectsManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CompositeVideoFrameContext : winrt::Windows::Media::Effects::ICompositeVideoFrameContext + { + CompositeVideoFrameContext(std::nullptr_t) noexcept {} + CompositeVideoFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::ICompositeVideoFrameContext(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProcessAudioFrameContext : winrt::Windows::Media::Effects::IProcessAudioFrameContext + { + ProcessAudioFrameContext(std::nullptr_t) noexcept {} + ProcessAudioFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IProcessAudioFrameContext(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProcessVideoFrameContext : winrt::Windows::Media::Effects::IProcessVideoFrameContext + { + ProcessVideoFrameContext(std::nullptr_t) noexcept {} + ProcessVideoFrameContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IProcessVideoFrameContext(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VideoCompositorDefinition : winrt::Windows::Media::Effects::IVideoCompositorDefinition + { + VideoCompositorDefinition(std::nullptr_t) noexcept {} + VideoCompositorDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoCompositorDefinition(ptr, take_ownership_from_abi) {} + explicit VideoCompositorDefinition(param::hstring const& activatableClassId); + VideoCompositorDefinition(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props); + }; + struct WINRT_IMPL_EMPTY_BASES VideoEffectDefinition : winrt::Windows::Media::Effects::IVideoEffectDefinition + { + VideoEffectDefinition(std::nullptr_t) noexcept {} + VideoEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoEffectDefinition(ptr, take_ownership_from_abi) {} + explicit VideoEffectDefinition(param::hstring const& activatableClassId); + VideoEffectDefinition(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props); + }; + struct WINRT_IMPL_EMPTY_BASES VideoTransformEffectDefinition : winrt::Windows::Media::Effects::IVideoEffectDefinition, + impl::require + { + VideoTransformEffectDefinition(std::nullptr_t) noexcept {} + VideoTransformEffectDefinition(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoEffectDefinition(ptr, take_ownership_from_abi) {} + VideoTransformEffectDefinition(); + }; + struct WINRT_IMPL_EMPTY_BASES VideoTransformSphericalProjection : winrt::Windows::Media::Effects::IVideoTransformSphericalProjection + { + VideoTransformSphericalProjection(std::nullptr_t) noexcept {} + VideoTransformSphericalProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Effects::IVideoTransformSphericalProjection(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6f0300ee51469fa1380dd1862dfc749d6931ea8d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.0.h @@ -0,0 +1,168 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_FaceAnalysis_0_H +#define WINRT_Windows_Media_FaceAnalysis_0_H +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct BitmapBounds; + enum class BitmapPixelFormat : int32_t; + struct BitmapSize; + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + struct VideoFrame; +} +WINRT_EXPORT namespace winrt::Windows::Media::FaceAnalysis +{ + struct IDetectedFace; + struct IFaceDetector; + struct IFaceDetectorStatics; + struct IFaceTracker; + struct IFaceTrackerStatics; + struct DetectedFace; + struct FaceDetector; + struct FaceTracker; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.DetectedFace"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.FaceDetector"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.FaceTracker"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.IDetectedFace"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.IFaceDetector"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.IFaceDetectorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.IFaceTracker"; + template <> inline constexpr auto& name_v = L"Windows.Media.FaceAnalysis.IFaceTrackerStatics"; + template <> inline constexpr guid guid_v{ 0x8200D454,0x66BC,0x34DF,{ 0x94,0x10,0xE8,0x94,0x00,0x19,0x54,0x14 } }; // 8200D454-66BC-34DF-9410-E89400195414 + template <> inline constexpr guid guid_v{ 0x16B672DC,0xFE6F,0x3117,{ 0x8D,0x95,0xC3,0xF0,0x4D,0x51,0x63,0x0C } }; // 16B672DC-FE6F-3117-8D95-C3F04D51630C + template <> inline constexpr guid guid_v{ 0xBC042D67,0x9047,0x33F6,{ 0x88,0x1B,0x67,0x46,0xC1,0xB2,0x18,0xB8 } }; // BC042D67-9047-33F6-881B-6746C1B218B8 + template <> inline constexpr guid guid_v{ 0x6BA67D8C,0xA841,0x4420,{ 0x93,0xE6,0x24,0x20,0xA1,0x88,0x4F,0xCF } }; // 6BA67D8C-A841-4420-93E6-2420A1884FCF + template <> inline constexpr guid guid_v{ 0xE9629198,0x1801,0x3FA5,{ 0x93,0x2E,0x31,0xD7,0x67,0xAF,0x6C,0x4D } }; // E9629198-1801-3FA5-932E-31D767AF6C4D + template <> struct default_interface{ using type = winrt::Windows::Media::FaceAnalysis::IDetectedFace; }; + template <> struct default_interface{ using type = winrt::Windows::Media::FaceAnalysis::IFaceDetector; }; + template <> struct default_interface{ using type = winrt::Windows::Media::FaceAnalysis::IFaceTracker; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FaceBox(struct struct_Windows_Graphics_Imaging_BitmapBounds*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DetectFacesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DetectFacesWithSearchAreaAsync(void*, struct struct_Windows_Graphics_Imaging_BitmapBounds, void**) noexcept = 0; + virtual int32_t __stdcall get_MinDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; + virtual int32_t __stdcall put_MinDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; + virtual int32_t __stdcall get_MaxDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; + virtual int32_t __stdcall put_MaxDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedBitmapPixelFormats(void**) noexcept = 0; + virtual int32_t __stdcall IsBitmapPixelFormatSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProcessNextFrameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_MinDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; + virtual int32_t __stdcall put_MinDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; + virtual int32_t __stdcall get_MaxDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; + virtual int32_t __stdcall put_MaxDetectableFaceSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetSupportedBitmapPixelFormats(void**) noexcept = 0; + virtual int32_t __stdcall IsBitmapPixelFormatSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_FaceAnalysis_IDetectedFace + { + [[nodiscard]] auto FaceBox() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_FaceAnalysis_IDetectedFace; + }; + template + struct consume_Windows_Media_FaceAnalysis_IFaceDetector + { + auto DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const; + auto DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const; + [[nodiscard]] auto MinDetectableFaceSize() const; + auto MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + [[nodiscard]] auto MaxDetectableFaceSize() const; + auto MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_FaceAnalysis_IFaceDetector; + }; + template + struct consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics + { + auto CreateAsync() const; + auto GetSupportedBitmapPixelFormats() const; + auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; + [[nodiscard]] auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics; + }; + template + struct consume_Windows_Media_FaceAnalysis_IFaceTracker + { + auto ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const; + [[nodiscard]] auto MinDetectableFaceSize() const; + auto MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + [[nodiscard]] auto MaxDetectableFaceSize() const; + auto MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_FaceAnalysis_IFaceTracker; + }; + template + struct consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics + { + auto CreateAsync() const; + auto GetSupportedBitmapPixelFormats() const; + auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; + [[nodiscard]] auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0d675e06e432526e130a66c0e4c633cdd4646a4c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_FaceAnalysis_1_H +#define WINRT_Windows_Media_FaceAnalysis_1_H +#include "winrt/impl/Windows.Media.FaceAnalysis.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::FaceAnalysis +{ + struct WINRT_IMPL_EMPTY_BASES IDetectedFace : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDetectedFace(std::nullptr_t = nullptr) noexcept {} + IDetectedFace(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFaceDetector(std::nullptr_t = nullptr) noexcept {} + IFaceDetector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceDetectorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFaceDetectorStatics(std::nullptr_t = nullptr) noexcept {} + IFaceDetectorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceTracker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFaceTracker(std::nullptr_t = nullptr) noexcept {} + IFaceTracker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFaceTrackerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFaceTrackerStatics(std::nullptr_t = nullptr) noexcept {} + IFaceTrackerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.2.h new file mode 100644 index 0000000000000000000000000000000000000000..35c705dac0604e157d680da6e50cfda6d673bba9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.faceanalysis.2.h @@ -0,0 +1,37 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_FaceAnalysis_2_H +#define WINRT_Windows_Media_FaceAnalysis_2_H +#include "winrt/impl/Windows.Graphics.Imaging.1.h" +#include "winrt/impl/Windows.Media.FaceAnalysis.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::FaceAnalysis +{ + struct WINRT_IMPL_EMPTY_BASES DetectedFace : winrt::Windows::Media::FaceAnalysis::IDetectedFace + { + DetectedFace(std::nullptr_t) noexcept {} + DetectedFace(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::FaceAnalysis::IDetectedFace(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES FaceDetector : winrt::Windows::Media::FaceAnalysis::IFaceDetector + { + FaceDetector(std::nullptr_t) noexcept {} + FaceDetector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::FaceAnalysis::IFaceDetector(ptr, take_ownership_from_abi) {} + static auto CreateAsync(); + static auto GetSupportedBitmapPixelFormats(); + static auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat); + [[nodiscard]] static auto IsSupported(); + }; + struct WINRT_IMPL_EMPTY_BASES FaceTracker : winrt::Windows::Media::FaceAnalysis::IFaceTracker + { + FaceTracker(std::nullptr_t) noexcept {} + FaceTracker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::FaceAnalysis::IFaceTracker(ptr, take_ownership_from_abi) {} + static auto CreateAsync(); + static auto GetSupportedBitmapPixelFormats(); + static auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat); + [[nodiscard]] static auto IsSupported(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4607f8ec3906f002d2a40f9ed38e8a7c781c3fbf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.0.h @@ -0,0 +1,780 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Import_0_H +#define WINRT_Windows_Media_Import_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFolder; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Media::Import +{ + enum class PhotoImportAccessMode : int32_t + { + ReadWrite = 0, + ReadOnly = 1, + ReadAndDelete = 2, + }; + enum class PhotoImportConnectionTransport : int32_t + { + Unknown = 0, + Usb = 1, + IP = 2, + Bluetooth = 3, + }; + enum class PhotoImportContentType : int32_t + { + Unknown = 0, + Image = 1, + Video = 2, + }; + enum class PhotoImportContentTypeFilter : int32_t + { + OnlyImages = 0, + OnlyVideos = 1, + ImagesAndVideos = 2, + ImagesAndVideosFromCameraRoll = 3, + }; + enum class PhotoImportImportMode : int32_t + { + ImportEverything = 0, + IgnoreSidecars = 1, + IgnoreSiblings = 2, + IgnoreSidecarsAndSiblings = 3, + }; + enum class PhotoImportItemSelectionMode : int32_t + { + SelectAll = 0, + SelectNone = 1, + SelectNew = 2, + }; + enum class PhotoImportPowerSource : int32_t + { + Unknown = 0, + Battery = 1, + External = 2, + }; + enum class PhotoImportSourceType : int32_t + { + Generic = 0, + Camera = 1, + MediaPlayer = 2, + Phone = 3, + Video = 4, + PersonalInfoManager = 5, + AudioRecorder = 6, + }; + enum class PhotoImportStage : int32_t + { + NotStarted = 0, + FindingItems = 1, + ImportingItems = 2, + DeletingImportedItemsFromSource = 3, + }; + enum class PhotoImportStorageMediumType : int32_t + { + Undefined = 0, + Fixed = 1, + Removable = 2, + }; + enum class PhotoImportSubfolderCreationMode : int32_t + { + DoNotCreateSubfolders = 0, + CreateSubfoldersFromFileDate = 1, + CreateSubfoldersFromExifDate = 2, + KeepOriginalFolderStructure = 3, + }; + enum class PhotoImportSubfolderDateFormat : int32_t + { + Year = 0, + YearMonth = 1, + YearMonthDay = 2, + }; + struct IPhotoImportDeleteImportedItemsFromSourceResult; + struct IPhotoImportFindItemsResult; + struct IPhotoImportFindItemsResult2; + struct IPhotoImportImportItemsResult; + struct IPhotoImportItem; + struct IPhotoImportItem2; + struct IPhotoImportItemImportedEventArgs; + struct IPhotoImportManagerStatics; + struct IPhotoImportOperation; + struct IPhotoImportSelectionChangedEventArgs; + struct IPhotoImportSession; + struct IPhotoImportSession2; + struct IPhotoImportSidecar; + struct IPhotoImportSource; + struct IPhotoImportSourceStatics; + struct IPhotoImportStorageMedium; + struct IPhotoImportVideoSegment; + struct PhotoImportDeleteImportedItemsFromSourceResult; + struct PhotoImportFindItemsResult; + struct PhotoImportImportItemsResult; + struct PhotoImportItem; + struct PhotoImportItemImportedEventArgs; + struct PhotoImportManager; + struct PhotoImportOperation; + struct PhotoImportSelectionChangedEventArgs; + struct PhotoImportSession; + struct PhotoImportSidecar; + struct PhotoImportSource; + struct PhotoImportStorageMedium; + struct PhotoImportVideoSegment; + struct PhotoImportProgress; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportDeleteImportedItemsFromSourceResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportFindItemsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportImportItemsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportItemImportedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSelectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSidecar"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportStorageMedium"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportVideoSegment"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportAccessMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportConnectionTransport"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportContentType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportContentTypeFilter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportImportMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportItemSelectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportPowerSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSourceType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportStage"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportStorageMediumType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSubfolderCreationMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportSubfolderDateFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.PhotoImportProgress"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportDeleteImportedItemsFromSourceResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportFindItemsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportFindItemsResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportImportItemsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportItem2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportItemImportedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSelectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSession2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSidecar"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportSourceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportStorageMedium"; + template <> inline constexpr auto& name_v = L"Windows.Media.Import.IPhotoImportVideoSegment"; + template <> inline constexpr guid guid_v{ 0xF4E112F8,0x843D,0x428A,{ 0xA1,0xA6,0x81,0x51,0x02,0x92,0xB0,0xAE } }; // F4E112F8-843D-428A-A1A6-81510292B0AE + template <> inline constexpr guid guid_v{ 0x3915E647,0x6C78,0x492B,{ 0x84,0x4E,0x8F,0xE5,0xE8,0xF6,0xBF,0xB9 } }; // 3915E647-6C78-492B-844E-8FE5E8F6BFB9 + template <> inline constexpr guid guid_v{ 0xFBDD6A3B,0xECF9,0x406A,{ 0x81,0x5E,0x50,0x15,0x62,0x5B,0x0A,0x88 } }; // FBDD6A3B-ECF9-406A-815E-5015625B0A88 + template <> inline constexpr guid guid_v{ 0xE4D4F478,0xD419,0x4443,{ 0xA8,0x4E,0xF0,0x6A,0x85,0x0C,0x0B,0x00 } }; // E4D4F478-D419-4443-A84E-F06A850C0B00 + template <> inline constexpr guid guid_v{ 0xA9D07E76,0x9BFC,0x43B8,{ 0xB3,0x56,0x63,0x3B,0x6A,0x98,0x8C,0x9E } }; // A9D07E76-9BFC-43B8-B356-633B6A988C9E + template <> inline constexpr guid guid_v{ 0xF1053505,0xF53B,0x46A3,{ 0x9E,0x30,0x36,0x10,0x79,0x1A,0x91,0x10 } }; // F1053505-F53B-46A3-9E30-3610791A9110 + template <> inline constexpr guid guid_v{ 0x42CB2FDD,0x7D68,0x47B5,{ 0xBC,0x7C,0xCE,0xB7,0x3E,0x0C,0x77,0xDC } }; // 42CB2FDD-7D68-47B5-BC7C-CEB73E0C77DC + template <> inline constexpr guid guid_v{ 0x2771903D,0xA046,0x4F06,{ 0x9B,0x9C,0xBF,0xD6,0x62,0xE8,0x32,0x87 } }; // 2771903D-A046-4F06-9B9C-BFD662E83287 + template <> inline constexpr guid guid_v{ 0xD9F797E4,0xA09A,0x4EE4,{ 0xA4,0xB1,0x20,0x94,0x02,0x77,0xA5,0xBE } }; // D9F797E4-A09A-4EE4-A4B1-20940277A5BE + template <> inline constexpr guid guid_v{ 0x10461782,0xFA9D,0x4C30,{ 0x8B,0xC9,0x4D,0x64,0x91,0x15,0x72,0xD5 } }; // 10461782-FA9D-4C30-8BC9-4D64911572D5 + template <> inline constexpr guid guid_v{ 0xAA63916E,0xECDB,0x4EFE,{ 0x94,0xC6,0x5F,0x5C,0xAF,0xE3,0x4C,0xFB } }; // AA63916E-ECDB-4EFE-94C6-5F5CAFE34CFB + template <> inline constexpr guid guid_v{ 0x2A526710,0x3EC6,0x469D,{ 0xA3,0x75,0x2B,0x9F,0x47,0x85,0x39,0x1E } }; // 2A526710-3EC6-469D-A375-2B9F4785391E + template <> inline constexpr guid guid_v{ 0x46D7D757,0xF802,0x44C7,{ 0x9C,0x98,0x7A,0x71,0xF4,0xBC,0x14,0x86 } }; // 46D7D757-F802-44C7-9C98-7A71F4BC1486 + template <> inline constexpr guid guid_v{ 0x1F8EA35E,0x145B,0x4CD6,{ 0x87,0xF1,0x54,0x96,0x5A,0x98,0x2F,0xEF } }; // 1F8EA35E-145B-4CD6-87F1-54965A982FEF + template <> inline constexpr guid guid_v{ 0x0528E586,0x32D8,0x467C,{ 0x8C,0xEE,0x23,0xA1,0xB2,0xF4,0x3E,0x85 } }; // 0528E586-32D8-467C-8CEE-23A1B2F43E85 + template <> inline constexpr guid guid_v{ 0xF2B9B093,0xFC85,0x487F,{ 0x87,0xC2,0x58,0xD6,0x75,0xD0,0x5B,0x07 } }; // F2B9B093-FC85-487F-87C2-58D675D05B07 + template <> inline constexpr guid guid_v{ 0x623C0289,0x321A,0x41D8,{ 0x91,0x66,0x8C,0x62,0xA3,0x33,0x27,0x6C } }; // 623C0289-321A-41D8-9166-8C62A333276C + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportFindItemsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportImportItemsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportItem; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportItemImportedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportSidecar; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportStorageMedium; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Import::IPhotoImportVideoSegment; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_HasSucceeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_DeletedItems(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhotosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalSizeInBytes(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_HasSucceeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_FoundItems(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhotosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall SelectAll() noexcept = 0; + virtual int32_t __stdcall SelectNone() noexcept = 0; + virtual int32_t __stdcall SelectNewAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetImportMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ImportMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedPhotosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedPhotosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedVideosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedVideosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedSidecarsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedSidecarsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedSiblingsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedSiblingsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedTotalCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectedTotalSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall add_SelectionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SelectionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall ImportItemsAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_ItemImported(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemImported(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddItemsInDateRangeToSelection(int64_t, int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_HasSucceeded(bool*) noexcept = 0; + virtual int32_t __stdcall get_ImportedItems(void**) noexcept = 0; + virtual int32_t __stdcall get_PhotosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PhotosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VideosSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SidecarsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SiblingsSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TotalSizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall DeleteImportedItemsFromSourceAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_ItemKey(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_ContentType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Date(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Sibling(void**) noexcept = 0; + virtual int32_t __stdcall get_Sidecars(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoSegments(void**) noexcept = 0; + virtual int32_t __stdcall get_IsSelected(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSelected(bool) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall get_ImportedFileNames(void**) noexcept = 0; + virtual int32_t __stdcall get_DeletedFileNames(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Path(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ImportedItem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupportedAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllSourcesAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetPendingOperations(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Stage(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Session(void**) noexcept = 0; + virtual int32_t __stdcall get_ContinueFindingItemsAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_ContinueImportingItemsAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_ContinueDeletingImportedItemsFromSourceAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSelectionEmpty(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DestinationFolder(void*) noexcept = 0; + virtual int32_t __stdcall get_DestinationFolder(void**) noexcept = 0; + virtual int32_t __stdcall put_AppendSessionDateToDestinationFolder(bool) noexcept = 0; + virtual int32_t __stdcall get_AppendSessionDateToDestinationFolder(bool*) noexcept = 0; + virtual int32_t __stdcall put_SubfolderCreationMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SubfolderCreationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DestinationFileNamePrefix(void*) noexcept = 0; + virtual int32_t __stdcall get_DestinationFileNamePrefix(void**) noexcept = 0; + virtual int32_t __stdcall FindItemsAsync(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_SubfolderDateFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_SubfolderDateFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RememberDeselectedItems(bool) noexcept = 0; + virtual int32_t __stdcall get_RememberDeselectedItems(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_SizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Date(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; + virtual int32_t __stdcall get_Model(void**) noexcept = 0; + virtual int32_t __stdcall get_SerialNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionProtocol(void**) noexcept = 0; + virtual int32_t __stdcall get_ConnectionTransport(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PowerSource(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_BatteryLevelPercent(void**) noexcept = 0; + virtual int32_t __stdcall get_DateTime(void**) noexcept = 0; + virtual int32_t __stdcall get_StorageMedia(void**) noexcept = 0; + virtual int32_t __stdcall get_IsLocked(void**) noexcept = 0; + virtual int32_t __stdcall get_IsMassStorage(bool*) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall CreateImportSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FromFolderAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_SerialNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_StorageMediumType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedAccessMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CapacityInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_AvailableSpaceInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall Refresh() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_SizeInBytes(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Date(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Sibling(void**) noexcept = 0; + virtual int32_t __stdcall get_Sidecars(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult + { + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto DeletedItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult; + }; + template + struct consume_Windows_Media_Import_IPhotoImportFindItemsResult + { + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto FoundItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; + auto SelectAll() const; + auto SelectNone() const; + auto SelectNewAsync() const; + auto SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const; + [[nodiscard]] auto ImportMode() const; + [[nodiscard]] auto SelectedPhotosCount() const; + [[nodiscard]] auto SelectedPhotosSizeInBytes() const; + [[nodiscard]] auto SelectedVideosCount() const; + [[nodiscard]] auto SelectedVideosSizeInBytes() const; + [[nodiscard]] auto SelectedSidecarsCount() const; + [[nodiscard]] auto SelectedSidecarsSizeInBytes() const; + [[nodiscard]] auto SelectedSiblingsCount() const; + [[nodiscard]] auto SelectedSiblingsSizeInBytes() const; + [[nodiscard]] auto SelectedTotalCount() const; + [[nodiscard]] auto SelectedTotalSizeInBytes() const; + auto SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ImportItemsAsync() const; + auto ItemImported(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using ItemImported_revoker = impl::event_revoker::remove_ItemImported>; + [[nodiscard]] auto ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ItemImported(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportFindItemsResult; + }; + template + struct consume_Windows_Media_Import_IPhotoImportFindItemsResult2 + { + auto AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportFindItemsResult2; + }; + template + struct consume_Windows_Media_Import_IPhotoImportImportItemsResult + { + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto ImportedItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; + auto DeleteImportedItemsFromSourceAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportImportItemsResult; + }; + template + struct consume_Windows_Media_Import_IPhotoImportItem + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ItemKey() const; + [[nodiscard]] auto ContentType() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Sibling() const; + [[nodiscard]] auto Sidecars() const; + [[nodiscard]] auto VideoSegments() const; + [[nodiscard]] auto IsSelected() const; + auto IsSelected(bool value) const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto ImportedFileNames() const; + [[nodiscard]] auto DeletedFileNames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportItem; + }; + template + struct consume_Windows_Media_Import_IPhotoImportItem2 + { + [[nodiscard]] auto Path() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportItem2; + }; + template + struct consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs + { + [[nodiscard]] auto ImportedItem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs; + }; + template + struct consume_Windows_Media_Import_IPhotoImportManagerStatics + { + auto IsSupportedAsync() const; + auto FindAllSourcesAsync() const; + auto GetPendingOperations() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportManagerStatics; + }; + template + struct consume_Windows_Media_Import_IPhotoImportOperation + { + [[nodiscard]] auto Stage() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto ContinueFindingItemsAsync() const; + [[nodiscard]] auto ContinueImportingItemsAsync() const; + [[nodiscard]] auto ContinueDeletingImportedItemsFromSourceAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportOperation; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs + { + [[nodiscard]] auto IsSelectionEmpty() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSession + { + [[nodiscard]] auto Source() const; + [[nodiscard]] auto SessionId() const; + auto DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const; + [[nodiscard]] auto DestinationFolder() const; + auto AppendSessionDateToDestinationFolder(bool value) const; + [[nodiscard]] auto AppendSessionDateToDestinationFolder() const; + auto SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const; + [[nodiscard]] auto SubfolderCreationMode() const; + auto DestinationFileNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto DestinationFileNamePrefix() const; + auto FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSession; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSession2 + { + auto SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const; + [[nodiscard]] auto SubfolderDateFormat() const; + auto RememberDeselectedItems(bool value) const; + [[nodiscard]] auto RememberDeselectedItems() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSession2; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSidecar + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSidecar; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSource + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Manufacturer() const; + [[nodiscard]] auto Model() const; + [[nodiscard]] auto SerialNumber() const; + [[nodiscard]] auto ConnectionProtocol() const; + [[nodiscard]] auto ConnectionTransport() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto PowerSource() const; + [[nodiscard]] auto BatteryLevelPercent() const; + [[nodiscard]] auto DateTime() const; + [[nodiscard]] auto StorageMedia() const; + [[nodiscard]] auto IsLocked() const; + [[nodiscard]] auto IsMassStorage() const; + [[nodiscard]] auto Thumbnail() const; + auto CreateImportSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSource; + }; + template + struct consume_Windows_Media_Import_IPhotoImportSourceStatics + { + auto FromIdAsync(param::hstring const& sourceId) const; + auto FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportSourceStatics; + }; + template + struct consume_Windows_Media_Import_IPhotoImportStorageMedium + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto SerialNumber() const; + [[nodiscard]] auto StorageMediumType() const; + [[nodiscard]] auto SupportedAccessMode() const; + [[nodiscard]] auto CapacityInBytes() const; + [[nodiscard]] auto AvailableSpaceInBytes() const; + auto Refresh() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportStorageMedium; + }; + template + struct consume_Windows_Media_Import_IPhotoImportVideoSegment + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Sibling() const; + [[nodiscard]] auto Sidecars() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Import_IPhotoImportVideoSegment; + }; + struct struct_Windows_Media_Import_PhotoImportProgress + { + uint32_t ItemsImported; + uint32_t TotalItemsToImport; + uint64_t BytesImported; + uint64_t TotalBytesToImport; + double ImportProgress; + }; + template <> struct abi + { + using type = struct_Windows_Media_Import_PhotoImportProgress; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.1.h new file mode 100644 index 0000000000000000000000000000000000000000..12f07b2c3e8bca969db48d42b0d8ee651a955f76 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.1.h @@ -0,0 +1,134 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Import_1_H +#define WINRT_Windows_Media_Import_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Import.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Import +{ + struct WINRT_IMPL_EMPTY_BASES IPhotoImportDeleteImportedItemsFromSourceResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportDeleteImportedItemsFromSourceResult(std::nullptr_t = nullptr) noexcept {} + IPhotoImportDeleteImportedItemsFromSourceResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportFindItemsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportFindItemsResult(std::nullptr_t = nullptr) noexcept {} + IPhotoImportFindItemsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportFindItemsResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportFindItemsResult2(std::nullptr_t = nullptr) noexcept {} + IPhotoImportFindItemsResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportImportItemsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportImportItemsResult(std::nullptr_t = nullptr) noexcept {} + IPhotoImportImportItemsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportItem(std::nullptr_t = nullptr) noexcept {} + IPhotoImportItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportItem2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportItem2(std::nullptr_t = nullptr) noexcept {} + IPhotoImportItem2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportItemImportedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportItemImportedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPhotoImportItemImportedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPhotoImportManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportOperation(std::nullptr_t = nullptr) noexcept {} + IPhotoImportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSelectionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportSelectionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSelectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPhotoImportSession(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportSession2(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSidecar : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportSidecar(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSidecar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportSource(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportSourceStatics(std::nullptr_t = nullptr) noexcept {} + IPhotoImportSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportStorageMedium : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportStorageMedium(std::nullptr_t = nullptr) noexcept {} + IPhotoImportStorageMedium(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPhotoImportVideoSegment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPhotoImportVideoSegment(std::nullptr_t = nullptr) noexcept {} + IPhotoImportVideoSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.2.h new file mode 100644 index 0000000000000000000000000000000000000000..8d3bc2a5811bed8ab7f9372cd762d37bf7378107 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.import.2.h @@ -0,0 +1,103 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Import_2_H +#define WINRT_Windows_Media_Import_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Media.Import.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Import +{ + struct PhotoImportProgress + { + uint32_t ItemsImported {}; + uint32_t TotalItemsToImport {}; + uint64_t BytesImported {}; + uint64_t TotalBytesToImport {}; + double ImportProgress {}; + }; + inline bool operator==(PhotoImportProgress const& left, PhotoImportProgress const& right) noexcept + { + return left.ItemsImported == right.ItemsImported && left.TotalItemsToImport == right.TotalItemsToImport && left.BytesImported == right.BytesImported && left.TotalBytesToImport == right.TotalBytesToImport && left.ImportProgress == right.ImportProgress; + } + inline bool operator!=(PhotoImportProgress const& left, PhotoImportProgress const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES PhotoImportDeleteImportedItemsFromSourceResult : winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult + { + PhotoImportDeleteImportedItemsFromSourceResult(std::nullptr_t) noexcept {} + PhotoImportDeleteImportedItemsFromSourceResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportFindItemsResult : winrt::Windows::Media::Import::IPhotoImportFindItemsResult, + impl::require + { + PhotoImportFindItemsResult(std::nullptr_t) noexcept {} + PhotoImportFindItemsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportFindItemsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportImportItemsResult : winrt::Windows::Media::Import::IPhotoImportImportItemsResult + { + PhotoImportImportItemsResult(std::nullptr_t) noexcept {} + PhotoImportImportItemsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportImportItemsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportItem : winrt::Windows::Media::Import::IPhotoImportItem, + impl::require + { + PhotoImportItem(std::nullptr_t) noexcept {} + PhotoImportItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportItem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportItemImportedEventArgs : winrt::Windows::Media::Import::IPhotoImportItemImportedEventArgs + { + PhotoImportItemImportedEventArgs(std::nullptr_t) noexcept {} + PhotoImportItemImportedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportItemImportedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct PhotoImportManager + { + PhotoImportManager() = delete; + static auto IsSupportedAsync(); + static auto FindAllSourcesAsync(); + static auto GetPendingOperations(); + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportOperation : winrt::Windows::Media::Import::IPhotoImportOperation + { + PhotoImportOperation(std::nullptr_t) noexcept {} + PhotoImportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportSelectionChangedEventArgs : winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs + { + PhotoImportSelectionChangedEventArgs(std::nullptr_t) noexcept {} + PhotoImportSelectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportSession : winrt::Windows::Media::Import::IPhotoImportSession, + impl::require + { + PhotoImportSession(std::nullptr_t) noexcept {} + PhotoImportSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportSidecar : winrt::Windows::Media::Import::IPhotoImportSidecar + { + PhotoImportSidecar(std::nullptr_t) noexcept {} + PhotoImportSidecar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportSidecar(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportSource : winrt::Windows::Media::Import::IPhotoImportSource + { + PhotoImportSource(std::nullptr_t) noexcept {} + PhotoImportSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportSource(ptr, take_ownership_from_abi) {} + static auto FromIdAsync(param::hstring const& sourceId); + static auto FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder); + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportStorageMedium : winrt::Windows::Media::Import::IPhotoImportStorageMedium + { + PhotoImportStorageMedium(std::nullptr_t) noexcept {} + PhotoImportStorageMedium(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportStorageMedium(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PhotoImportVideoSegment : winrt::Windows::Media::Import::IPhotoImportVideoSegment + { + PhotoImportVideoSegment(std::nullptr_t) noexcept {} + PhotoImportVideoSegment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Import::IPhotoImportVideoSegment(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d38f9b2848acbeeb5c2fa2a8e6259dc1abe95cf3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.0.h @@ -0,0 +1,1344 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_MediaProperties_0_H +#define WINRT_Windows_Media_MediaProperties_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IMap; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct AudioStreamDescriptor; + struct TimedMetadataStreamDescriptor; + struct VideoStreamDescriptor; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + enum class AudioEncodingQuality : int32_t + { + Auto = 0, + High = 1, + Medium = 2, + Low = 3, + }; + enum class MediaMirroringOptions : uint32_t + { + None = 0, + Horizontal = 0x1, + Vertical = 0x2, + }; + enum class MediaPixelFormat : int32_t + { + Nv12 = 0, + Bgra8 = 1, + P010 = 2, + }; + enum class MediaRotation : int32_t + { + None = 0, + Clockwise90Degrees = 1, + Clockwise180Degrees = 2, + Clockwise270Degrees = 3, + }; + enum class MediaThumbnailFormat : int32_t + { + Bmp = 0, + Bgra8 = 1, + }; + enum class SphericalVideoFrameFormat : int32_t + { + None = 0, + Unsupported = 1, + Equirectangular = 2, + }; + enum class StereoscopicVideoPackingMode : int32_t + { + None = 0, + SideBySide = 1, + TopBottom = 2, + }; + enum class VideoEncodingQuality : int32_t + { + Auto = 0, + HD1080p = 1, + HD720p = 2, + Wvga = 3, + Ntsc = 4, + Pal = 5, + Vga = 6, + Qvga = 7, + Uhd2160p = 8, + Uhd4320p = 9, + }; + struct IAudioEncodingProperties; + struct IAudioEncodingProperties2; + struct IAudioEncodingProperties3; + struct IAudioEncodingPropertiesStatics; + struct IAudioEncodingPropertiesStatics2; + struct IAudioEncodingPropertiesWithFormatUserData; + struct IAv1ProfileIdsStatics; + struct IContainerEncodingProperties; + struct IContainerEncodingProperties2; + struct IH264ProfileIdsStatics; + struct IHevcProfileIdsStatics; + struct IImageEncodingProperties; + struct IImageEncodingProperties2; + struct IImageEncodingPropertiesStatics; + struct IImageEncodingPropertiesStatics2; + struct IImageEncodingPropertiesStatics3; + struct IMediaEncodingProfile; + struct IMediaEncodingProfile2; + struct IMediaEncodingProfile3; + struct IMediaEncodingProfileStatics; + struct IMediaEncodingProfileStatics2; + struct IMediaEncodingProfileStatics3; + struct IMediaEncodingProfileStatics4; + struct IMediaEncodingProperties; + struct IMediaEncodingSubtypesStatics; + struct IMediaEncodingSubtypesStatics2; + struct IMediaEncodingSubtypesStatics3; + struct IMediaEncodingSubtypesStatics4; + struct IMediaEncodingSubtypesStatics5; + struct IMediaEncodingSubtypesStatics6; + struct IMediaEncodingSubtypesStatics7; + struct IMediaRatio; + struct IMpeg2ProfileIdsStatics; + struct ITimedMetadataEncodingProperties; + struct ITimedMetadataEncodingPropertiesStatics; + struct IVideoEncodingProperties; + struct IVideoEncodingProperties2; + struct IVideoEncodingProperties3; + struct IVideoEncodingProperties4; + struct IVideoEncodingProperties5; + struct IVideoEncodingPropertiesStatics; + struct IVideoEncodingPropertiesStatics2; + struct IVideoEncodingPropertiesStatics3; + struct IVp9ProfileIdsStatics; + struct AudioEncodingProperties; + struct Av1ProfileIds; + struct ContainerEncodingProperties; + struct H264ProfileIds; + struct HevcProfileIds; + struct ImageEncodingProperties; + struct MediaEncodingProfile; + struct MediaEncodingSubtypes; + struct MediaPropertySet; + struct MediaRatio; + struct Mpeg2ProfileIds; + struct TimedMetadataEncodingProperties; + struct VideoEncodingProperties; + struct Vp9ProfileIds; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.AudioEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.Av1ProfileIds"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.ContainerEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.H264ProfileIds"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.HevcProfileIds"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.ImageEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaEncodingProfile"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaEncodingSubtypes"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaPropertySet"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaRatio"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.Mpeg2ProfileIds"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.TimedMetadataEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.VideoEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.Vp9ProfileIds"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.AudioEncodingQuality"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaMirroringOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaPixelFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaRotation"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.MediaThumbnailFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.SphericalVideoFrameFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.StereoscopicVideoPackingMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.VideoEncodingQuality"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingProperties3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingPropertiesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAudioEncodingPropertiesWithFormatUserData"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IAv1ProfileIdsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IContainerEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IContainerEncodingProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IH264ProfileIdsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IHevcProfileIdsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IImageEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IImageEncodingProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IImageEncodingPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IImageEncodingPropertiesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IImageEncodingPropertiesStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfile"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfile2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfile3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfileStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfileStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfileStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProfileStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics5"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics6"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaEncodingSubtypesStatics7"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMediaRatio"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IMpeg2ProfileIdsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.ITimedMetadataEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.ITimedMetadataEncodingPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingProperties3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingProperties4"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingProperties5"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingPropertiesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVideoEncodingPropertiesStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.MediaProperties.IVp9ProfileIdsStatics"; + template <> inline constexpr guid guid_v{ 0x62BC7A16,0x005C,0x4B3B,{ 0x8A,0x0B,0x0A,0x09,0x0E,0x96,0x87,0xF3 } }; // 62BC7A16-005C-4B3B-8A0B-0A090E9687F3 + template <> inline constexpr guid guid_v{ 0xC45D54DA,0x80BD,0x4C23,{ 0x80,0xD5,0x72,0xD4,0xA1,0x81,0xE8,0x94 } }; // C45D54DA-80BD-4C23-80D5-72D4A181E894 + template <> inline constexpr guid guid_v{ 0x87600341,0x748C,0x4F8D,{ 0xB0,0xFD,0x10,0xCA,0xF0,0x8F,0xF0,0x87 } }; // 87600341-748C-4F8D-B0FD-10CAF08FF087 + template <> inline constexpr guid guid_v{ 0x0CAD332C,0xEBE9,0x4527,{ 0xB3,0x6D,0xE4,0x2A,0x13,0xCF,0x38,0xDB } }; // 0CAD332C-EBE9-4527-B36D-E42A13CF38DB + template <> inline constexpr guid guid_v{ 0x7489316F,0x77A0,0x433D,{ 0x8E,0xD5,0x40,0x40,0x28,0x0E,0x86,0x65 } }; // 7489316F-77A0-433D-8ED5-4040280E8665 + template <> inline constexpr guid guid_v{ 0x98F10D79,0x13EA,0x49FF,{ 0xBE,0x70,0x26,0x73,0xDB,0x69,0x70,0x2C } }; // 98F10D79-13EA-49FF-BE70-2673DB69702C + template <> inline constexpr guid guid_v{ 0x9105812B,0x7C09,0x5882,{ 0x88,0xA4,0x67,0x80,0x08,0xA5,0x17,0x4D } }; // 9105812B-7C09-5882-88A4-678008A5174D + template <> inline constexpr guid guid_v{ 0x59AC2A57,0xB32A,0x479E,{ 0x8A,0x61,0x4B,0x7F,0x2E,0x9E,0x7E,0xA0 } }; // 59AC2A57-B32A-479E-8A61-4B7F2E9E7EA0 + template <> inline constexpr guid guid_v{ 0xB272C029,0xAE26,0x4819,{ 0xBA,0xAD,0xAD,0x7A,0x49,0xB0,0xA8,0x76 } }; // B272C029-AE26-4819-BAAD-AD7A49B0A876 + template <> inline constexpr guid guid_v{ 0x38654CA7,0x846A,0x4F97,{ 0xA2,0xE5,0xC3,0xA1,0x5B,0xBF,0x70,0xFD } }; // 38654CA7-846A-4F97-A2E5-C3A15BBF70FD + template <> inline constexpr guid guid_v{ 0x1E50D280,0x2AA7,0x53C1,{ 0x97,0x3F,0x21,0x89,0xFA,0x65,0x6F,0x53 } }; // 1E50D280-2AA7-53C1-973F-2189FA656F53 + template <> inline constexpr guid guid_v{ 0x78625635,0xF331,0x4189,{ 0xB1,0xC3,0xB4,0x8D,0x5A,0xE0,0x34,0xF1 } }; // 78625635-F331-4189-B1C3-B48D5AE034F1 + template <> inline constexpr guid guid_v{ 0xC854A2DF,0xC923,0x469B,{ 0xAC,0x8E,0x6A,0x9F,0x3C,0x1C,0xD9,0xE3 } }; // C854A2DF-C923-469B-AC8E-6A9F3C1CD9E3 + template <> inline constexpr guid guid_v{ 0x257C68DC,0x8B99,0x439E,{ 0xAA,0x59,0x91,0x3A,0x36,0x16,0x12,0x97 } }; // 257C68DC-8B99-439E-AA59-913A36161297 + template <> inline constexpr guid guid_v{ 0xF6C25B29,0x3824,0x46B0,{ 0x95,0x6E,0x50,0x13,0x29,0xE1,0xBE,0x3C } }; // F6C25B29-3824-46B0-956E-501329E1BE3C + template <> inline constexpr guid guid_v{ 0x48F4814D,0xA2FF,0x48DC,{ 0x8E,0xA0,0xE9,0x06,0x80,0x66,0x36,0x56 } }; // 48F4814D-A2FF-48DC-8EA0-E90680663656 + template <> inline constexpr guid guid_v{ 0xE7DBF5A8,0x1DB9,0x4783,{ 0x87,0x6B,0x3D,0xFE,0x12,0xAC,0xFD,0xB3 } }; // E7DBF5A8-1DB9-4783-876B-3DFE12ACFDB3 + template <> inline constexpr guid guid_v{ 0x349B3E0A,0x4035,0x488E,{ 0x98,0x77,0x85,0x63,0x28,0x65,0xED,0x10 } }; // 349B3E0A-4035-488E-9877-85632865ED10 + template <> inline constexpr guid guid_v{ 0xBA6EBE88,0x7570,0x4E69,{ 0xAC,0xCF,0x56,0x11,0xAD,0x01,0x5F,0x88 } }; // BA6EBE88-7570-4E69-ACCF-5611AD015F88 + template <> inline constexpr guid guid_v{ 0x197F352C,0x2EDE,0x4A45,{ 0xA8,0x96,0x81,0x7A,0x48,0x54,0xF8,0xFE } }; // 197F352C-2EDE-4A45-A896-817A4854F8FE + template <> inline constexpr guid guid_v{ 0xCE8DE74F,0x6AF4,0x4288,{ 0x8F,0xE2,0x79,0xAD,0xF1,0xF7,0x9A,0x43 } }; // CE8DE74F-6AF4-4288-8FE2-79ADF1F79A43 + template <> inline constexpr guid guid_v{ 0x90DAC5AA,0xCF76,0x4294,{ 0xA9,0xED,0x1A,0x14,0x20,0xF5,0x1F,0x6B } }; // 90DAC5AA-CF76-4294-A9ED-1A1420F51F6B + template <> inline constexpr guid guid_v{ 0x6FAFD7B5,0x9404,0x514A,{ 0x81,0xDD,0xC9,0x44,0x4D,0x64,0x8A,0xF0 } }; // 6FAFD7B5-9404-514A-81DD-C9444D648AF0 + template <> inline constexpr guid guid_v{ 0xB4002AF6,0xACD4,0x4E5A,{ 0xA2,0x4B,0x5D,0x74,0x98,0xA8,0xB8,0xC4 } }; // B4002AF6-ACD4-4E5A-A24B-5D7498A8B8C4 + template <> inline constexpr guid guid_v{ 0x37B6580E,0xA171,0x4464,{ 0xBA,0x5A,0x53,0x18,0x9E,0x48,0xC1,0xC8 } }; // 37B6580E-A171-4464-BA5A-53189E48C1C8 + template <> inline constexpr guid guid_v{ 0x4B7CD23D,0x42FF,0x4D33,{ 0x85,0x31,0x06,0x26,0xBE,0xE4,0xB5,0x2D } }; // 4B7CD23D-42FF-4D33-8531-0626BEE4B52D + template <> inline constexpr guid guid_v{ 0xBA2414E4,0x883D,0x464E,{ 0xA4,0x4F,0x09,0x7D,0xA0,0x8E,0xF7,0xFF } }; // BA2414E4-883D-464E-A44F-097DA08EF7FF + template <> inline constexpr guid guid_v{ 0xDDECE58A,0x3949,0x4644,{ 0x8A,0x2C,0x59,0xEF,0x02,0xC6,0x42,0xFA } }; // DDECE58A-3949-4644-8A2C-59EF02C642FA + template <> inline constexpr guid guid_v{ 0x5AD4A007,0xFFCE,0x4760,{ 0x98,0x28,0x5D,0x0C,0x99,0x63,0x7E,0x6A } }; // 5AD4A007-FFCE-4760-9828-5D0C99637E6A + template <> inline constexpr guid guid_v{ 0xA1252973,0xA984,0x5912,{ 0x93,0xBB,0x54,0xE7,0xE5,0x69,0xE0,0x53 } }; // A1252973-A984-5912-93BB-54E7E569E053 + template <> inline constexpr guid guid_v{ 0x92F2DCA7,0x9937,0x52A1,{ 0xB6,0x19,0xDD,0xFA,0xD8,0x1C,0xD9,0x9C } }; // 92F2DCA7-9937-52A1-B619-DDFAD81CD99C + template <> inline constexpr guid guid_v{ 0xD2D0FEE5,0x8929,0x401D,{ 0xAC,0x78,0x7D,0x35,0x7E,0x37,0x81,0x63 } }; // D2D0FEE5-8929-401D-AC78-7D357E378163 + template <> inline constexpr guid guid_v{ 0xA461FF85,0xE57A,0x4128,{ 0x9B,0x21,0xD5,0x33,0x1B,0x04,0x23,0x5C } }; // A461FF85-E57A-4128-9B21-D5331B04235C + template <> inline constexpr guid guid_v{ 0x51CD30D3,0xD690,0x4CFA,{ 0x97,0xF4,0x4A,0x39,0x8E,0x9D,0xB4,0x20 } }; // 51CD30D3-D690-4CFA-97F4-4A398E9DB420 + template <> inline constexpr guid guid_v{ 0x6629BB67,0x6E55,0x5643,{ 0x89,0xA0,0x7A,0x7E,0x8D,0x85,0xB5,0x2C } }; // 6629BB67-6E55-5643-89A0-7A7E8D85B52C + template <> inline constexpr guid guid_v{ 0x76EE6C9A,0x37C2,0x4F2A,{ 0x88,0x0A,0x12,0x82,0xBB,0xB4,0x37,0x3D } }; // 76EE6C9A-37C2-4F2A-880A-1282BBB4373D + template <> inline constexpr guid guid_v{ 0xF743A1EF,0xD465,0x4290,{ 0xA9,0x4B,0xEF,0x0F,0x15,0x28,0xF8,0xE3 } }; // F743A1EF-D465-4290-A94B-EF0F1528F8E3 + template <> inline constexpr guid guid_v{ 0x386BCDC4,0x873A,0x479F,{ 0xB3,0xEB,0x56,0xC1,0xFC,0xBE,0xC6,0xD7 } }; // 386BCDC4-873A-479F-B3EB-56C1FCBEC6D7 + template <> inline constexpr guid guid_v{ 0x724EF014,0xC10C,0x40F2,{ 0x9D,0x72,0x3E,0xE1,0x3B,0x45,0xFA,0x8E } }; // 724EF014-C10C-40F2-9D72-3EE13B45FA8E + template <> inline constexpr guid guid_v{ 0x4959080F,0x272F,0x4ECE,{ 0xA4,0xDF,0xC0,0xCC,0xDB,0x33,0xD8,0x40 } }; // 4959080F-272F-4ECE-A4DF-C0CCDB33D840 + template <> inline constexpr guid guid_v{ 0x3CE14D44,0x1DC5,0x43DB,{ 0x9F,0x38,0xEB,0xEB,0xF9,0x01,0x52,0xCB } }; // 3CE14D44-1DC5-43DB-9F38-EBEBF90152CB + template <> inline constexpr guid guid_v{ 0xCF1EBD5D,0x49FE,0x4D00,{ 0xB5,0x9A,0xCF,0xA4,0xDF,0xC5,0x19,0x44 } }; // CF1EBD5D-49FE-4D00-B59A-CFA4DFC51944 + template <> inline constexpr guid guid_v{ 0x65B46685,0x60DA,0x5E51,{ 0x91,0xA2,0xB3,0x8C,0x47,0x63,0xB8,0x72 } }; // 65B46685-60DA-5E51-91A2-B38C4763B872 + template <> inline constexpr guid guid_v{ 0x20311A55,0xFE06,0x5883,{ 0x92,0xD9,0x60,0x80,0xC9,0x77,0x43,0xE5 } }; // 20311A55-FE06-5883-92D9-6080C97743E5 + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IAudioEncodingProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IContainerEncodingProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IImageEncodingProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IMediaEncodingProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMap; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IMediaRatio; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IMediaEncodingProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Media::MediaProperties::IVideoEncodingProperties; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Bitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Bitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ChannelCount(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ChannelCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_SampleRate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_SampleRate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_BitsPerSample(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_BitsPerSample(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSpatial(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAac(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAacAdts(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateMp3(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreatePcm(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWma(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAlac(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFlac(uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetFormatUserData(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetFormatUserData(uint32_t*, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MainChromaSubsampling420BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling420BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling400BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling400BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_HighChromaSubsampling444BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_HighChromaSubsampling444BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling420BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling400BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling444BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling422BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling422BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfessionalChromaSubsampling422BitDepth12(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConstrainedBaseline(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Baseline(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Extended(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Main(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_High(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_High10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_High422(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_High444(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_StereoHigh(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MultiviewHigh(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MainChromaSubsampling420BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling420BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling420BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling422BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling422BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling444BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling444BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainChromaSubsampling444BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MonochromeBitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MonochromeBitDepth16(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling420BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling420BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling420BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling422BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling422BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling444BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling444BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling444BitDepth12(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainIntraChromaSubsampling444BitDepth16(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainStillChromaSubsampling420BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainStillChromaSubsampling444BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MainStillChromaSubsampling444BitDepth16(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Width(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Height(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateJpeg(void**) noexcept = 0; + virtual int32_t __stdcall CreatePng(void**) noexcept = 0; + virtual int32_t __stdcall CreateJpegXR(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateUncompressed(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateBmp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateHeif(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Audio(void*) noexcept = 0; + virtual int32_t __stdcall get_Audio(void**) noexcept = 0; + virtual int32_t __stdcall put_Video(void*) noexcept = 0; + virtual int32_t __stdcall get_Video(void**) noexcept = 0; + virtual int32_t __stdcall put_Container(void*) noexcept = 0; + virtual int32_t __stdcall get_Container(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetAudioTracks(void*) noexcept = 0; + virtual int32_t __stdcall GetAudioTracks(void**) noexcept = 0; + virtual int32_t __stdcall SetVideoTracks(void*) noexcept = 0; + virtual int32_t __stdcall GetVideoTracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetTimedMetadataTracks(void*) noexcept = 0; + virtual int32_t __stdcall GetTimedMetadataTracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateM4a(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateMp3(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWma(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateMp4(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWmv(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWav(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAvi(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAlac(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateFlac(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateHevc(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVp9(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateAv1(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(void**) noexcept = 0; + virtual int32_t __stdcall put_Subtype(void*) noexcept = 0; + virtual int32_t __stdcall get_Subtype(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Aac(void**) noexcept = 0; + virtual int32_t __stdcall get_AacAdts(void**) noexcept = 0; + virtual int32_t __stdcall get_Ac3(void**) noexcept = 0; + virtual int32_t __stdcall get_AmrNb(void**) noexcept = 0; + virtual int32_t __stdcall get_AmrWb(void**) noexcept = 0; + virtual int32_t __stdcall get_Argb32(void**) noexcept = 0; + virtual int32_t __stdcall get_Asf(void**) noexcept = 0; + virtual int32_t __stdcall get_Avi(void**) noexcept = 0; + virtual int32_t __stdcall get_Bgra8(void**) noexcept = 0; + virtual int32_t __stdcall get_Bmp(void**) noexcept = 0; + virtual int32_t __stdcall get_Eac3(void**) noexcept = 0; + virtual int32_t __stdcall get_Float(void**) noexcept = 0; + virtual int32_t __stdcall get_Gif(void**) noexcept = 0; + virtual int32_t __stdcall get_H263(void**) noexcept = 0; + virtual int32_t __stdcall get_H264(void**) noexcept = 0; + virtual int32_t __stdcall get_H264Es(void**) noexcept = 0; + virtual int32_t __stdcall get_Hevc(void**) noexcept = 0; + virtual int32_t __stdcall get_HevcEs(void**) noexcept = 0; + virtual int32_t __stdcall get_Iyuv(void**) noexcept = 0; + virtual int32_t __stdcall get_Jpeg(void**) noexcept = 0; + virtual int32_t __stdcall get_JpegXr(void**) noexcept = 0; + virtual int32_t __stdcall get_Mjpg(void**) noexcept = 0; + virtual int32_t __stdcall get_Mpeg(void**) noexcept = 0; + virtual int32_t __stdcall get_Mpeg1(void**) noexcept = 0; + virtual int32_t __stdcall get_Mpeg2(void**) noexcept = 0; + virtual int32_t __stdcall get_Mp3(void**) noexcept = 0; + virtual int32_t __stdcall get_Mpeg4(void**) noexcept = 0; + virtual int32_t __stdcall get_Nv12(void**) noexcept = 0; + virtual int32_t __stdcall get_Pcm(void**) noexcept = 0; + virtual int32_t __stdcall get_Png(void**) noexcept = 0; + virtual int32_t __stdcall get_Rgb24(void**) noexcept = 0; + virtual int32_t __stdcall get_Rgb32(void**) noexcept = 0; + virtual int32_t __stdcall get_Tiff(void**) noexcept = 0; + virtual int32_t __stdcall get_Wave(void**) noexcept = 0; + virtual int32_t __stdcall get_Wma8(void**) noexcept = 0; + virtual int32_t __stdcall get_Wma9(void**) noexcept = 0; + virtual int32_t __stdcall get_Wmv3(void**) noexcept = 0; + virtual int32_t __stdcall get_Wvc1(void**) noexcept = 0; + virtual int32_t __stdcall get_Yuy2(void**) noexcept = 0; + virtual int32_t __stdcall get_Yv12(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Vp9(void**) noexcept = 0; + virtual int32_t __stdcall get_L8(void**) noexcept = 0; + virtual int32_t __stdcall get_L16(void**) noexcept = 0; + virtual int32_t __stdcall get_D16(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Alac(void**) noexcept = 0; + virtual int32_t __stdcall get_Flac(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_P010(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Heif(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Pgs(void**) noexcept = 0; + virtual int32_t __stdcall get_Srt(void**) noexcept = 0; + virtual int32_t __stdcall get_Ssa(void**) noexcept = 0; + virtual int32_t __stdcall get_VobSub(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Av1(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Numerator(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Numerator(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Denominator(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Denominator(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Simple(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Main(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SignalNoiseRatioScalable(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SpatiallyScalable(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_High(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetFormatUserData(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetFormatUserData(uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePgs(void**) noexcept = 0; + virtual int32_t __stdcall CreateSrt(void**) noexcept = 0; + virtual int32_t __stdcall CreateSsa(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateVobSub(uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Bitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Bitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Width(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Height(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_FrameRate(void**) noexcept = 0; + virtual int32_t __stdcall get_PixelAspectRatio(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetFormatUserData(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetFormatUserData(uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall put_ProfileId(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ProfileId(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StereoscopicVideoPackingMode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SphericalVideoFrameFormat(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Copy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateH264(void**) noexcept = 0; + virtual int32_t __stdcall CreateMpeg2(void**) noexcept = 0; + virtual int32_t __stdcall CreateUncompressed(void*, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateHevc(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVp9(void**) noexcept = 0; + virtual int32_t __stdcall CreateAv1(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Profile0ChromaSubsampling420BitDepth8(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Profile2ChromaSubsampling420BitDepth10(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Profile2ChromaSubsampling420BitDepth12(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties + { + auto Bitrate(uint32_t value) const; + [[nodiscard]] auto Bitrate() const; + auto ChannelCount(uint32_t value) const; + [[nodiscard]] auto ChannelCount() const; + auto SampleRate(uint32_t value) const; + [[nodiscard]] auto SampleRate() const; + auto BitsPerSample(uint32_t value) const; + [[nodiscard]] auto BitsPerSample() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties2 + { + [[nodiscard]] auto IsSpatial() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingProperties2; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties3 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingProperties3; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics + { + auto CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + auto CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2 + { + auto CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + auto CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2; + }; + template + struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData + { + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData; + }; + template + struct consume_Windows_Media_MediaProperties_IAv1ProfileIdsStatics + { + [[nodiscard]] auto MainChromaSubsampling420BitDepth8() const; + [[nodiscard]] auto MainChromaSubsampling420BitDepth10() const; + [[nodiscard]] auto MainChromaSubsampling400BitDepth8() const; + [[nodiscard]] auto MainChromaSubsampling400BitDepth10() const; + [[nodiscard]] auto HighChromaSubsampling444BitDepth8() const; + [[nodiscard]] auto HighChromaSubsampling444BitDepth10() const; + [[nodiscard]] auto ProfessionalChromaSubsampling420BitDepth12() const; + [[nodiscard]] auto ProfessionalChromaSubsampling400BitDepth12() const; + [[nodiscard]] auto ProfessionalChromaSubsampling444BitDepth12() const; + [[nodiscard]] auto ProfessionalChromaSubsampling422BitDepth8() const; + [[nodiscard]] auto ProfessionalChromaSubsampling422BitDepth10() const; + [[nodiscard]] auto ProfessionalChromaSubsampling422BitDepth12() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IAv1ProfileIdsStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IContainerEncodingProperties + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IContainerEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_IContainerEncodingProperties2 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IContainerEncodingProperties2; + }; + template + struct consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics + { + [[nodiscard]] auto ConstrainedBaseline() const; + [[nodiscard]] auto Baseline() const; + [[nodiscard]] auto Extended() const; + [[nodiscard]] auto Main() const; + [[nodiscard]] auto High() const; + [[nodiscard]] auto High10() const; + [[nodiscard]] auto High422() const; + [[nodiscard]] auto High444() const; + [[nodiscard]] auto StereoHigh() const; + [[nodiscard]] auto MultiviewHigh() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IHevcProfileIdsStatics + { + [[nodiscard]] auto MainChromaSubsampling420BitDepth8() const; + [[nodiscard]] auto MainChromaSubsampling420BitDepth10() const; + [[nodiscard]] auto MainChromaSubsampling420BitDepth12() const; + [[nodiscard]] auto MainChromaSubsampling422BitDepth10() const; + [[nodiscard]] auto MainChromaSubsampling422BitDepth12() const; + [[nodiscard]] auto MainChromaSubsampling444BitDepth8() const; + [[nodiscard]] auto MainChromaSubsampling444BitDepth10() const; + [[nodiscard]] auto MainChromaSubsampling444BitDepth12() const; + [[nodiscard]] auto MonochromeBitDepth12() const; + [[nodiscard]] auto MonochromeBitDepth16() const; + [[nodiscard]] auto MainIntraChromaSubsampling420BitDepth8() const; + [[nodiscard]] auto MainIntraChromaSubsampling420BitDepth10() const; + [[nodiscard]] auto MainIntraChromaSubsampling420BitDepth12() const; + [[nodiscard]] auto MainIntraChromaSubsampling422BitDepth10() const; + [[nodiscard]] auto MainIntraChromaSubsampling422BitDepth12() const; + [[nodiscard]] auto MainIntraChromaSubsampling444BitDepth8() const; + [[nodiscard]] auto MainIntraChromaSubsampling444BitDepth10() const; + [[nodiscard]] auto MainIntraChromaSubsampling444BitDepth12() const; + [[nodiscard]] auto MainIntraChromaSubsampling444BitDepth16() const; + [[nodiscard]] auto MainStillChromaSubsampling420BitDepth8() const; + [[nodiscard]] auto MainStillChromaSubsampling444BitDepth8() const; + [[nodiscard]] auto MainStillChromaSubsampling444BitDepth16() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IHevcProfileIdsStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IImageEncodingProperties + { + auto Width(uint32_t value) const; + [[nodiscard]] auto Width() const; + auto Height(uint32_t value) const; + [[nodiscard]] auto Height() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IImageEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_IImageEncodingProperties2 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IImageEncodingProperties2; + }; + template + struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics + { + auto CreateJpeg() const; + auto CreatePng() const; + auto CreateJpegXR() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2 + { + auto CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; + auto CreateBmp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2; + }; + template + struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3 + { + auto CreateHeif() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile + { + auto Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; + [[nodiscard]] auto Audio() const; + auto Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const; + [[nodiscard]] auto Video() const; + auto Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const; + [[nodiscard]] auto Container() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfile; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile2 + { + auto SetAudioTracks(param::iterable const& value) const; + auto GetAudioTracks() const; + auto SetVideoTracks(param::iterable const& value) const; + auto GetVideoTracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfile2; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile3 + { + auto SetTimedMetadataTracks(param::iterable const& value) const; + auto GetTimedMetadataTracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfile3; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics + { + auto CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2 + { + auto CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3 + { + auto CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics4 + { + auto CreateVp9(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateAv1(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics4; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingProperties + { + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Type() const; + auto Subtype(param::hstring const& value) const; + [[nodiscard]] auto Subtype() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics + { + [[nodiscard]] auto Aac() const; + [[nodiscard]] auto AacAdts() const; + [[nodiscard]] auto Ac3() const; + [[nodiscard]] auto AmrNb() const; + [[nodiscard]] auto AmrWb() const; + [[nodiscard]] auto Argb32() const; + [[nodiscard]] auto Asf() const; + [[nodiscard]] auto Avi() const; + [[nodiscard]] auto Bgra8() const; + [[nodiscard]] auto Bmp() const; + [[nodiscard]] auto Eac3() const; + [[nodiscard]] auto Float() const; + [[nodiscard]] auto Gif() const; + [[nodiscard]] auto H263() const; + [[nodiscard]] auto H264() const; + [[nodiscard]] auto H264Es() const; + [[nodiscard]] auto Hevc() const; + [[nodiscard]] auto HevcEs() const; + [[nodiscard]] auto Iyuv() const; + [[nodiscard]] auto Jpeg() const; + [[nodiscard]] auto JpegXr() const; + [[nodiscard]] auto Mjpg() const; + [[nodiscard]] auto Mpeg() const; + [[nodiscard]] auto Mpeg1() const; + [[nodiscard]] auto Mpeg2() const; + [[nodiscard]] auto Mp3() const; + [[nodiscard]] auto Mpeg4() const; + [[nodiscard]] auto Nv12() const; + [[nodiscard]] auto Pcm() const; + [[nodiscard]] auto Png() const; + [[nodiscard]] auto Rgb24() const; + [[nodiscard]] auto Rgb32() const; + [[nodiscard]] auto Tiff() const; + [[nodiscard]] auto Wave() const; + [[nodiscard]] auto Wma8() const; + [[nodiscard]] auto Wma9() const; + [[nodiscard]] auto Wmv3() const; + [[nodiscard]] auto Wvc1() const; + [[nodiscard]] auto Yuy2() const; + [[nodiscard]] auto Yv12() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2 + { + [[nodiscard]] auto Vp9() const; + [[nodiscard]] auto L8() const; + [[nodiscard]] auto L16() const; + [[nodiscard]] auto D16() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3 + { + [[nodiscard]] auto Alac() const; + [[nodiscard]] auto Flac() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4 + { + [[nodiscard]] auto P010() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5 + { + [[nodiscard]] auto Heif() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6 + { + [[nodiscard]] auto Pgs() const; + [[nodiscard]] auto Srt() const; + [[nodiscard]] auto Ssa() const; + [[nodiscard]] auto VobSub() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics7 + { + [[nodiscard]] auto Av1() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics7; + }; + template + struct consume_Windows_Media_MediaProperties_IMediaRatio + { + auto Numerator(uint32_t value) const; + [[nodiscard]] auto Numerator() const; + auto Denominator(uint32_t value) const; + [[nodiscard]] auto Denominator() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMediaRatio; + }; + template + struct consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics + { + [[nodiscard]] auto Simple() const; + [[nodiscard]] auto Main() const; + [[nodiscard]] auto SignalNoiseRatioScalable() const; + [[nodiscard]] auto SpatiallyScalable() const; + [[nodiscard]] auto High() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics; + }; + template + struct consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties + { + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics + { + auto CreatePgs() const; + auto CreateSrt() const; + auto CreateSsa(array_view formatUserData) const; + auto CreateVobSub(array_view formatUserData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties + { + auto Bitrate(uint32_t value) const; + [[nodiscard]] auto Bitrate() const; + auto Width(uint32_t value) const; + [[nodiscard]] auto Width() const; + auto Height(uint32_t value) const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto PixelAspectRatio() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingProperties; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties2 + { + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; + auto ProfileId(int32_t value) const; + [[nodiscard]] auto ProfileId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingProperties2; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties3 + { + [[nodiscard]] auto StereoscopicVideoPackingMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingProperties3; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties4 + { + [[nodiscard]] auto SphericalVideoFrameFormat() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingProperties4; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties5 + { + auto Copy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingProperties5; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics + { + auto CreateH264() const; + auto CreateMpeg2() const; + auto CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2 + { + auto CreateHevc() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2; + }; + template + struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics3 + { + auto CreateVp9() const; + auto CreateAv1() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics3; + }; + template + struct consume_Windows_Media_MediaProperties_IVp9ProfileIdsStatics + { + [[nodiscard]] auto Profile0ChromaSubsampling420BitDepth8() const; + [[nodiscard]] auto Profile2ChromaSubsampling420BitDepth10() const; + [[nodiscard]] auto Profile2ChromaSubsampling420BitDepth12() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_MediaProperties_IVp9ProfileIdsStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2762a0f638ca496b1653d6c14014bdd10cc4ee94 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.1.h @@ -0,0 +1,325 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_MediaProperties_1_H +#define WINRT_Windows_Media_MediaProperties_1_H +#include "winrt/impl/Windows.Media.MediaProperties.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAudioEncodingProperties(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEncodingProperties2(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingProperties3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEncodingProperties3(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingProperties3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEncodingPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingPropertiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEncodingPropertiesStatics2(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingPropertiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAudioEncodingPropertiesWithFormatUserData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAudioEncodingPropertiesWithFormatUserData(std::nullptr_t = nullptr) noexcept {} + IAudioEncodingPropertiesWithFormatUserData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAv1ProfileIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAv1ProfileIdsStatics(std::nullptr_t = nullptr) noexcept {} + IAv1ProfileIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IContainerEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IContainerEncodingProperties(std::nullptr_t = nullptr) noexcept {} + IContainerEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IContainerEncodingProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IContainerEncodingProperties2(std::nullptr_t = nullptr) noexcept {} + IContainerEncodingProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IH264ProfileIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IH264ProfileIdsStatics(std::nullptr_t = nullptr) noexcept {} + IH264ProfileIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHevcProfileIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHevcProfileIdsStatics(std::nullptr_t = nullptr) noexcept {} + IHevcProfileIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IImageEncodingProperties(std::nullptr_t = nullptr) noexcept {} + IImageEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageEncodingProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageEncodingProperties2(std::nullptr_t = nullptr) noexcept {} + IImageEncodingProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageEncodingPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageEncodingPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IImageEncodingPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageEncodingPropertiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageEncodingPropertiesStatics2(std::nullptr_t = nullptr) noexcept {} + IImageEncodingPropertiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IImageEncodingPropertiesStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IImageEncodingPropertiesStatics3(std::nullptr_t = nullptr) noexcept {} + IImageEncodingPropertiesStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfile(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfile2(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfile3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfile3(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfile3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfileStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfileStatics(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfileStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfileStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfileStatics2(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfileStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfileStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfileStatics3(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfileStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProfileStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProfileStatics4(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProfileStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingProperties(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics2(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics3(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics4(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics5(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics6(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEncodingSubtypesStatics7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEncodingSubtypesStatics7(std::nullptr_t = nullptr) noexcept {} + IMediaEncodingSubtypesStatics7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaRatio : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaRatio(std::nullptr_t = nullptr) noexcept {} + IMediaRatio(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMpeg2ProfileIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMpeg2ProfileIdsStatics(std::nullptr_t = nullptr) noexcept {} + IMpeg2ProfileIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataEncodingProperties(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataEncodingPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataEncodingPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataEncodingPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVideoEncodingProperties(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingProperties2(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingProperties3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingProperties3(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingProperties3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingProperties4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingProperties4(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingProperties4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingProperties5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingProperties5(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingProperties5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingPropertiesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingPropertiesStatics(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingPropertiesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingPropertiesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingPropertiesStatics2(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingPropertiesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVideoEncodingPropertiesStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVideoEncodingPropertiesStatics3(std::nullptr_t = nullptr) noexcept {} + IVideoEncodingPropertiesStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVp9ProfileIdsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVp9ProfileIdsStatics(std::nullptr_t = nullptr) noexcept {} + IVp9ProfileIdsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3981c7f25b4d3e9d0b3edd907b40d1c4afe718cc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.mediaproperties.2.h @@ -0,0 +1,235 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_MediaProperties_2_H +#define WINRT_Windows_Media_MediaProperties_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Media.MediaProperties.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct WINRT_IMPL_EMPTY_BASES AudioEncodingProperties : winrt::Windows::Media::MediaProperties::IAudioEncodingProperties, + impl::require + { + AudioEncodingProperties(std::nullptr_t) noexcept {} + AudioEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IAudioEncodingProperties(ptr, take_ownership_from_abi) {} + AudioEncodingProperties(); + static auto CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate); + static auto CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate); + static auto CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate); + static auto CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample); + static auto CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate); + static auto CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample); + static auto CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample); + }; + struct Av1ProfileIds + { + Av1ProfileIds() = delete; + [[nodiscard]] static auto MainChromaSubsampling420BitDepth8(); + [[nodiscard]] static auto MainChromaSubsampling420BitDepth10(); + [[nodiscard]] static auto MainChromaSubsampling400BitDepth8(); + [[nodiscard]] static auto MainChromaSubsampling400BitDepth10(); + [[nodiscard]] static auto HighChromaSubsampling444BitDepth8(); + [[nodiscard]] static auto HighChromaSubsampling444BitDepth10(); + [[nodiscard]] static auto ProfessionalChromaSubsampling420BitDepth12(); + [[nodiscard]] static auto ProfessionalChromaSubsampling400BitDepth12(); + [[nodiscard]] static auto ProfessionalChromaSubsampling444BitDepth12(); + [[nodiscard]] static auto ProfessionalChromaSubsampling422BitDepth8(); + [[nodiscard]] static auto ProfessionalChromaSubsampling422BitDepth10(); + [[nodiscard]] static auto ProfessionalChromaSubsampling422BitDepth12(); + }; + struct WINRT_IMPL_EMPTY_BASES ContainerEncodingProperties : winrt::Windows::Media::MediaProperties::IContainerEncodingProperties, + impl::require + { + ContainerEncodingProperties(std::nullptr_t) noexcept {} + ContainerEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IContainerEncodingProperties(ptr, take_ownership_from_abi) {} + ContainerEncodingProperties(); + }; + struct H264ProfileIds + { + H264ProfileIds() = delete; + [[nodiscard]] static auto ConstrainedBaseline(); + [[nodiscard]] static auto Baseline(); + [[nodiscard]] static auto Extended(); + [[nodiscard]] static auto Main(); + [[nodiscard]] static auto High(); + [[nodiscard]] static auto High10(); + [[nodiscard]] static auto High422(); + [[nodiscard]] static auto High444(); + [[nodiscard]] static auto StereoHigh(); + [[nodiscard]] static auto MultiviewHigh(); + }; + struct HevcProfileIds + { + HevcProfileIds() = delete; + [[nodiscard]] static auto MainChromaSubsampling420BitDepth8(); + [[nodiscard]] static auto MainChromaSubsampling420BitDepth10(); + [[nodiscard]] static auto MainChromaSubsampling420BitDepth12(); + [[nodiscard]] static auto MainChromaSubsampling422BitDepth10(); + [[nodiscard]] static auto MainChromaSubsampling422BitDepth12(); + [[nodiscard]] static auto MainChromaSubsampling444BitDepth8(); + [[nodiscard]] static auto MainChromaSubsampling444BitDepth10(); + [[nodiscard]] static auto MainChromaSubsampling444BitDepth12(); + [[nodiscard]] static auto MonochromeBitDepth12(); + [[nodiscard]] static auto MonochromeBitDepth16(); + [[nodiscard]] static auto MainIntraChromaSubsampling420BitDepth8(); + [[nodiscard]] static auto MainIntraChromaSubsampling420BitDepth10(); + [[nodiscard]] static auto MainIntraChromaSubsampling420BitDepth12(); + [[nodiscard]] static auto MainIntraChromaSubsampling422BitDepth10(); + [[nodiscard]] static auto MainIntraChromaSubsampling422BitDepth12(); + [[nodiscard]] static auto MainIntraChromaSubsampling444BitDepth8(); + [[nodiscard]] static auto MainIntraChromaSubsampling444BitDepth10(); + [[nodiscard]] static auto MainIntraChromaSubsampling444BitDepth12(); + [[nodiscard]] static auto MainIntraChromaSubsampling444BitDepth16(); + [[nodiscard]] static auto MainStillChromaSubsampling420BitDepth8(); + [[nodiscard]] static auto MainStillChromaSubsampling444BitDepth8(); + [[nodiscard]] static auto MainStillChromaSubsampling444BitDepth16(); + }; + struct WINRT_IMPL_EMPTY_BASES ImageEncodingProperties : winrt::Windows::Media::MediaProperties::IImageEncodingProperties, + impl::require + { + ImageEncodingProperties(std::nullptr_t) noexcept {} + ImageEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IImageEncodingProperties(ptr, take_ownership_from_abi) {} + ImageEncodingProperties(); + static auto CreateJpeg(); + static auto CreatePng(); + static auto CreateJpegXR(); + static auto CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format); + static auto CreateBmp(); + static auto CreateHeif(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaEncodingProfile : winrt::Windows::Media::MediaProperties::IMediaEncodingProfile, + impl::require + { + MediaEncodingProfile(std::nullptr_t) noexcept {} + MediaEncodingProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IMediaEncodingProfile(ptr, take_ownership_from_abi) {} + MediaEncodingProfile(); + static auto CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + static auto CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + static auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file); + static auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream); + static auto CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + static auto CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality); + static auto CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + static auto CreateVp9(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + static auto CreateAv1(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality); + }; + struct MediaEncodingSubtypes + { + MediaEncodingSubtypes() = delete; + [[nodiscard]] static auto Aac(); + [[nodiscard]] static auto AacAdts(); + [[nodiscard]] static auto Ac3(); + [[nodiscard]] static auto AmrNb(); + [[nodiscard]] static auto AmrWb(); + [[nodiscard]] static auto Argb32(); + [[nodiscard]] static auto Asf(); + [[nodiscard]] static auto Avi(); + [[nodiscard]] static auto Bgra8(); + [[nodiscard]] static auto Bmp(); + [[nodiscard]] static auto Eac3(); + [[nodiscard]] static auto Float(); + [[nodiscard]] static auto Gif(); + [[nodiscard]] static auto H263(); + [[nodiscard]] static auto H264(); + [[nodiscard]] static auto H264Es(); + [[nodiscard]] static auto Hevc(); + [[nodiscard]] static auto HevcEs(); + [[nodiscard]] static auto Iyuv(); + [[nodiscard]] static auto Jpeg(); + [[nodiscard]] static auto JpegXr(); + [[nodiscard]] static auto Mjpg(); + [[nodiscard]] static auto Mpeg(); + [[nodiscard]] static auto Mpeg1(); + [[nodiscard]] static auto Mpeg2(); + [[nodiscard]] static auto Mp3(); + [[nodiscard]] static auto Mpeg4(); + [[nodiscard]] static auto Nv12(); + [[nodiscard]] static auto Pcm(); + [[nodiscard]] static auto Png(); + [[nodiscard]] static auto Rgb24(); + [[nodiscard]] static auto Rgb32(); + [[nodiscard]] static auto Tiff(); + [[nodiscard]] static auto Wave(); + [[nodiscard]] static auto Wma8(); + [[nodiscard]] static auto Wma9(); + [[nodiscard]] static auto Wmv3(); + [[nodiscard]] static auto Wvc1(); + [[nodiscard]] static auto Yuy2(); + [[nodiscard]] static auto Yv12(); + [[nodiscard]] static auto Vp9(); + [[nodiscard]] static auto L8(); + [[nodiscard]] static auto L16(); + [[nodiscard]] static auto D16(); + [[nodiscard]] static auto Alac(); + [[nodiscard]] static auto Flac(); + [[nodiscard]] static auto P010(); + [[nodiscard]] static auto Heif(); + [[nodiscard]] static auto Pgs(); + [[nodiscard]] static auto Srt(); + [[nodiscard]] static auto Ssa(); + [[nodiscard]] static auto VobSub(); + [[nodiscard]] static auto Av1(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaPropertySet : winrt::Windows::Foundation::Collections::IMap + { + MediaPropertySet(std::nullptr_t) noexcept {} + MediaPropertySet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMap(ptr, take_ownership_from_abi) {} + MediaPropertySet(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaRatio : winrt::Windows::Media::MediaProperties::IMediaRatio + { + MediaRatio(std::nullptr_t) noexcept {} + MediaRatio(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IMediaRatio(ptr, take_ownership_from_abi) {} + }; + struct Mpeg2ProfileIds + { + Mpeg2ProfileIds() = delete; + [[nodiscard]] static auto Simple(); + [[nodiscard]] static auto Main(); + [[nodiscard]] static auto SignalNoiseRatioScalable(); + [[nodiscard]] static auto SpatiallyScalable(); + [[nodiscard]] static auto High(); + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataEncodingProperties : winrt::Windows::Media::MediaProperties::IMediaEncodingProperties, + impl::require + { + TimedMetadataEncodingProperties(std::nullptr_t) noexcept {} + TimedMetadataEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IMediaEncodingProperties(ptr, take_ownership_from_abi) {} + TimedMetadataEncodingProperties(); + static auto CreatePgs(); + static auto CreateSrt(); + static auto CreateSsa(array_view formatUserData); + static auto CreateVobSub(array_view formatUserData); + }; + struct WINRT_IMPL_EMPTY_BASES VideoEncodingProperties : winrt::Windows::Media::MediaProperties::IVideoEncodingProperties, + impl::require + { + VideoEncodingProperties(std::nullptr_t) noexcept {} + VideoEncodingProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::MediaProperties::IVideoEncodingProperties(ptr, take_ownership_from_abi) {} + VideoEncodingProperties(); + static auto CreateH264(); + static auto CreateMpeg2(); + static auto CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height); + static auto CreateHevc(); + static auto CreateVp9(); + static auto CreateAv1(); + }; + struct Vp9ProfileIds + { + Vp9ProfileIds() = delete; + [[nodiscard]] static auto Profile0ChromaSubsampling420BitDepth8(); + [[nodiscard]] static auto Profile2ChromaSubsampling420BitDepth10(); + [[nodiscard]] static auto Profile2ChromaSubsampling420BitDepth12(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8fa6e66b03c0ebd80dec31f506d0cde47c834c69 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.0.h @@ -0,0 +1,746 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Miracast_0_H +#define WINRT_Windows_Media_Miracast_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core +{ + struct CoreApplicationView; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct PointInt32; + struct SizeInt32; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct MediaSource; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Media::Miracast +{ + enum class MiracastReceiverApplySettingsStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + MiracastNotSupported = 2, + AccessDenied = 3, + FriendlyNameTooLong = 4, + ModelNameTooLong = 5, + ModelNumberTooLong = 6, + InvalidSettings = 7, + }; + enum class MiracastReceiverAuthorizationMethod : int32_t + { + None = 0, + ConfirmConnection = 1, + PinDisplayIfRequested = 2, + PinDisplayRequired = 3, + }; + enum class MiracastReceiverDisconnectReason : int32_t + { + Finished = 0, + AppSpecificError = 1, + ConnectionNotAccepted = 2, + DisconnectedByUser = 3, + FailedToStartStreaming = 4, + MediaDecodingError = 5, + MediaStreamingError = 6, + MediaDecryptionError = 7, + }; + enum class MiracastReceiverGameControllerDeviceUsageMode : int32_t + { + AsGameController = 0, + AsMouseAndKeyboard = 1, + }; + enum class MiracastReceiverListeningStatus : int32_t + { + NotListening = 0, + Listening = 1, + ConnectionPending = 2, + Connected = 3, + DisabledByPolicy = 4, + TemporarilyDisabled = 5, + }; + enum class MiracastReceiverSessionStartStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + MiracastNotSupported = 2, + AccessDenied = 3, + }; + enum class MiracastReceiverWiFiStatus : int32_t + { + MiracastSupportUndetermined = 0, + MiracastNotSupported = 1, + MiracastSupportNotOptimized = 2, + MiracastSupported = 3, + }; + enum class MiracastTransmitterAuthorizationStatus : int32_t + { + Undecided = 0, + Allowed = 1, + AlwaysPrompt = 2, + Blocked = 3, + }; + struct IMiracastReceiver; + struct IMiracastReceiverApplySettingsResult; + struct IMiracastReceiverConnection; + struct IMiracastReceiverConnectionCreatedEventArgs; + struct IMiracastReceiverCursorImageChannel; + struct IMiracastReceiverCursorImageChannelSettings; + struct IMiracastReceiverDisconnectedEventArgs; + struct IMiracastReceiverGameControllerDevice; + struct IMiracastReceiverInputDevices; + struct IMiracastReceiverKeyboardDevice; + struct IMiracastReceiverMediaSourceCreatedEventArgs; + struct IMiracastReceiverSession; + struct IMiracastReceiverSessionStartResult; + struct IMiracastReceiverSettings; + struct IMiracastReceiverStatus; + struct IMiracastReceiverStreamControl; + struct IMiracastReceiverVideoStreamSettings; + struct IMiracastTransmitter; + struct MiracastReceiver; + struct MiracastReceiverApplySettingsResult; + struct MiracastReceiverConnection; + struct MiracastReceiverConnectionCreatedEventArgs; + struct MiracastReceiverCursorImageChannel; + struct MiracastReceiverCursorImageChannelSettings; + struct MiracastReceiverDisconnectedEventArgs; + struct MiracastReceiverGameControllerDevice; + struct MiracastReceiverInputDevices; + struct MiracastReceiverKeyboardDevice; + struct MiracastReceiverMediaSourceCreatedEventArgs; + struct MiracastReceiverSession; + struct MiracastReceiverSessionStartResult; + struct MiracastReceiverSettings; + struct MiracastReceiverStatus; + struct MiracastReceiverStreamControl; + struct MiracastReceiverVideoStreamSettings; + struct MiracastTransmitter; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiver"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverApplySettingsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverConnectionCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverCursorImageChannel"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverCursorImageChannelSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverDisconnectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverGameControllerDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverInputDevices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverKeyboardDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverMediaSourceCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverSessionStartResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverStreamControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverVideoStreamSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastTransmitter"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverApplySettingsStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverAuthorizationMethod"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverDisconnectReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverGameControllerDeviceUsageMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverListeningStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverSessionStartStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastReceiverWiFiStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.MiracastTransmitterAuthorizationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiver"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverApplySettingsResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverConnectionCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverCursorImageChannel"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverCursorImageChannelSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverDisconnectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverGameControllerDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverInputDevices"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverKeyboardDevice"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverMediaSourceCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverSessionStartResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverStreamControl"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastReceiverVideoStreamSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Miracast.IMiracastTransmitter"; + template <> inline constexpr guid guid_v{ 0x7A315258,0xE444,0x51B4,{ 0xAF,0xF7,0xB8,0x8D,0xAA,0x12,0x29,0xE0 } }; // 7A315258-E444-51B4-AFF7-B88DAA1229E0 + template <> inline constexpr guid guid_v{ 0xD0AA6272,0x09CD,0x58E1,{ 0xA4,0xF2,0x5D,0x51,0x43,0xD3,0x12,0xF9 } }; // D0AA6272-09CD-58E1-A4F2-5D5143D312F9 + template <> inline constexpr guid guid_v{ 0x704B2F36,0xD2E5,0x551F,{ 0xA8,0x54,0xF8,0x22,0xB7,0x91,0x7D,0x28 } }; // 704B2F36-D2E5-551F-A854-F822B7917D28 + template <> inline constexpr guid guid_v{ 0x7D8DFA39,0x307A,0x5C0F,{ 0x94,0xBD,0xD0,0xC6,0x9D,0x16,0x99,0x82 } }; // 7D8DFA39-307A-5C0F-94BD-D0C69D169982 + template <> inline constexpr guid guid_v{ 0xD9AC332D,0x723A,0x5A9D,{ 0xB9,0x0A,0x81,0x15,0x3E,0xFA,0x2A,0x0F } }; // D9AC332D-723A-5A9D-B90A-81153EFA2A0F + template <> inline constexpr guid guid_v{ 0xCCDBEDFF,0xBD00,0x5B9C,{ 0x8E,0x4C,0x00,0xCA,0xCF,0x86,0xB6,0x34 } }; // CCDBEDFF-BD00-5B9C-8E4C-00CACF86B634 + template <> inline constexpr guid guid_v{ 0xD9A15E5E,0x5FEE,0x57E6,{ 0xB4,0xB0,0x04,0x72,0x7D,0xB9,0x32,0x29 } }; // D9A15E5E-5FEE-57E6-B4B0-04727DB93229 + template <> inline constexpr guid guid_v{ 0x2D7171E8,0xBED4,0x5118,{ 0xA0,0x58,0xE2,0x47,0x7E,0xB5,0x88,0x8D } }; // 2D7171E8-BED4-5118-A058-E2477EB5888D + template <> inline constexpr guid guid_v{ 0xDA35BB02,0x28AA,0x5EE8,{ 0x96,0xF5,0xA4,0x29,0x01,0xC6,0x6F,0x00 } }; // DA35BB02-28AA-5EE8-96F5-A42901C66F00 + template <> inline constexpr guid guid_v{ 0xBEB67272,0x06C0,0x54FF,{ 0xAC,0x96,0x21,0x74,0x64,0xFF,0x25,0x01 } }; // BEB67272-06C0-54FF-AC96-217464FF2501 + template <> inline constexpr guid guid_v{ 0x17CF519E,0x1246,0x531D,{ 0x94,0x5A,0x6B,0x15,0x8E,0x39,0xC3,0xAA } }; // 17CF519E-1246-531D-945A-6B158E39C3AA + template <> inline constexpr guid guid_v{ 0x1D2BCDB4,0xEF8B,0x5209,{ 0xBF,0xC9,0xC3,0x21,0x16,0x50,0x48,0x03 } }; // 1D2BCDB4-EF8B-5209-BFC9-C32116504803 + template <> inline constexpr guid guid_v{ 0xB7C573EE,0x40CA,0x51FF,{ 0x95,0xF2,0xC9,0xDE,0x34,0xF2,0xE9,0x0E } }; // B7C573EE-40CA-51FF-95F2-C9DE34F2E90E + template <> inline constexpr guid guid_v{ 0x57CD2F24,0xC55A,0x5FBE,{ 0x94,0x64,0xEB,0x05,0x30,0x77,0x05,0xDD } }; // 57CD2F24-C55A-5FBE-9464-EB05307705DD + template <> inline constexpr guid guid_v{ 0xC28A5591,0x23AB,0x519E,{ 0xAD,0x09,0x90,0xBF,0xF6,0xDC,0xC8,0x7E } }; // C28A5591-23AB-519E-AD09-90BFF6DCC87E + template <> inline constexpr guid guid_v{ 0x38EA2D8B,0x2769,0x5AD7,{ 0x8A,0x8A,0x25,0x4B,0x9D,0xF7,0xBA,0x82 } }; // 38EA2D8B-2769-5AD7-8A8A-254B9DF7BA82 + template <> inline constexpr guid guid_v{ 0x169B5E1B,0x149D,0x52D0,{ 0xB1,0x26,0x6F,0x89,0x74,0x4E,0x4F,0x50 } }; // 169B5E1B-149D-52D0-B126-6F89744E4F50 + template <> inline constexpr guid guid_v{ 0x342D79FD,0x2E64,0x5508,{ 0x8A,0x30,0x83,0x3D,0x1E,0xAC,0x70,0xD0 } }; // 342D79FD-2E64-5508-8A30-833D1EAC70D0 + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiver; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverDisconnectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Miracast::IMiracastTransmitter; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultSettings(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentSettings(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentSettingsAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisconnectAllAndApplySettings(void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectAllAndApplySettingsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetStatus(void**) noexcept = 0; + virtual int32_t __stdcall GetStatusAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateSession(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateSessionAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearKnownTransmitters() noexcept = 0; + virtual int32_t __stdcall RemoveKnownTransmitter(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Disconnect(int32_t) noexcept = 0; + virtual int32_t __stdcall DisconnectWithMessage(int32_t, void*) noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall PauseAsync(void**) noexcept = 0; + virtual int32_t __stdcall Resume() noexcept = 0; + virtual int32_t __stdcall ResumeAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_Transmitter(void**) noexcept = 0; + virtual int32_t __stdcall get_InputDevices(void**) noexcept = 0; + virtual int32_t __stdcall get_CursorImageChannel(void**) noexcept = 0; + virtual int32_t __stdcall get_StreamControl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + virtual int32_t __stdcall get_Pin(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxImageSize(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall get_Position(struct struct_Windows_Graphics_PointInt32*) noexcept = 0; + virtual int32_t __stdcall get_ImageStream(void**) noexcept = 0; + virtual int32_t __stdcall add_ImageStreamChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ImageStreamChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PositionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_MaxImageSize(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall put_MaxImageSize(struct struct_Windows_Graphics_SizeInt32) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransmitInput(bool*) noexcept = 0; + virtual int32_t __stdcall put_TransmitInput(bool) noexcept = 0; + virtual int32_t __stdcall get_IsRequestedByTransmitter(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTransmittingInput(bool*) noexcept = 0; + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Mode(int32_t) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Keyboard(void**) noexcept = 0; + virtual int32_t __stdcall get_GameController(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransmitInput(bool*) noexcept = 0; + virtual int32_t __stdcall put_TransmitInput(bool) noexcept = 0; + virtual int32_t __stdcall get_IsRequestedByTransmitter(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsTransmittingInput(bool*) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaSource(void**) noexcept = 0; + virtual int32_t __stdcall get_CursorImageChannelSettings(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ConnectionCreated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionCreated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MediaSourceCreated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaSourceCreated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Disconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Disconnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_AllowConnectionTakeover(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowConnectionTakeover(bool) noexcept = 0; + virtual int32_t __stdcall get_MaxSimultaneousConnections(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxSimultaneousConnections(int32_t) noexcept = 0; + virtual int32_t __stdcall Start(void**) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_ModelName(void**) noexcept = 0; + virtual int32_t __stdcall put_ModelName(void*) noexcept = 0; + virtual int32_t __stdcall get_ModelNumber(void**) noexcept = 0; + virtual int32_t __stdcall put_ModelNumber(void*) noexcept = 0; + virtual int32_t __stdcall get_AuthorizationMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthorizationMethod(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RequireAuthorizationFromKnownTransmitters(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequireAuthorizationFromKnownTransmitters(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ListeningStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_WiFiStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsConnectionTakeoverSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxSimultaneousConnections(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_KnownTransmitters(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetVideoStreamSettings(void**) noexcept = 0; + virtual int32_t __stdcall GetVideoStreamSettingsAsync(void**) noexcept = 0; + virtual int32_t __stdcall SuggestVideoStreamSettings(void*) noexcept = 0; + virtual int32_t __stdcall SuggestVideoStreamSettingsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_MuteAudio(bool*) noexcept = 0; + virtual int32_t __stdcall put_MuteAudio(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Size(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; + virtual int32_t __stdcall put_Size(struct struct_Windows_Graphics_SizeInt32) noexcept = 0; + virtual int32_t __stdcall get_Bitrate(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Bitrate(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_AuthorizationStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthorizationStatus(int32_t) noexcept = 0; + virtual int32_t __stdcall GetConnections(void**) noexcept = 0; + virtual int32_t __stdcall get_MacAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_LastConnectionTime(int64_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiver + { + auto GetDefaultSettings() const; + auto GetCurrentSettings() const; + auto GetCurrentSettingsAsync() const; + auto DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; + auto DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; + auto GetStatus() const; + auto GetStatusAsync() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + auto CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; + auto CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; + auto ClearKnownTransmitters() const; + auto RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiver; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverConnection + { + auto Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const; + auto Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const; + auto Pause() const; + auto PauseAsync() const; + auto Resume() const; + auto ResumeAsync() const; + [[nodiscard]] auto Transmitter() const; + [[nodiscard]] auto InputDevices() const; + [[nodiscard]] auto CursorImageChannel() const; + [[nodiscard]] auto StreamControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverConnection; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs + { + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Pin() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel + { + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto MaxImageSize() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto ImageStream() const; + auto ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ImageStreamChanged_revoker = impl::event_revoker::remove_ImageStreamChanged>; + [[nodiscard]] auto ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ImageStreamChanged(winrt::event_token const& token) const noexcept; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto MaxImageSize() const; + auto MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs + { + [[nodiscard]] auto Connection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice + { + [[nodiscard]] auto TransmitInput() const; + auto TransmitInput(bool value) const; + [[nodiscard]] auto IsRequestedByTransmitter() const; + [[nodiscard]] auto IsTransmittingInput() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverInputDevices + { + [[nodiscard]] auto Keyboard() const; + [[nodiscard]] auto GameController() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverInputDevices; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice + { + [[nodiscard]] auto TransmitInput() const; + auto TransmitInput(bool value) const; + [[nodiscard]] auto IsRequestedByTransmitter() const; + [[nodiscard]] auto IsTransmittingInput() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs + { + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto MediaSource() const; + [[nodiscard]] auto CursorImageChannelSettings() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverSession + { + auto ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionCreated_revoker = impl::event_revoker::remove_ConnectionCreated>; + [[nodiscard]] auto ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionCreated(winrt::event_token const& token) const noexcept; + auto MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MediaSourceCreated_revoker = impl::event_revoker::remove_MediaSourceCreated>; + [[nodiscard]] auto MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaSourceCreated(winrt::event_token const& token) const noexcept; + auto Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Disconnected_revoker = impl::event_revoker::remove_Disconnected>; + [[nodiscard]] auto Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Disconnected(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AllowConnectionTakeover() const; + auto AllowConnectionTakeover(bool value) const; + [[nodiscard]] auto MaxSimultaneousConnections() const; + auto MaxSimultaneousConnections(int32_t value) const; + auto Start() const; + auto StartAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverSession; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverSettings + { + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto ModelName() const; + auto ModelName(param::hstring const& value) const; + [[nodiscard]] auto ModelNumber() const; + auto ModelNumber(param::hstring const& value) const; + [[nodiscard]] auto AuthorizationMethod() const; + auto AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const; + [[nodiscard]] auto RequireAuthorizationFromKnownTransmitters() const; + auto RequireAuthorizationFromKnownTransmitters(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverSettings; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverStatus + { + [[nodiscard]] auto ListeningStatus() const; + [[nodiscard]] auto WiFiStatus() const; + [[nodiscard]] auto IsConnectionTakeoverSupported() const; + [[nodiscard]] auto MaxSimultaneousConnections() const; + [[nodiscard]] auto KnownTransmitters() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverStatus; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverStreamControl + { + auto GetVideoStreamSettings() const; + auto GetVideoStreamSettingsAsync() const; + auto SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; + auto SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; + [[nodiscard]] auto MuteAudio() const; + auto MuteAudio(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverStreamControl; + }; + template + struct consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings + { + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Graphics::SizeInt32 const& value) const; + [[nodiscard]] auto Bitrate() const; + auto Bitrate(int32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings; + }; + template + struct consume_Windows_Media_Miracast_IMiracastTransmitter + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto AuthorizationStatus() const; + auto AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const; + auto GetConnections() const; + [[nodiscard]] auto MacAddress() const; + [[nodiscard]] auto LastConnectionTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Miracast_IMiracastTransmitter; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4a74bc6951d622b4ca8464584646d177625dee5c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.1.h @@ -0,0 +1,139 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Miracast_1_H +#define WINRT_Windows_Media_Miracast_1_H +#include "winrt/impl/Windows.Media.Miracast.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Miracast +{ + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiver : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiver(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverApplySettingsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverApplySettingsResult(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverApplySettingsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverConnection(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverConnectionCreatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverConnectionCreatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverConnectionCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverCursorImageChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverCursorImageChannel(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverCursorImageChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverCursorImageChannelSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverCursorImageChannelSettings(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverCursorImageChannelSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverDisconnectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverDisconnectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverDisconnectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverGameControllerDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverGameControllerDevice(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverGameControllerDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverInputDevices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverInputDevices(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverInputDevices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverKeyboardDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverKeyboardDevice(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverKeyboardDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverMediaSourceCreatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverMediaSourceCreatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverMediaSourceCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverSession(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverSessionStartResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverSessionStartResult(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverSessionStartResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverSettings(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverStatus(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverStreamControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverStreamControl(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverStreamControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastReceiverVideoStreamSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastReceiverVideoStreamSettings(std::nullptr_t = nullptr) noexcept {} + IMiracastReceiverVideoStreamSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMiracastTransmitter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMiracastTransmitter(std::nullptr_t = nullptr) noexcept {} + IMiracastTransmitter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.2.h new file mode 100644 index 0000000000000000000000000000000000000000..5ac34cc31ef8e318e716c8ba8e8c8b27d51f1ae7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.miracast.2.h @@ -0,0 +1,107 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Miracast_2_H +#define WINRT_Windows_Media_Miracast_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Miracast.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Miracast +{ + struct WINRT_IMPL_EMPTY_BASES MiracastReceiver : winrt::Windows::Media::Miracast::IMiracastReceiver + { + MiracastReceiver(std::nullptr_t) noexcept {} + MiracastReceiver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiver(ptr, take_ownership_from_abi) {} + MiracastReceiver(); + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverApplySettingsResult : winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult + { + MiracastReceiverApplySettingsResult(std::nullptr_t) noexcept {} + MiracastReceiverApplySettingsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverConnection : winrt::Windows::Media::Miracast::IMiracastReceiverConnection, + impl::require + { + MiracastReceiverConnection(std::nullptr_t) noexcept {} + MiracastReceiverConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverConnectionCreatedEventArgs : winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs + { + MiracastReceiverConnectionCreatedEventArgs(std::nullptr_t) noexcept {} + MiracastReceiverConnectionCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverCursorImageChannel : winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel + { + MiracastReceiverCursorImageChannel(std::nullptr_t) noexcept {} + MiracastReceiverCursorImageChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverCursorImageChannelSettings : winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings + { + MiracastReceiverCursorImageChannelSettings(std::nullptr_t) noexcept {} + MiracastReceiverCursorImageChannelSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverDisconnectedEventArgs : winrt::Windows::Media::Miracast::IMiracastReceiverDisconnectedEventArgs + { + MiracastReceiverDisconnectedEventArgs(std::nullptr_t) noexcept {} + MiracastReceiverDisconnectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverDisconnectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverGameControllerDevice : winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice + { + MiracastReceiverGameControllerDevice(std::nullptr_t) noexcept {} + MiracastReceiverGameControllerDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverInputDevices : winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices + { + MiracastReceiverInputDevices(std::nullptr_t) noexcept {} + MiracastReceiverInputDevices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverKeyboardDevice : winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice + { + MiracastReceiverKeyboardDevice(std::nullptr_t) noexcept {} + MiracastReceiverKeyboardDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverMediaSourceCreatedEventArgs : winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs + { + MiracastReceiverMediaSourceCreatedEventArgs(std::nullptr_t) noexcept {} + MiracastReceiverMediaSourceCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverSession : winrt::Windows::Media::Miracast::IMiracastReceiverSession, + impl::require + { + MiracastReceiverSession(std::nullptr_t) noexcept {} + MiracastReceiverSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverSessionStartResult : winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult + { + MiracastReceiverSessionStartResult(std::nullptr_t) noexcept {} + MiracastReceiverSessionStartResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverSettings : winrt::Windows::Media::Miracast::IMiracastReceiverSettings + { + MiracastReceiverSettings(std::nullptr_t) noexcept {} + MiracastReceiverSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverStatus : winrt::Windows::Media::Miracast::IMiracastReceiverStatus + { + MiracastReceiverStatus(std::nullptr_t) noexcept {} + MiracastReceiverStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverStreamControl : winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl + { + MiracastReceiverStreamControl(std::nullptr_t) noexcept {} + MiracastReceiverStreamControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastReceiverVideoStreamSettings : winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings + { + MiracastReceiverVideoStreamSettings(std::nullptr_t) noexcept {} + MiracastReceiverVideoStreamSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MiracastTransmitter : winrt::Windows::Media::Miracast::IMiracastTransmitter + { + MiracastTransmitter(std::nullptr_t) noexcept {} + MiracastTransmitter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Miracast::IMiracastTransmitter(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.0.h new file mode 100644 index 0000000000000000000000000000000000000000..2c8051d3b23828decd59721a819d3dc23639989f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.0.h @@ -0,0 +1,161 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Ocr_0_H +#define WINRT_Windows_Media_Ocr_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Rect; +} +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + struct Language; +} +WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging +{ + struct SoftwareBitmap; +} +WINRT_EXPORT namespace winrt::Windows::Media::Ocr +{ + struct IOcrEngine; + struct IOcrEngineStatics; + struct IOcrLine; + struct IOcrResult; + struct IOcrWord; + struct OcrEngine; + struct OcrLine; + struct OcrResult; + struct OcrWord; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.OcrEngine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.OcrLine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.OcrResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.OcrWord"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.IOcrEngine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.IOcrEngineStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.IOcrLine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.IOcrResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Ocr.IOcrWord"; + template <> inline constexpr guid guid_v{ 0x5A14BC41,0x5B76,0x3140,{ 0xB6,0x80,0x88,0x25,0x56,0x26,0x83,0xAC } }; // 5A14BC41-5B76-3140-B680-8825562683AC + template <> inline constexpr guid guid_v{ 0x5BFFA85A,0x3384,0x3540,{ 0x99,0x40,0x69,0x91,0x20,0xD4,0x28,0xA8 } }; // 5BFFA85A-3384-3540-9940-699120D428A8 + template <> inline constexpr guid guid_v{ 0x0043A16F,0xE31F,0x3A24,{ 0x89,0x9C,0xD4,0x44,0xBD,0x08,0x81,0x24 } }; // 0043A16F-E31F-3A24-899C-D444BD088124 + template <> inline constexpr guid guid_v{ 0x9BD235B2,0x175B,0x3D6A,{ 0x92,0xE2,0x38,0x8C,0x20,0x6E,0x2F,0x63 } }; // 9BD235B2-175B-3D6A-92E2-388C206E2F63 + template <> inline constexpr guid guid_v{ 0x3C2A477A,0x5CD9,0x3525,{ 0xBA,0x2A,0x23,0xD1,0xE0,0xA6,0x8A,0x1D } }; // 3C2A477A-5CD9-3525-BA2A-23D1E0A68A1D + template <> struct default_interface{ using type = winrt::Windows::Media::Ocr::IOcrEngine; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Ocr::IOcrLine; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Ocr::IOcrResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Ocr::IOcrWord; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RecognizeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_RecognizerLanguage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxImageDimension(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AvailableRecognizerLanguages(void**) noexcept = 0; + virtual int32_t __stdcall IsLanguageSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall TryCreateFromLanguage(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFromUserProfileLanguages(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Words(void**) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Lines(void**) noexcept = 0; + virtual int32_t __stdcall get_TextAngle(void**) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BoundingRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Ocr_IOcrEngine + { + auto RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + [[nodiscard]] auto RecognizerLanguage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Ocr_IOcrEngine; + }; + template + struct consume_Windows_Media_Ocr_IOcrEngineStatics + { + [[nodiscard]] auto MaxImageDimension() const; + [[nodiscard]] auto AvailableRecognizerLanguages() const; + auto IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const; + auto TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const; + auto TryCreateFromUserProfileLanguages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Ocr_IOcrEngineStatics; + }; + template + struct consume_Windows_Media_Ocr_IOcrLine + { + [[nodiscard]] auto Words() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Ocr_IOcrLine; + }; + template + struct consume_Windows_Media_Ocr_IOcrResult + { + [[nodiscard]] auto Lines() const; + [[nodiscard]] auto TextAngle() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Ocr_IOcrResult; + }; + template + struct consume_Windows_Media_Ocr_IOcrWord + { + [[nodiscard]] auto BoundingRect() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Ocr_IOcrWord; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2e43ecc50aef271438c8c9eb96e2d5e9b4c9045f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Ocr_1_H +#define WINRT_Windows_Media_Ocr_1_H +#include "winrt/impl/Windows.Media.Ocr.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Ocr +{ + struct WINRT_IMPL_EMPTY_BASES IOcrEngine : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOcrEngine(std::nullptr_t = nullptr) noexcept {} + IOcrEngine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOcrEngineStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOcrEngineStatics(std::nullptr_t = nullptr) noexcept {} + IOcrEngineStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOcrLine : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOcrLine(std::nullptr_t = nullptr) noexcept {} + IOcrLine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOcrResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOcrResult(std::nullptr_t = nullptr) noexcept {} + IOcrResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOcrWord : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOcrWord(std::nullptr_t = nullptr) noexcept {} + IOcrWord(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2638f06ff5fadef70dea25ff5d416fbf8b18b490 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.ocr.2.h @@ -0,0 +1,39 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Ocr_2_H +#define WINRT_Windows_Media_Ocr_2_H +#include "winrt/impl/Windows.Globalization.1.h" +#include "winrt/impl/Windows.Media.Ocr.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Ocr +{ + struct WINRT_IMPL_EMPTY_BASES OcrEngine : winrt::Windows::Media::Ocr::IOcrEngine + { + OcrEngine(std::nullptr_t) noexcept {} + OcrEngine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrEngine(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto MaxImageDimension(); + [[nodiscard]] static auto AvailableRecognizerLanguages(); + static auto IsLanguageSupported(winrt::Windows::Globalization::Language const& language); + static auto TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language); + static auto TryCreateFromUserProfileLanguages(); + }; + struct WINRT_IMPL_EMPTY_BASES OcrLine : winrt::Windows::Media::Ocr::IOcrLine + { + OcrLine(std::nullptr_t) noexcept {} + OcrLine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrLine(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OcrResult : winrt::Windows::Media::Ocr::IOcrResult + { + OcrResult(std::nullptr_t) noexcept {} + OcrResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OcrWord : winrt::Windows::Media::Ocr::IOcrWord + { + OcrWord(std::nullptr_t) noexcept {} + OcrWord(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrWord(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0a1bfac7c7d98de0f86fb8ad0afe1a5c318230fd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.0.h @@ -0,0 +1,2423 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playback_0_H +#define WINRT_Windows_Media_Playback_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct HResult; + template struct WINRT_IMPL_EMPTY_BASES IReference; + struct Rect; + struct Size; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + struct IPropertySet; + struct IVectorChangedEventArgs; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 +{ + struct IDirect3DSurface; +} +WINRT_EXPORT namespace winrt::Windows::Media +{ + enum class MediaPlaybackAutoRepeatMode : int32_t; + enum class MediaPlaybackType : int32_t; + struct MediaTimelineController; + struct MusicDisplayProperties; + struct SystemMediaTransportControls; + struct VideoDisplayProperties; +} +WINRT_EXPORT namespace winrt::Windows::Media::Audio +{ + struct AudioStateMonitor; +} +WINRT_EXPORT namespace winrt::Windows::Media::Casting +{ + struct CastingSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct AudioTrack; + struct IMediaSource; + struct MediaSource; + struct TimedMetadataTrack; + struct VideoTrack; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + enum class MediaRotation : int32_t; + enum class SphericalVideoFrameFormat : int32_t; + enum class StereoscopicVideoPackingMode : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + struct MediaProtectionManager; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; + struct RandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::UI::Composition +{ + struct Compositor; + struct ICompositionSurface; +} +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + enum class AutoLoadedDisplayPropertyKind : int32_t + { + None = 0, + MusicOrVideo = 1, + Music = 2, + Video = 3, + }; + enum class FailedMediaStreamKind : int32_t + { + Unknown = 0, + Audio = 1, + Video = 2, + }; + enum class MediaBreakInsertionMethod : int32_t + { + Interrupt = 0, + Replace = 1, + }; + enum class MediaCommandEnablingRule : int32_t + { + Auto = 0, + Always = 1, + Never = 2, + }; + enum class MediaPlaybackItemChangedReason : int32_t + { + InitialItem = 0, + EndOfStream = 1, + Error = 2, + AppRequested = 3, + }; + enum class MediaPlaybackItemErrorCode : int32_t + { + None = 0, + Aborted = 1, + NetworkError = 2, + DecodeError = 3, + SourceNotSupportedError = 4, + EncryptionError = 5, + }; + enum class MediaPlaybackSessionVideoConstrictionReason : int32_t + { + None = 0, + VirtualMachine = 1, + UnsupportedDisplayAdapter = 2, + UnsignedDriver = 3, + FrameServerEnabled = 4, + OutputProtectionFailed = 5, + Unknown = 6, + }; + enum class MediaPlaybackState : int32_t + { + None = 0, + Opening = 1, + Buffering = 2, + Playing = 3, + Paused = 4, + }; + enum class MediaPlayerAudioCategory : int32_t + { + Other = 0, + Communications = 3, + Alerts = 4, + SoundEffects = 5, + GameEffects = 6, + GameMedia = 7, + GameChat = 8, + Speech = 9, + Movie = 10, + Media = 11, + }; + enum class MediaPlayerAudioDeviceType : int32_t + { + Console = 0, + Multimedia = 1, + Communications = 2, + }; + enum class MediaPlayerError : int32_t + { + Unknown = 0, + Aborted = 1, + NetworkError = 2, + DecodingError = 3, + SourceNotSupported = 4, + }; + enum class MediaPlayerState : int32_t + { + Closed = 0, + Opening = 1, + Buffering = 2, + Playing = 3, + Paused = 4, + Stopped = 5, + }; + enum class SphericalVideoProjectionMode : int32_t + { + Spherical = 0, + Flat = 1, + }; + enum class StereoscopicVideoRenderMode : int32_t + { + Mono = 0, + Stereo = 1, + }; + enum class TimedMetadataTrackPresentationMode : int32_t + { + Disabled = 0, + Hidden = 1, + ApplicationPresented = 2, + PlatformPresented = 3, + }; + struct IBackgroundMediaPlayerStatics; + struct ICurrentMediaPlaybackItemChangedEventArgs; + struct ICurrentMediaPlaybackItemChangedEventArgs2; + struct IMediaBreak; + struct IMediaBreakEndedEventArgs; + struct IMediaBreakFactory; + struct IMediaBreakManager; + struct IMediaBreakSchedule; + struct IMediaBreakSeekedOverEventArgs; + struct IMediaBreakSkippedEventArgs; + struct IMediaBreakStartedEventArgs; + struct IMediaEnginePlaybackSource; + struct IMediaItemDisplayProperties; + struct IMediaPlaybackCommandManager; + struct IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs; + struct IMediaPlaybackCommandManagerCommandBehavior; + struct IMediaPlaybackCommandManagerFastForwardReceivedEventArgs; + struct IMediaPlaybackCommandManagerNextReceivedEventArgs; + struct IMediaPlaybackCommandManagerPauseReceivedEventArgs; + struct IMediaPlaybackCommandManagerPlayReceivedEventArgs; + struct IMediaPlaybackCommandManagerPositionReceivedEventArgs; + struct IMediaPlaybackCommandManagerPreviousReceivedEventArgs; + struct IMediaPlaybackCommandManagerRateReceivedEventArgs; + struct IMediaPlaybackCommandManagerRewindReceivedEventArgs; + struct IMediaPlaybackCommandManagerShuffleReceivedEventArgs; + struct IMediaPlaybackItem; + struct IMediaPlaybackItem2; + struct IMediaPlaybackItem3; + struct IMediaPlaybackItemError; + struct IMediaPlaybackItemFactory; + struct IMediaPlaybackItemFactory2; + struct IMediaPlaybackItemFailedEventArgs; + struct IMediaPlaybackItemOpenedEventArgs; + struct IMediaPlaybackItemStatics; + struct IMediaPlaybackList; + struct IMediaPlaybackList2; + struct IMediaPlaybackList3; + struct IMediaPlaybackSession; + struct IMediaPlaybackSession2; + struct IMediaPlaybackSession3; + struct IMediaPlaybackSessionBufferingStartedEventArgs; + struct IMediaPlaybackSessionOutputDegradationPolicyState; + struct IMediaPlaybackSource; + struct IMediaPlaybackSphericalVideoProjection; + struct IMediaPlaybackTimedMetadataTrackList; + struct IMediaPlayer; + struct IMediaPlayer2; + struct IMediaPlayer3; + struct IMediaPlayer4; + struct IMediaPlayer5; + struct IMediaPlayer6; + struct IMediaPlayer7; + struct IMediaPlayerDataReceivedEventArgs; + struct IMediaPlayerEffects; + struct IMediaPlayerEffects2; + struct IMediaPlayerFailedEventArgs; + struct IMediaPlayerRateChangedEventArgs; + struct IMediaPlayerSource; + struct IMediaPlayerSource2; + struct IMediaPlayerSurface; + struct IPlaybackMediaMarker; + struct IPlaybackMediaMarkerFactory; + struct IPlaybackMediaMarkerReachedEventArgs; + struct IPlaybackMediaMarkerSequence; + struct ITimedMetadataPresentationModeChangedEventArgs; + struct BackgroundMediaPlayer; + struct CurrentMediaPlaybackItemChangedEventArgs; + struct MediaBreak; + struct MediaBreakEndedEventArgs; + struct MediaBreakManager; + struct MediaBreakSchedule; + struct MediaBreakSeekedOverEventArgs; + struct MediaBreakSkippedEventArgs; + struct MediaBreakStartedEventArgs; + struct MediaItemDisplayProperties; + struct MediaPlaybackAudioTrackList; + struct MediaPlaybackCommandManager; + struct MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs; + struct MediaPlaybackCommandManagerCommandBehavior; + struct MediaPlaybackCommandManagerFastForwardReceivedEventArgs; + struct MediaPlaybackCommandManagerNextReceivedEventArgs; + struct MediaPlaybackCommandManagerPauseReceivedEventArgs; + struct MediaPlaybackCommandManagerPlayReceivedEventArgs; + struct MediaPlaybackCommandManagerPositionReceivedEventArgs; + struct MediaPlaybackCommandManagerPreviousReceivedEventArgs; + struct MediaPlaybackCommandManagerRateReceivedEventArgs; + struct MediaPlaybackCommandManagerRewindReceivedEventArgs; + struct MediaPlaybackCommandManagerShuffleReceivedEventArgs; + struct MediaPlaybackItem; + struct MediaPlaybackItemError; + struct MediaPlaybackItemFailedEventArgs; + struct MediaPlaybackItemOpenedEventArgs; + struct MediaPlaybackList; + struct MediaPlaybackSession; + struct MediaPlaybackSessionBufferingStartedEventArgs; + struct MediaPlaybackSessionOutputDegradationPolicyState; + struct MediaPlaybackSphericalVideoProjection; + struct MediaPlaybackTimedMetadataTrackList; + struct MediaPlaybackVideoTrackList; + struct MediaPlayer; + struct MediaPlayerDataReceivedEventArgs; + struct MediaPlayerFailedEventArgs; + struct MediaPlayerRateChangedEventArgs; + struct MediaPlayerSurface; + struct PlaybackMediaMarker; + struct PlaybackMediaMarkerReachedEventArgs; + struct PlaybackMediaMarkerSequence; + struct TimedMetadataPresentationModeChangedEventArgs; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.BackgroundMediaPlayer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.CurrentMediaPlaybackItemChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreak"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakEndedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakSchedule"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakSeekedOverEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakSkippedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaItemDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackAudioTrackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerCommandBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerFastForwardReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerNextReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerPauseReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerPlayReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerPositionReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerPreviousReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerRateReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerRewindReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackCommandManagerShuffleReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItemError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItemFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItemOpenedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackSessionBufferingStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackSessionOutputDegradationPolicyState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackSphericalVideoProjection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackTimedMetadataTrackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackVideoTrackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerRateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerSurface"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.PlaybackMediaMarker"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.PlaybackMediaMarkerSequence"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.TimedMetadataPresentationModeChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.AutoLoadedDisplayPropertyKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.FailedMediaStreamKind"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaBreakInsertionMethod"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaCommandEnablingRule"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItemChangedReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackItemErrorCode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackSessionVideoConstrictionReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlaybackState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerAudioCategory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerAudioDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.MediaPlayerState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.SphericalVideoProjectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.StereoscopicVideoRenderMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.TimedMetadataTrackPresentationMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IBackgroundMediaPlayerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.ICurrentMediaPlaybackItemChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.ICurrentMediaPlaybackItemChangedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreak"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakEndedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakSchedule"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakSeekedOverEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakSkippedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaBreakStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaEnginePlaybackSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaItemDisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerCommandBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerFastForwardReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerNextReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerPauseReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerPlayReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerPositionReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerPreviousReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerRateReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerRewindReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackCommandManagerShuffleReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItem2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItem3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemError"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemFactory2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemOpenedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackItemStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackList2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackList3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSession2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSession3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSessionBufferingStartedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSessionOutputDegradationPolicyState"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackSphericalVideoProjection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlaybackTimedMetadataTrackList"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer5"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer6"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayer7"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerEffects"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerEffects2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerRateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerSource2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IMediaPlayerSurface"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IPlaybackMediaMarker"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IPlaybackMediaMarkerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IPlaybackMediaMarkerReachedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.IPlaybackMediaMarkerSequence"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playback.ITimedMetadataPresentationModeChangedEventArgs"; + template <> inline constexpr guid guid_v{ 0x856DDBC1,0x55F7,0x471F,{ 0xA0,0xF2,0x68,0xAC,0x4C,0x90,0x45,0x92 } }; // 856DDBC1-55F7-471F-A0F2-68AC4C904592 + template <> inline constexpr guid guid_v{ 0x1743A892,0x5C43,0x4A15,{ 0x96,0x7A,0x57,0x2D,0x2D,0x0F,0x26,0xC6 } }; // 1743A892-5C43-4A15-967A-572D2D0F26C6 + template <> inline constexpr guid guid_v{ 0x1D80A51E,0x996E,0x40A9,{ 0xBE,0x48,0xE6,0x6E,0xC9,0x0B,0x2B,0x7D } }; // 1D80A51E-996E-40A9-BE48-E66EC90B2B7D + template <> inline constexpr guid guid_v{ 0x714BE270,0x0DEF,0x4EBC,{ 0xA4,0x89,0x6B,0x34,0x93,0x0E,0x15,0x58 } }; // 714BE270-0DEF-4EBC-A489-6B34930E1558 + template <> inline constexpr guid guid_v{ 0x32B93276,0x1C5D,0x4FEE,{ 0x87,0x32,0x23,0x6D,0xC3,0xA8,0x85,0x80 } }; // 32B93276-1C5D-4FEE-8732-236DC3A88580 + template <> inline constexpr guid guid_v{ 0x4516E002,0x18E0,0x4079,{ 0x8B,0x5F,0xD3,0x34,0x95,0xC1,0x5D,0x2E } }; // 4516E002-18E0-4079-8B5F-D33495C15D2E + template <> inline constexpr guid guid_v{ 0xA854DDB1,0xFEB4,0x4D9B,{ 0x9D,0x97,0x0F,0xDB,0xE5,0x8E,0x5E,0x39 } }; // A854DDB1-FEB4-4D9B-9D97-0FDBE58E5E39 + template <> inline constexpr guid guid_v{ 0xA19A5813,0x98B6,0x41D8,{ 0x83,0xDA,0xF9,0x71,0xD2,0x2B,0x7B,0xBA } }; // A19A5813-98B6-41D8-83DA-F971D22B7BBA + template <> inline constexpr guid guid_v{ 0xE5AA6746,0x0606,0x4492,{ 0xB9,0xD3,0xC3,0xC8,0xFD,0xE0,0xA4,0xEA } }; // E5AA6746-0606-4492-B9D3-C3C8FDE0A4EA + template <> inline constexpr guid guid_v{ 0x6EE94C05,0x2F54,0x4A3E,{ 0xA3,0xAB,0x24,0xC3,0xB2,0x70,0xB4,0xA3 } }; // 6EE94C05-2F54-4A3E-A3AB-24C3B270B4A3 + template <> inline constexpr guid guid_v{ 0xA87EFE71,0xDFD4,0x454A,{ 0x95,0x6E,0x0A,0x4A,0x64,0x83,0x95,0xF8 } }; // A87EFE71-DFD4-454A-956E-0A4A648395F8 + template <> inline constexpr guid guid_v{ 0x5C1D0BA7,0x3856,0x48B9,{ 0x8D,0xC6,0x24,0x4B,0xF1,0x07,0xBF,0x8C } }; // 5C1D0BA7-3856-48B9-8DC6-244BF107BF8C + template <> inline constexpr guid guid_v{ 0x1E3C1B48,0x7097,0x4384,{ 0xA2,0x17,0xC1,0x29,0x1D,0xFA,0x8C,0x16 } }; // 1E3C1B48-7097-4384-A217-C1291DFA8C16 + template <> inline constexpr guid guid_v{ 0x5ACEE5A6,0x5CB6,0x4A5A,{ 0x85,0x21,0xCC,0x86,0xB1,0xC1,0xED,0x37 } }; // 5ACEE5A6-5CB6-4A5A-8521-CC86B1C1ED37 + template <> inline constexpr guid guid_v{ 0x3D6F4F23,0x5230,0x4411,{ 0xA0,0xE9,0xBA,0xD9,0x4C,0x2A,0x04,0x5C } }; // 3D6F4F23-5230-4411-A0E9-BAD94C2A045C + template <> inline constexpr guid guid_v{ 0x786C1E78,0xCE78,0x4A10,{ 0xAF,0xD6,0x84,0x3F,0xCB,0xB9,0x0C,0x2E } }; // 786C1E78-CE78-4A10-AFD6-843FCBB90C2E + template <> inline constexpr guid guid_v{ 0x30F064D9,0xB491,0x4D0A,{ 0xBC,0x21,0x30,0x98,0xBD,0x13,0x32,0xE9 } }; // 30F064D9-B491-4D0A-BC21-3098BD1332E9 + template <> inline constexpr guid guid_v{ 0xE1504433,0xA2B0,0x45D4,{ 0xB9,0xDE,0x5F,0x42,0xAC,0x14,0xA8,0x39 } }; // E1504433-A2B0-45D4-B9DE-5F42AC14A839 + template <> inline constexpr guid guid_v{ 0x5CECCD1C,0xC25C,0x4221,{ 0xB1,0x6C,0xC3,0xC9,0x8C,0xE0,0x12,0xD6 } }; // 5CECCD1C-C25C-4221-B16C-C3C98CE012D6 + template <> inline constexpr guid guid_v{ 0x9AF0004E,0x578B,0x4C56,{ 0xA0,0x06,0x16,0x15,0x9D,0x88,0x8A,0x48 } }; // 9AF0004E-578B-4C56-A006-16159D888A48 + template <> inline constexpr guid guid_v{ 0x5591A754,0xD627,0x4BDD,{ 0xA9,0x0D,0x86,0xA0,0x15,0xB2,0x49,0x02 } }; // 5591A754-D627-4BDD-A90D-86A015B24902 + template <> inline constexpr guid guid_v{ 0x525E3081,0x4632,0x4F76,{ 0x99,0xB1,0xD7,0x71,0x62,0x3F,0x62,0x87 } }; // 525E3081-4632-4F76-99B1-D771623F6287 + template <> inline constexpr guid guid_v{ 0x18EA3939,0x4A16,0x4169,{ 0x8B,0x05,0x3E,0xB9,0xF5,0xFF,0x78,0xEB } }; // 18EA3939-4A16-4169-8B05-3EB9F5FF78EB + template <> inline constexpr guid guid_v{ 0x9F085947,0xA3C0,0x425D,{ 0xAA,0xEF,0x97,0xBA,0x78,0x98,0xB1,0x41 } }; // 9F085947-A3C0-425D-AAEF-97BA7898B141 + template <> inline constexpr guid guid_v{ 0x50A05CEF,0x63EE,0x4A96,{ 0xB7,0xB5,0xFE,0xE0,0x8B,0x9F,0xF9,0x0C } }; // 50A05CEF-63EE-4A96-B7B5-FEE08B9FF90C + template <> inline constexpr guid guid_v{ 0x047097D2,0xE4AF,0x48AB,{ 0xB2,0x83,0x69,0x29,0xE6,0x74,0xEC,0xE2 } }; // 047097D2-E4AF-48AB-B283-6929E674ECE2 + template <> inline constexpr guid guid_v{ 0xD859D171,0xD7EF,0x4B81,{ 0xAC,0x1F,0xF4,0x04,0x93,0xCB,0xB0,0x91 } }; // D859D171-D7EF-4B81-AC1F-F40493CBB091 + template <> inline constexpr guid guid_v{ 0x0D328220,0xB80A,0x4D09,{ 0x9F,0xF8,0xF8,0x70,0x94,0xA1,0xC8,0x31 } }; // 0D328220-B80A-4D09-9FF8-F87094A1C831 + template <> inline constexpr guid guid_v{ 0x69FBEF2B,0xDCD6,0x4DF9,{ 0xA4,0x50,0xDB,0xF4,0xC6,0xF1,0xC2,0xC2 } }; // 69FBEF2B-DCD6-4DF9-A450-DBF4C6F1C2C2 + template <> inline constexpr guid guid_v{ 0x7133FCE1,0x1769,0x4FF9,{ 0xA7,0xC1,0x38,0xD2,0xC4,0xD4,0x23,0x60 } }; // 7133FCE1-1769-4FF9-A7C1-38D2C4D42360 + template <> inline constexpr guid guid_v{ 0xD77CDF3A,0xB947,0x4972,{ 0xB3,0x5D,0xAD,0xFB,0x93,0x1A,0x71,0xE6 } }; // D77CDF3A-B947-4972-B35D-ADFB931A71E6 + template <> inline constexpr guid guid_v{ 0x7703134A,0xE9A7,0x47C3,{ 0x86,0x2C,0xC6,0x56,0xD3,0x06,0x83,0xD4 } }; // 7703134A-E9A7-47C3-862C-C656D30683D4 + template <> inline constexpr guid guid_v{ 0xCBD9BD82,0x3037,0x4FBE,{ 0xAE,0x8F,0x39,0xFC,0x39,0xED,0xF4,0xEF } }; // CBD9BD82-3037-4FBE-AE8F-39FC39EDF4EF + template <> inline constexpr guid guid_v{ 0x4B1BE7F4,0x4345,0x403C,{ 0x8A,0x67,0xF5,0xDE,0x91,0xDF,0x4C,0x86 } }; // 4B1BE7F4-4345-403C-8A67-F5DE91DF4C86 + template <> inline constexpr guid guid_v{ 0x7F77EE9C,0xDC42,0x4E26,{ 0xA9,0x8D,0x78,0x50,0xDF,0x8E,0xC9,0x25 } }; // 7F77EE9C-DC42-4E26-A98D-7850DF8EC925 + template <> inline constexpr guid guid_v{ 0x0E09B478,0x600A,0x4274,{ 0xA1,0x4B,0x0B,0x67,0x23,0xD0,0xF4,0x8B } }; // 0E09B478-600A-4274-A14B-0B6723D0F48B + template <> inline constexpr guid guid_v{ 0xDD24BBA9,0xBC47,0x4463,{ 0xAA,0x90,0xC1,0x8B,0x7E,0x5F,0xFD,0xE1 } }; // DD24BBA9-BC47-4463-AA90-C18B7E5FFDE1 + template <> inline constexpr guid guid_v{ 0xC32B683D,0x0407,0x41BA,{ 0x89,0x46,0x8B,0x34,0x5A,0x5A,0x54,0x35 } }; // C32B683D-0407-41BA-8946-8B345A5A5435 + template <> inline constexpr guid guid_v{ 0xF8BA7C79,0x1FC8,0x4097,{ 0xAD,0x70,0xC0,0xFA,0x18,0xCC,0x00,0x50 } }; // F8BA7C79-1FC8-4097-AD70-C0FA18CC0050 + template <> inline constexpr guid guid_v{ 0x7BA2B41A,0xA3E2,0x405F,{ 0xB7,0x7B,0xA4,0x81,0x2C,0x23,0x8B,0x66 } }; // 7BA2B41A-A3E2-405F-B77B-A4812C238B66 + template <> inline constexpr guid guid_v{ 0xCD6AAFED,0x74E2,0x43B5,{ 0xB1,0x15,0x76,0x23,0x6C,0x33,0x79,0x1A } }; // CD6AAFED-74E2-43B5-B115-76236C33791A + template <> inline constexpr guid guid_v{ 0x558E727D,0xF633,0x49F9,{ 0x96,0x5A,0xAB,0xAA,0x1D,0xB7,0x09,0xBE } }; // 558E727D-F633-49F9-965A-ABAA1DB709BE + template <> inline constexpr guid guid_v{ 0xEF9DC2BC,0x9317,0x4696,{ 0xB0,0x51,0x2B,0xAD,0x64,0x31,0x77,0xB5 } }; // EF9DC2BC-9317-4696-B051-2BAD643177B5 + template <> inline constexpr guid guid_v{ 0xD405B37C,0x6F0E,0x4661,{ 0xB8,0xEE,0xD4,0x87,0xBA,0x97,0x52,0xD5 } }; // D405B37C-6F0E-4661-B8EE-D487BA9752D5 + template <> inline constexpr guid guid_v{ 0x72B41319,0xBBFB,0x46A3,{ 0x93,0x72,0x9C,0x9C,0x74,0x4B,0x94,0x38 } }; // 72B41319-BBFB-46A3-9372-9C9C744B9438 + template <> inline constexpr guid guid_v{ 0x381A83CB,0x6FFF,0x499B,{ 0x8D,0x64,0x28,0x85,0xDF,0xC1,0x24,0x9E } }; // 381A83CB-6FFF-499B-8D64-2885DFC1249E + template <> inline constexpr guid guid_v{ 0x3C841218,0x2123,0x4FC5,{ 0x90,0x82,0x2F,0x88,0x3F,0x77,0xBD,0xF5 } }; // 3C841218-2123-4FC5-9082-2F883F77BDF5 + template <> inline constexpr guid guid_v{ 0xEE0660DA,0x031B,0x4FEB,{ 0xBD,0x9B,0x92,0xE0,0xA0,0xA8,0xD2,0x99 } }; // EE0660DA-031B-4FEB-BD9B-92E0A0A8D299 + template <> inline constexpr guid guid_v{ 0x80035DB0,0x7448,0x4770,{ 0xAF,0xCF,0x2A,0x57,0x45,0x09,0x14,0xC5 } }; // 80035DB0-7448-4770-AFCF-2A57450914C5 + template <> inline constexpr guid guid_v{ 0xCFE537FD,0xF86A,0x4446,{ 0xBF,0x4D,0xC8,0xE7,0x92,0xB7,0xB4,0xB3 } }; // CFE537FD-F86A-4446-BF4D-C8E792B7B4B3 + template <> inline constexpr guid guid_v{ 0xE0CAA086,0xAE65,0x414C,{ 0xB0,0x10,0x8B,0xC5,0x5F,0x00,0xE6,0x92 } }; // E0CAA086-AE65-414C-B010-8BC55F00E692 + template <> inline constexpr guid guid_v{ 0x5D1DC478,0x4500,0x4531,{ 0xB3,0xF4,0x77,0x7A,0x71,0x49,0x1F,0x7F } }; // 5D1DC478-4500-4531-B3F4-777A71491F7F + template <> inline constexpr guid guid_v{ 0xC75A9405,0xC801,0x412A,{ 0x83,0x5B,0x83,0xFC,0x0E,0x62,0x2A,0x8E } }; // C75A9405-C801-412A-835B-83FC0E622A8E + template <> inline constexpr guid guid_v{ 0x85A1DEDA,0xCAB6,0x4CC0,{ 0x8B,0xE3,0x60,0x35,0xF4,0xDE,0x25,0x91 } }; // 85A1DEDA-CAB6-4CC0-8BE3-6035F4DE2591 + template <> inline constexpr guid guid_v{ 0xFA419A79,0x1BBE,0x46C5,{ 0xAE,0x1F,0x8E,0xE6,0x9F,0xB3,0xC2,0xC7 } }; // FA419A79-1BBE-46C5-AE1F-8EE69FB3C2C7 + template <> inline constexpr guid guid_v{ 0x2744E9B9,0xA7E3,0x4F16,{ 0xBA,0xC4,0x79,0x14,0xEB,0xC0,0x83,0x01 } }; // 2744E9B9-A7E3-4F16-BAC4-7914EBC08301 + template <> inline constexpr guid guid_v{ 0x40600D58,0x3B61,0x4BB2,{ 0x98,0x9F,0xFC,0x65,0x60,0x8B,0x6C,0xAB } }; // 40600D58-3B61-4BB2-989F-FC65608B6CAB + template <> inline constexpr guid guid_v{ 0xBD4F8897,0x1423,0x4C3E,{ 0x82,0xC5,0x0F,0xB1,0xAF,0x94,0xF7,0x15 } }; // BD4F8897-1423-4C3E-82C5-0FB1AF94F715 + template <> inline constexpr guid guid_v{ 0x82449B9F,0x7322,0x4C0B,{ 0xB0,0x3B,0x3E,0x69,0xA4,0x82,0x60,0xC5 } }; // 82449B9F-7322-4C0B-B03B-3E69A48260C5 + template <> inline constexpr guid guid_v{ 0x0ED653BC,0xB736,0x49C3,{ 0x83,0x0B,0x76,0x4A,0x38,0x45,0x31,0x3A } }; // 0ED653BC-B736-49C3-830B-764A3845313A + template <> inline constexpr guid guid_v{ 0xC4D22F5C,0x3C1C,0x4444,{ 0xB6,0xB9,0x77,0x8B,0x04,0x22,0xD4,0x1A } }; // C4D22F5C-3C1C-4444-B6B9-778B0422D41A + template <> inline constexpr guid guid_v{ 0x8C530A78,0xE0AE,0x4E1A,{ 0xA8,0xC8,0xE2,0x3F,0x98,0x2A,0x93,0x7B } }; // 8C530A78-E0AE-4E1A-A8C8-E23F982A937B + template <> inline constexpr guid guid_v{ 0x578CD1B9,0x90E2,0x4E60,{ 0xAB,0xC4,0x87,0x40,0xB0,0x1F,0x61,0x96 } }; // 578CD1B9-90E2-4E60-ABC4-8740B01F6196 + template <> inline constexpr guid guid_v{ 0xF2810CEE,0x638B,0x46CF,{ 0x88,0x17,0x1D,0x11,0x1F,0xE9,0xD8,0xC4 } }; // F2810CEE-638B-46CF-8817-1D111FE9D8C4 + template <> inline constexpr guid guid_v{ 0xD1636099,0x65DF,0x45AE,{ 0x8C,0xEF,0xDC,0x0B,0x53,0xFD,0xC2,0xBB } }; // D1636099-65DF-45AE-8CEF-DC0B53FDC2BB + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreak; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakEndedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakSchedule; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakSkippedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaBreakStartedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaItemDisplayProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackItem; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackItemError; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackItemOpenedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackList; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlayer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IMediaPlayerSurface; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IPlaybackMediaMarker; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + virtual int32_t __stdcall add_MessageReceivedFromBackground(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceivedFromBackground(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MessageReceivedFromForeground(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceivedFromForeground(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall SendMessageToBackground(void*) noexcept = 0; + virtual int32_t __stdcall SendMessageToForeground(void*) noexcept = 0; + virtual int32_t __stdcall IsMediaPlaying(bool*) noexcept = 0; + virtual int32_t __stdcall Shutdown() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NewItem(void**) noexcept = 0; + virtual int32_t __stdcall get_OldItem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlaybackList(void**) noexcept = 0; + virtual int32_t __stdcall get_PresentationPosition(void**) noexcept = 0; + virtual int32_t __stdcall get_InsertionMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CustomProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_CanStart(bool*) noexcept = 0; + virtual int32_t __stdcall put_CanStart(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaBreak(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPresentationPosition(int32_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_BreaksSeekedOver(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BreaksSeekedOver(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BreakStarted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BreakStarted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BreakEnded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BreakEnded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BreakSkipped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BreakSkipped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_CurrentBreak(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackSession(void**) noexcept = 0; + virtual int32_t __stdcall PlayBreak(void*) noexcept = 0; + virtual int32_t __stdcall SkipCurrentBreak() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ScheduleChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ScheduleChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall InsertMidrollBreak(void*) noexcept = 0; + virtual int32_t __stdcall RemoveMidrollBreak(void*) noexcept = 0; + virtual int32_t __stdcall get_MidrollBreaks(void**) noexcept = 0; + virtual int32_t __stdcall put_PrerollBreak(void*) noexcept = 0; + virtual int32_t __stdcall get_PrerollBreak(void**) noexcept = 0; + virtual int32_t __stdcall put_PostrollBreak(void*) noexcept = 0; + virtual int32_t __stdcall get_PostrollBreak(void**) noexcept = 0; + virtual int32_t __stdcall get_PlaybackItem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SeekedOverBreaks(void**) noexcept = 0; + virtual int32_t __stdcall get_OldPosition(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_NewPosition(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaBreak(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaBreak(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentItem(void**) noexcept = 0; + virtual int32_t __stdcall SetPlaybackSource(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_MusicProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; + virtual int32_t __stdcall ClearAll() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_MediaPlayer(void**) noexcept = 0; + virtual int32_t __stdcall get_PlayBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_PauseBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_NextBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_PreviousBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_FastForwardBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_RewindBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_ShuffleBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoRepeatModeBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_PositionBehavior(void**) noexcept = 0; + virtual int32_t __stdcall get_RateBehavior(void**) noexcept = 0; + virtual int32_t __stdcall add_PlayReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlayReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PauseReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PauseReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NextReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NextReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PreviousReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PreviousReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_FastForwardReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_FastForwardReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RewindReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RewindReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ShuffleReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ShuffleReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AutoRepeatModeReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AutoRepeatModeReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PositionReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RateReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RateReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_AutoRepeatMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CommandManager(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_EnablingRule(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_EnablingRule(int32_t) noexcept = 0; + virtual int32_t __stdcall add_IsEnabledChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsEnabledChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_PlaybackRate(double*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Handled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsShuffleRequested(bool*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AudioTracksChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AudioTracksChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VideoTracksChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoTracksChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TimedMetadataTracksChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TimedMetadataTracksChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioTracks(void**) noexcept = 0; + virtual int32_t __stdcall get_VideoTracks(void**) noexcept = 0; + virtual int32_t __stdcall get_TimedMetadataTracks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BreakSchedule(void**) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_DurationLimit(void**) noexcept = 0; + virtual int32_t __stdcall get_CanSkip(bool*) noexcept = 0; + virtual int32_t __stdcall put_CanSkip(bool) noexcept = 0; + virtual int32_t __stdcall GetDisplayProperties(void**) noexcept = 0; + virtual int32_t __stdcall ApplyDisplayProperties(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsDisabledInPlaybackList(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsDisabledInPlaybackList(bool) noexcept = 0; + virtual int32_t __stdcall get_TotalDownloadProgress(double*) noexcept = 0; + virtual int32_t __stdcall get_AutoLoadedDisplayProperties(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoLoadedDisplayProperties(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithStartTime(void*, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithStartTimeAndDurationLimit(void*, int64_t, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Item(void**) noexcept = 0; + virtual int32_t __stdcall get_Error(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Item(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindFromMediaSource(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ItemFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CurrentItemChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentItemChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ItemOpened(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ItemOpened(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Items(void**) noexcept = 0; + virtual int32_t __stdcall get_AutoRepeatEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoRepeatEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ShuffleEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShuffleEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentItem(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentItemIndex(uint32_t*) noexcept = 0; + virtual int32_t __stdcall MoveNext(void**) noexcept = 0; + virtual int32_t __stdcall MovePrevious(void**) noexcept = 0; + virtual int32_t __stdcall MoveTo(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPrefetchTime(void**) noexcept = 0; + virtual int32_t __stdcall put_MaxPrefetchTime(void*) noexcept = 0; + virtual int32_t __stdcall get_StartingItem(void**) noexcept = 0; + virtual int32_t __stdcall put_StartingItem(void*) noexcept = 0; + virtual int32_t __stdcall get_ShuffledItems(void**) noexcept = 0; + virtual int32_t __stdcall SetShuffledItems(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxPlayedItemsToKeepOpen(void**) noexcept = 0; + virtual int32_t __stdcall put_MaxPlayedItemsToKeepOpen(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PlaybackStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackRateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackRateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SeekCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SeekCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BufferingStarted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferingStarted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BufferingEnded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferingEnded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BufferingProgressChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferingProgressChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DownloadProgressChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DownloadProgressChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NaturalDurationChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NaturalDurationChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PositionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_NaturalVideoSizeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NaturalVideoSizeChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_MediaPlayer(void**) noexcept = 0; + virtual int32_t __stdcall get_NaturalDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int64_t) noexcept = 0; + virtual int32_t __stdcall get_PlaybackState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanSeek(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanPause(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsProtected(bool*) noexcept = 0; + virtual int32_t __stdcall get_PlaybackRate(double*) noexcept = 0; + virtual int32_t __stdcall put_PlaybackRate(double) noexcept = 0; + virtual int32_t __stdcall get_BufferingProgress(double*) noexcept = 0; + virtual int32_t __stdcall get_DownloadProgress(double*) noexcept = 0; + virtual int32_t __stdcall get_NaturalVideoHeight(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NaturalVideoWidth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NormalizedSourceRect(winrt::Windows::Foundation::Rect*) noexcept = 0; + virtual int32_t __stdcall put_NormalizedSourceRect(winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall get_StereoscopicVideoPackingMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StereoscopicVideoPackingMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_BufferedRangesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferedRangesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlayedRangesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlayedRangesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SeekableRangesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SeekableRangesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SupportedPlaybackRatesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SupportedPlaybackRatesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_SphericalVideoProjection(void**) noexcept = 0; + virtual int32_t __stdcall get_IsMirroring(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsMirroring(bool) noexcept = 0; + virtual int32_t __stdcall GetBufferedRanges(void**) noexcept = 0; + virtual int32_t __stdcall GetPlayedRanges(void**) noexcept = 0; + virtual int32_t __stdcall GetSeekableRanges(void**) noexcept = 0; + virtual int32_t __stdcall IsSupportedPlaybackRateRange(double, double, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlaybackRotation(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PlaybackRotation(int32_t) noexcept = 0; + virtual int32_t __stdcall GetOutputDegradationPolicyState(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPlaybackInterruption(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VideoConstrictionReason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_FrameFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_FrameFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_HorizontalFieldOfViewInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall put_HorizontalFieldOfViewInDegrees(double) noexcept = 0; + virtual int32_t __stdcall get_ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall put_ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + virtual int32_t __stdcall get_ProjectionMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ProjectionMode(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PresentationModeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PresentationModeChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetPresentationMode(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetPresentationMode(uint32_t, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AutoPlay(bool*) noexcept = 0; + virtual int32_t __stdcall put_AutoPlay(bool) noexcept = 0; + virtual int32_t __stdcall get_NaturalDuration(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Position(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int64_t) noexcept = 0; + virtual int32_t __stdcall get_BufferingProgress(double*) noexcept = 0; + virtual int32_t __stdcall get_CurrentState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CanSeek(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanPause(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLoopingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsLoopingEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsProtected(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsMuted(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsMuted(bool) noexcept = 0; + virtual int32_t __stdcall get_PlaybackRate(double*) noexcept = 0; + virtual int32_t __stdcall put_PlaybackRate(double) noexcept = 0; + virtual int32_t __stdcall get_Volume(double*) noexcept = 0; + virtual int32_t __stdcall put_Volume(double) noexcept = 0; + virtual int32_t __stdcall get_PlaybackMediaMarkers(void**) noexcept = 0; + virtual int32_t __stdcall add_MediaOpened(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaOpened(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MediaEnded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaEnded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MediaFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CurrentStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackMediaMarkerReached(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackMediaMarkerReached(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MediaPlayerRateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MediaPlayerRateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VolumeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VolumeChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SeekCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SeekCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BufferingStarted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferingStarted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_BufferingEnded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_BufferingEnded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Play() noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall SetUriSource(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SystemMediaTransportControls(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioCategory(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AudioCategory(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AudioDeviceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AudioDeviceType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_IsMutedChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsMutedChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_AudioBalance(double*) noexcept = 0; + virtual int32_t __stdcall put_AudioBalance(double) noexcept = 0; + virtual int32_t __stdcall get_RealTimePlayback(bool*) noexcept = 0; + virtual int32_t __stdcall put_RealTimePlayback(bool) noexcept = 0; + virtual int32_t __stdcall get_StereoscopicVideoRenderMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_StereoscopicVideoRenderMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_BreakManager(void**) noexcept = 0; + virtual int32_t __stdcall get_CommandManager(void**) noexcept = 0; + virtual int32_t __stdcall get_AudioDevice(void**) noexcept = 0; + virtual int32_t __stdcall put_AudioDevice(void*) noexcept = 0; + virtual int32_t __stdcall get_TimelineController(void**) noexcept = 0; + virtual int32_t __stdcall put_TimelineController(void*) noexcept = 0; + virtual int32_t __stdcall get_TimelineControllerPositionOffset(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TimelineControllerPositionOffset(int64_t) noexcept = 0; + virtual int32_t __stdcall get_PlaybackSession(void**) noexcept = 0; + virtual int32_t __stdcall StepForwardOneFrame() noexcept = 0; + virtual int32_t __stdcall StepBackwardOneFrame() noexcept = 0; + virtual int32_t __stdcall GetAsCastingSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetSurfaceSize(winrt::Windows::Foundation::Size) noexcept = 0; + virtual int32_t __stdcall GetSurface(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_VideoFrameAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VideoFrameAvailable(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_IsVideoFrameServerEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsVideoFrameServerEnabled(bool) noexcept = 0; + virtual int32_t __stdcall CopyFrameToVideoSurface(void*) noexcept = 0; + virtual int32_t __stdcall CopyFrameToVideoSurfaceWithTargetRectangle(void*, winrt::Windows::Foundation::Rect) noexcept = 0; + virtual int32_t __stdcall CopyFrameToStereoscopicVideoSurfaces(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SubtitleFrameChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SubtitleFrameChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall RenderSubtitlesToSurface(void*, bool*) noexcept = 0; + virtual int32_t __stdcall RenderSubtitlesToSurfaceWithTargetRectangle(void*, winrt::Windows::Foundation::Rect, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioStateMonitor(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAudioEffect(void*, bool, void*) noexcept = 0; + virtual int32_t __stdcall RemoveAllEffects() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddVideoEffect(void*, bool, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Error(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_ErrorMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NewRate(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtectionManager(void**) noexcept = 0; + virtual int32_t __stdcall put_ProtectionManager(void*) noexcept = 0; + virtual int32_t __stdcall SetFileSource(void*) noexcept = 0; + virtual int32_t __stdcall SetStreamSource(void*) noexcept = 0; + virtual int32_t __stdcall SetMediaSource(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall put_Source(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CompositionSurface(void**) noexcept = 0; + virtual int32_t __stdcall get_Compositor(void**) noexcept = 0; + virtual int32_t __stdcall get_MediaPlayer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Time(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaMarkerType(void**) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromTime(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall Create(int64_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlaybackMediaMarker(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + virtual int32_t __stdcall Insert(void*) noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Track(void**) noexcept = 0; + virtual int32_t __stdcall get_OldPresentationMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewPresentationMode(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics + { + [[nodiscard]] auto Current() const; + auto MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value) const; + using MessageReceivedFromBackground_revoker = impl::event_revoker::remove_MessageReceivedFromBackground>; + [[nodiscard]] auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto MessageReceivedFromBackground(winrt::event_token const& token) const noexcept; + auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value) const; + using MessageReceivedFromForeground_revoker = impl::event_revoker::remove_MessageReceivedFromForeground>; + [[nodiscard]] auto MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto MessageReceivedFromForeground(winrt::event_token const& token) const noexcept; + auto SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; + auto SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; + auto IsMediaPlaying() const; + auto Shutdown() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics; + }; + template + struct consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs + { + [[nodiscard]] auto NewItem() const; + [[nodiscard]] auto OldItem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs; + }; + template + struct consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2 + { + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2; + }; + template + struct consume_Windows_Media_Playback_IMediaBreak + { + [[nodiscard]] auto PlaybackList() const; + [[nodiscard]] auto PresentationPosition() const; + [[nodiscard]] auto InsertionMethod() const; + [[nodiscard]] auto CustomProperties() const; + [[nodiscard]] auto CanStart() const; + auto CanStart(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreak; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakEndedEventArgs + { + [[nodiscard]] auto MediaBreak() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakEndedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakFactory + { + auto Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const; + auto CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakFactory; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakManager + { + auto BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BreaksSeekedOver_revoker = impl::event_revoker::remove_BreaksSeekedOver>; + [[nodiscard]] auto BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreaksSeekedOver(winrt::event_token const& token) const noexcept; + auto BreakStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BreakStarted_revoker = impl::event_revoker::remove_BreakStarted>; + [[nodiscard]] auto BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakStarted(winrt::event_token const& token) const noexcept; + auto BreakEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BreakEnded_revoker = impl::event_revoker::remove_BreakEnded>; + [[nodiscard]] auto BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakEnded(winrt::event_token const& token) const noexcept; + auto BreakSkipped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using BreakSkipped_revoker = impl::event_revoker::remove_BreakSkipped>; + [[nodiscard]] auto BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakSkipped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CurrentBreak() const; + [[nodiscard]] auto PlaybackSession() const; + auto PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + auto SkipCurrentBreak() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakManager; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakSchedule + { + auto ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ScheduleChanged_revoker = impl::event_revoker::remove_ScheduleChanged>; + [[nodiscard]] auto ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScheduleChanged(winrt::event_token const& token) const noexcept; + auto InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; + auto RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; + [[nodiscard]] auto MidrollBreaks() const; + auto PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + [[nodiscard]] auto PrerollBreak() const; + auto PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + [[nodiscard]] auto PostrollBreak() const; + [[nodiscard]] auto PlaybackItem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakSchedule; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs + { + [[nodiscard]] auto SeekedOverBreaks() const; + [[nodiscard]] auto OldPosition() const; + [[nodiscard]] auto NewPosition() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs + { + [[nodiscard]] auto MediaBreak() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaBreakStartedEventArgs + { + [[nodiscard]] auto MediaBreak() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaBreakStartedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaEnginePlaybackSource + { + [[nodiscard]] auto CurrentItem() const; + auto SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaEnginePlaybackSource; + }; + template + struct consume_Windows_Media_Playback_IMediaItemDisplayProperties + { + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::MediaPlaybackType const& value) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + auto ClearAll() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaItemDisplayProperties; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManager + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto PlayBehavior() const; + [[nodiscard]] auto PauseBehavior() const; + [[nodiscard]] auto NextBehavior() const; + [[nodiscard]] auto PreviousBehavior() const; + [[nodiscard]] auto FastForwardBehavior() const; + [[nodiscard]] auto RewindBehavior() const; + [[nodiscard]] auto ShuffleBehavior() const; + [[nodiscard]] auto AutoRepeatModeBehavior() const; + [[nodiscard]] auto PositionBehavior() const; + [[nodiscard]] auto RateBehavior() const; + auto PlayReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlayReceived_revoker = impl::event_revoker::remove_PlayReceived>; + [[nodiscard]] auto PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlayReceived(winrt::event_token const& token) const noexcept; + auto PauseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PauseReceived_revoker = impl::event_revoker::remove_PauseReceived>; + [[nodiscard]] auto PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PauseReceived(winrt::event_token const& token) const noexcept; + auto NextReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using NextReceived_revoker = impl::event_revoker::remove_NextReceived>; + [[nodiscard]] auto NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NextReceived(winrt::event_token const& token) const noexcept; + auto PreviousReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PreviousReceived_revoker = impl::event_revoker::remove_PreviousReceived>; + [[nodiscard]] auto PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PreviousReceived(winrt::event_token const& token) const noexcept; + auto FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using FastForwardReceived_revoker = impl::event_revoker::remove_FastForwardReceived>; + [[nodiscard]] auto FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FastForwardReceived(winrt::event_token const& token) const noexcept; + auto RewindReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RewindReceived_revoker = impl::event_revoker::remove_RewindReceived>; + [[nodiscard]] auto RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RewindReceived(winrt::event_token const& token) const noexcept; + auto ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ShuffleReceived_revoker = impl::event_revoker::remove_ShuffleReceived>; + [[nodiscard]] auto ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShuffleReceived(winrt::event_token const& token) const noexcept; + auto AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AutoRepeatModeReceived_revoker = impl::event_revoker::remove_AutoRepeatModeReceived>; + [[nodiscard]] auto AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoRepeatModeReceived(winrt::event_token const& token) const noexcept; + auto PositionReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PositionReceived_revoker = impl::event_revoker::remove_PositionReceived>; + [[nodiscard]] auto PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionReceived(winrt::event_token const& token) const noexcept; + auto RateReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RateReceived_revoker = impl::event_revoker::remove_RateReceived>; + [[nodiscard]] auto RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RateReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManager; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto AutoRepeatMode() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior + { + [[nodiscard]] auto CommandManager() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto EnablingRule() const; + auto EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const; + auto IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsEnabledChanged_revoker = impl::event_revoker::remove_IsEnabledChanged>; + [[nodiscard]] auto IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsEnabledChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto Position() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs + { + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto IsShuffleRequested() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItem + { + auto AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AudioTracksChanged_revoker = impl::event_revoker::remove_AudioTracksChanged>; + [[nodiscard]] auto AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioTracksChanged(winrt::event_token const& token) const noexcept; + auto VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VideoTracksChanged_revoker = impl::event_revoker::remove_VideoTracksChanged>; + [[nodiscard]] auto VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoTracksChanged(winrt::event_token const& token) const noexcept; + auto TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TimedMetadataTracksChanged_revoker = impl::event_revoker::remove_TimedMetadataTracksChanged>; + [[nodiscard]] auto TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto AudioTracks() const; + [[nodiscard]] auto VideoTracks() const; + [[nodiscard]] auto TimedMetadataTracks() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItem; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItem2 + { + [[nodiscard]] auto BreakSchedule() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto DurationLimit() const; + [[nodiscard]] auto CanSkip() const; + auto CanSkip(bool value) const; + auto GetDisplayProperties() const; + auto ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItem2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItem3 + { + [[nodiscard]] auto IsDisabledInPlaybackList() const; + auto IsDisabledInPlaybackList(bool value) const; + [[nodiscard]] auto TotalDownloadProgress() const; + [[nodiscard]] auto AutoLoadedDisplayProperties() const; + auto AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItem3; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemError + { + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemError; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemFactory + { + auto Create(winrt::Windows::Media::Core::MediaSource const& source) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemFactory; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemFactory2 + { + auto CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const; + auto CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemFactory2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs + { + [[nodiscard]] auto Item() const; + [[nodiscard]] auto Error() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs + { + [[nodiscard]] auto Item() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackItemStatics + { + auto FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackItemStatics; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackList + { + auto ItemFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemFailed_revoker = impl::event_revoker::remove_ItemFailed>; + [[nodiscard]] auto ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemFailed(winrt::event_token const& token) const noexcept; + auto CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CurrentItemChanged_revoker = impl::event_revoker::remove_CurrentItemChanged>; + [[nodiscard]] auto CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentItemChanged(winrt::event_token const& token) const noexcept; + auto ItemOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ItemOpened_revoker = impl::event_revoker::remove_ItemOpened>; + [[nodiscard]] auto ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto AutoRepeatEnabled() const; + auto AutoRepeatEnabled(bool value) const; + [[nodiscard]] auto ShuffleEnabled() const; + auto ShuffleEnabled(bool value) const; + [[nodiscard]] auto CurrentItem() const; + [[nodiscard]] auto CurrentItemIndex() const; + auto MoveNext() const; + auto MovePrevious() const; + auto MoveTo(uint32_t itemIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackList; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackList2 + { + [[nodiscard]] auto MaxPrefetchTime() const; + auto MaxPrefetchTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto StartingItem() const; + auto StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const; + [[nodiscard]] auto ShuffledItems() const; + auto SetShuffledItems(param::iterable const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackList2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackList3 + { + [[nodiscard]] auto MaxPlayedItemsToKeepOpen() const; + auto MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackList3; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSession + { + auto PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PlaybackStateChanged_revoker = impl::event_revoker::remove_PlaybackStateChanged>; + [[nodiscard]] auto PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackStateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PlaybackRateChanged_revoker = impl::event_revoker::remove_PlaybackRateChanged>; + [[nodiscard]] auto PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackRateChanged(winrt::event_token const& token) const noexcept; + auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SeekCompleted_revoker = impl::event_revoker::remove_SeekCompleted>; + [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekCompleted(winrt::event_token const& token) const noexcept; + auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferingStarted_revoker = impl::event_revoker::remove_BufferingStarted>; + [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingStarted(winrt::event_token const& token) const noexcept; + auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferingEnded_revoker = impl::event_revoker::remove_BufferingEnded>; + [[nodiscard]] auto BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingEnded(winrt::event_token const& token) const noexcept; + auto BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferingProgressChanged_revoker = impl::event_revoker::remove_BufferingProgressChanged>; + [[nodiscard]] auto BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingProgressChanged(winrt::event_token const& token) const noexcept; + auto DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using DownloadProgressChanged_revoker = impl::event_revoker::remove_DownloadProgressChanged>; + [[nodiscard]] auto DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DownloadProgressChanged(winrt::event_token const& token) const noexcept; + auto NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using NaturalDurationChanged_revoker = impl::event_revoker::remove_NaturalDurationChanged>; + [[nodiscard]] auto NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto NaturalDurationChanged(winrt::event_token const& token) const noexcept; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; + auto NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using NaturalVideoSizeChanged_revoker = impl::event_revoker::remove_NaturalVideoSizeChanged>; + [[nodiscard]] auto NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto NaturalDuration() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PlaybackState() const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto CanPause() const; + [[nodiscard]] auto IsProtected() const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + [[nodiscard]] auto BufferingProgress() const; + [[nodiscard]] auto DownloadProgress() const; + [[nodiscard]] auto NaturalVideoHeight() const; + [[nodiscard]] auto NaturalVideoWidth() const; + [[nodiscard]] auto NormalizedSourceRect() const; + auto NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto StereoscopicVideoPackingMode() const; + auto StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSession; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSession2 + { + auto BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferedRangesChanged_revoker = impl::event_revoker::remove_BufferedRangesChanged>; + [[nodiscard]] auto BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferedRangesChanged(winrt::event_token const& token) const noexcept; + auto PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PlayedRangesChanged_revoker = impl::event_revoker::remove_PlayedRangesChanged>; + [[nodiscard]] auto PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlayedRangesChanged(winrt::event_token const& token) const noexcept; + auto SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SeekableRangesChanged_revoker = impl::event_revoker::remove_SeekableRangesChanged>; + [[nodiscard]] auto SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekableRangesChanged(winrt::event_token const& token) const noexcept; + auto SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SupportedPlaybackRatesChanged_revoker = impl::event_revoker::remove_SupportedPlaybackRatesChanged>; + [[nodiscard]] auto SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SphericalVideoProjection() const; + [[nodiscard]] auto IsMirroring() const; + auto IsMirroring(bool value) const; + auto GetBufferedRanges() const; + auto GetPlayedRanges() const; + auto GetSeekableRanges() const; + auto IsSupportedPlaybackRateRange(double rate1, double rate2) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSession2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSession3 + { + [[nodiscard]] auto PlaybackRotation() const; + auto PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; + auto GetOutputDegradationPolicyState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSession3; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs + { + [[nodiscard]] auto IsPlaybackInterruption() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState + { + [[nodiscard]] auto VideoConstrictionReason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSource + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSource; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto FrameFormat() const; + auto FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; + [[nodiscard]] auto HorizontalFieldOfViewInDegrees() const; + auto HorizontalFieldOfViewInDegrees(double value) const; + [[nodiscard]] auto ViewOrientation() const; + auto ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto ProjectionMode() const; + auto ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection; + }; + template + struct consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList + { + auto PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PresentationModeChanged_revoker = impl::event_revoker::remove_PresentationModeChanged>; + [[nodiscard]] auto PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PresentationModeChanged(winrt::event_token const& token) const noexcept; + auto GetPresentationMode(uint32_t index) const; + auto SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer + { + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + [[nodiscard]] auto NaturalDuration() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BufferingProgress() const; + [[nodiscard]] auto CurrentState() const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto CanPause() const; + [[nodiscard]] auto IsLoopingEnabled() const; + auto IsLoopingEnabled(bool value) const; + [[nodiscard]] auto IsProtected() const; + [[nodiscard]] auto IsMuted() const; + auto IsMuted(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; + [[nodiscard]] auto PlaybackMediaMarkers() const; + auto MediaOpened(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MediaOpened_revoker = impl::event_revoker::remove_MediaOpened>; + [[nodiscard]] auto MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaOpened(winrt::event_token const& token) const noexcept; + auto MediaEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MediaEnded_revoker = impl::event_revoker::remove_MediaEnded>; + [[nodiscard]] auto MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaEnded(winrt::event_token const& token) const noexcept; + auto MediaFailed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MediaFailed_revoker = impl::event_revoker::remove_MediaFailed>; + [[nodiscard]] auto MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaFailed(winrt::event_token const& token) const noexcept; + auto CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using CurrentStateChanged_revoker = impl::event_revoker::remove_CurrentStateChanged>; + [[nodiscard]] auto CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CurrentStateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using PlaybackMediaMarkerReached_revoker = impl::event_revoker::remove_PlaybackMediaMarkerReached>; + [[nodiscard]] auto PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept; + auto MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MediaPlayerRateChanged_revoker = impl::event_revoker::remove_MediaPlayerRateChanged>; + [[nodiscard]] auto MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaPlayerRateChanged(winrt::event_token const& token) const noexcept; + auto VolumeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using VolumeChanged_revoker = impl::event_revoker::remove_VolumeChanged>; + [[nodiscard]] auto VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VolumeChanged(winrt::event_token const& token) const noexcept; + auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SeekCompleted_revoker = impl::event_revoker::remove_SeekCompleted>; + [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekCompleted(winrt::event_token const& token) const noexcept; + auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferingStarted_revoker = impl::event_revoker::remove_BufferingStarted>; + [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingStarted(winrt::event_token const& token) const noexcept; + auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using BufferingEnded_revoker = impl::event_revoker::remove_BufferingEnded>; + [[nodiscard]] auto BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingEnded(winrt::event_token const& token) const noexcept; + auto Play() const; + auto Pause() const; + auto SetUriSource(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer2 + { + [[nodiscard]] auto SystemMediaTransportControls() const; + [[nodiscard]] auto AudioCategory() const; + auto AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const; + [[nodiscard]] auto AudioDeviceType() const; + auto AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer3 + { + auto IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using IsMutedChanged_revoker = impl::event_revoker::remove_IsMutedChanged>; + [[nodiscard]] auto IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto IsMutedChanged(winrt::event_token const& token) const noexcept; + auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using SourceChanged_revoker = impl::event_revoker::remove_SourceChanged>; + [[nodiscard]] auto SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SourceChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AudioBalance() const; + auto AudioBalance(double value) const; + [[nodiscard]] auto RealTimePlayback() const; + auto RealTimePlayback(bool value) const; + [[nodiscard]] auto StereoscopicVideoRenderMode() const; + auto StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const; + [[nodiscard]] auto BreakManager() const; + [[nodiscard]] auto CommandManager() const; + [[nodiscard]] auto AudioDevice() const; + auto AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; + [[nodiscard]] auto TimelineController() const; + auto TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const; + [[nodiscard]] auto TimelineControllerPositionOffset() const; + auto TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PlaybackSession() const; + auto StepForwardOneFrame() const; + auto StepBackwardOneFrame() const; + auto GetAsCastingSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer3; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer4 + { + auto SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const; + auto GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer4; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer5 + { + auto VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using VideoFrameAvailable_revoker = impl::event_revoker::remove_VideoFrameAvailable>; + [[nodiscard]] auto VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameAvailable(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsVideoFrameServerEnabled() const; + auto IsVideoFrameServerEnabled(bool value) const; + auto CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; + auto CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; + auto CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer5; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer6 + { + auto SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SubtitleFrameChanged_revoker = impl::event_revoker::remove_SubtitleFrameChanged>; + [[nodiscard]] auto SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SubtitleFrameChanged(winrt::event_token const& token) const noexcept; + auto RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; + auto RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer6; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayer7 + { + [[nodiscard]] auto AudioStateMonitor() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayer7; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs + { + [[nodiscard]] auto Data() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerEffects + { + auto AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RemoveAllEffects() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerEffects; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerEffects2 + { + auto AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerEffects2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs + { + [[nodiscard]] auto Error() const; + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto ErrorMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs + { + [[nodiscard]] auto NewRate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerSource + { + [[nodiscard]] auto ProtectionManager() const; + auto ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; + auto SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const; + auto SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerSource; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerSource2 + { + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerSource2; + }; + template + struct consume_Windows_Media_Playback_IMediaPlayerSurface + { + [[nodiscard]] auto CompositionSurface() const; + [[nodiscard]] auto Compositor() const; + [[nodiscard]] auto MediaPlayer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IMediaPlayerSurface; + }; + template + struct consume_Windows_Media_Playback_IPlaybackMediaMarker + { + [[nodiscard]] auto Time() const; + [[nodiscard]] auto MediaMarkerType() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IPlaybackMediaMarker; + }; + template + struct consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory + { + auto CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const; + auto Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory; + }; + template + struct consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs + { + [[nodiscard]] auto PlaybackMediaMarker() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs; + }; + template + struct consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence + { + [[nodiscard]] auto Size() const; + auto Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const; + auto Clear() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence; + }; + template + struct consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs + { + [[nodiscard]] auto Track() const; + [[nodiscard]] auto OldPresentationMode() const; + [[nodiscard]] auto NewPresentationMode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1f0e2b9a6927c887d8a84ec976fe46b0aed9c6aa --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.1.h @@ -0,0 +1,478 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playback_1_H +#define WINRT_Windows_Media_Playback_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.Media.Playback.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + struct WINRT_IMPL_EMPTY_BASES IBackgroundMediaPlayerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundMediaPlayerStatics(std::nullptr_t = nullptr) noexcept {} + IBackgroundMediaPlayerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentMediaPlaybackItemChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentMediaPlaybackItemChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICurrentMediaPlaybackItemChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICurrentMediaPlaybackItemChangedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICurrentMediaPlaybackItemChangedEventArgs2(std::nullptr_t = nullptr) noexcept {} + ICurrentMediaPlaybackItemChangedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreak : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreak(std::nullptr_t = nullptr) noexcept {} + IMediaBreak(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakEndedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakEndedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaBreakEndedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakFactory(std::nullptr_t = nullptr) noexcept {} + IMediaBreakFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakManager(std::nullptr_t = nullptr) noexcept {} + IMediaBreakManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakSchedule : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakSchedule(std::nullptr_t = nullptr) noexcept {} + IMediaBreakSchedule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakSeekedOverEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakSeekedOverEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaBreakSeekedOverEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakSkippedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakSkippedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaBreakSkippedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaBreakStartedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaBreakStartedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaBreakStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaEnginePlaybackSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaEnginePlaybackSource(std::nullptr_t = nullptr) noexcept {} + IMediaEnginePlaybackSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaItemDisplayProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaItemDisplayProperties(std::nullptr_t = nullptr) noexcept {} + IMediaItemDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManager(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerCommandBehavior : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerCommandBehavior(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerCommandBehavior(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerFastForwardReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerFastForwardReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerFastForwardReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerNextReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerNextReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerNextReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerPauseReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerPauseReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerPauseReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerPlayReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerPlayReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerPlayReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerPositionReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerPositionReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerPositionReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerPreviousReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerPreviousReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerPreviousReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerRateReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerRateReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerRateReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerRewindReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerRewindReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerRewindReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackCommandManagerShuffleReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackCommandManagerShuffleReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackCommandManagerShuffleReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackItem(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItem2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackItem2(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItem2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItem3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackItem3(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItem3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackItemError(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackItemFactory(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackItemFactory2(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackItemFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemOpenedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackItemOpenedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemOpenedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackItemStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackItemStatics(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackItemStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackList(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackList2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackList2(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackList2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackList3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMediaPlaybackList3(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackList3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSession(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSession2(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSession3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSession3(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSessionBufferingStartedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSessionBufferingStartedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSessionBufferingStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSessionOutputDegradationPolicyState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSessionOutputDegradationPolicyState(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSessionOutputDegradationPolicyState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSource(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackSphericalVideoProjection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackSphericalVideoProjection(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackSphericalVideoProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlaybackTimedMetadataTrackList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlaybackTimedMetadataTrackList(std::nullptr_t = nullptr) noexcept {} + IMediaPlaybackTimedMetadataTrackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer2(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer3(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer4(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer5(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer6(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayer7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayer7(std::nullptr_t = nullptr) noexcept {} + IMediaPlayer7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerEffects : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerEffects(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerEffects(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerEffects2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerEffects2(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerEffects2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerRateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerRateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerRateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerSource(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerSource2(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaPlayerSurface : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaPlayerSurface(std::nullptr_t = nullptr) noexcept {} + IMediaPlayerSurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackMediaMarker : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackMediaMarker(std::nullptr_t = nullptr) noexcept {} + IPlaybackMediaMarker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackMediaMarkerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackMediaMarkerFactory(std::nullptr_t = nullptr) noexcept {} + IPlaybackMediaMarkerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackMediaMarkerReachedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackMediaMarkerReachedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlaybackMediaMarkerReachedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackMediaMarkerSequence : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require> + { + IPlaybackMediaMarkerSequence(std::nullptr_t = nullptr) noexcept {} + IPlaybackMediaMarkerSequence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITimedMetadataPresentationModeChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedMetadataPresentationModeChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ITimedMetadataPresentationModeChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a41af8d315c50f68e80ea8103d19d34af39d8dab --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playback.2.h @@ -0,0 +1,262 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playback_2_H +#define WINRT_Windows_Media_Playback_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Media.Core.1.h" +#include "winrt/impl/Windows.Media.Playback.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + struct BackgroundMediaPlayer + { + BackgroundMediaPlayer() = delete; + [[nodiscard]] static auto Current(); + static auto MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value); + using MessageReceivedFromBackground_revoker = impl::factory_event_revoker::remove_MessageReceivedFromBackground>; + [[nodiscard]] static auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto MessageReceivedFromBackground(winrt::event_token const& token); + static auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value); + using MessageReceivedFromForeground_revoker = impl::factory_event_revoker::remove_MessageReceivedFromForeground>; + [[nodiscard]] static auto MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + static auto MessageReceivedFromForeground(winrt::event_token const& token); + static auto SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value); + static auto SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value); + static auto IsMediaPlaying(); + static auto Shutdown(); + }; + struct WINRT_IMPL_EMPTY_BASES CurrentMediaPlaybackItemChangedEventArgs : winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs, + impl::require + { + CurrentMediaPlaybackItemChangedEventArgs(std::nullptr_t) noexcept {} + CurrentMediaPlaybackItemChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreak : winrt::Windows::Media::Playback::IMediaBreak + { + MediaBreak(std::nullptr_t) noexcept {} + MediaBreak(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreak(ptr, take_ownership_from_abi) {} + explicit MediaBreak(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod); + MediaBreak(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition); + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakEndedEventArgs : winrt::Windows::Media::Playback::IMediaBreakEndedEventArgs + { + MediaBreakEndedEventArgs(std::nullptr_t) noexcept {} + MediaBreakEndedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakEndedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakManager : winrt::Windows::Media::Playback::IMediaBreakManager + { + MediaBreakManager(std::nullptr_t) noexcept {} + MediaBreakManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakSchedule : winrt::Windows::Media::Playback::IMediaBreakSchedule + { + MediaBreakSchedule(std::nullptr_t) noexcept {} + MediaBreakSchedule(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakSchedule(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakSeekedOverEventArgs : winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs + { + MediaBreakSeekedOverEventArgs(std::nullptr_t) noexcept {} + MediaBreakSeekedOverEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakSkippedEventArgs : winrt::Windows::Media::Playback::IMediaBreakSkippedEventArgs + { + MediaBreakSkippedEventArgs(std::nullptr_t) noexcept {} + MediaBreakSkippedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakSkippedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaBreakStartedEventArgs : winrt::Windows::Media::Playback::IMediaBreakStartedEventArgs + { + MediaBreakStartedEventArgs(std::nullptr_t) noexcept {} + MediaBreakStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaBreakStartedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaItemDisplayProperties : winrt::Windows::Media::Playback::IMediaItemDisplayProperties + { + MediaItemDisplayProperties(std::nullptr_t) noexcept {} + MediaItemDisplayProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaItemDisplayProperties(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackAudioTrackList : winrt::Windows::Foundation::Collections::IVectorView, + impl::require + { + MediaPlaybackAudioTrackList(std::nullptr_t) noexcept {} + MediaPlaybackAudioTrackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManager : winrt::Windows::Media::Playback::IMediaPlaybackCommandManager + { + MediaPlaybackCommandManager(std::nullptr_t) noexcept {} + MediaPlaybackCommandManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs + { + MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerCommandBehavior : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior + { + MediaPlaybackCommandManagerCommandBehavior(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerCommandBehavior(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerFastForwardReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs + { + MediaPlaybackCommandManagerFastForwardReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerFastForwardReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerNextReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs + { + MediaPlaybackCommandManagerNextReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerNextReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerPauseReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs + { + MediaPlaybackCommandManagerPauseReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerPauseReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerPlayReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs + { + MediaPlaybackCommandManagerPlayReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerPlayReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerPositionReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs + { + MediaPlaybackCommandManagerPositionReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerPositionReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerPreviousReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs + { + MediaPlaybackCommandManagerPreviousReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerPreviousReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerRateReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs + { + MediaPlaybackCommandManagerRateReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerRateReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerRewindReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs + { + MediaPlaybackCommandManagerRewindReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerRewindReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackCommandManagerShuffleReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs + { + MediaPlaybackCommandManagerShuffleReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackCommandManagerShuffleReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackItem : winrt::Windows::Media::Playback::IMediaPlaybackItem, + impl::require + { + MediaPlaybackItem(std::nullptr_t) noexcept {} + MediaPlaybackItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackItem(ptr, take_ownership_from_abi) {} + explicit MediaPlaybackItem(winrt::Windows::Media::Core::MediaSource const& source); + MediaPlaybackItem(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime); + MediaPlaybackItem(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit); + static auto FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source); + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackItemError : winrt::Windows::Media::Playback::IMediaPlaybackItemError + { + MediaPlaybackItemError(std::nullptr_t) noexcept {} + MediaPlaybackItemError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackItemError(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackItemFailedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs + { + MediaPlaybackItemFailedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackItemFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackItemOpenedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackItemOpenedEventArgs + { + MediaPlaybackItemOpenedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackItemOpenedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackItemOpenedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackList : winrt::Windows::Media::Playback::IMediaPlaybackList, + impl::require + { + MediaPlaybackList(std::nullptr_t) noexcept {} + MediaPlaybackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackList(ptr, take_ownership_from_abi) {} + MediaPlaybackList(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackSession : winrt::Windows::Media::Playback::IMediaPlaybackSession, + impl::require + { + MediaPlaybackSession(std::nullptr_t) noexcept {} + MediaPlaybackSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackSessionBufferingStartedEventArgs : winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs + { + MediaPlaybackSessionBufferingStartedEventArgs(std::nullptr_t) noexcept {} + MediaPlaybackSessionBufferingStartedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackSessionOutputDegradationPolicyState : winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState + { + MediaPlaybackSessionOutputDegradationPolicyState(std::nullptr_t) noexcept {} + MediaPlaybackSessionOutputDegradationPolicyState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackSphericalVideoProjection : winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection + { + MediaPlaybackSphericalVideoProjection(std::nullptr_t) noexcept {} + MediaPlaybackSphericalVideoProjection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackTimedMetadataTrackList : winrt::Windows::Foundation::Collections::IVectorView, + impl::require + { + MediaPlaybackTimedMetadataTrackList(std::nullptr_t) noexcept {} + MediaPlaybackTimedMetadataTrackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlaybackVideoTrackList : winrt::Windows::Foundation::Collections::IVectorView, + impl::require + { + MediaPlaybackVideoTrackList(std::nullptr_t) noexcept {} + MediaPlaybackVideoTrackList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlayer : winrt::Windows::Media::Playback::IMediaPlayer, + impl::require + { + MediaPlayer(std::nullptr_t) noexcept {} + MediaPlayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlayer(ptr, take_ownership_from_abi) {} + MediaPlayer(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlayerDataReceivedEventArgs : winrt::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs + { + MediaPlayerDataReceivedEventArgs(std::nullptr_t) noexcept {} + MediaPlayerDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlayerFailedEventArgs : winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs + { + MediaPlayerFailedEventArgs(std::nullptr_t) noexcept {} + MediaPlayerFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlayerRateChangedEventArgs : winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs + { + MediaPlayerRateChangedEventArgs(std::nullptr_t) noexcept {} + MediaPlayerRateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MediaPlayerSurface : winrt::Windows::Media::Playback::IMediaPlayerSurface, + impl::require + { + MediaPlayerSurface(std::nullptr_t) noexcept {} + MediaPlayerSurface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IMediaPlayerSurface(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackMediaMarker : winrt::Windows::Media::Playback::IPlaybackMediaMarker + { + PlaybackMediaMarker(std::nullptr_t) noexcept {} + PlaybackMediaMarker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IPlaybackMediaMarker(ptr, take_ownership_from_abi) {} + explicit PlaybackMediaMarker(winrt::Windows::Foundation::TimeSpan const& value); + PlaybackMediaMarker(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text); + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackMediaMarkerReachedEventArgs : winrt::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs + { + PlaybackMediaMarkerReachedEventArgs(std::nullptr_t) noexcept {} + PlaybackMediaMarkerReachedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackMediaMarkerSequence : winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence + { + PlaybackMediaMarkerSequence(std::nullptr_t) noexcept {} + PlaybackMediaMarkerSequence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TimedMetadataPresentationModeChangedEventArgs : winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs + { + TimedMetadataPresentationModeChangedEventArgs(std::nullptr_t) noexcept {} + TimedMetadataPresentationModeChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f8970f8712bcea7ceec0b0804229d81c3fba4a92 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.0.h @@ -0,0 +1,85 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playlists_0_H +#define WINRT_Windows_Media_Playlists_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; + struct IStorageFolder; + enum class NameCollisionOption : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Media::Playlists +{ + enum class PlaylistFormat : int32_t + { + WindowsMedia = 0, + Zune = 1, + M3u = 2, + }; + struct IPlaylist; + struct IPlaylistStatics; + struct Playlist; + struct PlaylistsContract; +} +namespace winrt::impl +{ + 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 = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.Playlist"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.PlaylistFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.IPlaylist"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.IPlaylistStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.PlaylistsContract"; + template <> inline constexpr guid guid_v{ 0x803736F5,0xCF44,0x4D97,{ 0x83,0xB3,0x7A,0x08,0x9E,0x9A,0xB6,0x63 } }; // 803736F5-CF44-4D97-83B3-7A089E9AB663 + template <> inline constexpr guid guid_v{ 0xC5C331CD,0x81F9,0x4FF3,{ 0x95,0xB9,0x70,0xB6,0xFF,0x04,0x6B,0x68 } }; // C5C331CD-81F9-4FF3-95B9-70B6FF046B68 + template <> struct default_interface{ using type = winrt::Windows::Media::Playlists::IPlaylist; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Files(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; + virtual int32_t __stdcall SaveAsAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SaveAsWithFormatAsync(void*, void*, int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall LoadAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Playlists_IPlaylist + { + [[nodiscard]] auto Files() const; + auto SaveAsync() const; + auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; + auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playlists_IPlaylist; + }; + template + struct consume_Windows_Media_Playlists_IPlaylistStatics + { + auto LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Playlists_IPlaylistStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.1.h new file mode 100644 index 0000000000000000000000000000000000000000..d1cad4e7b38e187ed2ffe1d3068482e543cd6309 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playlists_1_H +#define WINRT_Windows_Media_Playlists_1_H +#include "winrt/impl/Windows.Media.Playlists.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Playlists +{ + struct WINRT_IMPL_EMPTY_BASES IPlaylist : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaylist(std::nullptr_t = nullptr) noexcept {} + IPlaylist(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaylistStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaylistStatics(std::nullptr_t = nullptr) noexcept {} + IPlaylistStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.2.h new file mode 100644 index 0000000000000000000000000000000000000000..12f09b72c3fb990abce7d38eb5bc84383c7fd113 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playlists.2.h @@ -0,0 +1,21 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Playlists_2_H +#define WINRT_Windows_Media_Playlists_2_H +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Media.Playlists.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Playlists +{ + struct WINRT_IMPL_EMPTY_BASES Playlist : winrt::Windows::Media::Playlists::IPlaylist + { + Playlist(std::nullptr_t) noexcept {} + Playlist(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Playlists::IPlaylist(ptr, take_ownership_from_abi) {} + Playlist(); + static auto LoadAsync(winrt::Windows::Storage::IStorageFile const& file); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.0.h new file mode 100644 index 0000000000000000000000000000000000000000..6b68c02c77bce9102f97d74dafc599a276b6cacf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.0.h @@ -0,0 +1,651 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_PlayTo_0_H +#define WINRT_Windows_Media_PlayTo_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; + struct IRandomAccessStreamWithContentType; +} +WINRT_EXPORT namespace winrt::Windows::Media::PlayTo +{ + enum class PlayToConnectionError : int32_t + { + None = 0, + DeviceNotResponding = 1, + DeviceError = 2, + DeviceLocked = 3, + ProtectedPlaybackFailed = 4, + }; + enum class PlayToConnectionState : int32_t + { + Disconnected = 0, + Connected = 1, + Rendering = 2, + }; + struct ICurrentTimeChangeRequestedEventArgs; + struct IMuteChangeRequestedEventArgs; + struct IPlayToConnection; + struct IPlayToConnectionErrorEventArgs; + struct IPlayToConnectionStateChangedEventArgs; + struct IPlayToConnectionTransferredEventArgs; + struct IPlayToManager; + struct IPlayToManagerStatics; + struct IPlayToReceiver; + struct IPlayToSource; + struct IPlayToSourceDeferral; + struct IPlayToSourceRequest; + struct IPlayToSourceRequestedEventArgs; + struct IPlayToSourceSelectedEventArgs; + struct IPlayToSourceWithPreferredSourceUri; + struct IPlaybackRateChangeRequestedEventArgs; + struct ISourceChangeRequestedEventArgs; + struct IVolumeChangeRequestedEventArgs; + struct CurrentTimeChangeRequestedEventArgs; + struct MuteChangeRequestedEventArgs; + struct PlayToConnection; + struct PlayToConnectionErrorEventArgs; + struct PlayToConnectionStateChangedEventArgs; + struct PlayToConnectionTransferredEventArgs; + struct PlayToManager; + struct PlayToReceiver; + struct PlayToSource; + struct PlayToSourceDeferral; + struct PlayToSourceRequest; + struct PlayToSourceRequestedEventArgs; + struct PlayToSourceSelectedEventArgs; + struct PlaybackRateChangeRequestedEventArgs; + struct SourceChangeRequestedEventArgs; + struct VolumeChangeRequestedEventArgs; +} +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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.CurrentTimeChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.MuteChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnectionErrorEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnectionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnectionTransferredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToReceiver"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToSourceDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToSourceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToSourceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToSourceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlaybackRateChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.SourceChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.VolumeChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnectionError"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.PlayToConnectionState"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.ICurrentTimeChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IMuteChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToConnection"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToConnectionErrorEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToConnectionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToConnectionTransferredEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToReceiver"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSourceDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSourceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSourceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSourceSelectedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlayToSourceWithPreferredSourceUri"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IPlaybackRateChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.ISourceChangeRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.PlayTo.IVolumeChangeRequestedEventArgs"; + template <> inline constexpr guid guid_v{ 0x99711324,0xEDC7,0x4BF5,{ 0x91,0xF6,0x3C,0x86,0x27,0xDB,0x59,0xE5 } }; // 99711324-EDC7-4BF5-91F6-3C8627DB59E5 + template <> inline constexpr guid guid_v{ 0xE4B4F5F6,0xAF1F,0x4F1E,{ 0xB4,0x37,0x7D,0xA3,0x24,0x00,0xE1,0xD4 } }; // E4B4F5F6-AF1F-4F1E-B437-7DA32400E1D4 + template <> inline constexpr guid guid_v{ 0x112FBFC8,0xF235,0x4FDE,{ 0x8D,0x41,0x9B,0xF2,0x7C,0x9E,0x9A,0x40 } }; // 112FBFC8-F235-4FDE-8D41-9BF27C9E9A40 + template <> inline constexpr guid guid_v{ 0xBF5EADA6,0x88E6,0x445F,{ 0x9D,0x40,0xD9,0xB9,0xF8,0x93,0x98,0x96 } }; // BF5EADA6-88E6-445F-9D40-D9B9F8939896 + template <> inline constexpr guid guid_v{ 0x68C4B50F,0x0C20,0x4980,{ 0x86,0x02,0x58,0xC6,0x22,0x38,0xD4,0x23 } }; // 68C4B50F-0C20-4980-8602-58C62238D423 + template <> inline constexpr guid guid_v{ 0xFAE3193A,0x0683,0x47D9,{ 0x8D,0xF0,0x18,0xCB,0xB4,0x89,0x84,0xD8 } }; // FAE3193A-0683-47D9-8DF0-18CBB48984D8 + template <> inline constexpr guid guid_v{ 0xF56A206E,0x1B77,0x42EF,{ 0x8F,0x0D,0xB9,0x49,0xF8,0xD9,0xB2,0x60 } }; // F56A206E-1B77-42EF-8F0D-B949F8D9B260 + template <> inline constexpr guid guid_v{ 0x64E6A887,0x3982,0x4F3B,{ 0xBA,0x20,0x61,0x55,0xE4,0x35,0x32,0x5B } }; // 64E6A887-3982-4F3B-BA20-6155E435325B + template <> inline constexpr guid guid_v{ 0xAC15CF47,0xA162,0x4AA6,{ 0xAF,0x1B,0x3A,0xA3,0x5F,0x3B,0x90,0x69 } }; // AC15CF47-A162-4AA6-AF1B-3AA35F3B9069 + template <> inline constexpr guid guid_v{ 0x7F138A08,0xFBB7,0x4B09,{ 0x83,0x56,0xAA,0x5F,0x4E,0x33,0x5C,0x31 } }; // 7F138A08-FBB7-4B09-8356-AA5F4E335C31 + template <> inline constexpr guid guid_v{ 0x4100891D,0x278E,0x4F29,{ 0x85,0x9B,0xA9,0xE5,0x01,0x05,0x3E,0x7D } }; // 4100891D-278E-4F29-859B-A9E501053E7D + template <> inline constexpr guid guid_v{ 0xF8584665,0x64F4,0x44A0,{ 0xAC,0x0D,0x46,0x8D,0x2B,0x8F,0xDA,0x83 } }; // F8584665-64F4-44A0-AC0D-468D2B8FDA83 + template <> inline constexpr guid guid_v{ 0xC5CDC330,0x29DF,0x4EC6,{ 0x9D,0xA9,0x9F,0xBD,0xFC,0xFC,0x1B,0x3E } }; // C5CDC330-29DF-4EC6-9DA9-9FBDFCFC1B3E + template <> inline constexpr guid guid_v{ 0x0C9D8511,0x5202,0x4DCB,{ 0x8C,0x67,0xAB,0xDA,0x12,0xBB,0x3C,0x12 } }; // 0C9D8511-5202-4DCB-8C67-ABDA12BB3C12 + template <> inline constexpr guid guid_v{ 0xAAB253EB,0x3301,0x4DC4,{ 0xAF,0xBA,0xB2,0xF2,0xED,0x96,0x35,0xA0 } }; // AAB253EB-3301-4DC4-AFBA-B2F2ED9635A0 + template <> inline constexpr guid guid_v{ 0x0F5661AE,0x2C88,0x4CCA,{ 0x85,0x40,0xD5,0x86,0x09,0x5D,0x13,0xA5 } }; // 0F5661AE-2C88-4CCA-8540-D586095D13A5 + template <> inline constexpr guid guid_v{ 0xFB3F3A96,0x7AA6,0x4A8B,{ 0x86,0xE7,0x54,0xF6,0xC6,0xD3,0x4F,0x64 } }; // FB3F3A96-7AA6-4A8B-86E7-54F6C6D34F64 + template <> inline constexpr guid guid_v{ 0x6F026D5C,0xCF75,0x4C2B,{ 0x91,0x3E,0x6D,0x7C,0x6C,0x32,0x91,0x79 } }; // 6F026D5C-CF75-4C2B-913E-6D7C6C329179 + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::ICurrentTimeChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToConnection; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToReceiver; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToSourceDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToSourceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToSourceRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Time(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Mute(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Transferred(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Transferred(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Error(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Error(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Code(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreviousState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreviousSource(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SourceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceSelected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceSelected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall put_DefaultSourceSelection(bool) noexcept = 0; + virtual int32_t __stdcall get_DefaultSourceSelection(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall ShowPlayToUI() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_PlayRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlayRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PauseRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PauseRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SourceChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SourceChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackRateChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackRateChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CurrentTimeChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentTimeChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_MuteChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MuteChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_VolumeChangeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_VolumeChangeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TimeUpdateRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TimeUpdateRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StopRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StopRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall NotifyVolumeChange(double, bool) noexcept = 0; + virtual int32_t __stdcall NotifyRateChange(double) noexcept = 0; + virtual int32_t __stdcall NotifyLoadedMetadata() noexcept = 0; + virtual int32_t __stdcall NotifyTimeUpdate(int64_t) noexcept = 0; + virtual int32_t __stdcall NotifyDurationChange(int64_t) noexcept = 0; + virtual int32_t __stdcall NotifySeeking() noexcept = 0; + virtual int32_t __stdcall NotifySeeked() noexcept = 0; + virtual int32_t __stdcall NotifyPaused() noexcept = 0; + virtual int32_t __stdcall NotifyPlaying() noexcept = 0; + virtual int32_t __stdcall NotifyEnded() noexcept = 0; + virtual int32_t __stdcall NotifyError() noexcept = 0; + virtual int32_t __stdcall NotifyStopped() noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall put_SupportsImage(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportsImage(bool*) noexcept = 0; + virtual int32_t __stdcall put_SupportsAudio(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportsAudio(bool*) noexcept = 0; + virtual int32_t __stdcall put_SupportsVideo(bool) noexcept = 0; + virtual int32_t __stdcall get_SupportsVideo(bool*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Connection(void**) noexcept = 0; + virtual int32_t __stdcall get_Next(void**) noexcept = 0; + virtual int32_t __stdcall put_Next(void*) noexcept = 0; + virtual int32_t __stdcall PlayNext() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + virtual int32_t __stdcall DisplayErrorString(void*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + virtual int32_t __stdcall SetSource(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceRequest(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_Icon(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportsImage(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportsAudio(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportsVideo(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PreferredSourceUri(void**) noexcept = 0; + virtual int32_t __stdcall put_PreferredSourceUri(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Rate(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Stream(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Author(void**) noexcept = 0; + virtual int32_t __stdcall get_Album(void**) noexcept = 0; + virtual int32_t __stdcall get_Genre(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_Date(void**) noexcept = 0; + virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; + virtual int32_t __stdcall get_Rating(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Volume(double*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs + { + [[nodiscard]] auto Time() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs + { + [[nodiscard]] auto Mute() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToConnection + { + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto Transferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Transferred_revoker = impl::event_revoker::remove_Transferred>; + [[nodiscard]] auto Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Transferred(winrt::event_token const& token) const noexcept; + auto Error(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Error_revoker = impl::event_revoker::remove_Error>; + [[nodiscard]] auto Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Error(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToConnection; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs + { + [[nodiscard]] auto Code() const; + [[nodiscard]] auto Message() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs + { + [[nodiscard]] auto PreviousState() const; + [[nodiscard]] auto CurrentState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs + { + [[nodiscard]] auto PreviousSource() const; + [[nodiscard]] auto CurrentSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToManager + { + auto SourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceRequested_revoker = impl::event_revoker::remove_SourceRequested>; + [[nodiscard]] auto SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRequested(winrt::event_token const& token) const noexcept; + auto SourceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceSelected_revoker = impl::event_revoker::remove_SourceSelected>; + [[nodiscard]] auto SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceSelected(winrt::event_token const& token) const noexcept; + auto DefaultSourceSelection(bool value) const; + [[nodiscard]] auto DefaultSourceSelection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToManager; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToManagerStatics + { + auto GetForCurrentView() const; + auto ShowPlayToUI() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToManagerStatics; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToReceiver + { + auto PlayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlayRequested_revoker = impl::event_revoker::remove_PlayRequested>; + [[nodiscard]] auto PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlayRequested(winrt::event_token const& token) const noexcept; + auto PauseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PauseRequested_revoker = impl::event_revoker::remove_PauseRequested>; + [[nodiscard]] auto PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PauseRequested(winrt::event_token const& token) const noexcept; + auto SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SourceChangeRequested_revoker = impl::event_revoker::remove_SourceChangeRequested>; + [[nodiscard]] auto SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceChangeRequested(winrt::event_token const& token) const noexcept; + auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlaybackRateChangeRequested_revoker = impl::event_revoker::remove_PlaybackRateChangeRequested>; + [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; + auto CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CurrentTimeChangeRequested_revoker = impl::event_revoker::remove_CurrentTimeChangeRequested>; + [[nodiscard]] auto CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept; + auto MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MuteChangeRequested_revoker = impl::event_revoker::remove_MuteChangeRequested>; + [[nodiscard]] auto MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MuteChangeRequested(winrt::event_token const& token) const noexcept; + auto VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using VolumeChangeRequested_revoker = impl::event_revoker::remove_VolumeChangeRequested>; + [[nodiscard]] auto VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VolumeChangeRequested(winrt::event_token const& token) const noexcept; + auto TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TimeUpdateRequested_revoker = impl::event_revoker::remove_TimeUpdateRequested>; + [[nodiscard]] auto TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimeUpdateRequested(winrt::event_token const& token) const noexcept; + auto StopRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StopRequested_revoker = impl::event_revoker::remove_StopRequested>; + [[nodiscard]] auto StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StopRequested(winrt::event_token const& token) const noexcept; + auto NotifyVolumeChange(double volume, bool mute) const; + auto NotifyRateChange(double rate) const; + auto NotifyLoadedMetadata() const; + auto NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const; + auto NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const; + auto NotifySeeking() const; + auto NotifySeeked() const; + auto NotifyPaused() const; + auto NotifyPlaying() const; + auto NotifyEnded() const; + auto NotifyError() const; + auto NotifyStopped() const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + auto SupportsImage(bool value) const; + [[nodiscard]] auto SupportsImage() const; + auto SupportsAudio(bool value) const; + [[nodiscard]] auto SupportsAudio() const; + auto SupportsVideo(bool value) const; + [[nodiscard]] auto SupportsVideo() const; + [[nodiscard]] auto Properties() const; + auto StartAsync() const; + auto StopAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToReceiver; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSource + { + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Next() const; + auto Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; + auto PlayNext() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSource; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSourceDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSourceDeferral; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSourceRequest + { + [[nodiscard]] auto Deadline() const; + auto DisplayErrorString(param::hstring const& errorString) const; + auto GetDeferral() const; + auto SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSourceRequest; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs + { + [[nodiscard]] auto SourceRequest() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs + { + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Icon() const; + [[nodiscard]] auto SupportsImage() const; + [[nodiscard]] auto SupportsAudio() const; + [[nodiscard]] auto SupportsVideo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri + { + [[nodiscard]] auto PreferredSourceUri() const; + auto PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri; + }; + template + struct consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs + { + [[nodiscard]] auto Rate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs + { + [[nodiscard]] auto Stream() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Album() const; + [[nodiscard]] auto Genre() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto Rating() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs; + }; + template + struct consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs + { + [[nodiscard]] auto Volume() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.1.h new file mode 100644 index 0000000000000000000000000000000000000000..d629ff3eff1011be16c093e801be4bc68cefca44 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.1.h @@ -0,0 +1,139 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_PlayTo_1_H +#define WINRT_Windows_Media_PlayTo_1_H +#include "winrt/impl/Windows.Media.PlayTo.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::PlayTo +{ + struct WINRT_IMPL_EMPTY_BASES ICurrentTimeChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICurrentTimeChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICurrentTimeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMuteChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMuteChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMuteChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToConnection(std::nullptr_t = nullptr) noexcept {} + IPlayToConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToConnectionErrorEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToConnectionErrorEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlayToConnectionErrorEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToConnectionStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToConnectionStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlayToConnectionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToConnectionTransferredEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToConnectionTransferredEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlayToConnectionTransferredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToManager(std::nullptr_t = nullptr) noexcept {} + IPlayToManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPlayToManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToReceiver : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToReceiver(std::nullptr_t = nullptr) noexcept {} + IPlayToReceiver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSource(std::nullptr_t = nullptr) noexcept {} + IPlayToSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSourceDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSourceDeferral(std::nullptr_t = nullptr) noexcept {} + IPlayToSourceDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSourceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSourceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayToSourceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSourceRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSourceRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlayToSourceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSourceSelectedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSourceSelectedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlayToSourceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayToSourceWithPreferredSourceUri : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayToSourceWithPreferredSourceUri(std::nullptr_t = nullptr) noexcept {} + IPlayToSourceWithPreferredSourceUri(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlaybackRateChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlaybackRateChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPlaybackRateChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISourceChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISourceChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISourceChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVolumeChangeRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVolumeChangeRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVolumeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.2.h new file mode 100644 index 0000000000000000000000000000000000000000..9570b5e86bace4cec63f306c1740f8409525f757 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.playto.2.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_PlayTo_2_H +#define WINRT_Windows_Media_PlayTo_2_H +#include "winrt/impl/Windows.Media.PlayTo.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::PlayTo +{ + struct WINRT_IMPL_EMPTY_BASES CurrentTimeChangeRequestedEventArgs : winrt::Windows::Media::PlayTo::ICurrentTimeChangeRequestedEventArgs + { + CurrentTimeChangeRequestedEventArgs(std::nullptr_t) noexcept {} + CurrentTimeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::ICurrentTimeChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MuteChangeRequestedEventArgs : winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs + { + MuteChangeRequestedEventArgs(std::nullptr_t) noexcept {} + MuteChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToConnection : winrt::Windows::Media::PlayTo::IPlayToConnection + { + PlayToConnection(std::nullptr_t) noexcept {} + PlayToConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToConnection(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToConnectionErrorEventArgs : winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs + { + PlayToConnectionErrorEventArgs(std::nullptr_t) noexcept {} + PlayToConnectionErrorEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToConnectionStateChangedEventArgs : winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs + { + PlayToConnectionStateChangedEventArgs(std::nullptr_t) noexcept {} + PlayToConnectionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToConnectionTransferredEventArgs : winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs + { + PlayToConnectionTransferredEventArgs(std::nullptr_t) noexcept {} + PlayToConnectionTransferredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToManager : winrt::Windows::Media::PlayTo::IPlayToManager + { + PlayToManager(std::nullptr_t) noexcept {} + PlayToManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToManager(ptr, take_ownership_from_abi) {} + static auto GetForCurrentView(); + static auto ShowPlayToUI(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayToReceiver : winrt::Windows::Media::PlayTo::IPlayToReceiver + { + PlayToReceiver(std::nullptr_t) noexcept {} + PlayToReceiver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToReceiver(ptr, take_ownership_from_abi) {} + PlayToReceiver(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayToSource : winrt::Windows::Media::PlayTo::IPlayToSource, + impl::require + { + PlayToSource(std::nullptr_t) noexcept {} + PlayToSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToSource(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToSourceDeferral : winrt::Windows::Media::PlayTo::IPlayToSourceDeferral + { + PlayToSourceDeferral(std::nullptr_t) noexcept {} + PlayToSourceDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToSourceDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToSourceRequest : winrt::Windows::Media::PlayTo::IPlayToSourceRequest + { + PlayToSourceRequest(std::nullptr_t) noexcept {} + PlayToSourceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToSourceRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToSourceRequestedEventArgs : winrt::Windows::Media::PlayTo::IPlayToSourceRequestedEventArgs + { + PlayToSourceRequestedEventArgs(std::nullptr_t) noexcept {} + PlayToSourceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToSourceRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayToSourceSelectedEventArgs : winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs + { + PlayToSourceSelectedEventArgs(std::nullptr_t) noexcept {} + PlayToSourceSelectedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlaybackRateChangeRequestedEventArgs : winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs + { + PlaybackRateChangeRequestedEventArgs(std::nullptr_t) noexcept {} + PlaybackRateChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SourceChangeRequestedEventArgs : winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs + { + SourceChangeRequestedEventArgs(std::nullptr_t) noexcept {} + SourceChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VolumeChangeRequestedEventArgs : winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs + { + VolumeChangeRequestedEventArgs(std::nullptr_t) noexcept {} + VolumeChangeRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.0.h new file mode 100644 index 0000000000000000000000000000000000000000..775434875663bfdb10f5b6b4df68253f97ed104e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.0.h @@ -0,0 +1,470 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_0_H +#define WINRT_Windows_Media_Protection_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Media::Playback +{ + struct MediaPlaybackItem; +} +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + enum class GraphicsTrustStatus : int32_t + { + TrustNotRequired = 0, + TrustEstablished = 1, + EnvironmentNotSupported = 2, + DriverNotSupported = 3, + DriverSigningFailure = 4, + UnknownFailure = 5, + }; + enum class HdcpProtection : int32_t + { + Off = 0, + On = 1, + OnWithTypeEnforcement = 2, + }; + enum class HdcpSetProtectionResult : int32_t + { + Success = 0, + TimedOut = 1, + NotSupported = 2, + UnknownFailure = 3, + }; + enum class ProtectionCapabilityResult : int32_t + { + NotSupported = 0, + Maybe = 1, + Probably = 2, + }; + enum class RenewalStatus : int32_t + { + NotStarted = 0, + UpdatesInProgress = 1, + UserCancelled = 2, + AppComponentsMayNeedUpdating = 3, + NoComponentsFound = 4, + }; + enum class RevocationAndRenewalReasons : uint32_t + { + UserModeComponentLoad = 0x1, + KernelModeComponentLoad = 0x2, + AppComponent = 0x4, + GlobalRevocationListLoadFailed = 0x10, + InvalidGlobalRevocationListSignature = 0x20, + GlobalRevocationListAbsent = 0x1000, + ComponentRevoked = 0x2000, + InvalidComponentCertificateExtendedKeyUse = 0x4000, + ComponentCertificateRevoked = 0x8000, + InvalidComponentCertificateRoot = 0x10000, + ComponentHighSecurityCertificateRevoked = 0x20000, + ComponentLowSecurityCertificateRevoked = 0x40000, + BootDriverVerificationFailed = 0x100000, + ComponentSignedWithTestCertificate = 0x1000000, + EncryptionFailure = 0x10000000, + }; + struct IComponentLoadFailedEventArgs; + struct IComponentRenewalStatics; + struct IHdcpSession; + struct IMediaProtectionManager; + struct IMediaProtectionPMPServer; + struct IMediaProtectionPMPServerFactory; + struct IMediaProtectionServiceCompletion; + struct IMediaProtectionServiceRequest; + struct IProtectionCapabilities; + struct IRevocationAndRenewalInformation; + struct IRevocationAndRenewalItem; + struct IServiceRequestedEventArgs; + struct IServiceRequestedEventArgs2; + struct ComponentLoadFailedEventArgs; + struct ComponentRenewal; + struct HdcpSession; + struct MediaProtectionManager; + struct MediaProtectionPMPServer; + struct MediaProtectionServiceCompletion; + struct ProtectionCapabilities; + struct RevocationAndRenewalInformation; + struct RevocationAndRenewalItem; + struct ServiceRequestedEventArgs; + struct ComponentLoadFailedEventHandler; + struct RebootNeededEventHandler; + struct ServiceRequestedEventHandler; + struct ProtectionRenewalContract; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ComponentLoadFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ComponentRenewal"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.HdcpSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.MediaProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.MediaProtectionPMPServer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.MediaProtectionServiceCompletion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ProtectionCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.RevocationAndRenewalInformation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.RevocationAndRenewalItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ServiceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.GraphicsTrustStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.HdcpProtection"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.HdcpSetProtectionResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ProtectionCapabilityResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.RenewalStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.RevocationAndRenewalReasons"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IComponentLoadFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IComponentRenewalStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IHdcpSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IMediaProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IMediaProtectionPMPServer"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IMediaProtectionPMPServerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IMediaProtectionServiceCompletion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IMediaProtectionServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IProtectionCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IRevocationAndRenewalInformation"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IRevocationAndRenewalItem"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IServiceRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.IServiceRequestedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ComponentLoadFailedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.RebootNeededEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ServiceRequestedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.ProtectionRenewalContract"; + template <> inline constexpr guid guid_v{ 0x95972E93,0x7746,0x417E,{ 0x84,0x95,0xF0,0x31,0xBB,0xC5,0x86,0x2C } }; // 95972E93-7746-417E-8495-F031BBC5862C + template <> inline constexpr guid guid_v{ 0x6FFBCD67,0xB795,0x48C5,{ 0x8B,0x7B,0xA7,0xC4,0xEF,0xE2,0x02,0xE3 } }; // 6FFBCD67-B795-48C5-8B7B-A7C4EFE202E3 + template <> inline constexpr guid guid_v{ 0x718845E9,0x64D7,0x426D,{ 0x80,0x9B,0x1B,0xE4,0x61,0x94,0x1A,0x2A } }; // 718845E9-64D7-426D-809B-1BE461941A2A + template <> inline constexpr guid guid_v{ 0x45694947,0xC741,0x434B,{ 0xA7,0x9E,0x47,0x4C,0x12,0xD9,0x3D,0x2F } }; // 45694947-C741-434B-A79E-474C12D93D2F + template <> inline constexpr guid guid_v{ 0x0C111226,0x7B26,0x4D31,{ 0x95,0xBB,0x9C,0x1B,0x08,0xEF,0x7F,0xC0 } }; // 0C111226-7B26-4D31-95BB-9C1B08EF7FC0 + template <> inline constexpr guid guid_v{ 0x602C8E5E,0xF7D2,0x487E,{ 0xAF,0x91,0xDB,0xC4,0x25,0x2B,0x21,0x82 } }; // 602C8E5E-F7D2-487E-AF91-DBC4252B2182 + template <> inline constexpr guid guid_v{ 0x8B5CCA18,0xCFD5,0x44EE,{ 0xA2,0xED,0xDF,0x76,0x01,0x0C,0x14,0xB5 } }; // 8B5CCA18-CFD5-44EE-A2ED-DF76010C14B5 + template <> inline constexpr guid guid_v{ 0xB1DE0EA6,0x2094,0x478D,{ 0x87,0xA4,0x8B,0x95,0x20,0x0F,0x85,0xC6 } }; // B1DE0EA6-2094-478D-87A4-8B95200F85C6 + template <> inline constexpr guid guid_v{ 0xC7AC5D7E,0x7480,0x4D29,{ 0xA4,0x64,0x7B,0xCD,0x91,0x3D,0xD8,0xE4 } }; // C7AC5D7E-7480-4D29-A464-7BCD913DD8E4 + template <> inline constexpr guid guid_v{ 0xF3A1937B,0x2501,0x439E,{ 0xA6,0xE7,0x6F,0xC9,0x5E,0x17,0x5F,0xCF } }; // F3A1937B-2501-439E-A6E7-6FC95E175FCF + template <> inline constexpr guid guid_v{ 0x3099C20C,0x3CF0,0x49EA,{ 0x90,0x2D,0xCA,0xF3,0x2D,0x2D,0xDE,0x2C } }; // 3099C20C-3CF0-49EA-902D-CAF32D2DDE2C + template <> inline constexpr guid guid_v{ 0x34283BAF,0xABB4,0x4FC1,{ 0xBD,0x89,0x93,0xF1,0x06,0x57,0x3A,0x49 } }; // 34283BAF-ABB4-4FC1-BD89-93F106573A49 + template <> inline constexpr guid guid_v{ 0x553C69D6,0xFAFE,0x4128,{ 0x8D,0xFA,0x13,0x0E,0x39,0x8A,0x13,0xA7 } }; // 553C69D6-FAFE-4128-8DFA-130E398A13A7 + template <> inline constexpr guid guid_v{ 0x95DA643C,0x6DB9,0x424B,{ 0x86,0xCA,0x09,0x1A,0xF4,0x32,0x08,0x1C } }; // 95DA643C-6DB9-424B-86CA-091AF432081C + template <> inline constexpr guid guid_v{ 0x64E12A45,0x973B,0x4A3A,{ 0xB2,0x60,0x91,0x89,0x8A,0x49,0xA8,0x2C } }; // 64E12A45-973B-4A3A-B260-91898A49A82C + template <> inline constexpr guid guid_v{ 0xD2D690BA,0xCAC9,0x48E1,{ 0x95,0xC0,0xD3,0x84,0x95,0xA8,0x40,0x55 } }; // D2D690BA-CAC9-48E1-95C0-D38495A84055 + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IHdcpSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IMediaProtectionManager; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IMediaProtectionPMPServer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IProtectionCapabilities; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IRevocationAndRenewalInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IRevocationAndRenewalItem; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::IServiceRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_Completion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RenewSystemComponentsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsEffectiveProtectionAtLeast(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall GetEffectiveProtection(void**) noexcept = 0; + virtual int32_t __stdcall SetDesiredMinProtectionAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_ProtectionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProtectionChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ServiceRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ServiceRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RebootNeeded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RebootNeeded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ComponentLoadFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ComponentLoadFailed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePMPServer(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProtectionSystem(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Type(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsTypeSupported(void*, void*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Items(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reasons(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_HeaderHash(void**) noexcept = 0; + virtual int32_t __stdcall get_PublicKeyHash(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_RenewalId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall get_Completion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaPlaybackItem(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Protection_IComponentLoadFailedEventArgs + { + [[nodiscard]] auto Information() const; + [[nodiscard]] auto Completion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IComponentLoadFailedEventArgs; + }; + template + struct consume_Windows_Media_Protection_IComponentRenewalStatics + { + auto RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IComponentRenewalStatics; + }; + template + struct consume_Windows_Media_Protection_IHdcpSession + { + auto IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; + auto GetEffectiveProtection() const; + auto SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; + auto ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ProtectionChanged_revoker = impl::event_revoker::remove_ProtectionChanged>; + [[nodiscard]] auto ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProtectionChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IHdcpSession; + }; + template + struct consume_Windows_Media_Protection_IMediaProtectionManager + { + auto ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; + using ServiceRequested_revoker = impl::event_revoker::remove_ServiceRequested>; + [[nodiscard]] auto ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; + auto ServiceRequested(winrt::event_token const& cookie) const noexcept; + auto RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; + using RebootNeeded_revoker = impl::event_revoker::remove_RebootNeeded>; + [[nodiscard]] auto RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; + auto RebootNeeded(winrt::event_token const& cookie) const noexcept; + auto ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; + using ComponentLoadFailed_revoker = impl::event_revoker::remove_ComponentLoadFailed>; + [[nodiscard]] auto ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; + auto ComponentLoadFailed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IMediaProtectionManager; + }; + template + struct consume_Windows_Media_Protection_IMediaProtectionPMPServer + { + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IMediaProtectionPMPServer; + }; + template + struct consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory + { + auto CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory; + }; + template + struct consume_Windows_Media_Protection_IMediaProtectionServiceCompletion + { + auto Complete(bool success) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IMediaProtectionServiceCompletion; + }; + template + struct consume_Windows_Media_Protection_IMediaProtectionServiceRequest + { + [[nodiscard]] auto ProtectionSystem() const; + [[nodiscard]] auto Type() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IMediaProtectionServiceRequest; + }; + template + struct consume_Windows_Media_Protection_IProtectionCapabilities + { + auto IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IProtectionCapabilities; + }; + template + struct consume_Windows_Media_Protection_IRevocationAndRenewalInformation + { + [[nodiscard]] auto Items() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IRevocationAndRenewalInformation; + }; + template + struct consume_Windows_Media_Protection_IRevocationAndRenewalItem + { + [[nodiscard]] auto Reasons() const; + [[nodiscard]] auto HeaderHash() const; + [[nodiscard]] auto PublicKeyHash() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto RenewalId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IRevocationAndRenewalItem; + }; + template + struct consume_Windows_Media_Protection_IServiceRequestedEventArgs + { + [[nodiscard]] auto Request() const; + [[nodiscard]] auto Completion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IServiceRequestedEventArgs; + }; + template + struct consume_Windows_Media_Protection_IServiceRequestedEventArgs2 + { + [[nodiscard]] auto MediaPlaybackItem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_IServiceRequestedEventArgs2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.1.h new file mode 100644 index 0000000000000000000000000000000000000000..507cc02c1752b75bf3047c042d657cbcc19f3c27 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.1.h @@ -0,0 +1,106 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_1_H +#define WINRT_Windows_Media_Protection_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.Protection.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + struct WINRT_IMPL_EMPTY_BASES IComponentLoadFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IComponentLoadFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IComponentLoadFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IComponentRenewalStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IComponentRenewalStatics(std::nullptr_t = nullptr) noexcept {} + IComponentRenewalStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHdcpSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IHdcpSession(std::nullptr_t = nullptr) noexcept {} + IHdcpSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProtectionManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProtectionManager(std::nullptr_t = nullptr) noexcept {} + IMediaProtectionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProtectionPMPServer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProtectionPMPServer(std::nullptr_t = nullptr) noexcept {} + IMediaProtectionPMPServer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProtectionPMPServerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProtectionPMPServerFactory(std::nullptr_t = nullptr) noexcept {} + IMediaProtectionPMPServerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProtectionServiceCompletion : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProtectionServiceCompletion(std::nullptr_t = nullptr) noexcept {} + IMediaProtectionServiceCompletion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaProtectionServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaProtectionServiceRequest(std::nullptr_t = nullptr) noexcept {} + IMediaProtectionServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionCapabilities : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionCapabilities(std::nullptr_t = nullptr) noexcept {} + IProtectionCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRevocationAndRenewalInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRevocationAndRenewalInformation(std::nullptr_t = nullptr) noexcept {} + IRevocationAndRenewalInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRevocationAndRenewalItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRevocationAndRenewalItem(std::nullptr_t = nullptr) noexcept {} + IRevocationAndRenewalItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IServiceRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServiceRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IServiceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IServiceRequestedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServiceRequestedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IServiceRequestedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.2.h new file mode 100644 index 0000000000000000000000000000000000000000..50ff87372d56feb1ae2383d8ea51680361a06bd1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.2.h @@ -0,0 +1,109 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_2_H +#define WINRT_Windows_Media_Protection_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Media.Protection.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + struct ComponentLoadFailedEventHandler : winrt::Windows::Foundation::IUnknown + { + ComponentLoadFailedEventHandler(std::nullptr_t = nullptr) noexcept {} + ComponentLoadFailedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template ComponentLoadFailedEventHandler(L lambda); + template ComponentLoadFailedEventHandler(F* function); + template ComponentLoadFailedEventHandler(O* object, M method); + template ComponentLoadFailedEventHandler(com_ptr&& object, M method); + template ComponentLoadFailedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template ComponentLoadFailedEventHandler(std::shared_ptr&& object, M method); + template ComponentLoadFailedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Protection::MediaProtectionManager const& sender, winrt::Windows::Media::Protection::ComponentLoadFailedEventArgs const& e) const; + }; + struct RebootNeededEventHandler : winrt::Windows::Foundation::IUnknown + { + RebootNeededEventHandler(std::nullptr_t = nullptr) noexcept {} + RebootNeededEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template RebootNeededEventHandler(L lambda); + template RebootNeededEventHandler(F* function); + template RebootNeededEventHandler(O* object, M method); + template RebootNeededEventHandler(com_ptr&& object, M method); + template RebootNeededEventHandler(weak_ref&& object, LM&& lambda_or_method); + template RebootNeededEventHandler(std::shared_ptr&& object, M method); + template RebootNeededEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Protection::MediaProtectionManager const& sender) const; + }; + struct ServiceRequestedEventHandler : winrt::Windows::Foundation::IUnknown + { + ServiceRequestedEventHandler(std::nullptr_t = nullptr) noexcept {} + ServiceRequestedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template ServiceRequestedEventHandler(L lambda); + template ServiceRequestedEventHandler(F* function); + template ServiceRequestedEventHandler(O* object, M method); + template ServiceRequestedEventHandler(com_ptr&& object, M method); + template ServiceRequestedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template ServiceRequestedEventHandler(std::shared_ptr&& object, M method); + template ServiceRequestedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Media::Protection::MediaProtectionManager const& sender, winrt::Windows::Media::Protection::ServiceRequestedEventArgs const& e) const; + }; + struct WINRT_IMPL_EMPTY_BASES ComponentLoadFailedEventArgs : winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs + { + ComponentLoadFailedEventArgs(std::nullptr_t) noexcept {} + ComponentLoadFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct ComponentRenewal + { + ComponentRenewal() = delete; + static auto RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information); + }; + struct WINRT_IMPL_EMPTY_BASES HdcpSession : winrt::Windows::Media::Protection::IHdcpSession + { + HdcpSession(std::nullptr_t) noexcept {} + HdcpSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IHdcpSession(ptr, take_ownership_from_abi) {} + HdcpSession(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaProtectionManager : winrt::Windows::Media::Protection::IMediaProtectionManager + { + MediaProtectionManager(std::nullptr_t) noexcept {} + MediaProtectionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IMediaProtectionManager(ptr, take_ownership_from_abi) {} + MediaProtectionManager(); + }; + struct WINRT_IMPL_EMPTY_BASES MediaProtectionPMPServer : winrt::Windows::Media::Protection::IMediaProtectionPMPServer + { + MediaProtectionPMPServer(std::nullptr_t) noexcept {} + MediaProtectionPMPServer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IMediaProtectionPMPServer(ptr, take_ownership_from_abi) {} + explicit MediaProtectionPMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties); + }; + struct WINRT_IMPL_EMPTY_BASES MediaProtectionServiceCompletion : winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion + { + MediaProtectionServiceCompletion(std::nullptr_t) noexcept {} + MediaProtectionServiceCompletion(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectionCapabilities : winrt::Windows::Media::Protection::IProtectionCapabilities + { + ProtectionCapabilities(std::nullptr_t) noexcept {} + ProtectionCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IProtectionCapabilities(ptr, take_ownership_from_abi) {} + ProtectionCapabilities(); + }; + struct WINRT_IMPL_EMPTY_BASES RevocationAndRenewalInformation : winrt::Windows::Media::Protection::IRevocationAndRenewalInformation + { + RevocationAndRenewalInformation(std::nullptr_t) noexcept {} + RevocationAndRenewalInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IRevocationAndRenewalInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RevocationAndRenewalItem : winrt::Windows::Media::Protection::IRevocationAndRenewalItem + { + RevocationAndRenewalItem(std::nullptr_t) noexcept {} + RevocationAndRenewalItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IRevocationAndRenewalItem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServiceRequestedEventArgs : winrt::Windows::Media::Protection::IServiceRequestedEventArgs, + impl::require + { + ServiceRequestedEventArgs(std::nullptr_t) noexcept {} + ServiceRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::IServiceRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8cd82d0cd8b787f1076bda7ea0a5e87d7059d234 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.0.h @@ -0,0 +1,1601 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_PlayReady_0_H +#define WINRT_Windows_Media_Protection_PlayReady_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IIterator; + struct IPropertySet; + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct AudioStreamDescriptor; + struct IMediaStreamDescriptor; + struct MediaStreamSample; + struct MediaStreamSource; + struct VideoStreamDescriptor; +} +WINRT_EXPORT namespace winrt::Windows::Media::Protection +{ + struct MediaProtectionManager; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Media::Protection::PlayReady +{ + enum class NDCertificateFeature : int32_t + { + Transmitter = 1, + Receiver = 2, + SharedCertificate = 3, + SecureClock = 4, + AntiRollBackClock = 5, + CRLS = 9, + PlayReady3Features = 13, + }; + enum class NDCertificatePlatformID : int32_t + { + Windows = 0, + OSX = 1, + WindowsOnARM = 2, + WindowsMobile7 = 5, + iOSOnARM = 6, + XBoxOnPPC = 7, + WindowsPhone8OnARM = 8, + WindowsPhone8OnX86 = 9, + XboxOne = 10, + AndroidOnARM = 11, + WindowsPhone81OnARM = 12, + WindowsPhone81OnX86 = 13, + }; + enum class NDCertificateType : int32_t + { + Unknown = 0, + PC = 1, + Device = 2, + Domain = 3, + Issuer = 4, + CrlSigner = 5, + Service = 6, + Silverlight = 7, + Application = 8, + Metering = 9, + KeyFileSigner = 10, + Server = 11, + LicenseSigner = 12, + }; + enum class NDClosedCaptionFormat : int32_t + { + ATSC = 0, + SCTE20 = 1, + Unknown = 2, + }; + enum class NDContentIDType : int32_t + { + KeyID = 1, + PlayReadyObject = 2, + Custom = 3, + }; + enum class NDMediaStreamType : int32_t + { + Audio = 1, + Video = 2, + }; + enum class NDProximityDetectionType : int32_t + { + UDP = 1, + TCP = 2, + TransportAgnostic = 4, + }; + enum class NDStartAsyncOptions : int32_t + { + MutualAuthentication = 1, + WaitForLicenseDescriptor = 2, + }; + enum class PlayReadyDecryptorSetup : int32_t + { + Uninitialized = 0, + OnDemand = 1, + }; + enum class PlayReadyEncryptionAlgorithm : int32_t + { + Unprotected = 0, + Aes128Ctr = 1, + Cocktail = 4, + Aes128Cbc = 5, + Unspecified = 65535, + Uninitialized = 2147483647, + }; + enum class PlayReadyHardwareDRMFeatures : int32_t + { + HardwareDRM = 1, + HEVC = 2, + Aes128Cbc = 3, + }; + enum class PlayReadyITADataFormat : int32_t + { + SerializedProperties = 0, + SerializedProperties_WithContentProtectionWrapper = 1, + }; + struct INDClient; + struct INDClientFactory; + struct INDClosedCaptionDataReceivedEventArgs; + struct INDCustomData; + struct INDCustomDataFactory; + struct INDDownloadEngine; + struct INDDownloadEngineNotifier; + struct INDLicenseFetchCompletedEventArgs; + struct INDLicenseFetchDescriptor; + struct INDLicenseFetchDescriptorFactory; + struct INDLicenseFetchResult; + struct INDMessenger; + struct INDProximityDetectionCompletedEventArgs; + struct INDRegistrationCompletedEventArgs; + struct INDSendResult; + struct INDStartResult; + struct INDStorageFileHelper; + struct INDStreamParser; + struct INDStreamParserNotifier; + struct INDTCPMessengerFactory; + struct INDTransmitterProperties; + struct IPlayReadyContentHeader; + struct IPlayReadyContentHeader2; + struct IPlayReadyContentHeaderFactory; + struct IPlayReadyContentHeaderFactory2; + struct IPlayReadyContentResolver; + struct IPlayReadyDomain; + struct IPlayReadyDomainIterableFactory; + struct IPlayReadyDomainJoinServiceRequest; + struct IPlayReadyDomainLeaveServiceRequest; + struct IPlayReadyITADataGenerator; + struct IPlayReadyIndividualizationServiceRequest; + struct IPlayReadyLicense; + struct IPlayReadyLicense2; + struct IPlayReadyLicenseAcquisitionServiceRequest; + struct IPlayReadyLicenseAcquisitionServiceRequest2; + struct IPlayReadyLicenseAcquisitionServiceRequest3; + struct IPlayReadyLicenseIterableFactory; + struct IPlayReadyLicenseManagement; + struct IPlayReadyLicenseSession; + struct IPlayReadyLicenseSession2; + struct IPlayReadyLicenseSessionFactory; + struct IPlayReadyMeteringReportServiceRequest; + struct IPlayReadyRevocationServiceRequest; + struct IPlayReadySecureStopIterableFactory; + struct IPlayReadySecureStopServiceRequest; + struct IPlayReadySecureStopServiceRequestFactory; + struct IPlayReadyServiceRequest; + struct IPlayReadySoapMessage; + struct IPlayReadyStatics; + struct IPlayReadyStatics2; + struct IPlayReadyStatics3; + struct IPlayReadyStatics4; + struct IPlayReadyStatics5; + struct NDClient; + struct NDCustomData; + struct NDDownloadEngineNotifier; + struct NDLicenseFetchDescriptor; + struct NDStorageFileHelper; + struct NDStreamParserNotifier; + struct NDTCPMessenger; + struct PlayReadyContentHeader; + struct PlayReadyContentResolver; + struct PlayReadyDomain; + struct PlayReadyDomainIterable; + struct PlayReadyDomainIterator; + struct PlayReadyDomainJoinServiceRequest; + struct PlayReadyDomainLeaveServiceRequest; + struct PlayReadyITADataGenerator; + struct PlayReadyIndividualizationServiceRequest; + struct PlayReadyLicense; + struct PlayReadyLicenseAcquisitionServiceRequest; + struct PlayReadyLicenseIterable; + struct PlayReadyLicenseIterator; + struct PlayReadyLicenseManagement; + struct PlayReadyLicenseSession; + struct PlayReadyMeteringReportServiceRequest; + struct PlayReadyRevocationServiceRequest; + struct PlayReadySecureStopIterable; + struct PlayReadySecureStopIterator; + struct PlayReadySecureStopServiceRequest; + struct PlayReadySoapMessage; + struct PlayReadyStatics; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDClient"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDCustomData"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDDownloadEngineNotifier"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDStorageFileHelper"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDStreamParserNotifier"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDTCPMessenger"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyContentHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyContentResolver"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDomain"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDomainIterable"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDomainIterator"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDomainJoinServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDomainLeaveServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyITADataGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyIndividualizationServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicense"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicenseIterable"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicenseIterator"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicenseManagement"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyLicenseSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyMeteringReportServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyRevocationServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadySecureStopIterable"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadySecureStopIterator"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadySoapMessage"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDCertificateFeature"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDCertificatePlatformID"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDCertificateType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDClosedCaptionFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDContentIDType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDMediaStreamType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDProximityDetectionType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.NDStartAsyncOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyDecryptorSetup"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyEncryptionAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyHardwareDRMFeatures"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.PlayReadyITADataFormat"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDClient"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDClientFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDClosedCaptionDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDCustomData"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDCustomDataFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDDownloadEngine"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDDownloadEngineNotifier"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDLicenseFetchCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptor"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDLicenseFetchResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDMessenger"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDProximityDetectionCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDRegistrationCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDSendResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDStartResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDStorageFileHelper"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDStreamParser"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDStreamParserNotifier"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDTCPMessengerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.INDTransmitterProperties"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyContentHeader"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyContentHeader2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyContentResolver"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyDomain"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyDomainIterableFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyDomainJoinServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyDomainLeaveServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyITADataGenerator"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyIndividualizationServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicense"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicense2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseAcquisitionServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseAcquisitionServiceRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseAcquisitionServiceRequest3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseManagement"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseSession2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyLicenseSessionFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyMeteringReportServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyRevocationServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadySecureStopIterableFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadySecureStopServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadySecureStopServiceRequestFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyServiceRequest"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadySoapMessage"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Media.Protection.PlayReady.IPlayReadyStatics5"; + template <> inline constexpr guid guid_v{ 0x3BD6781B,0x61B8,0x46E2,{ 0x99,0xA5,0x8A,0xBC,0xB6,0xB9,0xF7,0xD6 } }; // 3BD6781B-61B8-46E2-99A5-8ABCB6B9F7D6 + template <> inline constexpr guid guid_v{ 0x3E53DD62,0xFEE8,0x451F,{ 0xB0,0xD4,0xF7,0x06,0xCC,0xA3,0xE0,0x37 } }; // 3E53DD62-FEE8-451F-B0D4-F706CCA3E037 + template <> inline constexpr guid guid_v{ 0x4738D29F,0xC345,0x4649,{ 0x84,0x68,0xB8,0xC5,0xFC,0x35,0x71,0x90 } }; // 4738D29F-C345-4649-8468-B8C5FC357190 + template <> inline constexpr guid guid_v{ 0xF5CB0FDC,0x2D09,0x4F19,{ 0xB5,0xE1,0x76,0xA0,0xB3,0xEE,0x92,0x67 } }; // F5CB0FDC-2D09-4F19-B5E1-76A0B3EE9267 + template <> inline constexpr guid guid_v{ 0xD65405AB,0x3424,0x4833,{ 0x8C,0x9A,0xAF,0x5F,0xDE,0xB2,0x28,0x72 } }; // D65405AB-3424-4833-8C9A-AF5FDEB22872 + template <> inline constexpr guid guid_v{ 0x2D223D65,0xC4B6,0x4438,{ 0x8D,0x46,0xB9,0x6E,0x6D,0x0F,0xB2,0x1F } }; // 2D223D65-C4B6-4438-8D46-B96E6D0FB21F + template <> inline constexpr guid guid_v{ 0xD720B4D4,0xF4B8,0x4530,{ 0xA8,0x09,0x91,0x93,0xA5,0x71,0xE7,0xFC } }; // D720B4D4-F4B8-4530-A809-9193A571E7FC + template <> inline constexpr guid guid_v{ 0x1EE30A1A,0x11B2,0x4558,{ 0x88,0x65,0xE3,0xA5,0x16,0x92,0x25,0x17 } }; // 1EE30A1A-11B2-4558-8865-E3A516922517 + template <> inline constexpr guid guid_v{ 0x5498D33A,0xE686,0x4935,{ 0xA5,0x67,0x7C,0xA7,0x7A,0xD2,0x0F,0xA4 } }; // 5498D33A-E686-4935-A567-7CA77AD20FA4 + template <> inline constexpr guid guid_v{ 0xD0031202,0xCFAC,0x4F00,{ 0xAE,0x6A,0x97,0xAF,0x80,0xB8,0x48,0xF2 } }; // D0031202-CFAC-4F00-AE6A-97AF80B848F2 + template <> inline constexpr guid guid_v{ 0x21D39698,0xAA62,0x45FF,{ 0xA5,0xFF,0x80,0x37,0xE5,0x43,0x38,0x25 } }; // 21D39698-AA62-45FF-A5FF-8037E5433825 + template <> inline constexpr guid guid_v{ 0xD42DF95D,0xA75B,0x47BF,{ 0x82,0x49,0xBC,0x83,0x82,0x0D,0xA3,0x8A } }; // D42DF95D-A75B-47BF-8249-BC83820DA38A + template <> inline constexpr guid guid_v{ 0x2A706328,0xDA25,0x4F8C,{ 0x9E,0xB7,0x5D,0x0F,0xC3,0x65,0x8B,0xCA } }; // 2A706328-DA25-4F8C-9EB7-5D0FC3658BCA + template <> inline constexpr guid guid_v{ 0x9E39B64D,0xAB5B,0x4905,{ 0xAC,0xDC,0x78,0x7A,0x77,0xC6,0x37,0x4D } }; // 9E39B64D-AB5B-4905-ACDC-787A77C6374D + template <> inline constexpr guid guid_v{ 0xE3685517,0xA584,0x479D,{ 0x90,0xB7,0xD6,0x89,0xC7,0xBF,0x7C,0x80 } }; // E3685517-A584-479D-90B7-D689C7BF7C80 + template <> inline constexpr guid guid_v{ 0x79F6E96E,0xF50F,0x4015,{ 0x8B,0xA4,0xC2,0xBC,0x34,0x4E,0xBD,0x4E } }; // 79F6E96E-F50F-4015-8BA4-C2BC344EBD4E + template <> inline constexpr guid guid_v{ 0xD8F0BEF8,0x91D2,0x4D47,{ 0xA3,0xF9,0xEA,0xFF,0x4E,0xDB,0x72,0x9F } }; // D8F0BEF8-91D2-4D47-A3F9-EAFF4EDB729F + template <> inline constexpr guid guid_v{ 0xE0BAA198,0x9796,0x41C9,{ 0x86,0x95,0x59,0x43,0x7E,0x67,0xE6,0x6A } }; // E0BAA198-9796-41C9-8695-59437E67E66A + template <> inline constexpr guid guid_v{ 0xC167ACD0,0x2CE6,0x426C,{ 0xAC,0xE5,0x5E,0x92,0x75,0xFE,0xA7,0x15 } }; // C167ACD0-2CE6-426C-ACE5-5E9275FEA715 + template <> inline constexpr guid guid_v{ 0x7DD85CFE,0x1B99,0x4F68,{ 0x8F,0x82,0x81,0x77,0xF7,0xCE,0xDF,0x2B } }; // 7DD85CFE-1B99-4F68-8F82-8177F7CEDF2B + template <> inline constexpr guid guid_v{ 0xE536AF23,0xAC4F,0x4ADC,{ 0x8C,0x66,0x4F,0xF7,0xC2,0x70,0x2D,0xD6 } }; // E536AF23-AC4F-4ADC-8C66-4FF7C2702DD6 + template <> inline constexpr guid guid_v{ 0x9A438A6A,0x7F4C,0x452E,{ 0x88,0xBD,0x01,0x48,0xC6,0x38,0x7A,0x2C } }; // 9A438A6A-7F4C-452E-88BD-0148C6387A2C + template <> inline constexpr guid guid_v{ 0x359C79F4,0x2180,0x498C,{ 0x96,0x5B,0xE7,0x54,0xD8,0x75,0xEA,0xB2 } }; // 359C79F4-2180-498C-965B-E754D875EAB2 + template <> inline constexpr guid guid_v{ 0xCB97C8FF,0xB758,0x4776,{ 0xBF,0x01,0x21,0x7A,0x8B,0x51,0x0B,0x2C } }; // CB97C8FF-B758-4776-BF01-217A8B510B2C + template <> inline constexpr guid guid_v{ 0xD1239CF5,0xAE6D,0x4778,{ 0x97,0xFD,0x6E,0x3A,0x2E,0xEA,0xDB,0xEB } }; // D1239CF5-AE6D-4778-97FD-6E3A2EEADBEB + template <> inline constexpr guid guid_v{ 0xFBFD2523,0x906D,0x4982,{ 0xA6,0xB8,0x68,0x49,0x56,0x5A,0x7C,0xE8 } }; // FBFD2523-906D-4982-A6B8-6849565A7CE8 + template <> inline constexpr guid guid_v{ 0xADCC93AC,0x97E6,0x43EF,{ 0x95,0xE4,0xD7,0x86,0x8F,0x3B,0x16,0xA9 } }; // ADCC93AC-97E6-43EF-95E4-D7868F3B16A9 + template <> inline constexpr guid guid_v{ 0x4DF384EE,0x3121,0x4DF3,{ 0xA5,0xE8,0xD0,0xC2,0x4C,0x05,0x00,0xFC } }; // 4DF384EE-3121-4DF3-A5E8-D0C24C0500FC + template <> inline constexpr guid guid_v{ 0x171B4A5A,0x405F,0x4739,{ 0xB0,0x40,0x67,0xB9,0xF0,0xC3,0x87,0x58 } }; // 171B4A5A-405F-4739-B040-67B9F0C38758 + template <> inline constexpr guid guid_v{ 0x062D58BE,0x97AD,0x4917,{ 0xAA,0x03,0x46,0xD4,0xC2,0x52,0xD4,0x64 } }; // 062D58BE-97AD-4917-AA03-46D4C252D464 + template <> inline constexpr guid guid_v{ 0x24446B8E,0x10B9,0x4530,{ 0xB2,0x5B,0x90,0x1A,0x80,0x29,0xA9,0xB2 } }; // 24446B8E-10B9-4530-B25B-901A8029A9B2 + template <> inline constexpr guid guid_v{ 0x21F5A86B,0x008C,0x4611,{ 0xAB,0x2F,0xAA,0xA6,0xC6,0x9F,0x0E,0x24 } }; // 21F5A86B-008C-4611-AB2F-AAA6C69F0E24 + template <> inline constexpr guid guid_v{ 0xEE474C4E,0xFA3C,0x414D,{ 0xA9,0xF2,0x3F,0xFC,0x1E,0xF8,0x32,0xD4 } }; // EE474C4E-FA3C-414D-A9F2-3FFC1EF832D4 + template <> inline constexpr guid guid_v{ 0x30F4E7A7,0xD8E3,0x48A0,{ 0xBC,0xDA,0xFF,0x9F,0x40,0x53,0x04,0x36 } }; // 30F4E7A7-D8E3-48A0-BCDA-FF9F40530436 + template <> inline constexpr guid guid_v{ 0x5D85FF45,0x3E9F,0x4F48,{ 0x93,0xE1,0x95,0x30,0xC8,0xD5,0x8C,0x3E } }; // 5D85FF45-3E9F-4F48-93E1-9530C8D58C3E + template <> inline constexpr guid guid_v{ 0xB7FA5EB5,0xFE0C,0xB225,{ 0xBC,0x60,0x5A,0x9E,0xDD,0x32,0xCE,0xB5 } }; // B7FA5EB5-FE0C-B225-BC60-5A9EDD32CEB5 + template <> inline constexpr guid guid_v{ 0x394E5F4D,0x7F75,0x430D,{ 0xB2,0xE7,0x7F,0x75,0xF3,0x4B,0x2D,0x75 } }; // 394E5F4D-7F75-430D-B2E7-7F75F34B2D75 + template <> inline constexpr guid guid_v{ 0xD4179F08,0x0837,0x4978,{ 0x8E,0x68,0xBE,0x42,0x93,0xC8,0xD7,0xA6 } }; // D4179F08-0837-4978-8E68-BE4293C8D7A6 + template <> inline constexpr guid guid_v{ 0xAAEB2141,0x0957,0x4405,{ 0xB8,0x92,0x8B,0xF3,0xEC,0x5D,0xAD,0xD9 } }; // AAEB2141-0957-4405-B892-8BF3EC5DADD9 + template <> inline constexpr guid guid_v{ 0xA1723A39,0x87FA,0x4FDD,{ 0xAB,0xBB,0xA9,0x72,0x0E,0x84,0x52,0x59 } }; // A1723A39-87FA-4FDD-ABBB-A9720E845259 + template <> inline constexpr guid guid_v{ 0x4909BE3A,0x3AED,0x4656,{ 0x8A,0xD7,0xEE,0x0F,0xD7,0x79,0x95,0x10 } }; // 4909BE3A-3AED-4656-8AD7-EE0FD7799510 + template <> inline constexpr guid guid_v{ 0x62492699,0x6527,0x429E,{ 0x98,0xBE,0x48,0xD7,0x98,0xAC,0x27,0x39 } }; // 62492699-6527-429E-98BE-48D798AC2739 + template <> inline constexpr guid guid_v{ 0xC12B231C,0x0ECD,0x4F11,{ 0xA1,0x85,0x1E,0x24,0xA4,0xA6,0x7F,0xB7 } }; // C12B231C-0ECD-4F11-A185-1E24A4A67FB7 + template <> inline constexpr guid guid_v{ 0x543D66AC,0xFAF0,0x4560,{ 0x84,0xA5,0x0E,0x4A,0xCE,0xC9,0x39,0xE4 } }; // 543D66AC-FAF0-4560-84A5-0E4ACEC939E4 + template <> inline constexpr guid guid_v{ 0x5F1F0165,0x4214,0x4D9E,{ 0x81,0xEB,0xE8,0x9F,0x9D,0x29,0x4A,0xEE } }; // 5F1F0165-4214-4D9E-81EB-E89F9D294AEE + template <> inline constexpr guid guid_v{ 0xB5501EE5,0x01BF,0x4401,{ 0x96,0x77,0x05,0x63,0x0A,0x6A,0x4C,0xC8 } }; // B5501EE5-01BF-4401-9677-05630A6A4CC8 + template <> inline constexpr guid guid_v{ 0x0E448AC9,0xE67E,0x494E,{ 0x9F,0x49,0x62,0x85,0x43,0x8C,0x76,0xCF } }; // 0E448AC9-E67E-494E-9F49-6285438C76CF + template <> inline constexpr guid guid_v{ 0x8BAD2836,0xA703,0x45A6,{ 0xA1,0x80,0x76,0xF3,0x56,0x5A,0xA7,0x25 } }; // 8BAD2836-A703-45A6-A180-76F3565AA725 + template <> inline constexpr guid guid_v{ 0xB659FCB5,0xCE41,0x41BA,{ 0x8A,0x0D,0x61,0xDF,0x5F,0xFF,0xA1,0x39 } }; // B659FCB5-CE41-41BA-8A0D-61DF5FFFA139 + template <> inline constexpr guid guid_v{ 0x5E69C00D,0x247C,0x469A,{ 0x8F,0x31,0x5C,0x1A,0x15,0x71,0xD9,0xC6 } }; // 5E69C00D-247C-469A-8F31-5C1A1571D9C6 + template <> inline constexpr guid guid_v{ 0x1F8D6A92,0x5F9A,0x423E,{ 0x94,0x66,0xB3,0x39,0x69,0xAF,0x7A,0x3D } }; // 1F8D6A92-5F9A-423E-9466-B33969AF7A3D + template <> inline constexpr guid guid_v{ 0x3FA33F71,0x2DD3,0x4BED,{ 0xAE,0x49,0xF7,0x14,0x8E,0x63,0xE7,0x10 } }; // 3FA33F71-2DD3-4BED-AE49-F7148E63E710 + template <> inline constexpr guid guid_v{ 0x50A91300,0xD824,0x4231,{ 0x9D,0x5E,0x78,0xEF,0x88,0x44,0xC7,0xD7 } }; // 50A91300-D824-4231-9D5E-78EF8844C7D7 + template <> inline constexpr guid guid_v{ 0x230A7075,0xDFA0,0x4F8E,{ 0xA7,0x79,0xCE,0xFE,0xA9,0xC6,0x82,0x4B } }; // 230A7075-DFA0-4F8E-A779-CEFEA9C6824B + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDClient; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDCustomData; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDStorageFileHelper; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::INDMessenger; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterable; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterator; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyITADataGenerator; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyIndividualizationServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterable; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterator; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadyRevocationServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterable; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IIterator; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_RegistrationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RegistrationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ProximityDetectionCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProximityDetectionCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_LicenseFetchCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LicenseFetchCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ReRegistrationNeeded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ReRegistrationNeeded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ClosedCaptionDataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ClosedCaptionDataReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall StartAsync(void*, uint32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LicenseFetchAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReRegistrationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClosedCaptionDataFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PresentationTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ClosedCaptionData(uint32_t* __ccDataBytesSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CustomDataTypeID(uint32_t* __customDataTypeIDBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_CustomData(uint32_t* __customDataBytesSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Open(void*, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall Resume() noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + virtual int32_t __stdcall Seek(int64_t) noexcept = 0; + virtual int32_t __stdcall get_CanSeek(bool*) noexcept = 0; + virtual int32_t __stdcall get_BufferFullMinThresholdInSamples(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_BufferFullMaxThresholdInSamples(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Notifier(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnStreamOpened() noexcept = 0; + virtual int32_t __stdcall OnPlayReadyObjectReceived(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall OnContentIDReceived(void*) noexcept = 0; + virtual int32_t __stdcall OnDataReceived(uint32_t, uint8_t*, uint32_t) noexcept = 0; + virtual int32_t __stdcall OnEndOfStream() noexcept = 0; + virtual int32_t __stdcall OnNetworkError() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseCustomData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentIDType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ContentID(uint32_t* __contentIDBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_LicenseFetchChallengeCustomData(void**) noexcept = 0; + virtual int32_t __stdcall put_LicenseFetchChallengeCustomData(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, uint32_t, uint8_t*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseCustomData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendRegistrationRequestAsync(uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall SendProximityDetectionStartAsync(int32_t, uint32_t, uint8_t*, uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall SendProximityDetectionResponseAsync(int32_t, uint32_t, uint8_t*, uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall SendLicenseFetchRequestAsync(uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProximityDetectionRetryCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseCustomData(void**) noexcept = 0; + virtual int32_t __stdcall get_TransmitterProperties(void**) noexcept = 0; + virtual int32_t __stdcall get_TransmitterCertificateAccepted(bool*) noexcept = 0; + virtual int32_t __stdcall put_TransmitterCertificateAccepted(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Response(uint32_t* __responseDataBytesSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MediaStreamSource(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetFileURLs(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ParseData(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStreamInformation(void*, int32_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall BeginOfStream() noexcept = 0; + virtual int32_t __stdcall EndOfStream() noexcept = 0; + virtual int32_t __stdcall get_Notifier(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OnContentIDReceived(void*) noexcept = 0; + virtual int32_t __stdcall OnMediaStreamDescriptorCreated(void*, void*) noexcept = 0; + virtual int32_t __stdcall OnSampleParsed(uint32_t, int32_t, void*, int64_t, int32_t, uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall OnBeginSetupDecryptor(void*, winrt::guid, uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CertificateType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PlatformIdentifier(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SupportedFeatures(uint32_t* __featureSetsSize, int32_t**) noexcept = 0; + virtual int32_t __stdcall get_SecurityLevel(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SecurityVersion(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ClientID(uint32_t* __clientIDBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_ModelDigest(uint32_t* __modelDigestBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_ModelManufacturerName(void**) noexcept = 0; + virtual int32_t __stdcall get_ModelName(void**) noexcept = 0; + virtual int32_t __stdcall get_ModelNumber(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_KeyId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_KeyIdString(void**) noexcept = 0; + virtual int32_t __stdcall get_LicenseAcquisitionUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_LicenseAcquisitionUserInterfaceUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_DomainServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_EncryptionType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CustomAttributes(void**) noexcept = 0; + virtual int32_t __stdcall get_DecryptorSetup(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetSerializedHeader(uint32_t* __headerBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_HeaderWithEmbeddedUpdates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_KeyIds(uint32_t* __contentKeyIdsSize, winrt::guid**) noexcept = 0; + virtual int32_t __stdcall get_KeyIdStrings(uint32_t* __contentKeyIdStringsSize, void***) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstanceFromWindowsMediaDrmHeader(uint32_t, uint8_t*, void*, void*, void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstanceFromComponents(winrt::guid, void*, int32_t, void*, void*, void*, winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstanceFromPlayReadyHeader(uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstanceFromComponents2(uint32_t, uint32_t, winrt::guid*, uint32_t, void**, int32_t, void*, void*, void*, winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ServiceRequest(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AccountId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Revision(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_DomainJoinUrl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DomainAccountId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DomainAccountId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_DomainFriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_DomainFriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_DomainServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DomainServiceId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DomainAccountId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DomainAccountId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_DomainServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DomainServiceId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GenerateData(winrt::guid, uint32_t, void*, int32_t, uint32_t* __dataBytesSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_FullyEvaluated(bool*) noexcept = 0; + virtual int32_t __stdcall get_UsableForPlay(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationDate(void**) noexcept = 0; + virtual int32_t __stdcall get_ExpireAfterFirstPlay(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DomainAccountID(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ChainDepth(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetKIDAtChainDepth(uint32_t, winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SecureStopId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SecurityLevel(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_InMemoryOnly(bool*) noexcept = 0; + virtual int32_t __stdcall get_ExpiresInRealTime(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentHeader(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentHeader(void*) noexcept = 0; + virtual int32_t __stdcall get_DomainServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_DomainServiceId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLicenseIterable(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DeleteLicenses(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLAServiceRequest(void**) noexcept = 0; + virtual int32_t __stdcall ConfigureMediaProtectionManager(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateLicenseIterable(void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MeteringCertificate(uint32_t* __meteringCertBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall put_MeteringCertificate(uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionID(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_UpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Stopped(bool*) noexcept = 0; + virtual int32_t __stdcall get_PublisherCertificate(uint32_t* __publisherCertBytesSize, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstanceFromSessionID(winrt::guid, uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall put_Uri(void*) noexcept = 0; + virtual int32_t __stdcall get_ResponseCustomData(void**) noexcept = 0; + virtual int32_t __stdcall get_ChallengeCustomData(void**) noexcept = 0; + virtual int32_t __stdcall put_ChallengeCustomData(void*) noexcept = 0; + virtual int32_t __stdcall BeginServiceRequest(void**) noexcept = 0; + virtual int32_t __stdcall NextServiceRequest(void**) noexcept = 0; + virtual int32_t __stdcall GenerateManualEnablingChallenge(void**) noexcept = 0; + virtual int32_t __stdcall ProcessManualEnablingResponse(uint32_t, uint8_t*, winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetMessageBody(uint32_t* __messageBodyBytesSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_MessageHeaders(void**) noexcept = 0; + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DomainJoinServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DomainLeaveServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IndividualizationServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_LicenseAcquirerServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_MeteringReportServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RevocationServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_MediaProtectionSystemId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PlayReadySecurityVersion(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PlayReadyCertificateSecurityLevel(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SecureStopServiceRequestType(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall CheckSupportedHardware(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InputTrustAuthorityToCreate(void**) noexcept = 0; + virtual int32_t __stdcall get_ProtectionSystemId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HardwareDRMDisabledAtTime(void**) noexcept = 0; + virtual int32_t __stdcall get_HardwareDRMDisabledUntilTime(void**) noexcept = 0; + virtual int32_t __stdcall ResetHardwareDRMDisabled() noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDClient + { + auto RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RegistrationCompleted_revoker = impl::event_revoker::remove_RegistrationCompleted>; + [[nodiscard]] auto RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RegistrationCompleted(winrt::event_token const& token) const noexcept; + auto ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ProximityDetectionCompleted_revoker = impl::event_revoker::remove_ProximityDetectionCompleted>; + [[nodiscard]] auto ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProximityDetectionCompleted(winrt::event_token const& token) const noexcept; + auto LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using LicenseFetchCompleted_revoker = impl::event_revoker::remove_LicenseFetchCompleted>; + [[nodiscard]] auto LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LicenseFetchCompleted(winrt::event_token const& token) const noexcept; + auto ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ReRegistrationNeeded_revoker = impl::event_revoker::remove_ReRegistrationNeeded>; + [[nodiscard]] auto ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReRegistrationNeeded(winrt::event_token const& token) const noexcept; + auto ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ClosedCaptionDataReceived_revoker = impl::event_revoker::remove_ClosedCaptionDataReceived>; + [[nodiscard]] auto ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept; + auto StartAsync(winrt::Windows::Foundation::Uri const& contentUrl, uint32_t startAsyncOptions, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const; + auto Close() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDClient; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDClientFactory + { + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDClientFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs + { + [[nodiscard]] auto ClosedCaptionDataFormat() const; + [[nodiscard]] auto PresentationTimestamp() const; + [[nodiscard]] auto ClosedCaptionData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDCustomData + { + [[nodiscard]] auto CustomDataTypeID() const; + [[nodiscard]] auto CustomData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDCustomData; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory + { + auto CreateInstance(array_view customDataTypeIDBytes, array_view customDataBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngine + { + auto Open(winrt::Windows::Foundation::Uri const& uri, array_view sessionIDBytes) const; + auto Pause() const; + auto Resume() const; + auto Close() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto BufferFullMinThresholdInSamples() const; + [[nodiscard]] auto BufferFullMaxThresholdInSamples() const; + [[nodiscard]] auto Notifier() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDDownloadEngine; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier + { + auto OnStreamOpened() const; + auto OnPlayReadyObjectReceived(array_view dataBytes) const; + auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto OnDataReceived(array_view dataBytes, uint32_t bytesReceived) const; + auto OnEndOfStream() const; + auto OnNetworkError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs + { + [[nodiscard]] auto ResponseCustomData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor + { + [[nodiscard]] auto ContentIDType() const; + [[nodiscard]] auto ContentID() const; + [[nodiscard]] auto LicenseFetchChallengeCustomData() const; + auto LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory + { + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult + { + [[nodiscard]] auto ResponseCustomData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDMessenger + { + auto SendRegistrationRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; + auto SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view challengeDataBytes) const; + auto SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view responseDataBytes) const; + auto SendLicenseFetchRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDMessenger; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs + { + [[nodiscard]] auto ProximityDetectionRetryCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs + { + [[nodiscard]] auto ResponseCustomData() const; + [[nodiscard]] auto TransmitterProperties() const; + [[nodiscard]] auto TransmitterCertificateAccepted() const; + auto TransmitterCertificateAccepted(bool accept) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDSendResult + { + [[nodiscard]] auto Response() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDSendResult; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDStartResult + { + [[nodiscard]] auto MediaStreamSource() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDStartResult; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper + { + auto GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDStreamParser + { + auto ParseData(array_view dataBytes) const; + auto GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const; + auto BeginOfStream() const; + auto EndOfStream() const; + [[nodiscard]] auto Notifier() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDStreamParser; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier + { + auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto OnMediaStreamDescriptorCreated(param::vector const& audioStreamDescriptors, param::vector const& videoStreamDescriptors) const; + auto OnSampleParsed(uint32_t streamID, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType const& streamType, winrt::Windows::Media::Core::MediaStreamSample const& streamSample, int64_t pts, winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat const& ccFormat, array_view ccDataBytes) const; + auto OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view proBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory + { + auto CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties + { + [[nodiscard]] auto CertificateType() const; + [[nodiscard]] auto PlatformIdentifier() const; + [[nodiscard]] auto SupportedFeatures() const; + [[nodiscard]] auto SecurityLevel() const; + [[nodiscard]] auto SecurityVersion() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ClientID() const; + [[nodiscard]] auto ModelDigest() const; + [[nodiscard]] auto ModelManufacturerName() const; + [[nodiscard]] auto ModelName() const; + [[nodiscard]] auto ModelNumber() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader + { + [[nodiscard]] auto KeyId() const; + [[nodiscard]] auto KeyIdString() const; + [[nodiscard]] auto LicenseAcquisitionUrl() const; + [[nodiscard]] auto LicenseAcquisitionUserInterfaceUrl() const; + [[nodiscard]] auto DomainServiceId() const; + [[nodiscard]] auto EncryptionType() const; + [[nodiscard]] auto CustomAttributes() const; + [[nodiscard]] auto DecryptorSetup() const; + auto GetSerializedHeader() const; + [[nodiscard]] auto HeaderWithEmbeddedUpdates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2 + { + [[nodiscard]] auto KeyIds() const; + [[nodiscard]] auto KeyIdStrings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory + { + auto CreateInstanceFromWindowsMediaDrmHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + auto CreateInstanceFromComponents(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + auto CreateInstanceFromPlayReadyHeader(array_view headerBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2 + { + auto CreateInstanceFromComponents2(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver + { + auto ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain + { + [[nodiscard]] auto AccountId() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto Revision() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto DomainJoinUrl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory + { + auto CreateInstance(winrt::guid const& domainAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest + { + [[nodiscard]] auto DomainAccountId() const; + auto DomainAccountId(winrt::guid const& value) const; + [[nodiscard]] auto DomainFriendlyName() const; + auto DomainFriendlyName(param::hstring const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest + { + [[nodiscard]] auto DomainAccountId() const; + auto DomainAccountId(winrt::guid const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator + { + auto GenerateData(winrt::guid const& guidCPSystemId, uint32_t countOfStreams, winrt::Windows::Foundation::Collections::IPropertySet const& configuration, winrt::Windows::Media::Protection::PlayReady::PlayReadyITADataFormat const& format) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyIndividualizationServiceRequest + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyIndividualizationServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense + { + [[nodiscard]] auto FullyEvaluated() const; + [[nodiscard]] auto UsableForPlay() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ExpireAfterFirstPlay() const; + [[nodiscard]] auto DomainAccountID() const; + [[nodiscard]] auto ChainDepth() const; + auto GetKIDAtChainDepth(uint32_t chainDepth) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2 + { + [[nodiscard]] auto SecureStopId() const; + [[nodiscard]] auto SecurityLevel() const; + [[nodiscard]] auto InMemoryOnly() const; + [[nodiscard]] auto ExpiresInRealTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest + { + [[nodiscard]] auto ContentHeader() const; + auto ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2 + { + [[nodiscard]] auto SessionId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3 + { + auto CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory + { + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement + { + auto DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession + { + auto CreateLAServiceRequest() const; + auto ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2 + { + auto CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory + { + auto CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest + { + [[nodiscard]] auto MeteringCertificate() const; + auto MeteringCertificate(array_view meteringCertBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyRevocationServiceRequest + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyRevocationServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory + { + auto CreateInstance(array_view publisherCertBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest + { + [[nodiscard]] auto SessionID() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto UpdateTime() const; + [[nodiscard]] auto Stopped() const; + [[nodiscard]] auto PublisherCertificate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory + { + auto CreateInstance(array_view publisherCertBytes) const; + auto CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view publisherCertBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest + { + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ResponseCustomData() const; + [[nodiscard]] auto ChallengeCustomData() const; + auto ChallengeCustomData(param::hstring const& value) const; + auto BeginServiceRequest() const; + auto NextServiceRequest() const; + auto GenerateManualEnablingChallenge() const; + auto ProcessManualEnablingResponse(array_view responseBytes) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage + { + auto GetMessageBody() const; + [[nodiscard]] auto MessageHeaders() const; + [[nodiscard]] auto Uri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics + { + [[nodiscard]] auto DomainJoinServiceRequestType() const; + [[nodiscard]] auto DomainLeaveServiceRequestType() const; + [[nodiscard]] auto IndividualizationServiceRequestType() const; + [[nodiscard]] auto LicenseAcquirerServiceRequestType() const; + [[nodiscard]] auto MeteringReportServiceRequestType() const; + [[nodiscard]] auto RevocationServiceRequestType() const; + [[nodiscard]] auto MediaProtectionSystemId() const; + [[nodiscard]] auto PlayReadySecurityVersion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2 + { + [[nodiscard]] auto PlayReadyCertificateSecurityLevel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3 + { + [[nodiscard]] auto SecureStopServiceRequestType() const; + auto CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4 + { + [[nodiscard]] auto InputTrustAuthorityToCreate() const; + [[nodiscard]] auto ProtectionSystemId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4; + }; + template + struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5 + { + [[nodiscard]] auto HardwareDRMDisabledAtTime() const; + [[nodiscard]] auto HardwareDRMDisabledUntilTime() const; + auto ResetHardwareDRMDisabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.1.h new file mode 100644 index 0000000000000000000000000000000000000000..95f2e7d83904e6775c4cfacdb09d73033574ff27 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.1.h @@ -0,0 +1,409 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_PlayReady_1_H +#define WINRT_Windows_Media_Protection_PlayReady_1_H +#include "winrt/impl/Windows.Media.Protection.0.h" +#include "winrt/impl/Windows.Media.Protection.PlayReady.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Protection::PlayReady +{ + struct WINRT_IMPL_EMPTY_BASES INDClient : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDClient(std::nullptr_t = nullptr) noexcept {} + INDClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDClientFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDClientFactory(std::nullptr_t = nullptr) noexcept {} + INDClientFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDClosedCaptionDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDClosedCaptionDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + INDClosedCaptionDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDCustomData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDCustomData(std::nullptr_t = nullptr) noexcept {} + INDCustomData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDCustomDataFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDCustomDataFactory(std::nullptr_t = nullptr) noexcept {} + INDCustomDataFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDDownloadEngine : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDDownloadEngine(std::nullptr_t = nullptr) noexcept {} + INDDownloadEngine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDDownloadEngineNotifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDDownloadEngineNotifier(std::nullptr_t = nullptr) noexcept {} + INDDownloadEngineNotifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDLicenseFetchCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDLicenseFetchCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + INDLicenseFetchCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDLicenseFetchDescriptor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDLicenseFetchDescriptor(std::nullptr_t = nullptr) noexcept {} + INDLicenseFetchDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDLicenseFetchDescriptorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDLicenseFetchDescriptorFactory(std::nullptr_t = nullptr) noexcept {} + INDLicenseFetchDescriptorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDLicenseFetchResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDLicenseFetchResult(std::nullptr_t = nullptr) noexcept {} + INDLicenseFetchResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDMessenger : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDMessenger(std::nullptr_t = nullptr) noexcept {} + INDMessenger(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDProximityDetectionCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDProximityDetectionCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + INDProximityDetectionCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDRegistrationCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDRegistrationCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + INDRegistrationCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDSendResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDSendResult(std::nullptr_t = nullptr) noexcept {} + INDSendResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDStartResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDStartResult(std::nullptr_t = nullptr) noexcept {} + INDStartResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDStorageFileHelper : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDStorageFileHelper(std::nullptr_t = nullptr) noexcept {} + INDStorageFileHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDStreamParser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDStreamParser(std::nullptr_t = nullptr) noexcept {} + INDStreamParser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDStreamParserNotifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDStreamParserNotifier(std::nullptr_t = nullptr) noexcept {} + INDStreamParserNotifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDTCPMessengerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDTCPMessengerFactory(std::nullptr_t = nullptr) noexcept {} + INDTCPMessengerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INDTransmitterProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INDTransmitterProperties(std::nullptr_t = nullptr) noexcept {} + INDTransmitterProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyContentHeader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyContentHeader(std::nullptr_t = nullptr) noexcept {} + IPlayReadyContentHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyContentHeader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyContentHeader2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyContentHeader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyContentHeaderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyContentHeaderFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadyContentHeaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyContentHeaderFactory2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyContentHeaderFactory2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyContentHeaderFactory2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyContentResolver : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyContentResolver(std::nullptr_t = nullptr) noexcept {} + IPlayReadyContentResolver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyDomain : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyDomain(std::nullptr_t = nullptr) noexcept {} + IPlayReadyDomain(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyDomainIterableFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyDomainIterableFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadyDomainIterableFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyDomainJoinServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyDomainJoinServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyDomainJoinServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyDomainLeaveServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyDomainLeaveServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyDomainLeaveServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyITADataGenerator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyITADataGenerator(std::nullptr_t = nullptr) noexcept {} + IPlayReadyITADataGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyIndividualizationServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyIndividualizationServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyIndividualizationServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicense : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyLicense(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicense(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicense2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyLicense2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicense2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseAcquisitionServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyLicenseAcquisitionServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseAcquisitionServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseAcquisitionServiceRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyLicenseAcquisitionServiceRequest2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseAcquisitionServiceRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseAcquisitionServiceRequest3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyLicenseAcquisitionServiceRequest3(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseAcquisitionServiceRequest3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseIterableFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyLicenseIterableFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseIterableFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseManagement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyLicenseManagement(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseManagement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyLicenseSession(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyLicenseSession2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyLicenseSessionFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyLicenseSessionFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadyLicenseSessionFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyMeteringReportServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyMeteringReportServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyMeteringReportServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyRevocationServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyRevocationServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyRevocationServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadySecureStopIterableFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadySecureStopIterableFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadySecureStopIterableFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadySecureStopServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadySecureStopServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadySecureStopServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadySecureStopServiceRequestFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadySecureStopServiceRequestFactory(std::nullptr_t = nullptr) noexcept {} + IPlayReadySecureStopServiceRequestFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyServiceRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyServiceRequest(std::nullptr_t = nullptr) noexcept {} + IPlayReadyServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadySoapMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadySoapMessage(std::nullptr_t = nullptr) noexcept {} + IPlayReadySoapMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPlayReadyStatics(std::nullptr_t = nullptr) noexcept {} + IPlayReadyStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyStatics2(std::nullptr_t = nullptr) noexcept {} + IPlayReadyStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyStatics3(std::nullptr_t = nullptr) noexcept {} + IPlayReadyStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyStatics4(std::nullptr_t = nullptr) noexcept {} + IPlayReadyStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPlayReadyStatics5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IPlayReadyStatics5(std::nullptr_t = nullptr) noexcept {} + IPlayReadyStatics5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.2.h new file mode 100644 index 0000000000000000000000000000000000000000..f69c9cb13ef662ff68164479d9c8e3ab7c096fc6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.protection.playready.2.h @@ -0,0 +1,205 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Protection_PlayReady_2_H +#define WINRT_Windows_Media_Protection_PlayReady_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Media.Protection.1.h" +#include "winrt/impl/Windows.Media.Protection.PlayReady.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Protection::PlayReady +{ + struct WINRT_IMPL_EMPTY_BASES NDClient : winrt::Windows::Media::Protection::PlayReady::INDClient + { + NDClient(std::nullptr_t) noexcept {} + NDClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDClient(ptr, take_ownership_from_abi) {} + NDClient(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger); + }; + struct WINRT_IMPL_EMPTY_BASES NDCustomData : winrt::Windows::Media::Protection::PlayReady::INDCustomData + { + NDCustomData(std::nullptr_t) noexcept {} + NDCustomData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDCustomData(ptr, take_ownership_from_abi) {} + NDCustomData(array_view customDataTypeIDBytes, array_view customDataBytes); + }; + struct WINRT_IMPL_EMPTY_BASES NDDownloadEngineNotifier : winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier + { + NDDownloadEngineNotifier(std::nullptr_t) noexcept {} + NDDownloadEngineNotifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier(ptr, take_ownership_from_abi) {} + NDDownloadEngineNotifier(); + }; + struct WINRT_IMPL_EMPTY_BASES NDLicenseFetchDescriptor : winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor + { + NDLicenseFetchDescriptor(std::nullptr_t) noexcept {} + NDLicenseFetchDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor(ptr, take_ownership_from_abi) {} + NDLicenseFetchDescriptor(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData); + }; + struct WINRT_IMPL_EMPTY_BASES NDStorageFileHelper : winrt::Windows::Media::Protection::PlayReady::INDStorageFileHelper + { + NDStorageFileHelper(std::nullptr_t) noexcept {} + NDStorageFileHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDStorageFileHelper(ptr, take_ownership_from_abi) {} + NDStorageFileHelper(); + }; + struct WINRT_IMPL_EMPTY_BASES NDStreamParserNotifier : winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier + { + NDStreamParserNotifier(std::nullptr_t) noexcept {} + NDStreamParserNotifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier(ptr, take_ownership_from_abi) {} + NDStreamParserNotifier(); + }; + struct WINRT_IMPL_EMPTY_BASES NDTCPMessenger : winrt::Windows::Media::Protection::PlayReady::INDMessenger + { + NDTCPMessenger(std::nullptr_t) noexcept {} + NDTCPMessenger(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::INDMessenger(ptr, take_ownership_from_abi) {} + NDTCPMessenger(param::hstring const& remoteHostName, uint32_t remoteHostPort); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyContentHeader : winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader, + impl::require + { + PlayReadyContentHeader(std::nullptr_t) noexcept {} + PlayReadyContentHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader(ptr, take_ownership_from_abi) {} + PlayReadyContentHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId); + PlayReadyContentHeader(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId); + explicit PlayReadyContentHeader(array_view headerBytes); + PlayReadyContentHeader(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId); + }; + struct PlayReadyContentResolver + { + PlayReadyContentResolver() = delete; + static auto ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyDomain : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain + { + PlayReadyDomain(std::nullptr_t) noexcept {} + PlayReadyDomain(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyDomainIterable : winrt::Windows::Foundation::Collections::IIterable + { + PlayReadyDomainIterable(std::nullptr_t) noexcept {} + PlayReadyDomainIterable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterable(ptr, take_ownership_from_abi) {} + explicit PlayReadyDomainIterable(winrt::guid const& domainAccountId); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyDomainIterator : winrt::Windows::Foundation::Collections::IIterator + { + PlayReadyDomainIterator(std::nullptr_t) noexcept {} + PlayReadyDomainIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyDomainJoinServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest + { + PlayReadyDomainJoinServiceRequest(std::nullptr_t) noexcept {} + PlayReadyDomainJoinServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyDomainJoinServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyDomainLeaveServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest + { + PlayReadyDomainLeaveServiceRequest(std::nullptr_t) noexcept {} + PlayReadyDomainLeaveServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyDomainLeaveServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyITADataGenerator : winrt::Windows::Media::Protection::PlayReady::IPlayReadyITADataGenerator + { + PlayReadyITADataGenerator(std::nullptr_t) noexcept {} + PlayReadyITADataGenerator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyITADataGenerator(ptr, take_ownership_from_abi) {} + PlayReadyITADataGenerator(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyIndividualizationServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyIndividualizationServiceRequest + { + PlayReadyIndividualizationServiceRequest(std::nullptr_t) noexcept {} + PlayReadyIndividualizationServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyIndividualizationServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyIndividualizationServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyLicense : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense, + impl::require + { + PlayReadyLicense(std::nullptr_t) noexcept {} + PlayReadyLicense(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyLicenseAcquisitionServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest, + impl::require + { + PlayReadyLicenseAcquisitionServiceRequest(std::nullptr_t) noexcept {} + PlayReadyLicenseAcquisitionServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyLicenseAcquisitionServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyLicenseIterable : winrt::Windows::Foundation::Collections::IIterable + { + PlayReadyLicenseIterable(std::nullptr_t) noexcept {} + PlayReadyLicenseIterable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterable(ptr, take_ownership_from_abi) {} + PlayReadyLicenseIterable(); + PlayReadyLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyLicenseIterator : winrt::Windows::Foundation::Collections::IIterator + { + PlayReadyLicenseIterator(std::nullptr_t) noexcept {} + PlayReadyLicenseIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator(ptr, take_ownership_from_abi) {} + }; + struct PlayReadyLicenseManagement + { + PlayReadyLicenseManagement() = delete; + static auto DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyLicenseSession : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession, + impl::require + { + PlayReadyLicenseSession(std::nullptr_t) noexcept {} + PlayReadyLicenseSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession(ptr, take_ownership_from_abi) {} + explicit PlayReadyLicenseSession(winrt::Windows::Foundation::Collections::IPropertySet const& configuration); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyMeteringReportServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest + { + PlayReadyMeteringReportServiceRequest(std::nullptr_t) noexcept {} + PlayReadyMeteringReportServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyMeteringReportServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadyRevocationServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadyRevocationServiceRequest + { + PlayReadyRevocationServiceRequest(std::nullptr_t) noexcept {} + PlayReadyRevocationServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadyRevocationServiceRequest(ptr, take_ownership_from_abi) {} + PlayReadyRevocationServiceRequest(); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadySecureStopIterable : winrt::Windows::Foundation::Collections::IIterable + { + PlayReadySecureStopIterable(std::nullptr_t) noexcept {} + PlayReadySecureStopIterable(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterable(ptr, take_ownership_from_abi) {} + explicit PlayReadySecureStopIterable(array_view publisherCertBytes); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadySecureStopIterator : winrt::Windows::Foundation::Collections::IIterator + { + PlayReadySecureStopIterator(std::nullptr_t) noexcept {} + PlayReadySecureStopIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadySecureStopServiceRequest : winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest + { + PlayReadySecureStopServiceRequest(std::nullptr_t) noexcept {} + PlayReadySecureStopServiceRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest(ptr, take_ownership_from_abi) {} + explicit PlayReadySecureStopServiceRequest(array_view publisherCertBytes); + PlayReadySecureStopServiceRequest(winrt::guid const& sessionID, array_view publisherCertBytes); + }; + struct WINRT_IMPL_EMPTY_BASES PlayReadySoapMessage : winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage + { + PlayReadySoapMessage(std::nullptr_t) noexcept {} + PlayReadySoapMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage(ptr, take_ownership_from_abi) {} + }; + struct PlayReadyStatics + { + PlayReadyStatics() = delete; + [[nodiscard]] static auto DomainJoinServiceRequestType(); + [[nodiscard]] static auto DomainLeaveServiceRequestType(); + [[nodiscard]] static auto IndividualizationServiceRequestType(); + [[nodiscard]] static auto LicenseAcquirerServiceRequestType(); + [[nodiscard]] static auto MeteringReportServiceRequestType(); + [[nodiscard]] static auto RevocationServiceRequestType(); + [[nodiscard]] static auto MediaProtectionSystemId(); + [[nodiscard]] static auto PlayReadySecurityVersion(); + [[nodiscard]] static auto PlayReadyCertificateSecurityLevel(); + [[nodiscard]] static auto SecureStopServiceRequestType(); + static auto CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature); + [[nodiscard]] static auto InputTrustAuthorityToCreate(); + [[nodiscard]] static auto ProtectionSystemId(); + [[nodiscard]] static auto HardwareDRMDisabledAtTime(); + [[nodiscard]] static auto HardwareDRMDisabledUntilTime(); + static auto ResetHardwareDRMDisabled(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.0.h new file mode 100644 index 0000000000000000000000000000000000000000..631578b52b6b9b58604fc156e022799412e6867c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.0.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Render_0_H +#define WINRT_Windows_Media_Render_0_H +WINRT_EXPORT namespace winrt::Windows::Media::Render +{ + enum class AudioRenderCategory : int32_t + { + Other = 0, + ForegroundOnlyMedia = 1, + BackgroundCapableMedia = 2, + Communications = 3, + Alerts = 4, + SoundEffects = 5, + GameEffects = 6, + GameMedia = 7, + GameChat = 8, + Speech = 9, + Movie = 10, + Media = 11, + }; +} +namespace winrt::impl +{ + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Render.AudioRenderCategory"; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.1.h new file mode 100644 index 0000000000000000000000000000000000000000..d3da72bc20806f64818f7fa4198976ce533c3a66 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.1.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Render_1_H +#define WINRT_Windows_Media_Render_1_H +#include "winrt/impl/Windows.Media.Render.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Render +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.2.h new file mode 100644 index 0000000000000000000000000000000000000000..359f874aed60985bcc3ae65f4ca904f3ab790e9e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.render.2.h @@ -0,0 +1,13 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Render_2_H +#define WINRT_Windows_Media_Render_2_H +#include "winrt/impl/Windows.Media.Render.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Render +{ +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a9c65dbb36e2dbfe6547b55aa196c782a63d47af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.0.h @@ -0,0 +1,877 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechRecognition_0_H +#define WINRT_Windows_Media_SpeechRecognition_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Globalization +{ + struct Language; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition +{ + enum class SpeechContinuousRecognitionMode : int32_t + { + Default = 0, + PauseOnRecognition = 1, + }; + enum class SpeechRecognitionAudioProblem : int32_t + { + None = 0, + TooNoisy = 1, + NoSignal = 2, + TooLoud = 3, + TooQuiet = 4, + TooFast = 5, + TooSlow = 6, + }; + enum class SpeechRecognitionConfidence : int32_t + { + High = 0, + Medium = 1, + Low = 2, + Rejected = 3, + }; + enum class SpeechRecognitionConstraintProbability : int32_t + { + Default = 0, + Min = 1, + Max = 2, + }; + enum class SpeechRecognitionConstraintType : int32_t + { + Topic = 0, + List = 1, + Grammar = 2, + VoiceCommandDefinition = 3, + }; + enum class SpeechRecognitionResultStatus : int32_t + { + Success = 0, + TopicLanguageNotSupported = 1, + GrammarLanguageMismatch = 2, + GrammarCompilationFailure = 3, + AudioQualityFailure = 4, + UserCanceled = 5, + Unknown = 6, + TimeoutExceeded = 7, + PauseLimitExceeded = 8, + NetworkFailure = 9, + MicrophoneUnavailable = 10, + }; + enum class SpeechRecognitionScenario : int32_t + { + WebSearch = 0, + Dictation = 1, + FormFilling = 2, + }; + enum class SpeechRecognizerState : int32_t + { + Idle = 0, + Capturing = 1, + Processing = 2, + SoundStarted = 3, + SoundEnded = 4, + SpeechDetected = 5, + Paused = 6, + }; + struct ISpeechContinuousRecognitionCompletedEventArgs; + struct ISpeechContinuousRecognitionResultGeneratedEventArgs; + struct ISpeechContinuousRecognitionSession; + struct ISpeechRecognitionCompilationResult; + struct ISpeechRecognitionConstraint; + struct ISpeechRecognitionGrammarFileConstraint; + struct ISpeechRecognitionGrammarFileConstraintFactory; + struct ISpeechRecognitionHypothesis; + struct ISpeechRecognitionHypothesisGeneratedEventArgs; + struct ISpeechRecognitionListConstraint; + struct ISpeechRecognitionListConstraintFactory; + struct ISpeechRecognitionQualityDegradingEventArgs; + struct ISpeechRecognitionResult; + struct ISpeechRecognitionResult2; + struct ISpeechRecognitionSemanticInterpretation; + struct ISpeechRecognitionTopicConstraint; + struct ISpeechRecognitionTopicConstraintFactory; + struct ISpeechRecognitionVoiceCommandDefinitionConstraint; + struct ISpeechRecognizer; + struct ISpeechRecognizer2; + struct ISpeechRecognizerFactory; + struct ISpeechRecognizerStateChangedEventArgs; + struct ISpeechRecognizerStatics; + struct ISpeechRecognizerStatics2; + struct ISpeechRecognizerTimeouts; + struct ISpeechRecognizerUIOptions; + struct IVoiceCommandManager; + struct IVoiceCommandSet; + struct SpeechContinuousRecognitionCompletedEventArgs; + struct SpeechContinuousRecognitionResultGeneratedEventArgs; + struct SpeechContinuousRecognitionSession; + struct SpeechRecognitionCompilationResult; + struct SpeechRecognitionGrammarFileConstraint; + struct SpeechRecognitionHypothesis; + struct SpeechRecognitionHypothesisGeneratedEventArgs; + struct SpeechRecognitionListConstraint; + struct SpeechRecognitionQualityDegradingEventArgs; + struct SpeechRecognitionResult; + struct SpeechRecognitionSemanticInterpretation; + struct SpeechRecognitionTopicConstraint; + struct SpeechRecognitionVoiceCommandDefinitionConstraint; + struct SpeechRecognizer; + struct SpeechRecognizerStateChangedEventArgs; + struct SpeechRecognizerTimeouts; + struct SpeechRecognizerUIOptions; + struct VoiceCommandManager; + struct VoiceCommandSet; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizer"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.VoiceCommandManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.VoiceCommandSet"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionMode"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionAudioProblem"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConfidence"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConstraintType"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionScenario"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerState"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionResultGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionCompilationResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionGrammarFileConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionGrammarFileConstraintFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesisGeneratedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraintFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionQualityDegradingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionSemanticInterpretation"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionTopicConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionTopicConstraintFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionVoiceCommandDefinitionConstraint"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizer"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizer2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerUIOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.IVoiceCommandManager"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.IVoiceCommandSet"; + template <> inline constexpr guid guid_v{ 0xE3D069BB,0xE30C,0x5E18,{ 0x42,0x4B,0x7F,0xBE,0x81,0xF8,0xFB,0xD0 } }; // E3D069BB-E30C-5E18-424B-7FBE81F8FBD0 + template <> inline constexpr guid guid_v{ 0x19091E1E,0x6E7E,0x5A46,{ 0x40,0xFB,0x76,0x59,0x4F,0x78,0x65,0x04 } }; // 19091E1E-6E7E-5A46-40FB-76594F786504 + template <> inline constexpr guid guid_v{ 0x6A213C04,0x6614,0x49F8,{ 0x99,0xA2,0xB5,0xE9,0xB3,0xA0,0x85,0xC8 } }; // 6A213C04-6614-49F8-99A2-B5E9B3A085C8 + template <> inline constexpr guid guid_v{ 0x407E6C5D,0x6AC7,0x4DA4,{ 0x9C,0xC1,0x2F,0xCE,0x32,0xCF,0x74,0x89 } }; // 407E6C5D-6AC7-4DA4-9CC1-2FCE32CF7489 + template <> inline constexpr guid guid_v{ 0x79AC1628,0x4D68,0x43C4,{ 0x89,0x11,0x40,0xDC,0x41,0x01,0xB5,0x5B } }; // 79AC1628-4D68-43C4-8911-40DC4101B55B + template <> inline constexpr guid guid_v{ 0xB5031A8F,0x85CA,0x4FA4,{ 0xB1,0x1A,0x47,0x4F,0xC4,0x1B,0x38,0x35 } }; // B5031A8F-85CA-4FA4-B11A-474FC41B3835 + template <> inline constexpr guid guid_v{ 0x3DA770EB,0xC479,0x4C27,{ 0x9F,0x19,0x89,0x97,0x4E,0xF3,0x92,0xD1 } }; // 3DA770EB-C479-4C27-9F19-89974EF392D1 + template <> inline constexpr guid guid_v{ 0x7A7B25B0,0x99C5,0x4F7D,{ 0xBF,0x84,0x10,0xAA,0x13,0x02,0xB6,0x34 } }; // 7A7B25B0-99C5-4F7D-BF84-10AA1302B634 + template <> inline constexpr guid guid_v{ 0x55161A7A,0x8023,0x5866,{ 0x41,0x1D,0x12,0x13,0xBB,0x27,0x14,0x76 } }; // 55161A7A-8023-5866-411D-1213BB271476 + template <> inline constexpr guid guid_v{ 0x09C487E9,0xE4AD,0x4526,{ 0x81,0xF2,0x49,0x46,0xFB,0x48,0x1D,0x98 } }; // 09C487E9-E4AD-4526-81F2-4946FB481D98 + template <> inline constexpr guid guid_v{ 0x40F3CDC7,0x562A,0x426A,{ 0x9F,0x3B,0x3B,0x4E,0x28,0x2B,0xE1,0xD5 } }; // 40F3CDC7-562A-426A-9F3B-3B4E282BE1D5 + template <> inline constexpr guid guid_v{ 0x4FE24105,0x8C3A,0x4C7E,{ 0x8D,0x0A,0x5B,0xD4,0xF5,0xB1,0x4A,0xD8 } }; // 4FE24105-8C3A-4C7E-8D0A-5BD4F5B14AD8 + template <> inline constexpr guid guid_v{ 0x4E303157,0x034E,0x4652,{ 0x85,0x7E,0xD0,0x45,0x4C,0xC4,0xBE,0xEC } }; // 4E303157-034E-4652-857E-D0454CC4BEEC + template <> inline constexpr guid guid_v{ 0xAF7ED1BA,0x451B,0x4166,{ 0xA0,0xC1,0x1F,0xFE,0x84,0x03,0x2D,0x03 } }; // AF7ED1BA-451B-4166-A0C1-1FFE84032D03 + template <> inline constexpr guid guid_v{ 0xAAE1DA9B,0x7E32,0x4C1F,{ 0x89,0xFE,0x0C,0x65,0xF4,0x86,0xF5,0x2E } }; // AAE1DA9B-7E32-4C1F-89FE-0C65F486F52E + template <> inline constexpr guid guid_v{ 0xBF6FDF19,0x825D,0x4E69,{ 0xA6,0x81,0x36,0xE4,0x8C,0xF1,0xC9,0x3E } }; // BF6FDF19-825D-4E69-A681-36E48CF1C93E + template <> inline constexpr guid guid_v{ 0x6E6863DF,0xEC05,0x47D7,{ 0xA5,0xDF,0x56,0xA3,0x43,0x1E,0x58,0xD2 } }; // 6E6863DF-EC05-47D7-A5DF-56A3431E58D2 + template <> inline constexpr guid guid_v{ 0xF2791C2B,0x1EF4,0x4AE7,{ 0x9D,0x77,0xB6,0xFF,0x10,0xB8,0xA3,0xC2 } }; // F2791C2B-1EF4-4AE7-9D77-B6FF10B8A3C2 + template <> inline constexpr guid guid_v{ 0x0BC3C9CB,0xC26A,0x40F2,{ 0xAE,0xB5,0x80,0x96,0xB2,0xE4,0x80,0x73 } }; // 0BC3C9CB-C26A-40F2-AEB5-8096B2E48073 + template <> inline constexpr guid guid_v{ 0x63C9BAF1,0x91E3,0x4EA4,{ 0x86,0xA1,0x7C,0x38,0x67,0xD0,0x84,0xA6 } }; // 63C9BAF1-91E3-4EA4-86A1-7C3867D084A6 + template <> inline constexpr guid guid_v{ 0x60C488DD,0x7FB8,0x4033,{ 0xAC,0x70,0xD0,0x46,0xF6,0x48,0x18,0xE1 } }; // 60C488DD-7FB8-4033-AC70-D046F64818E1 + template <> inline constexpr guid guid_v{ 0x563D4F09,0xBA03,0x4BAD,{ 0xAD,0x81,0xDD,0xC6,0xC4,0xDA,0xB0,0xC3 } }; // 563D4F09-BA03-4BAD-AD81-DDC6C4DAB0C3 + template <> inline constexpr guid guid_v{ 0x87A35EAC,0xA7DC,0x4B0B,{ 0xBC,0xC9,0x24,0xF4,0x7C,0x0B,0x7E,0xBF } }; // 87A35EAC-A7DC-4B0B-BCC9-24F47C0B7EBF + template <> inline constexpr guid guid_v{ 0x1D1B0D95,0x7565,0x4EF9,{ 0xA2,0xF3,0xBA,0x15,0x16,0x2A,0x96,0xCF } }; // 1D1B0D95-7565-4EF9-A2F3-BA15162A96CF + template <> inline constexpr guid guid_v{ 0x2EF76FCA,0x6A3C,0x4DCA,{ 0xA1,0x53,0xDF,0x1B,0xC8,0x8A,0x79,0xAF } }; // 2EF76FCA-6A3C-4DCA-A153-DF1BC88A79AF + template <> inline constexpr guid guid_v{ 0x7888D641,0xB92B,0x44BA,{ 0xA2,0x5F,0xD1,0x86,0x46,0x30,0x64,0x1F } }; // 7888D641-B92B-44BA-A25F-D1864630641F + template <> inline constexpr guid guid_v{ 0xAA3A8DD5,0xB6E7,0x4EE2,{ 0xBA,0xA9,0xDD,0x6B,0xAC,0xED,0x0A,0x2B } }; // AA3A8DD5-B6E7-4EE2-BAA9-DD6BACED0A2B + template <> inline constexpr guid guid_v{ 0x0BEDDA75,0x46E6,0x4B11,{ 0xA0,0x88,0x5C,0x68,0x63,0x28,0x99,0xB5 } }; // 0BEDDA75-46E6-4B11-A088-5C68632899B5 + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionVoiceCommandDefinitionConstraint; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AutoStopSilenceTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_AutoStopSilenceTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall StartWithModeAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StopAsync(void**) noexcept = 0; + virtual int32_t __stdcall CancelAsync(void**) noexcept = 0; + virtual int32_t __stdcall PauseAsync(void**) noexcept = 0; + virtual int32_t __stdcall Resume() noexcept = 0; + virtual int32_t __stdcall add_Completed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Completed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ResultGenerated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ResultGenerated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Probability(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Probability(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GrammarFile(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTag(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Hypothesis(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Commands(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTag(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Problem(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall get_Confidence(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SemanticInterpretation(void**) noexcept = 0; + virtual int32_t __stdcall GetAlternates(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Constraint(void**) noexcept = 0; + virtual int32_t __stdcall get_RulePath(void**) noexcept = 0; + virtual int32_t __stdcall get_RawConfidence(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PhraseStartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_PhraseDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Scenario(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_TopicHint(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTag(int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_Constraints(void**) noexcept = 0; + virtual int32_t __stdcall get_Timeouts(void**) noexcept = 0; + virtual int32_t __stdcall get_UIOptions(void**) noexcept = 0; + virtual int32_t __stdcall CompileConstraintsAsync(void**) noexcept = 0; + virtual int32_t __stdcall RecognizeAsync(void**) noexcept = 0; + virtual int32_t __stdcall RecognizeWithUIAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_RecognitionQualityDegrading(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RecognitionQualityDegrading(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContinuousRecognitionSession(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall StopRecognitionAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_HypothesisGenerated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HypothesisGenerated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SystemSpeechLanguage(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedTopicLanguages(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedGrammarLanguages(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TrySetSystemSpeechLanguageAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InitialSilenceTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_InitialSilenceTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_EndSilenceTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_EndSilenceTimeout(int64_t) noexcept = 0; + virtual int32_t __stdcall get_BabbleTimeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_BabbleTimeout(int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExampleText(void**) noexcept = 0; + virtual int32_t __stdcall put_ExampleText(void*) noexcept = 0; + virtual int32_t __stdcall get_AudiblePrompt(void**) noexcept = 0; + virtual int32_t __stdcall put_AudiblePrompt(void*) noexcept = 0; + virtual int32_t __stdcall get_IsReadBackEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsReadBackEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ShowConfirmation(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShowConfirmation(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall InstallCommandSetsFromStorageFileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_InstalledCommandSets(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall SetPhraseListAsync(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs + { + [[nodiscard]] auto Result() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession + { + [[nodiscard]] auto AutoStopSilenceTimeout() const; + auto AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + auto StartAsync() const; + auto StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const; + auto StopAsync() const; + auto CancelAsync() const; + auto PauseAsync() const; + auto Resume() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using Completed_revoker = impl::event_revoker::remove_Completed>; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Completed(winrt::event_token const& value) const noexcept; + auto ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using ResultGenerated_revoker = impl::event_revoker::remove_ResultGenerated>; + [[nodiscard]] auto ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ResultGenerated(winrt::event_token const& value) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint + { + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto Tag() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Probability() const; + auto Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint + { + [[nodiscard]] auto GrammarFile() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory + { + auto Create(winrt::Windows::Storage::StorageFile const& file) const; + auto CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis + { + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs + { + [[nodiscard]] auto Hypothesis() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint + { + [[nodiscard]] auto Commands() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory + { + auto Create(param::iterable const& commands) const; + auto CreateWithTag(param::iterable const& commands, param::hstring const& tag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs + { + [[nodiscard]] auto Problem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Confidence() const; + [[nodiscard]] auto SemanticInterpretation() const; + auto GetAlternates(uint32_t maxAlternates) const; + [[nodiscard]] auto Constraint() const; + [[nodiscard]] auto RulePath() const; + [[nodiscard]] auto RawConfidence() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2 + { + [[nodiscard]] auto PhraseStartTime() const; + [[nodiscard]] auto PhraseDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation + { + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint + { + [[nodiscard]] auto Scenario() const; + [[nodiscard]] auto TopicHint() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory + { + auto Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const; + auto CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionVoiceCommandDefinitionConstraint + { + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionVoiceCommandDefinitionConstraint; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer + { + [[nodiscard]] auto CurrentLanguage() const; + [[nodiscard]] auto Constraints() const; + [[nodiscard]] auto Timeouts() const; + [[nodiscard]] auto UIOptions() const; + auto CompileConstraintsAsync() const; + auto RecognizeAsync() const; + auto RecognizeWithUIAsync() const; + auto RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; + using RecognitionQualityDegrading_revoker = impl::event_revoker::remove_RecognitionQualityDegrading>; + [[nodiscard]] auto RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; + auto RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; + auto StateChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizer; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2 + { + [[nodiscard]] auto ContinuousRecognitionSession() const; + [[nodiscard]] auto State() const; + auto StopRecognitionAsync() const; + auto HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using HypothesisGenerated_revoker = impl::event_revoker::remove_HypothesisGenerated>; + [[nodiscard]] auto HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HypothesisGenerated(winrt::event_token const& value) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory + { + auto Create(winrt::Windows::Globalization::Language const& language) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs + { + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics + { + [[nodiscard]] auto SystemSpeechLanguage() const; + [[nodiscard]] auto SupportedTopicLanguages() const; + [[nodiscard]] auto SupportedGrammarLanguages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2 + { + auto TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts + { + [[nodiscard]] auto InitialSilenceTimeout() const; + auto InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto EndSilenceTimeout() const; + auto EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BabbleTimeout() const; + auto BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts; + }; + template + struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions + { + [[nodiscard]] auto ExampleText() const; + auto ExampleText(param::hstring const& value) const; + [[nodiscard]] auto AudiblePrompt() const; + auto AudiblePrompt(param::hstring const& value) const; + [[nodiscard]] auto IsReadBackEnabled() const; + auto IsReadBackEnabled(bool value) const; + [[nodiscard]] auto ShowConfirmation() const; + auto ShowConfirmation(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions; + }; + template + struct consume_Windows_Media_SpeechRecognition_IVoiceCommandManager + { + auto InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto InstalledCommandSets() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_IVoiceCommandManager; + }; + template + struct consume_Windows_Media_SpeechRecognition_IVoiceCommandSet + { + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Name() const; + auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechRecognition_IVoiceCommandSet; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6aa0124117af44e60ce15ad124a509314666488f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.1.h @@ -0,0 +1,215 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechRecognition_1_H +#define WINRT_Windows_Media_SpeechRecognition_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Media.SpeechRecognition.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition +{ + struct WINRT_IMPL_EMPTY_BASES ISpeechContinuousRecognitionCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechContinuousRecognitionCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpeechContinuousRecognitionCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechContinuousRecognitionResultGeneratedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechContinuousRecognitionResultGeneratedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpeechContinuousRecognitionResultGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechContinuousRecognitionSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechContinuousRecognitionSession(std::nullptr_t = nullptr) noexcept {} + ISpeechContinuousRecognitionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionCompilationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionCompilationResult(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionCompilationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionConstraint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionConstraint(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionGrammarFileConstraint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechRecognitionGrammarFileConstraint(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionGrammarFileConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionGrammarFileConstraintFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionGrammarFileConstraintFactory(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionGrammarFileConstraintFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionHypothesis : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionHypothesis(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionHypothesis(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionHypothesisGeneratedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionHypothesisGeneratedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionHypothesisGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionListConstraint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechRecognitionListConstraint(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionListConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionListConstraintFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionListConstraintFactory(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionListConstraintFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionQualityDegradingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionQualityDegradingEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionQualityDegradingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionResult(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionResult2(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionSemanticInterpretation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionSemanticInterpretation(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionSemanticInterpretation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionTopicConstraint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechRecognitionTopicConstraint(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionTopicConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionTopicConstraintFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognitionTopicConstraintFactory(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionTopicConstraintFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognitionVoiceCommandDefinitionConstraint : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechRecognitionVoiceCommandDefinitionConstraint(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognitionVoiceCommandDefinitionConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechRecognizer(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizer2(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerFactory(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerStatics(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerStatics2(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerTimeouts : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerTimeouts(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerTimeouts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechRecognizerUIOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechRecognizerUIOptions(std::nullptr_t = nullptr) noexcept {} + ISpeechRecognizerUIOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandManager(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceCommandSet : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceCommandSet(std::nullptr_t = nullptr) noexcept {} + IVoiceCommandSet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.2.h new file mode 100644 index 0000000000000000000000000000000000000000..68707338d7d82dfe1b5d1ea990658a4a311f4e4b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechrecognition.2.h @@ -0,0 +1,127 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechRecognition_2_H +#define WINRT_Windows_Media_SpeechRecognition_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Globalization.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Media.SpeechRecognition.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition +{ + struct WINRT_IMPL_EMPTY_BASES SpeechContinuousRecognitionCompletedEventArgs : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs + { + SpeechContinuousRecognitionCompletedEventArgs(std::nullptr_t) noexcept {} + SpeechContinuousRecognitionCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechContinuousRecognitionResultGeneratedEventArgs : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs + { + SpeechContinuousRecognitionResultGeneratedEventArgs(std::nullptr_t) noexcept {} + SpeechContinuousRecognitionResultGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechContinuousRecognitionSession : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession + { + SpeechContinuousRecognitionSession(std::nullptr_t) noexcept {} + SpeechContinuousRecognitionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionCompilationResult : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult + { + SpeechRecognitionCompilationResult(std::nullptr_t) noexcept {} + SpeechRecognitionCompilationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionGrammarFileConstraint : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint + { + SpeechRecognitionGrammarFileConstraint(std::nullptr_t) noexcept {} + SpeechRecognitionGrammarFileConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint(ptr, take_ownership_from_abi) {} + explicit SpeechRecognitionGrammarFileConstraint(winrt::Windows::Storage::StorageFile const& file); + SpeechRecognitionGrammarFileConstraint(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag); + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionHypothesis : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis + { + SpeechRecognitionHypothesis(std::nullptr_t) noexcept {} + SpeechRecognitionHypothesis(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionHypothesisGeneratedEventArgs : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs + { + SpeechRecognitionHypothesisGeneratedEventArgs(std::nullptr_t) noexcept {} + SpeechRecognitionHypothesisGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionListConstraint : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint + { + SpeechRecognitionListConstraint(std::nullptr_t) noexcept {} + SpeechRecognitionListConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint(ptr, take_ownership_from_abi) {} + explicit SpeechRecognitionListConstraint(param::iterable const& commands); + SpeechRecognitionListConstraint(param::iterable const& commands, param::hstring const& tag); + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionQualityDegradingEventArgs : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs + { + SpeechRecognitionQualityDegradingEventArgs(std::nullptr_t) noexcept {} + SpeechRecognitionQualityDegradingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionResult : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult, + impl::require + { + SpeechRecognitionResult(std::nullptr_t) noexcept {} + SpeechRecognitionResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionSemanticInterpretation : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation + { + SpeechRecognitionSemanticInterpretation(std::nullptr_t) noexcept {} + SpeechRecognitionSemanticInterpretation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionTopicConstraint : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint + { + SpeechRecognitionTopicConstraint(std::nullptr_t) noexcept {} + SpeechRecognitionTopicConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint(ptr, take_ownership_from_abi) {} + SpeechRecognitionTopicConstraint(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint); + SpeechRecognitionTopicConstraint(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag); + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognitionVoiceCommandDefinitionConstraint : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionVoiceCommandDefinitionConstraint + { + SpeechRecognitionVoiceCommandDefinitionConstraint(std::nullptr_t) noexcept {} + SpeechRecognitionVoiceCommandDefinitionConstraint(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionVoiceCommandDefinitionConstraint(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognizer : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer, + impl::require + { + SpeechRecognizer(std::nullptr_t) noexcept {} + SpeechRecognizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer(ptr, take_ownership_from_abi) {} + SpeechRecognizer(); + explicit SpeechRecognizer(winrt::Windows::Globalization::Language const& language); + [[nodiscard]] static auto SystemSpeechLanguage(); + [[nodiscard]] static auto SupportedTopicLanguages(); + [[nodiscard]] static auto SupportedGrammarLanguages(); + static auto TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage); + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognizerStateChangedEventArgs : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs + { + SpeechRecognizerStateChangedEventArgs(std::nullptr_t) noexcept {} + SpeechRecognizerStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognizerTimeouts : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts + { + SpeechRecognizerTimeouts(std::nullptr_t) noexcept {} + SpeechRecognizerTimeouts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechRecognizerUIOptions : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions + { + SpeechRecognizerUIOptions(std::nullptr_t) noexcept {} + SpeechRecognizerUIOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions(ptr, take_ownership_from_abi) {} + }; + struct VoiceCommandManager + { + VoiceCommandManager() = delete; + static auto InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file); + [[nodiscard]] static auto InstalledCommandSets(); + }; + struct WINRT_IMPL_EMPTY_BASES VoiceCommandSet : winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet + { + VoiceCommandSet(std::nullptr_t) noexcept {} + VoiceCommandSet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.0.h new file mode 100644 index 0000000000000000000000000000000000000000..227fc5e01f220921f73f058f06c5e892d1c1f9a4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.0.h @@ -0,0 +1,270 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechSynthesis_0_H +#define WINRT_Windows_Media_SpeechSynthesis_0_H +WINRT_EXPORT namespace winrt::Windows::Media::SpeechSynthesis +{ + enum class SpeechAppendedSilence : int32_t + { + Default = 0, + Min = 1, + }; + enum class SpeechPunctuationSilence : int32_t + { + Default = 0, + Min = 1, + }; + enum class VoiceGender : int32_t + { + Male = 0, + Female = 1, + }; + struct IInstalledVoicesStatic; + struct IInstalledVoicesStatic2; + struct ISpeechSynthesisStream; + struct ISpeechSynthesizer; + struct ISpeechSynthesizer2; + struct ISpeechSynthesizerOptions; + struct ISpeechSynthesizerOptions2; + struct ISpeechSynthesizerOptions3; + struct IVoiceInformation; + struct SpeechSynthesisStream; + struct SpeechSynthesizer; + struct SpeechSynthesizerOptions; + struct VoiceInformation; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.SpeechSynthesisStream"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.SpeechSynthesizer"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.SpeechSynthesizerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.VoiceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.SpeechAppendedSilence"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.SpeechPunctuationSilence"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.VoiceGender"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.IInstalledVoicesStatic"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.IInstalledVoicesStatic2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesisStream"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesizer"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesizer2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesizerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesizerOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.ISpeechSynthesizerOptions3"; + template <> inline constexpr auto& name_v = L"Windows.Media.SpeechSynthesis.IVoiceInformation"; + template <> inline constexpr guid guid_v{ 0x7D526ECC,0x7533,0x4C3F,{ 0x85,0xBE,0x88,0x8C,0x2B,0xAE,0xEB,0xDC } }; // 7D526ECC-7533-4C3F-85BE-888C2BAEEBDC + template <> inline constexpr guid guid_v{ 0x64255F2E,0x358D,0x4058,{ 0xBE,0x9A,0xFD,0x3F,0xCB,0x42,0x35,0x30 } }; // 64255F2E-358D-4058-BE9A-FD3FCB423530 + template <> inline constexpr guid guid_v{ 0x83E46E93,0x244C,0x4622,{ 0xBA,0x0B,0x62,0x29,0xC4,0xD0,0xD6,0x5D } }; // 83E46E93-244C-4622-BA0B-6229C4D0D65D + template <> inline constexpr guid guid_v{ 0xCE9F7C76,0x97F4,0x4CED,{ 0xAD,0x68,0xD5,0x1C,0x45,0x8E,0x45,0xC6 } }; // CE9F7C76-97F4-4CED-AD68-D51C458E45C6 + template <> inline constexpr guid guid_v{ 0xA7C5ECB2,0x4339,0x4D6A,{ 0xBB,0xF8,0xC7,0xA4,0xF1,0x54,0x4C,0x2E } }; // A7C5ECB2-4339-4D6A-BBF8-C7A4F1544C2E + template <> inline constexpr guid guid_v{ 0xA0E23871,0xCC3D,0x43C9,{ 0x91,0xB1,0xEE,0x18,0x53,0x24,0xD8,0x3D } }; // A0E23871-CC3D-43C9-91B1-EE185324D83D + template <> inline constexpr guid guid_v{ 0x1CBEF60E,0x119C,0x4BED,{ 0xB1,0x18,0xD2,0x50,0xC3,0xA2,0x57,0x93 } }; // 1CBEF60E-119C-4BED-B118-D250C3A25793 + template <> inline constexpr guid guid_v{ 0x401ED877,0x902C,0x4814,{ 0xA5,0x82,0xA5,0xD0,0xC0,0x76,0x9F,0xA8 } }; // 401ED877-902C-4814-A582-A5D0C0769FA8 + template <> inline constexpr guid guid_v{ 0xB127D6A4,0x1291,0x4604,{ 0xAA,0x9C,0x83,0x13,0x40,0x83,0x35,0x2C } }; // B127D6A4-1291-4604-AA9C-83134083352C + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Media::SpeechSynthesis::IVoiceInformation; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllVoices(void**) noexcept = 0; + virtual int32_t __stdcall get_DefaultVoice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TrySetDefaultVoiceAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Markers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SynthesizeTextToStreamAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SynthesizeSsmlToStreamAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall put_Voice(void*) noexcept = 0; + virtual int32_t __stdcall get_Voice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludeWordBoundaryMetadata(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeWordBoundaryMetadata(bool) noexcept = 0; + virtual int32_t __stdcall get_IncludeSentenceBoundaryMetadata(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeSentenceBoundaryMetadata(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AudioVolume(double*) noexcept = 0; + virtual int32_t __stdcall put_AudioVolume(double) noexcept = 0; + virtual int32_t __stdcall get_SpeakingRate(double*) noexcept = 0; + virtual int32_t __stdcall put_SpeakingRate(double) noexcept = 0; + virtual int32_t __stdcall get_AudioPitch(double*) noexcept = 0; + virtual int32_t __stdcall put_AudioPitch(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppendedSilence(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AppendedSilence(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PunctuationSilence(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PunctuationSilence(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Language(void**) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall get_Gender(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic + { + [[nodiscard]] auto AllVoices() const; + [[nodiscard]] auto DefaultVoice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic; + }; + template + struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2 + { + auto TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream + { + [[nodiscard]] auto Markers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer + { + auto SynthesizeTextToStreamAsync(param::hstring const& text) const; + auto SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const; + auto Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const; + [[nodiscard]] auto Voice() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2 + { + [[nodiscard]] auto Options() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions + { + [[nodiscard]] auto IncludeWordBoundaryMetadata() const; + auto IncludeWordBoundaryMetadata(bool value) const; + [[nodiscard]] auto IncludeSentenceBoundaryMetadata() const; + auto IncludeSentenceBoundaryMetadata(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2 + { + [[nodiscard]] auto AudioVolume() const; + auto AudioVolume(double value) const; + [[nodiscard]] auto SpeakingRate() const; + auto SpeakingRate(double value) const; + [[nodiscard]] auto AudioPitch() const; + auto AudioPitch(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2; + }; + template + struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3 + { + [[nodiscard]] auto AppendedSilence() const; + auto AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const; + [[nodiscard]] auto PunctuationSilence() const; + auto PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3; + }; + template + struct consume_Windows_Media_SpeechSynthesis_IVoiceInformation + { + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Gender() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_SpeechSynthesis_IVoiceInformation; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ffdbcb6c0010d7e7af0be92dd0d48c91a84e26cf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.1.h @@ -0,0 +1,79 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechSynthesis_1_H +#define WINRT_Windows_Media_SpeechSynthesis_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Storage.Streams.0.h" +#include "winrt/impl/Windows.Media.SpeechSynthesis.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::SpeechSynthesis +{ + struct WINRT_IMPL_EMPTY_BASES IInstalledVoicesStatic : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInstalledVoicesStatic(std::nullptr_t = nullptr) noexcept {} + IInstalledVoicesStatic(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IInstalledVoicesStatic2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IInstalledVoicesStatic2(std::nullptr_t = nullptr) noexcept {} + IInstalledVoicesStatic2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesisStream : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpeechSynthesisStream(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesisStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesizer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechSynthesizer(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesizer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechSynthesizer2(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesizer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesizerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechSynthesizerOptions(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesizerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesizerOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechSynthesizerOptions2(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesizerOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpeechSynthesizerOptions3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpeechSynthesizerOptions3(std::nullptr_t = nullptr) noexcept {} + ISpeechSynthesizerOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoiceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoiceInformation(std::nullptr_t = nullptr) noexcept {} + IVoiceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6a12651d3dbf3ec691418c3970e35ee71cb895e9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.speechsynthesis.2.h @@ -0,0 +1,43 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_SpeechSynthesis_2_H +#define WINRT_Windows_Media_SpeechSynthesis_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Core.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Media.SpeechSynthesis.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::SpeechSynthesis +{ + struct WINRT_IMPL_EMPTY_BASES SpeechSynthesisStream : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream, + impl::require + { + SpeechSynthesisStream(std::nullptr_t) noexcept {} + SpeechSynthesisStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpeechSynthesizer : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer, + impl::require + { + SpeechSynthesizer(std::nullptr_t) noexcept {} + SpeechSynthesizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer(ptr, take_ownership_from_abi) {} + SpeechSynthesizer(); + [[nodiscard]] static auto AllVoices(); + [[nodiscard]] static auto DefaultVoice(); + static auto TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice); + }; + struct WINRT_IMPL_EMPTY_BASES SpeechSynthesizerOptions : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions, + impl::require + { + SpeechSynthesizerOptions(std::nullptr_t) noexcept {} + SpeechSynthesizerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoiceInformation : winrt::Windows::Media::SpeechSynthesis::IVoiceInformation + { + VoiceInformation(std::nullptr_t) noexcept {} + VoiceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::SpeechSynthesis::IVoiceInformation(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.0.h new file mode 100644 index 0000000000000000000000000000000000000000..10bcee42f9e47e8179bc07fb96d5d41e6c22a5f0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.0.h @@ -0,0 +1,896 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Streaming_Adaptive_0_H +#define WINRT_Windows_Media_Streaming_Adaptive_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct HResult; + template struct WINRT_IMPL_EMPTY_BASES IReference; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; +} +WINRT_EXPORT namespace winrt::Windows::Web::Http +{ + struct HttpClient; + struct HttpResponseMessage; +} +WINRT_EXPORT namespace winrt::Windows::Media::Streaming::Adaptive +{ + enum class AdaptiveMediaSourceCreationStatus : int32_t + { + Success = 0, + ManifestDownloadFailure = 1, + ManifestParseFailure = 2, + UnsupportedManifestContentType = 3, + UnsupportedManifestVersion = 4, + UnsupportedManifestProfile = 5, + UnknownFailure = 6, + }; + enum class AdaptiveMediaSourceDiagnosticType : int32_t + { + ManifestUnchangedUponReload = 0, + ManifestMismatchUponReload = 1, + ManifestSignaledEndOfLiveEventUponReload = 2, + MediaSegmentSkipped = 3, + ResourceNotFound = 4, + ResourceTimedOut = 5, + ResourceParsingError = 6, + BitrateDisabled = 7, + FatalMediaSourceError = 8, + }; + enum class AdaptiveMediaSourceDownloadBitrateChangedReason : int32_t + { + SufficientInboundBitsPerSecond = 0, + InsufficientInboundBitsPerSecond = 1, + LowBufferLevel = 2, + PositionChanged = 3, + TrackSelectionChanged = 4, + DesiredBitratesChanged = 5, + ErrorInPreviousBitrate = 6, + }; + enum class AdaptiveMediaSourceResourceType : int32_t + { + Manifest = 0, + InitializationSegment = 1, + MediaSegment = 2, + Key = 3, + InitializationVector = 4, + MediaSegmentIndex = 5, + }; + struct IAdaptiveMediaSource; + struct IAdaptiveMediaSource2; + struct IAdaptiveMediaSource3; + struct IAdaptiveMediaSourceAdvancedSettings; + struct IAdaptiveMediaSourceCorrelatedTimes; + struct IAdaptiveMediaSourceCreationResult; + struct IAdaptiveMediaSourceCreationResult2; + struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs; + struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs2; + struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs3; + struct IAdaptiveMediaSourceDiagnostics; + struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs; + struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2; + struct IAdaptiveMediaSourceDownloadCompletedEventArgs; + struct IAdaptiveMediaSourceDownloadCompletedEventArgs2; + struct IAdaptiveMediaSourceDownloadCompletedEventArgs3; + struct IAdaptiveMediaSourceDownloadFailedEventArgs; + struct IAdaptiveMediaSourceDownloadFailedEventArgs2; + struct IAdaptiveMediaSourceDownloadFailedEventArgs3; + struct IAdaptiveMediaSourceDownloadRequestedDeferral; + struct IAdaptiveMediaSourceDownloadRequestedEventArgs; + struct IAdaptiveMediaSourceDownloadRequestedEventArgs2; + struct IAdaptiveMediaSourceDownloadRequestedEventArgs3; + struct IAdaptiveMediaSourceDownloadResult; + struct IAdaptiveMediaSourceDownloadResult2; + struct IAdaptiveMediaSourceDownloadStatistics; + struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs; + struct IAdaptiveMediaSourceStatics; + struct AdaptiveMediaSource; + struct AdaptiveMediaSourceAdvancedSettings; + struct AdaptiveMediaSourceCorrelatedTimes; + struct AdaptiveMediaSourceCreationResult; + struct AdaptiveMediaSourceDiagnosticAvailableEventArgs; + struct AdaptiveMediaSourceDiagnostics; + struct AdaptiveMediaSourceDownloadBitrateChangedEventArgs; + struct AdaptiveMediaSourceDownloadCompletedEventArgs; + struct AdaptiveMediaSourceDownloadFailedEventArgs; + struct AdaptiveMediaSourceDownloadRequestedDeferral; + struct AdaptiveMediaSourceDownloadRequestedEventArgs; + struct AdaptiveMediaSourceDownloadResult; + struct AdaptiveMediaSourceDownloadStatistics; + struct AdaptiveMediaSourcePlaybackBitrateChangedEventArgs; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceResourceType"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceAdvancedSettings"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCorrelatedTimes"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCreationResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCreationResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnostics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadBitrateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedDeferral"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs3"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadResult2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadStatistics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceStatics"; + template <> inline constexpr guid guid_v{ 0x4C7332EF,0xD39F,0x4396,{ 0xB4,0xD9,0x04,0x39,0x57,0xA7,0xC9,0x64 } }; // 4C7332EF-D39F-4396-B4D9-043957A7C964 + template <> inline constexpr guid guid_v{ 0x17890342,0x6760,0x4BB9,{ 0xA5,0x8A,0xF7,0xAA,0x98,0xB0,0x8C,0x0E } }; // 17890342-6760-4BB9-A58A-F7AA98B08C0E + template <> inline constexpr guid guid_v{ 0xBA7023FD,0xC334,0x461B,{ 0xA3,0x6E,0xC9,0x9F,0x54,0xF7,0x17,0x4A } }; // BA7023FD-C334-461B-A36E-C99F54F7174A + template <> inline constexpr guid guid_v{ 0x55DB1680,0x1AEB,0x47DC,{ 0xAA,0x08,0x9A,0x11,0x61,0x0B,0xA4,0x5A } }; // 55DB1680-1AEB-47DC-AA08-9A11610BA45A + template <> inline constexpr guid guid_v{ 0x05108787,0xE032,0x48E1,{ 0xAB,0x8D,0x00,0x2B,0x0B,0x30,0x51,0xDF } }; // 05108787-E032-48E1-AB8D-002B0B3051DF + template <> inline constexpr guid guid_v{ 0x4686B6B2,0x800F,0x4E31,{ 0x90,0x93,0x76,0xD4,0x78,0x20,0x13,0xE7 } }; // 4686B6B2-800F-4E31-9093-76D4782013E7 + template <> inline constexpr guid guid_v{ 0x1C3243BF,0x1C44,0x404B,{ 0xA2,0x01,0xDF,0x45,0xAC,0x78,0x98,0xE8 } }; // 1C3243BF-1C44-404B-A201-DF45AC7898E8 + template <> inline constexpr guid guid_v{ 0x3AF64F06,0x6D9C,0x494A,{ 0xB7,0xA9,0xB3,0xA5,0xDE,0xE6,0xAD,0x68 } }; // 3AF64F06-6D9C-494A-B7A9-B3A5DEE6AD68 + template <> inline constexpr guid guid_v{ 0x8C6DD857,0x16A5,0x4D9F,{ 0x81,0x0E,0x00,0xBD,0x90,0x1B,0x3E,0xF9 } }; // 8C6DD857-16A5-4D9F-810E-00BD901B3EF9 + template <> inline constexpr guid guid_v{ 0xC3650CD5,0xDAEB,0x4103,{ 0x84,0xDA,0x68,0x76,0x9A,0xD5,0x13,0xFF } }; // C3650CD5-DAEB-4103-84DA-68769AD513FF + template <> inline constexpr guid guid_v{ 0x9B24EE68,0x962E,0x448C,{ 0xAE,0xBF,0xB2,0x9B,0x56,0x09,0x8E,0x23 } }; // 9B24EE68-962E-448C-AEBF-B29B56098E23 + template <> inline constexpr guid guid_v{ 0x670C0A44,0xE04E,0x4EFF,{ 0x81,0x6A,0x17,0x39,0x9F,0x78,0xF4,0xBA } }; // 670C0A44-E04E-4EFF-816A-17399F78F4BA + template <> inline constexpr guid guid_v{ 0xF3F1F444,0x96AE,0x4DE0,{ 0xB5,0x40,0x2B,0x32,0x46,0xE6,0x96,0x8C } }; // F3F1F444-96AE-4DE0-B540-2B3246E6968C + template <> inline constexpr guid guid_v{ 0x19240DC3,0x5B37,0x4A1A,{ 0x89,0x70,0xD6,0x21,0xCB,0x6C,0xA8,0x3B } }; // 19240DC3-5B37-4A1A-8970-D621CB6CA83B + template <> inline constexpr guid guid_v{ 0x704744C4,0x964A,0x40E4,{ 0xAF,0x95,0x91,0x77,0xDD,0x6D,0xFA,0x00 } }; // 704744C4-964A-40E4-AF95-9177DD6DFA00 + template <> inline constexpr guid guid_v{ 0x0F8A8BD1,0x93B2,0x47C6,{ 0xBA,0xDC,0x8B,0xE2,0xC8,0xF7,0xF6,0xE8 } }; // 0F8A8BD1-93B2-47C6-BADC-8BE2C8F7F6E8 + template <> inline constexpr guid guid_v{ 0x37739048,0xF4AB,0x40A4,{ 0xB1,0x35,0xC6,0xDF,0xD8,0xBD,0x7F,0xF1 } }; // 37739048-F4AB-40A4-B135-C6DFD8BD7FF1 + template <> inline constexpr guid guid_v{ 0x70919568,0x967C,0x4986,{ 0x90,0xC5,0xC6,0xFC,0x4B,0x31,0xE2,0xD8 } }; // 70919568-967C-4986-90C5-C6FC4B31E2D8 + template <> inline constexpr guid guid_v{ 0xD0354549,0x1132,0x4A10,{ 0x91,0x5A,0xC2,0x21,0x1B,0x5B,0x94,0x09 } }; // D0354549-1132-4A10-915A-C2211B5B9409 + template <> inline constexpr guid guid_v{ 0x05C68F64,0xFA20,0x4DBD,{ 0x98,0x21,0x4B,0xF4,0xC9,0xBF,0x77,0xAB } }; // 05C68F64-FA20-4DBD-9821-4BF4C9BF77AB + template <> inline constexpr guid guid_v{ 0xC83FDFFD,0x44A9,0x47A2,{ 0xBF,0x96,0x03,0x39,0x8B,0x4B,0xFA,0xAF } }; // C83FDFFD-44A9-47A2-BF96-03398B4BFAAF + template <> inline constexpr guid guid_v{ 0xB37D8BFE,0xAA44,0x4D82,{ 0x82,0x5B,0x61,0x1D,0xE3,0xBC,0xFE,0xCB } }; // B37D8BFE-AA44-4D82-825B-611DE3BCFECB + template <> inline constexpr guid guid_v{ 0x333C50FD,0x4F62,0x4481,{ 0xAB,0x44,0x1E,0x47,0xB0,0x57,0x42,0x25 } }; // 333C50FD-4F62-4481-AB44-1E47B0574225 + template <> inline constexpr guid guid_v{ 0xF4AFDC73,0xBCEE,0x4A6A,{ 0x9F,0x0A,0xFE,0xC4,0x1E,0x23,0x39,0xB0 } }; // F4AFDC73-BCEE-4A6A-9F0A-FEC41E2339B0 + template <> inline constexpr guid guid_v{ 0x15552CB7,0x7B80,0x4AC4,{ 0x86,0x60,0xA4,0xB9,0x7F,0x7C,0x70,0xF0 } }; // 15552CB7-7B80-4AC4-8660-A4B97F7C70F0 + template <> inline constexpr guid guid_v{ 0xA306CEFB,0xE96A,0x4DFF,{ 0xA9,0xB8,0x1A,0xE0,0x8C,0x01,0xAE,0x98 } }; // A306CEFB-E96A-4DFF-A9B8-1AE08C01AE98 + template <> inline constexpr guid guid_v{ 0x23A29F6D,0x7DDA,0x4A51,{ 0x87,0xA9,0x6F,0xA8,0xC5,0xB2,0x92,0xBE } }; // 23A29F6D-7DDA-4A51-87A9-6FA8C5B292BE + template <> inline constexpr guid guid_v{ 0x50A6BD5D,0x66EF,0x4CD3,{ 0x95,0x79,0x9E,0x66,0x05,0x07,0xDC,0x3F } }; // 50A6BD5D-66EF-4CD3-9579-9E660507DC3F + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsLive(bool*) noexcept = 0; + virtual int32_t __stdcall get_DesiredLiveOffset(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredLiveOffset(int64_t) noexcept = 0; + virtual int32_t __stdcall get_InitialBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_InitialBitrate(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CurrentDownloadBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentPlaybackBitrate(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AvailableBitrates(void**) noexcept = 0; + virtual int32_t __stdcall get_DesiredMinBitrate(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredMinBitrate(void*) noexcept = 0; + virtual int32_t __stdcall get_DesiredMaxBitrate(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredMaxBitrate(void*) noexcept = 0; + virtual int32_t __stdcall get_AudioOnlyPlayback(bool*) noexcept = 0; + virtual int32_t __stdcall get_InboundBitsPerSecond(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_InboundBitsPerSecondWindow(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_InboundBitsPerSecondWindow(int64_t) noexcept = 0; + virtual int32_t __stdcall add_DownloadBitrateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DownloadBitrateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PlaybackBitrateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PlaybackBitrateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DownloadRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DownloadRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DownloadCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DownloadCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DownloadFailed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DownloadFailed(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AdvancedSettings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinLiveOffset(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxSeekableWindowSize(void**) noexcept = 0; + virtual int32_t __stdcall get_DesiredSeekableWindowSize(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredSeekableWindowSize(void*) noexcept = 0; + virtual int32_t __stdcall get_Diagnostics(void**) noexcept = 0; + virtual int32_t __stdcall GetCorrelatedTimes(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllSegmentsIndependent(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllSegmentsIndependent(bool) noexcept = 0; + virtual int32_t __stdcall get_DesiredBitrateHeadroomRatio(void**) noexcept = 0; + virtual int32_t __stdcall put_DesiredBitrateHeadroomRatio(void*) noexcept = 0; + virtual int32_t __stdcall get_BitrateDowngradeTriggerRatio(void**) noexcept = 0; + virtual int32_t __stdcall put_BitrateDowngradeTriggerRatio(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + virtual int32_t __stdcall get_PresentationTimeStamp(void**) noexcept = 0; + virtual int32_t __stdcall get_ProgramDateTime(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MediaSource(void**) noexcept = 0; + virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DiagnosticType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RequestId(void**) noexcept = 0; + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + virtual int32_t __stdcall get_SegmentId(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceType(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0; + virtual int32_t __stdcall get_Bitrate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_DiagnosticAvailable(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DiagnosticAvailable(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewValue(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0; + virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Statistics(void**) noexcept = 0; + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0; + virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Statistics(void**) noexcept = 0; + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0; + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Position(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0; + virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0; + virtual int32_t __stdcall put_ResourceUri(void*) noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + virtual int32_t __stdcall put_InputStream(void*) noexcept = 0; + virtual int32_t __stdcall get_Buffer(void**) noexcept = 0; + virtual int32_t __stdcall put_Buffer(void*) noexcept = 0; + virtual int32_t __stdcall get_ContentType(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentType(void*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ExtendedStatus(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0; + virtual int32_t __stdcall put_ResourceByteRangeOffset(void*) noexcept = 0; + virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0; + virtual int32_t __stdcall put_ResourceByteRangeLength(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentBytesReceivedCount(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimeToHeadersReceived(void**) noexcept = 0; + virtual int32_t __stdcall get_TimeToFirstByteReceived(void**) noexcept = 0; + virtual int32_t __stdcall get_TimeToLastByteReceived(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AudioOnly(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsContentTypeSupported(void*, bool*) noexcept = 0; + virtual int32_t __stdcall CreateFromUriAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromUriWithDownloaderAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromStreamWithDownloaderAsync(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource + { + [[nodiscard]] auto IsLive() const; + [[nodiscard]] auto DesiredLiveOffset() const; + auto DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto InitialBitrate() const; + auto InitialBitrate(uint32_t value) const; + [[nodiscard]] auto CurrentDownloadBitrate() const; + [[nodiscard]] auto CurrentPlaybackBitrate() const; + [[nodiscard]] auto AvailableBitrates() const; + [[nodiscard]] auto DesiredMinBitrate() const; + auto DesiredMinBitrate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DesiredMaxBitrate() const; + auto DesiredMaxBitrate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AudioOnlyPlayback() const; + [[nodiscard]] auto InboundBitsPerSecond() const; + [[nodiscard]] auto InboundBitsPerSecondWindow() const; + auto InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const; + auto DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DownloadBitrateChanged_revoker = impl::event_revoker::remove_DownloadBitrateChanged>; + [[nodiscard]] auto DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadBitrateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PlaybackBitrateChanged_revoker = impl::event_revoker::remove_PlaybackBitrateChanged>; + [[nodiscard]] auto PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackBitrateChanged(winrt::event_token const& token) const noexcept; + auto DownloadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DownloadRequested_revoker = impl::event_revoker::remove_DownloadRequested>; + [[nodiscard]] auto DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadRequested(winrt::event_token const& token) const noexcept; + auto DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DownloadCompleted_revoker = impl::event_revoker::remove_DownloadCompleted>; + [[nodiscard]] auto DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadCompleted(winrt::event_token const& token) const noexcept; + auto DownloadFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DownloadFailed_revoker = impl::event_revoker::remove_DownloadFailed>; + [[nodiscard]] auto DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadFailed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2 + { + [[nodiscard]] auto AdvancedSettings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3 + { + [[nodiscard]] auto MinLiveOffset() const; + [[nodiscard]] auto MaxSeekableWindowSize() const; + [[nodiscard]] auto DesiredSeekableWindowSize() const; + auto DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Diagnostics() const; + auto GetCorrelatedTimes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings + { + [[nodiscard]] auto AllSegmentsIndependent() const; + auto AllSegmentsIndependent(bool value) const; + [[nodiscard]] auto DesiredBitrateHeadroomRatio() const; + auto DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BitrateDowngradeTriggerRatio() const; + auto BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes + { + [[nodiscard]] auto Position() const; + [[nodiscard]] auto PresentationTimeStamp() const; + [[nodiscard]] auto ProgramDateTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto MediaSource() const; + [[nodiscard]] auto HttpResponseMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs + { + [[nodiscard]] auto DiagnosticType() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto SegmentId() const; + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto Bitrate() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 + { + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 + { + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics + { + auto DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DiagnosticAvailable_revoker = impl::event_revoker::remove_DiagnosticAvailable>; + [[nodiscard]] auto DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DiagnosticAvailable(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs + { + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 + { + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs + { + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto HttpResponseMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2 + { + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Statistics() const; + [[nodiscard]] auto Position() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3 + { + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs + { + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto HttpResponseMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2 + { + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Statistics() const; + [[nodiscard]] auto Position() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3 + { + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral + { + auto Complete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs + { + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto Result() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2 + { + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Position() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3 + { + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult + { + [[nodiscard]] auto ResourceUri() const; + auto ResourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto InputStream() const; + auto InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const; + [[nodiscard]] auto Buffer() const; + auto Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; + [[nodiscard]] auto ExtendedStatus() const; + auto ExtendedStatus(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2 + { + [[nodiscard]] auto ResourceByteRangeOffset() const; + auto ResourceByteRangeOffset(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ResourceByteRangeLength() const; + auto ResourceByteRangeLength(winrt::Windows::Foundation::IReference const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics + { + [[nodiscard]] auto ContentBytesReceivedCount() const; + [[nodiscard]] auto TimeToHeadersReceived() const; + [[nodiscard]] auto TimeToFirstByteReceived() const; + [[nodiscard]] auto TimeToLastByteReceived() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs + { + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; + [[nodiscard]] auto AudioOnly() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs; + }; + template + struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics + { + auto IsContentTypeSupported(param::hstring const& contentType) const; + auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.1.h new file mode 100644 index 0000000000000000000000000000000000000000..2f1e52f84e1211d7ff95cd74f12587c0f860350d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.1.h @@ -0,0 +1,211 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Streaming_Adaptive_1_H +#define WINRT_Windows_Media_Streaming_Adaptive_1_H +#include "winrt/impl/Windows.Media.Core.0.h" +#include "winrt/impl/Windows.Media.Streaming.Adaptive.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Streaming::Adaptive +{ + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IAdaptiveMediaSource(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSource2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSource2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSource2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSource3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSource3(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSource3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceAdvancedSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceAdvancedSettings(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceAdvancedSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceCorrelatedTimes : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceCorrelatedTimes(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceCorrelatedTimes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceCreationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceCreationResult(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceCreationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceCreationResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceCreationResult2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceCreationResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDiagnosticAvailableEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDiagnosticAvailableEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDiagnosticAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDiagnosticAvailableEventArgs2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDiagnosticAvailableEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDiagnosticAvailableEventArgs3(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDiagnosticAvailableEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDiagnostics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDiagnostics(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDiagnostics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadBitrateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadBitrateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadBitrateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadCompletedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadCompletedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadCompletedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadCompletedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadCompletedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadCompletedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadCompletedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadCompletedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadFailedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadFailedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadFailedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadFailedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadFailedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadFailedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadFailedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadFailedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadRequestedDeferral : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadRequestedDeferral(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadRequestedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadRequestedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadRequestedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadRequestedEventArgs3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadRequestedEventArgs3(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadRequestedEventArgs3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadResult(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadResult2(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceDownloadStatistics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceDownloadStatistics(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceDownloadStatistics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAdaptiveMediaSourceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdaptiveMediaSourceStatics(std::nullptr_t = nullptr) noexcept {} + IAdaptiveMediaSourceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.2.h new file mode 100644 index 0000000000000000000000000000000000000000..7608f29a3838765a9004cec41e4ca4d20e779297 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.streaming.adaptive.2.h @@ -0,0 +1,100 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Streaming_Adaptive_2_H +#define WINRT_Windows_Media_Streaming_Adaptive_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Media.Core.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Web.Http.1.h" +#include "winrt/impl/Windows.Media.Streaming.Adaptive.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Streaming::Adaptive +{ + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSource : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, + impl::require + { + AdaptiveMediaSource(std::nullptr_t) noexcept {} + AdaptiveMediaSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource(ptr, take_ownership_from_abi) {} + static auto IsContentTypeSupported(param::hstring const& contentType); + static auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri); + static auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient); + static auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType); + static auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient); + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceAdvancedSettings : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings + { + AdaptiveMediaSourceAdvancedSettings(std::nullptr_t) noexcept {} + AdaptiveMediaSourceAdvancedSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceCorrelatedTimes : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes + { + AdaptiveMediaSourceCorrelatedTimes(std::nullptr_t) noexcept {} + AdaptiveMediaSourceCorrelatedTimes(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceCreationResult : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult, + impl::require + { + AdaptiveMediaSourceCreationResult(std::nullptr_t) noexcept {} + AdaptiveMediaSourceCreationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDiagnosticAvailableEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs, + impl::require + { + AdaptiveMediaSourceDiagnosticAvailableEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDiagnosticAvailableEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDiagnostics : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics + { + AdaptiveMediaSourceDiagnostics(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDiagnostics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadBitrateChangedEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs, + impl::require + { + AdaptiveMediaSourceDownloadBitrateChangedEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadBitrateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadCompletedEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs, + impl::require + { + AdaptiveMediaSourceDownloadCompletedEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadFailedEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs, + impl::require + { + AdaptiveMediaSourceDownloadFailedEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadRequestedDeferral : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral + { + AdaptiveMediaSourceDownloadRequestedDeferral(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadRequestedEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs, + impl::require + { + AdaptiveMediaSourceDownloadRequestedEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadResult : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult, + impl::require + { + AdaptiveMediaSourceDownloadResult(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourceDownloadStatistics : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics + { + AdaptiveMediaSourceDownloadStatistics(std::nullptr_t) noexcept {} + AdaptiveMediaSourceDownloadStatistics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES AdaptiveMediaSourcePlaybackBitrateChangedEventArgs : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs + { + AdaptiveMediaSourcePlaybackBitrateChangedEventArgs(std::nullptr_t) noexcept {} + AdaptiveMediaSourcePlaybackBitrateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0f2ec0abe893724b4b584ecb59f2a8afc9286908 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.0.h @@ -0,0 +1,158 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Transcoding_0_H +#define WINRT_Windows_Media_Transcoding_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Media::Core +{ + struct IMediaSource; +} +WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties +{ + struct MediaEncodingProfile; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::Media::Transcoding +{ + enum class MediaVideoProcessingAlgorithm : int32_t + { + Default = 0, + MrfCrf444 = 1, + }; + enum class TranscodeFailureReason : int32_t + { + None = 0, + Unknown = 1, + InvalidProfile = 2, + CodecNotFound = 3, + }; + struct IMediaTranscoder; + struct IMediaTranscoder2; + struct IPrepareTranscodeResult; + struct MediaTranscoder; + struct PrepareTranscodeResult; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.MediaTranscoder"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.PrepareTranscodeResult"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.MediaVideoProcessingAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.TranscodeFailureReason"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.IMediaTranscoder"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.IMediaTranscoder2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Transcoding.IPrepareTranscodeResult"; + template <> inline constexpr guid guid_v{ 0x190C99D2,0xA0AA,0x4D34,{ 0x86,0xBC,0xEE,0xD1,0xB1,0x2C,0x2F,0x5B } }; // 190C99D2-A0AA-4D34-86BC-EED1B12C2F5B + template <> inline constexpr guid guid_v{ 0x40531D74,0x35E0,0x4F04,{ 0x85,0x74,0xCA,0x8B,0xC4,0xE5,0xA0,0x82 } }; // 40531D74-35E0-4F04-8574-CA8BC4E5A082 + template <> inline constexpr guid guid_v{ 0x05F25DCE,0x994F,0x4A34,{ 0x9D,0x68,0x97,0xCC,0xCE,0x17,0x30,0xD6 } }; // 05F25DCE-994F-4A34-9D68-97CCCE1730D6 + template <> struct default_interface{ using type = winrt::Windows::Media::Transcoding::IMediaTranscoder; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Transcoding::IPrepareTranscodeResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_TrimStartTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TrimStartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_TrimStopTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_TrimStopTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_AlwaysReencode(bool) noexcept = 0; + virtual int32_t __stdcall get_AlwaysReencode(bool*) noexcept = 0; + virtual int32_t __stdcall put_HardwareAccelerationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_HardwareAccelerationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall AddAudioEffect(void*) noexcept = 0; + virtual int32_t __stdcall AddAudioEffectWithSettings(void*, bool, void*) noexcept = 0; + virtual int32_t __stdcall AddVideoEffect(void*) noexcept = 0; + virtual int32_t __stdcall AddVideoEffectWithSettings(void*, bool, void*) noexcept = 0; + virtual int32_t __stdcall ClearEffects() noexcept = 0; + virtual int32_t __stdcall PrepareFileTranscodeAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PrepareStreamTranscodeAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PrepareMediaStreamSourceTranscodeAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall put_VideoProcessingAlgorithm(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VideoProcessingAlgorithm(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanTranscode(bool*) noexcept = 0; + virtual int32_t __stdcall get_FailureReason(int32_t*) noexcept = 0; + virtual int32_t __stdcall TranscodeAsync(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Media_Transcoding_IMediaTranscoder + { + auto TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimStartTime() const; + auto TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimStopTime() const; + auto AlwaysReencode(bool value) const; + [[nodiscard]] auto AlwaysReencode() const; + auto HardwareAccelerationEnabled(bool value) const; + [[nodiscard]] auto HardwareAccelerationEnabled() const; + auto AddAudioEffect(param::hstring const& activatableClassId) const; + auto AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto AddVideoEffect(param::hstring const& activatableClassId) const; + auto AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto ClearEffects() const; + auto PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + auto PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Transcoding_IMediaTranscoder; + }; + template + struct consume_Windows_Media_Transcoding_IMediaTranscoder2 + { + auto PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + auto VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; + [[nodiscard]] auto VideoProcessingAlgorithm() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Transcoding_IMediaTranscoder2; + }; + template + struct consume_Windows_Media_Transcoding_IPrepareTranscodeResult + { + [[nodiscard]] auto CanTranscode() const; + [[nodiscard]] auto FailureReason() const; + auto TranscodeAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Transcoding_IPrepareTranscodeResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.1.h new file mode 100644 index 0000000000000000000000000000000000000000..70f23ee5b1284add60b833b320caf08fa4a60959 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Transcoding_1_H +#define WINRT_Windows_Media_Transcoding_1_H +#include "winrt/impl/Windows.Media.Transcoding.0.h" +WINRT_EXPORT namespace winrt::Windows::Media::Transcoding +{ + struct WINRT_IMPL_EMPTY_BASES IMediaTranscoder : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTranscoder(std::nullptr_t = nullptr) noexcept {} + IMediaTranscoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMediaTranscoder2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMediaTranscoder2(std::nullptr_t = nullptr) noexcept {} + IMediaTranscoder2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPrepareTranscodeResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPrepareTranscodeResult(std::nullptr_t = nullptr) noexcept {} + IPrepareTranscodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a394b0b8466c28ed57553f58c256ccf82e8be89a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.media.transcoding.2.h @@ -0,0 +1,25 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Media_Transcoding_2_H +#define WINRT_Windows_Media_Transcoding_2_H +#include "winrt/impl/Windows.Media.Transcoding.1.h" +WINRT_EXPORT namespace winrt::Windows::Media::Transcoding +{ + struct WINRT_IMPL_EMPTY_BASES MediaTranscoder : winrt::Windows::Media::Transcoding::IMediaTranscoder, + impl::require + { + MediaTranscoder(std::nullptr_t) noexcept {} + MediaTranscoder(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Transcoding::IMediaTranscoder(ptr, take_ownership_from_abi) {} + MediaTranscoder(); + }; + struct WINRT_IMPL_EMPTY_BASES PrepareTranscodeResult : winrt::Windows::Media::Transcoding::IPrepareTranscodeResult + { + PrepareTranscodeResult(std::nullptr_t) noexcept {} + PrepareTranscodeResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Transcoding::IPrepareTranscodeResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8689b01e0ff2b2a6dcd4c7ff23022e99f3788ad2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.0.h @@ -0,0 +1,174 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_0_H +#define WINRT_Windows_Networking_0_H +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct IPInformation; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + enum class DomainNameType : int32_t + { + Suffix = 0, + FullyQualified = 1, + }; + enum class HostNameSortOptions : uint32_t + { + None = 0, + OptimizeForLongConnections = 0x2, + }; + enum class HostNameType : int32_t + { + DomainName = 0, + Ipv4 = 1, + Ipv6 = 2, + Bluetooth = 3, + }; + struct IEndpointPair; + struct IEndpointPairFactory; + struct IHostName; + struct IHostNameFactory; + struct IHostNameStatics; + struct EndpointPair; + struct HostName; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.EndpointPair"; + template <> inline constexpr auto& name_v = L"Windows.Networking.HostName"; + template <> inline constexpr auto& name_v = L"Windows.Networking.DomainNameType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.HostNameSortOptions"; + template <> inline constexpr auto& name_v = L"Windows.Networking.HostNameType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.IEndpointPair"; + template <> inline constexpr auto& name_v = L"Windows.Networking.IEndpointPairFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.IHostName"; + template <> inline constexpr auto& name_v = L"Windows.Networking.IHostNameFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.IHostNameStatics"; + template <> inline constexpr guid guid_v{ 0x33A0AA36,0xF8FA,0x4B30,{ 0xB8,0x56,0x76,0x51,0x7C,0x3B,0xD0,0x6D } }; // 33A0AA36-F8FA-4B30-B856-76517C3BD06D + template <> inline constexpr guid guid_v{ 0xB609D971,0x64E0,0x442B,{ 0xAA,0x6F,0xCC,0x8C,0x8F,0x18,0x1F,0x78 } }; // B609D971-64E0-442B-AA6F-CC8C8F181F78 + template <> inline constexpr guid guid_v{ 0xBF8ECAAD,0xED96,0x49A7,{ 0x90,0x84,0xD4,0x16,0xCA,0xE8,0x8D,0xCB } }; // BF8ECAAD-ED96-49A7-9084-D416CAE88DCB + template <> inline constexpr guid guid_v{ 0x458C23ED,0x712F,0x4576,{ 0xAD,0xF1,0xC2,0x0B,0x2C,0x64,0x35,0x58 } }; // 458C23ED-712F-4576-ADF1-C20B2C643558 + template <> inline constexpr guid guid_v{ 0xF68CD4BF,0xA388,0x4E8B,{ 0x91,0xEA,0x54,0xDD,0x6D,0xD9,0x01,0xC0 } }; // F68CD4BF-A388-4E8B-91EA-54DD6DD901C0 + template <> struct default_interface{ using type = winrt::Windows::Networking::IEndpointPair; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::IHostName; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalHostName(void**) noexcept = 0; + virtual int32_t __stdcall put_LocalHostName(void*) noexcept = 0; + virtual int32_t __stdcall get_LocalServiceName(void**) noexcept = 0; + virtual int32_t __stdcall put_LocalServiceName(void*) noexcept = 0; + virtual int32_t __stdcall get_RemoteHostName(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteHostName(void*) noexcept = 0; + virtual int32_t __stdcall get_RemoteServiceName(void**) noexcept = 0; + virtual int32_t __stdcall put_RemoteServiceName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateEndpointPair(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IPInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_RawName(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_CanonicalName(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall IsEqual(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateHostName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Compare(void*, void*, int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_IEndpointPair + { + [[nodiscard]] auto LocalHostName() const; + auto LocalHostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto LocalServiceName() const; + auto LocalServiceName(param::hstring const& value) const; + [[nodiscard]] auto RemoteHostName() const; + auto RemoteHostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto RemoteServiceName() const; + auto RemoteServiceName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_IEndpointPair; + }; + template + struct consume_Windows_Networking_IEndpointPairFactory + { + auto CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_IEndpointPairFactory; + }; + template + struct consume_Windows_Networking_IHostName + { + [[nodiscard]] auto IPInformation() const; + [[nodiscard]] auto RawName() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto CanonicalName() const; + [[nodiscard]] auto Type() const; + auto IsEqual(winrt::Windows::Networking::HostName const& hostName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_IHostName; + }; + template + struct consume_Windows_Networking_IHostNameFactory + { + auto CreateHostName(param::hstring const& hostName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_IHostNameFactory; + }; + template + struct consume_Windows_Networking_IHostNameStatics + { + auto Compare(param::hstring const& value1, param::hstring const& value2) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_IHostNameStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1cc098827d0c71f6fc042e737977a874efcb0f47 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_1_H +#define WINRT_Windows_Networking_1_H +#include "winrt/impl/Windows.Networking.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct WINRT_IMPL_EMPTY_BASES IEndpointPair : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEndpointPair(std::nullptr_t = nullptr) noexcept {} + IEndpointPair(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEndpointPairFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEndpointPairFactory(std::nullptr_t = nullptr) noexcept {} + IEndpointPairFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHostName : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHostName(std::nullptr_t = nullptr) noexcept {} + IHostName(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHostNameFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHostNameFactory(std::nullptr_t = nullptr) noexcept {} + IHostNameFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHostNameStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHostNameStatics(std::nullptr_t = nullptr) noexcept {} + IHostNameStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6ef393c4416973e2a39e965ceb1ea1f77eeff154 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.2.h @@ -0,0 +1,28 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_2_H +#define WINRT_Windows_Networking_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Networking.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct WINRT_IMPL_EMPTY_BASES EndpointPair : winrt::Windows::Networking::IEndpointPair + { + EndpointPair(std::nullptr_t) noexcept {} + EndpointPair(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::IEndpointPair(ptr, take_ownership_from_abi) {} + EndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName); + }; + struct WINRT_IMPL_EMPTY_BASES HostName : winrt::Windows::Networking::IHostName, + impl::require + { + HostName(std::nullptr_t) noexcept {} + HostName(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::IHostName(ptr, take_ownership_from_abi) {} + explicit HostName(param::hstring const& hostName); + static auto Compare(param::hstring const& value1, param::hstring const& value2); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.0.h new file mode 100644 index 0000000000000000000000000000000000000000..b55edffa0ea37db37540d731bf1d7d4d26af3ebc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.0.h @@ -0,0 +1,1100 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_BackgroundTransfer_0_H +#define WINRT_Windows_Networking_BackgroundTransfer_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Background +{ + struct IBackgroundTrigger; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::UI::Notifications +{ + struct TileNotification; + struct ToastNotification; +} +WINRT_EXPORT namespace winrt::Windows::Web +{ + enum class WebErrorStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Networking::BackgroundTransfer +{ + enum class BackgroundTransferBehavior : int32_t + { + Parallel = 0, + Serialized = 1, + }; + enum class BackgroundTransferCostPolicy : int32_t + { + Default = 0, + UnrestrictedOnly = 1, + Always = 2, + }; + enum class BackgroundTransferPriority : int32_t + { + Default = 0, + High = 1, + Low = 2, + }; + enum class BackgroundTransferStatus : int32_t + { + Idle = 0, + Running = 1, + PausedByApplication = 2, + PausedCostedNetwork = 3, + PausedNoNetwork = 4, + Completed = 5, + Canceled = 6, + Error = 7, + PausedRecoverableWebErrorStatus = 8, + PausedSystemPolicy = 32, + }; + struct IBackgroundDownloader; + struct IBackgroundDownloader2; + struct IBackgroundDownloader3; + struct IBackgroundDownloaderFactory; + struct IBackgroundDownloaderStaticMethods; + struct IBackgroundDownloaderStaticMethods2; + struct IBackgroundDownloaderUserConsent; + struct IBackgroundTransferBase; + struct IBackgroundTransferCompletionGroup; + struct IBackgroundTransferCompletionGroupTriggerDetails; + struct IBackgroundTransferContentPart; + struct IBackgroundTransferContentPartFactory; + struct IBackgroundTransferErrorStaticMethods; + struct IBackgroundTransferGroup; + struct IBackgroundTransferGroupStatics; + struct IBackgroundTransferOperation; + struct IBackgroundTransferOperationPriority; + struct IBackgroundTransferRangesDownloadedEventArgs; + struct IBackgroundUploader; + struct IBackgroundUploader2; + struct IBackgroundUploader3; + struct IBackgroundUploaderFactory; + struct IBackgroundUploaderStaticMethods; + struct IBackgroundUploaderStaticMethods2; + struct IBackgroundUploaderUserConsent; + struct IContentPrefetcher; + struct IContentPrefetcherTime; + struct IDownloadOperation; + struct IDownloadOperation2; + struct IDownloadOperation3; + struct IDownloadOperation4; + struct IDownloadOperation5; + struct IResponseInformation; + struct IUnconstrainedTransferRequestResult; + struct IUploadOperation; + struct IUploadOperation2; + struct IUploadOperation3; + struct IUploadOperation4; + struct BackgroundDownloader; + struct BackgroundTransferCompletionGroup; + struct BackgroundTransferCompletionGroupTriggerDetails; + struct BackgroundTransferContentPart; + struct BackgroundTransferError; + struct BackgroundTransferGroup; + struct BackgroundTransferRangesDownloadedEventArgs; + struct BackgroundUploader; + struct ContentPrefetcher; + struct DownloadOperation; + struct ResponseInformation; + struct UnconstrainedTransferRequestResult; + struct UploadOperation; + struct BackgroundDownloadProgress; + struct BackgroundTransferFileRange; + struct BackgroundUploadProgress; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundDownloader"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferError"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferGroup"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundUploader"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.ContentPrefetcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.DownloadOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.ResponseInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.UploadOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferPriority"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundDownloadProgress"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundTransferFileRange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.BackgroundUploadProgress"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloader"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloader2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloader3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloaderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloaderStaticMethods"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloaderStaticMethods2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundDownloaderUserConsent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferBase"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferCompletionGroup"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferCompletionGroupTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferContentPart"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferContentPartFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferErrorStaticMethods"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferGroup"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferGroupStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferOperationPriority"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundTransferRangesDownloadedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploader"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploader2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploader3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploaderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploaderStaticMethods"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploaderStaticMethods2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IBackgroundUploaderUserConsent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IContentPrefetcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IContentPrefetcherTime"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IDownloadOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IDownloadOperation2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IDownloadOperation3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IDownloadOperation4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IDownloadOperation5"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IResponseInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IUnconstrainedTransferRequestResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IUploadOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IUploadOperation2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IUploadOperation3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.BackgroundTransfer.IUploadOperation4"; + template <> inline constexpr guid guid_v{ 0xC1C79333,0x6649,0x4B1D,{ 0xA8,0x26,0xA4,0xB3,0xDD,0x23,0x4D,0x0B } }; // C1C79333-6649-4B1D-A826-A4B3DD234D0B + template <> inline constexpr guid guid_v{ 0xA94A5847,0x348D,0x4A35,{ 0x89,0x0E,0x8A,0x1E,0xF3,0x79,0x84,0x79 } }; // A94A5847-348D-4A35-890E-8A1EF3798479 + template <> inline constexpr guid guid_v{ 0xD11A8C48,0x86E8,0x48E2,{ 0xB6,0x15,0x69,0x76,0xAA,0xBF,0x86,0x1D } }; // D11A8C48-86E8-48E2-B615-6976AABF861D + template <> inline constexpr guid guid_v{ 0x26836C24,0xD89E,0x46F4,{ 0xA2,0x9A,0x4F,0x4D,0x4F,0x14,0x41,0x55 } }; // 26836C24-D89E-46F4-A29A-4F4D4F144155 + template <> inline constexpr guid guid_v{ 0x52A65A35,0xC64E,0x426C,{ 0x99,0x19,0x54,0x0D,0x0D,0x21,0xA6,0x50 } }; // 52A65A35-C64E-426C-9919-540D0D21A650 + template <> inline constexpr guid guid_v{ 0x2FAA1327,0x1AD4,0x4CA5,{ 0xB2,0xCD,0x08,0xDB,0xF0,0x74,0x6A,0xFE } }; // 2FAA1327-1AD4-4CA5-B2CD-08DBF0746AFE + template <> inline constexpr guid guid_v{ 0x5D14E906,0x9266,0x4808,{ 0xBD,0x71,0x59,0x25,0xF2,0xA3,0x13,0x0A } }; // 5D14E906-9266-4808-BD71-5925F2A3130A + template <> inline constexpr guid guid_v{ 0x2A9DA250,0xC769,0x458C,{ 0xAF,0xE8,0xFE,0xB8,0xD4,0xD3,0xB2,0xEF } }; // 2A9DA250-C769-458C-AFE8-FEB8D4D3B2EF + template <> inline constexpr guid guid_v{ 0x2D930225,0x986B,0x574D,{ 0x79,0x50,0x0A,0xDD,0x47,0xF5,0xD7,0x06 } }; // 2D930225-986B-574D-7950-0ADD47F5D706 + template <> inline constexpr guid guid_v{ 0x7B6BE286,0x6E47,0x5136,{ 0x7F,0xCB,0xFA,0x43,0x89,0xF4,0x6F,0x5B } }; // 7B6BE286-6E47-5136-7FCB-FA4389F46F5B + template <> inline constexpr guid guid_v{ 0xE8E15657,0xD7D1,0x4ED8,{ 0x83,0x8E,0x67,0x4A,0xC2,0x17,0xAC,0xE6 } }; // E8E15657-D7D1-4ED8-838E-674AC217ACE6 + template <> inline constexpr guid guid_v{ 0x90EF98A9,0x7A01,0x4A0B,{ 0x9F,0x80,0xA0,0xB0,0xBB,0x37,0x0F,0x8D } }; // 90EF98A9-7A01-4A0B-9F80-A0B0BB370F8D + template <> inline constexpr guid guid_v{ 0xAAD33B04,0x1192,0x4BF4,{ 0x8B,0x68,0x39,0xC5,0xAD,0xD2,0x44,0xE2 } }; // AAD33B04-1192-4BF4-8B68-39C5ADD244E2 + template <> inline constexpr guid guid_v{ 0xD8C3E3E4,0x6459,0x4540,{ 0x85,0xEB,0xAA,0xA1,0xC8,0x90,0x36,0x77 } }; // D8C3E3E4-6459-4540-85EB-AAA1C8903677 + template <> inline constexpr guid guid_v{ 0x02EC50B2,0x7D18,0x495B,{ 0xAA,0x22,0x32,0xA9,0x7D,0x45,0xD3,0xE2 } }; // 02EC50B2-7D18-495B-AA22-32A97D45D3E2 + template <> inline constexpr guid guid_v{ 0xDED06846,0x90CA,0x44FB,{ 0x8F,0xB1,0x12,0x41,0x54,0xC0,0xD5,0x39 } }; // DED06846-90CA-44FB-8FB1-124154C0D539 + template <> inline constexpr guid guid_v{ 0x04854327,0x5254,0x4B3A,{ 0x91,0x5E,0x0A,0xA4,0x92,0x75,0xC0,0xF9 } }; // 04854327-5254-4B3A-915E-0AA49275C0F9 + template <> inline constexpr guid guid_v{ 0x3EBC7453,0xBF48,0x4A88,{ 0x92,0x48,0xB0,0xC1,0x65,0x18,0x4F,0x5C } }; // 3EBC7453-BF48-4A88-9248-B0C165184F5C + template <> inline constexpr guid guid_v{ 0xC595C9AE,0xCEAD,0x465B,{ 0x88,0x01,0xC5,0x5A,0xC9,0x0A,0x01,0xCE } }; // C595C9AE-CEAD-465B-8801-C55AC90A01CE + template <> inline constexpr guid guid_v{ 0x8E0612CE,0x0C34,0x4463,{ 0x80,0x7F,0x19,0x8A,0x1B,0x8B,0xD4,0xAD } }; // 8E0612CE-0C34-4463-807F-198A1B8BD4AD + template <> inline constexpr guid guid_v{ 0xB95E9439,0x5BF0,0x4B3A,{ 0x8C,0x47,0x2C,0x61,0x99,0xA8,0x54,0xB9 } }; // B95E9439-5BF0-4B3A-8C47-2C6199A854B9 + template <> inline constexpr guid guid_v{ 0x736203C7,0x10E7,0x48A0,{ 0xAC,0x3C,0x1A,0xC7,0x10,0x95,0xEC,0x57 } }; // 736203C7-10E7-48A0-AC3C-1AC71095EC57 + template <> inline constexpr guid guid_v{ 0xF2875CFB,0x9B05,0x4741,{ 0x91,0x21,0x74,0x0A,0x83,0xE2,0x47,0xDF } }; // F2875CFB-9B05-4741-9121-740A83E247DF + template <> inline constexpr guid guid_v{ 0xE919AC62,0xEA08,0x42F0,{ 0xA2,0xAC,0x07,0xE4,0x67,0x54,0x90,0x80 } }; // E919AC62-EA08-42F0-A2AC-07E467549080 + template <> inline constexpr guid guid_v{ 0x3BB384CB,0x0760,0x461D,{ 0x90,0x7F,0x51,0x38,0xF8,0x4D,0x44,0xC1 } }; // 3BB384CB-0760-461D-907F-5138F84D44C1 + template <> inline constexpr guid guid_v{ 0xA8D6F754,0x7DC1,0x4CD9,{ 0x88,0x10,0x2A,0x6A,0xA9,0x41,0x7E,0x11 } }; // A8D6F754-7DC1-4CD9-8810-2A6AA9417E11 + template <> inline constexpr guid guid_v{ 0xE361FD08,0x132A,0x4FDE,{ 0xA7,0xCC,0xFC,0xB0,0xE6,0x65,0x23,0xAF } }; // E361FD08-132A-4FDE-A7CC-FCB0E66523AF + template <> inline constexpr guid guid_v{ 0xBD87EBB0,0x5714,0x4E09,{ 0xBA,0x68,0xBE,0xF7,0x39,0x03,0xB0,0xD7 } }; // BD87EBB0-5714-4E09-BA68-BEF73903B0D7 + template <> inline constexpr guid guid_v{ 0xA3CCED40,0x8F9C,0x4353,{ 0x9C,0xD4,0x29,0x0D,0xEE,0x38,0x7C,0x38 } }; // A3CCED40-8F9C-4353-9CD4-290DEE387C38 + template <> inline constexpr guid guid_v{ 0x5027351C,0x7D5E,0x4ADC,{ 0xB8,0xD3,0xDF,0x5C,0x60,0x31,0xB9,0xCC } }; // 5027351C-7D5E-4ADC-B8D3-DF5C6031B9CC + template <> inline constexpr guid guid_v{ 0x0CDAAEF4,0x8CEF,0x404A,{ 0x96,0x6D,0xF0,0x58,0x40,0x0B,0xED,0x80 } }; // 0CDAAEF4-8CEF-404A-966D-F058400BED80 + template <> inline constexpr guid guid_v{ 0xA699A86F,0x5590,0x463A,{ 0xB8,0xD6,0x1E,0x49,0x1A,0x27,0x60,0xA5 } }; // A699A86F-5590-463A-B8D6-1E491A2760A5 + template <> inline constexpr guid guid_v{ 0xF8BB9A12,0xF713,0x4792,{ 0x8B,0x68,0xD9,0xD2,0x97,0xF9,0x1D,0x2E } }; // F8BB9A12-F713-4792-8B68-D9D297F91D2E + template <> inline constexpr guid guid_v{ 0x4C24B81F,0xD944,0x4112,{ 0xA9,0x8E,0x6A,0x69,0x52,0x2B,0x7E,0xBB } }; // 4C24B81F-D944-4112-A98E-6A69522B7EBB + template <> inline constexpr guid guid_v{ 0x3E5624E0,0x7389,0x434C,{ 0x8B,0x35,0x42,0x7F,0xD3,0x6B,0xBD,0xAE } }; // 3E5624E0-7389-434C-8B35-427FD36BBDAE + template <> inline constexpr guid guid_v{ 0x556189F2,0x2774,0x4DF6,{ 0x9F,0xA5,0x20,0x9F,0x2B,0xFB,0x12,0xF7 } }; // 556189F2-2774-4DF6-9FA5-209F2BFB12F7 + template <> inline constexpr guid guid_v{ 0x42C92CA3,0xDE39,0x4546,{ 0xBC,0x62,0x37,0x74,0xB4,0x29,0x4D,0xE3 } }; // 42C92CA3-DE39-4546-BC62-3774B4294DE3 + template <> inline constexpr guid guid_v{ 0x50EDEF31,0xFAC5,0x41EE,{ 0xB0,0x30,0xDC,0x77,0xCA,0xEE,0x9F,0xAA } }; // 50EDEF31-FAC5-41EE-B030-DC77CAEE9FAA + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IResponseInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::BackgroundTransfer::IUploadOperation; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateDownload(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDownloadFromFile(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateDownloadAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransferGroup(void**) noexcept = 0; + virtual int32_t __stdcall put_TransferGroup(void*) noexcept = 0; + virtual int32_t __stdcall get_SuccessToastNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_SuccessToastNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_FailureToastNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_FailureToastNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_SuccessTileNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_SuccessTileNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_FailureTileNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_FailureTileNotification(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CompletionGroup(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithCompletionGroup(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentDownloadsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentDownloadsForGroupAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentDownloadsForTransferGroupAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestUnconstrainedDownloadsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetRequestHeader(void*, void*) noexcept = 0; + virtual int32_t __stdcall get_ServerCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_ServerCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_ProxyCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_ProxyCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_Method(void**) noexcept = 0; + virtual int32_t __stdcall put_Method(void*) noexcept = 0; + virtual int32_t __stdcall get_Group(void**) noexcept = 0; + virtual int32_t __stdcall put_Group(void*) noexcept = 0; + virtual int32_t __stdcall get_CostPolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CostPolicy(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Trigger(void**) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall Enable() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Downloads(void**) noexcept = 0; + virtual int32_t __stdcall get_Uploads(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetHeader(void*, void*) noexcept = 0; + virtual int32_t __stdcall SetText(void*) noexcept = 0; + virtual int32_t __stdcall SetFile(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithName(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithNameAndFileName(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_TransferBehavior(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TransferBehavior(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateGroup(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Guid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_RequestedUri(void**) noexcept = 0; + virtual int32_t __stdcall get_Method(void**) noexcept = 0; + virtual int32_t __stdcall get_Group(void**) noexcept = 0; + virtual int32_t __stdcall get_CostPolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CostPolicy(int32_t) noexcept = 0; + virtual int32_t __stdcall GetResultStreamAt(uint64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetResponseInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Priority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Priority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WasDownloadRestarted(bool*) noexcept = 0; + virtual int32_t __stdcall get_AddedRanges(void**) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateUpload(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUploadFromStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUploadWithFormDataAndAutoBoundaryAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUploadWithSubTypeAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateUploadWithSubTypeAndBoundaryAsync(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransferGroup(void**) noexcept = 0; + virtual int32_t __stdcall put_TransferGroup(void*) noexcept = 0; + virtual int32_t __stdcall get_SuccessToastNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_SuccessToastNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_FailureToastNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_FailureToastNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_SuccessTileNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_SuccessTileNotification(void*) noexcept = 0; + virtual int32_t __stdcall get_FailureTileNotification(void**) noexcept = 0; + virtual int32_t __stdcall put_FailureTileNotification(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CompletionGroup(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithCompletionGroup(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentUploadsAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentUploadsForGroupAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCurrentUploadsForTransferGroupAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestUnconstrainedUploadsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentUris(void**) noexcept = 0; + virtual int32_t __stdcall put_IndirectContentUri(void*) noexcept = 0; + virtual int32_t __stdcall get_IndirectContentUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LastSuccessfulPrefetchTime(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResultFile(void**) noexcept = 0; + virtual int32_t __stdcall get_Progress(struct struct_Windows_Networking_BackgroundTransfer_BackgroundDownloadProgress*) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall AttachAsync(void**) noexcept = 0; + virtual int32_t __stdcall Pause() noexcept = 0; + virtual int32_t __stdcall Resume() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransferGroup(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsRandomAccessRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsRandomAccessRequired(bool) noexcept = 0; + virtual int32_t __stdcall GetResultRandomAccessStreamReference(void**) noexcept = 0; + virtual int32_t __stdcall GetDownloadedRanges(void**) noexcept = 0; + virtual int32_t __stdcall add_RangesDownloaded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RangesDownloaded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall put_RequestedUri(void*) noexcept = 0; + virtual int32_t __stdcall get_RecoverableWebErrorStatuses(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentWebErrorStatus(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MakeCurrentInTransferGroup() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetRequestHeader(void*, void*) noexcept = 0; + virtual int32_t __stdcall RemoveRequestHeader(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsResumable(bool*) noexcept = 0; + virtual int32_t __stdcall get_ActualUri(void**) noexcept = 0; + virtual int32_t __stdcall get_StatusCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Headers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsUnconstrained(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceFile(void**) noexcept = 0; + virtual int32_t __stdcall get_Progress(struct struct_Windows_Networking_BackgroundTransfer_BackgroundUploadProgress*) noexcept = 0; + virtual int32_t __stdcall StartAsync(void**) noexcept = 0; + virtual int32_t __stdcall AttachAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransferGroup(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MakeCurrentInTransferGroup() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetRequestHeader(void*, void*) noexcept = 0; + virtual int32_t __stdcall RemoveRequestHeader(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader + { + auto CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const; + auto CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const; + auto CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2 + { + [[nodiscard]] auto TransferGroup() const; + auto TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; + [[nodiscard]] auto SuccessToastNotification() const; + auto SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto FailureToastNotification() const; + auto FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto SuccessTileNotification() const; + auto SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto FailureTileNotification() const; + auto FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3 + { + [[nodiscard]] auto CompletionGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory + { + auto CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods + { + auto GetCurrentDownloadsAsync() const; + auto GetCurrentDownloadsAsync(param::hstring const& group) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2 + { + auto GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent + { + auto RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase + { + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + [[nodiscard]] auto Method() const; + auto Method(param::hstring const& value) const; + [[nodiscard]] auto Group() const; + auto Group(param::hstring const& value) const; + [[nodiscard]] auto CostPolicy() const; + auto CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup + { + [[nodiscard]] auto Trigger() const; + [[nodiscard]] auto IsEnabled() const; + auto Enable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails + { + [[nodiscard]] auto Downloads() const; + [[nodiscard]] auto Uploads() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart + { + auto SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto SetText(param::hstring const& value) const; + auto SetFile(winrt::Windows::Storage::IStorageFile const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory + { + auto CreateWithName(param::hstring const& name) const; + auto CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods + { + auto GetStatus(int32_t hresult) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup + { + [[nodiscard]] auto Name() const; + [[nodiscard]] auto TransferBehavior() const; + auto TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics + { + auto CreateGroup(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation + { + [[nodiscard]] auto Guid() const; + [[nodiscard]] auto RequestedUri() const; + [[nodiscard]] auto Method() const; + [[nodiscard]] auto Group() const; + [[nodiscard]] auto CostPolicy() const; + auto CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; + auto GetResultStreamAt(uint64_t position) const; + auto GetResponseInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority + { + [[nodiscard]] auto Priority() const; + auto Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs + { + [[nodiscard]] auto WasDownloadRestarted() const; + [[nodiscard]] auto AddedRanges() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader + { + auto CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const; + auto CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType, param::hstring const& boundary) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2 + { + [[nodiscard]] auto TransferGroup() const; + auto TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; + [[nodiscard]] auto SuccessToastNotification() const; + auto SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto FailureToastNotification() const; + auto FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto SuccessTileNotification() const; + auto SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto FailureTileNotification() const; + auto FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3 + { + [[nodiscard]] auto CompletionGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory + { + auto CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods + { + auto GetCurrentUploadsAsync() const; + auto GetCurrentUploadsAsync(param::hstring const& group) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2 + { + auto GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent + { + auto RequestUnconstrainedUploadsAsync(param::async_iterable const& operations) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher + { + [[nodiscard]] auto ContentUris() const; + auto IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto IndirectContentUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime + { + [[nodiscard]] auto LastSuccessfulPrefetchTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation + { + [[nodiscard]] auto ResultFile() const; + [[nodiscard]] auto Progress() const; + auto StartAsync() const; + auto AttachAsync() const; + auto Pause() const; + auto Resume() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IDownloadOperation; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2 + { + [[nodiscard]] auto TransferGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3 + { + [[nodiscard]] auto IsRandomAccessRequired() const; + auto IsRandomAccessRequired(bool value) const; + auto GetResultRandomAccessStreamReference() const; + auto GetDownloadedRanges() const; + auto RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using RangesDownloaded_revoker = impl::event_revoker::remove_RangesDownloaded>; + [[nodiscard]] auto RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto RangesDownloaded(winrt::event_token const& eventCookie) const noexcept; + auto RequestedUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto RecoverableWebErrorStatuses() const; + [[nodiscard]] auto CurrentWebErrorStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4 + { + auto MakeCurrentInTransferGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5 + { + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto RemoveRequestHeader(param::hstring const& headerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IResponseInformation + { + [[nodiscard]] auto IsResumable() const; + [[nodiscard]] auto ActualUri() const; + [[nodiscard]] auto StatusCode() const; + [[nodiscard]] auto Headers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IResponseInformation; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult + { + [[nodiscard]] auto IsUnconstrained() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation + { + [[nodiscard]] auto SourceFile() const; + [[nodiscard]] auto Progress() const; + auto StartAsync() const; + auto AttachAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IUploadOperation; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation2 + { + [[nodiscard]] auto TransferGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IUploadOperation2; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation3 + { + auto MakeCurrentInTransferGroup() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IUploadOperation3; + }; + template + struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation4 + { + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto RemoveRequestHeader(param::hstring const& headerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_BackgroundTransfer_IUploadOperation4; + }; + struct struct_Windows_Networking_BackgroundTransfer_BackgroundDownloadProgress + { + uint64_t BytesReceived; + uint64_t TotalBytesToReceive; + int32_t Status; + bool HasResponseChanged; + bool HasRestarted; + }; + template <> struct abi + { + using type = struct_Windows_Networking_BackgroundTransfer_BackgroundDownloadProgress; + }; + struct struct_Windows_Networking_BackgroundTransfer_BackgroundTransferFileRange + { + uint64_t Offset; + uint64_t Length; + }; + template <> struct abi + { + using type = struct_Windows_Networking_BackgroundTransfer_BackgroundTransferFileRange; + }; + struct struct_Windows_Networking_BackgroundTransfer_BackgroundUploadProgress + { + uint64_t BytesReceived; + uint64_t BytesSent; + uint64_t TotalBytesToReceive; + uint64_t TotalBytesToSend; + int32_t Status; + bool HasResponseChanged; + bool HasRestarted; + }; + template <> struct abi + { + using type = struct_Windows_Networking_BackgroundTransfer_BackgroundUploadProgress; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.1.h new file mode 100644 index 0000000000000000000000000000000000000000..decbbfd038a8a39c7555cb5312867d495a430bea --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.1.h @@ -0,0 +1,283 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_BackgroundTransfer_1_H +#define WINRT_Windows_Networking_BackgroundTransfer_1_H +#include "winrt/impl/Windows.Networking.BackgroundTransfer.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::BackgroundTransfer +{ + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBackgroundDownloader(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloader2(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloader3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloader3(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloader3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloaderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloaderFactory(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloaderStaticMethods : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloaderStaticMethods(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloaderStaticMethods(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloaderStaticMethods2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloaderStaticMethods2(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloaderStaticMethods2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundDownloaderUserConsent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundDownloaderUserConsent(std::nullptr_t = nullptr) noexcept {} + IBackgroundDownloaderUserConsent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferBase : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferBase(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferBase(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferCompletionGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferCompletionGroup(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferCompletionGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferCompletionGroupTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferCompletionGroupTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferCompletionGroupTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferContentPart : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferContentPart(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferContentPart(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferContentPartFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferContentPartFactory(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferContentPartFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferErrorStaticMethods : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferErrorStaticMethods(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferErrorStaticMethods(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferGroup(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferGroupStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferGroupStatics(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferGroupStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferOperation(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferOperationPriority : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferOperationPriority(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferOperationPriority(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundTransferRangesDownloadedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundTransferRangesDownloadedEventArgs(std::nullptr_t = nullptr) noexcept {} + IBackgroundTransferRangesDownloadedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploader : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IBackgroundUploader(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploader2(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploader3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploader3(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploader3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploaderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploaderFactory(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploaderStaticMethods : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploaderStaticMethods(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploaderStaticMethods(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploaderStaticMethods2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploaderStaticMethods2(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploaderStaticMethods2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IBackgroundUploaderUserConsent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackgroundUploaderUserConsent(std::nullptr_t = nullptr) noexcept {} + IBackgroundUploaderUserConsent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IContentPrefetcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IContentPrefetcher(std::nullptr_t = nullptr) noexcept {} + IContentPrefetcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IContentPrefetcherTime : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IContentPrefetcherTime(std::nullptr_t = nullptr) noexcept {} + IContentPrefetcherTime(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDownloadOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDownloadOperation(std::nullptr_t = nullptr) noexcept {} + IDownloadOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDownloadOperation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDownloadOperation2(std::nullptr_t = nullptr) noexcept {} + IDownloadOperation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDownloadOperation3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDownloadOperation3(std::nullptr_t = nullptr) noexcept {} + IDownloadOperation3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDownloadOperation4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDownloadOperation4(std::nullptr_t = nullptr) noexcept {} + IDownloadOperation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDownloadOperation5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDownloadOperation5(std::nullptr_t = nullptr) noexcept {} + IDownloadOperation5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IResponseInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResponseInformation(std::nullptr_t = nullptr) noexcept {} + IResponseInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUnconstrainedTransferRequestResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUnconstrainedTransferRequestResult(std::nullptr_t = nullptr) noexcept {} + IUnconstrainedTransferRequestResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUploadOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IUploadOperation(std::nullptr_t = nullptr) noexcept {} + IUploadOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUploadOperation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUploadOperation2(std::nullptr_t = nullptr) noexcept {} + IUploadOperation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUploadOperation3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUploadOperation3(std::nullptr_t = nullptr) noexcept {} + IUploadOperation3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUploadOperation4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUploadOperation4(std::nullptr_t = nullptr) noexcept {} + IUploadOperation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.2.h new file mode 100644 index 0000000000000000000000000000000000000000..c96b35a0913c90655b501b78e04e19deac48ba59 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.backgroundtransfer.2.h @@ -0,0 +1,153 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_BackgroundTransfer_2_H +#define WINRT_Windows_Networking_BackgroundTransfer_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Networking.BackgroundTransfer.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::BackgroundTransfer +{ + struct BackgroundDownloadProgress + { + uint64_t BytesReceived {}; + uint64_t TotalBytesToReceive {}; + winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferStatus Status {}; + bool HasResponseChanged {}; + bool HasRestarted {}; + }; + inline bool operator==(BackgroundDownloadProgress const& left, BackgroundDownloadProgress const& right) noexcept + { + return left.BytesReceived == right.BytesReceived && left.TotalBytesToReceive == right.TotalBytesToReceive && left.Status == right.Status && left.HasResponseChanged == right.HasResponseChanged && left.HasRestarted == right.HasRestarted; + } + inline bool operator!=(BackgroundDownloadProgress const& left, BackgroundDownloadProgress const& right) noexcept + { + return !(left == right); + } + struct BackgroundTransferFileRange + { + uint64_t Offset {}; + uint64_t Length {}; + }; + inline bool operator==(BackgroundTransferFileRange const& left, BackgroundTransferFileRange const& right) noexcept + { + return left.Offset == right.Offset && left.Length == right.Length; + } + inline bool operator!=(BackgroundTransferFileRange const& left, BackgroundTransferFileRange const& right) noexcept + { + return !(left == right); + } + struct BackgroundUploadProgress + { + uint64_t BytesReceived {}; + uint64_t BytesSent {}; + uint64_t TotalBytesToReceive {}; + uint64_t TotalBytesToSend {}; + winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferStatus Status {}; + bool HasResponseChanged {}; + bool HasRestarted {}; + }; + inline bool operator==(BackgroundUploadProgress const& left, BackgroundUploadProgress const& right) noexcept + { + return left.BytesReceived == right.BytesReceived && left.BytesSent == right.BytesSent && left.TotalBytesToReceive == right.TotalBytesToReceive && left.TotalBytesToSend == right.TotalBytesToSend && left.Status == right.Status && left.HasResponseChanged == right.HasResponseChanged && left.HasRestarted == right.HasRestarted; + } + inline bool operator!=(BackgroundUploadProgress const& left, BackgroundUploadProgress const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES BackgroundDownloader : winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader, + impl::require + { + BackgroundDownloader(std::nullptr_t) noexcept {} + BackgroundDownloader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader(ptr, take_ownership_from_abi) {} + BackgroundDownloader(); + explicit BackgroundDownloader(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup); + static auto GetCurrentDownloadsAsync(); + static auto GetCurrentDownloadsAsync(param::hstring const& group); + static auto GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group); + static auto RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations); + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundTransferCompletionGroup : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup + { + BackgroundTransferCompletionGroup(std::nullptr_t) noexcept {} + BackgroundTransferCompletionGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup(ptr, take_ownership_from_abi) {} + BackgroundTransferCompletionGroup(); + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundTransferCompletionGroupTriggerDetails : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails + { + BackgroundTransferCompletionGroupTriggerDetails(std::nullptr_t) noexcept {} + BackgroundTransferCompletionGroupTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundTransferContentPart : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart + { + BackgroundTransferContentPart(std::nullptr_t) noexcept {} + BackgroundTransferContentPart(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart(ptr, take_ownership_from_abi) {} + BackgroundTransferContentPart(); + explicit BackgroundTransferContentPart(param::hstring const& name); + BackgroundTransferContentPart(param::hstring const& name, param::hstring const& fileName); + }; + struct BackgroundTransferError + { + BackgroundTransferError() = delete; + static auto GetStatus(int32_t hresult); + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundTransferGroup : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup + { + BackgroundTransferGroup(std::nullptr_t) noexcept {} + BackgroundTransferGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup(ptr, take_ownership_from_abi) {} + static auto CreateGroup(param::hstring const& name); + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundTransferRangesDownloadedEventArgs : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs + { + BackgroundTransferRangesDownloadedEventArgs(std::nullptr_t) noexcept {} + BackgroundTransferRangesDownloadedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES BackgroundUploader : winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader, + impl::require + { + BackgroundUploader(std::nullptr_t) noexcept {} + BackgroundUploader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader(ptr, take_ownership_from_abi) {} + BackgroundUploader(); + explicit BackgroundUploader(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup); + static auto GetCurrentUploadsAsync(); + static auto GetCurrentUploadsAsync(param::hstring const& group); + static auto GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group); + static auto RequestUnconstrainedUploadsAsync(param::async_iterable const& operations); + }; + struct ContentPrefetcher + { + ContentPrefetcher() = delete; + [[nodiscard]] static auto ContentUris(); + static auto IndirectContentUri(winrt::Windows::Foundation::Uri const& value); + [[nodiscard]] static auto IndirectContentUri(); + [[nodiscard]] static auto LastSuccessfulPrefetchTime(); + }; + struct WINRT_IMPL_EMPTY_BASES DownloadOperation : winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation, + impl::require + { + DownloadOperation(std::nullptr_t) noexcept {} + DownloadOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation(ptr, take_ownership_from_abi) {} + using winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation::RequestedUri; + using impl::consume_t::RequestedUri; + }; + struct WINRT_IMPL_EMPTY_BASES ResponseInformation : winrt::Windows::Networking::BackgroundTransfer::IResponseInformation + { + ResponseInformation(std::nullptr_t) noexcept {} + ResponseInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IResponseInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UnconstrainedTransferRequestResult : winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult + { + UnconstrainedTransferRequestResult(std::nullptr_t) noexcept {} + UnconstrainedTransferRequestResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UploadOperation : winrt::Windows::Networking::BackgroundTransfer::IUploadOperation, + impl::require + { + UploadOperation(std::nullptr_t) noexcept {} + UploadOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::BackgroundTransfer::IUploadOperation(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a3d02c6b5b5569a4df7c4b81caa3a682454b0c4a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.0.h @@ -0,0 +1,1282 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Connectivity_0_H +#define WINRT_Windows_Networking_Connectivity_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES IReference; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + enum class DomainNameType : int32_t; + struct EndpointPair; + struct HostName; + enum class HostNameSortOptions : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + enum class CellularApnAuthenticationType : int32_t + { + None = 0, + Pap = 1, + Chap = 2, + Mschapv2 = 3, + }; + enum class ConnectionProfileDeleteStatus : int32_t + { + Success = 0, + DeniedByUser = 1, + DeniedBySystem = 2, + UnknownError = 3, + }; + enum class DataUsageGranularity : int32_t + { + PerMinute = 0, + PerHour = 1, + PerDay = 2, + Total = 3, + }; + enum class DomainAuthenticationKind : int32_t + { + None = 0, + Ldap = 1, + Tls = 2, + }; + enum class DomainConnectivityLevel : int32_t + { + None = 0, + Unauthenticated = 1, + Authenticated = 2, + }; + enum class NetworkAuthenticationType : int32_t + { + None = 0, + Unknown = 1, + Open80211 = 2, + SharedKey80211 = 3, + Wpa = 4, + WpaPsk = 5, + WpaNone = 6, + Rsna = 7, + RsnaPsk = 8, + Ihv = 9, + Wpa3 = 10, + Wpa3Enterprise192Bits = 10, + Wpa3Sae = 11, + Owe = 12, + Wpa3Enterprise = 13, + }; + enum class NetworkConnectivityLevel : int32_t + { + None = 0, + LocalAccess = 1, + ConstrainedInternetAccess = 2, + InternetAccess = 3, + }; + enum class NetworkCostType : int32_t + { + Unknown = 0, + Unrestricted = 1, + Fixed = 2, + Variable = 3, + }; + enum class NetworkEncryptionType : int32_t + { + None = 0, + Unknown = 1, + Wep = 2, + Wep40 = 3, + Wep104 = 4, + Tkip = 5, + Ccmp = 6, + WpaUseGroup = 7, + RsnUseGroup = 8, + Ihv = 9, + Gcmp = 10, + Gcmp256 = 11, + }; + enum class NetworkTypes : uint32_t + { + None = 0, + Internet = 0x1, + PrivateNetwork = 0x2, + }; + enum class RoamingStates : uint32_t + { + None = 0, + NotRoaming = 0x1, + Roaming = 0x2, + }; + enum class TriStates : int32_t + { + DoNotCare = 0, + No = 1, + Yes = 2, + }; + enum class WwanDataClass : uint32_t + { + None = 0, + Gprs = 0x1, + Edge = 0x2, + Umts = 0x4, + Hsdpa = 0x8, + Hsupa = 0x10, + LteAdvanced = 0x20, + NewRadioNonStandalone = 0x40, + NewRadioStandalone = 0x80, + Cdma1xRtt = 0x10000, + Cdma1xEvdo = 0x20000, + Cdma1xEvdoRevA = 0x40000, + Cdma1xEvdv = 0x80000, + Cdma3xRtt = 0x100000, + Cdma1xEvdoRevB = 0x200000, + CdmaUmb = 0x400000, + Custom = 0x80000000, + }; + enum class WwanNetworkIPKind : int32_t + { + None = 0, + Ipv4 = 1, + Ipv6 = 2, + Ipv4v6 = 3, + Ipv4v6v4Xlat = 4, + }; + enum class WwanNetworkRegistrationState : int32_t + { + None = 0, + Deregistered = 1, + Searching = 2, + Home = 3, + Roaming = 4, + Partner = 5, + Denied = 6, + }; + struct IAttributedNetworkUsage; + struct ICellularApnContext; + struct ICellularApnContext2; + struct IConnectionCost; + struct IConnectionCost2; + struct IConnectionProfile; + struct IConnectionProfile2; + struct IConnectionProfile3; + struct IConnectionProfile4; + struct IConnectionProfile5; + struct IConnectionProfile6; + struct IConnectionProfileFilter; + struct IConnectionProfileFilter2; + struct IConnectionProfileFilter3; + struct IConnectionSession; + struct IConnectivityInterval; + struct IConnectivityManagerStatics; + struct IDataPlanStatus; + struct IDataPlanUsage; + struct IDataUsage; + struct IIPInformation; + struct ILanIdentifier; + struct ILanIdentifierData; + struct INetworkAdapter; + struct INetworkInformationStatics; + struct INetworkInformationStatics2; + struct INetworkItem; + struct INetworkSecuritySettings; + struct INetworkStateChangeEventDetails; + struct INetworkStateChangeEventDetails2; + struct INetworkUsage; + struct IProviderNetworkUsage; + struct IProxyConfiguration; + struct IRoutePolicy; + struct IRoutePolicyFactory; + struct IWlanConnectionProfileDetails; + struct IWwanConnectionProfileDetails; + struct IWwanConnectionProfileDetails2; + struct AttributedNetworkUsage; + struct CellularApnContext; + struct ConnectionCost; + struct ConnectionProfile; + struct ConnectionProfileFilter; + struct ConnectionSession; + struct ConnectivityInterval; + struct ConnectivityManager; + struct DataPlanStatus; + struct DataPlanUsage; + struct DataUsage; + struct IPInformation; + struct LanIdentifier; + struct LanIdentifierData; + struct NetworkAdapter; + struct NetworkInformation; + struct NetworkItem; + struct NetworkSecuritySettings; + struct NetworkStateChangeEventDetails; + struct NetworkUsage; + struct ProviderNetworkUsage; + struct ProxyConfiguration; + struct RoutePolicy; + struct WlanConnectionProfileDetails; + struct WwanConnectionProfileDetails; + struct NetworkUsageStates; + struct NetworkStatusChangedEventHandler; + struct WwanContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.AttributedNetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.CellularApnContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectionCost"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectionProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectionProfileFilter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectionSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectivityInterval"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectivityManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DataPlanStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DataPlanUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DataUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IPInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.LanIdentifier"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.LanIdentifierData"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkItem"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkSecuritySettings"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkStateChangeEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ProviderNetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ProxyConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.RoutePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WlanConnectionProfileDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WwanConnectionProfileDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.CellularApnAuthenticationType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ConnectionProfileDeleteStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DataUsageGranularity"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DomainAuthenticationKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.DomainConnectivityLevel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkAuthenticationType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkConnectivityLevel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkCostType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkEncryptionType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkTypes"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.RoamingStates"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.TriStates"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WwanDataClass"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WwanNetworkIPKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WwanNetworkRegistrationState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkUsageStates"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IAttributedNetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ICellularApnContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ICellularApnContext2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionCost"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionCost2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile5"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfile6"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfileFilter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfileFilter2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionProfileFilter3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectionSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectivityInterval"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IConnectivityManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IDataPlanStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IDataPlanUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IDataUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IIPInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ILanIdentifier"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.ILanIdentifierData"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkAdapter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkInformationStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkItem"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkSecuritySettings"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkStateChangeEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkStateChangeEventDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.INetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IProviderNetworkUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IProxyConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IRoutePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IRoutePolicyFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IWlanConnectionProfileDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IWwanConnectionProfileDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.IWwanConnectionProfileDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.NetworkStatusChangedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Connectivity.WwanContract"; + template <> inline constexpr guid guid_v{ 0xF769B039,0xECA2,0x45EB,{ 0xAD,0xE1,0xB0,0x36,0x8B,0x75,0x6C,0x49 } }; // F769B039-ECA2-45EB-ADE1-B0368B756C49 + template <> inline constexpr guid guid_v{ 0x6FA529F4,0xEFFD,0x4542,{ 0x9A,0xB2,0x70,0x5B,0xBF,0x94,0x94,0x3A } }; // 6FA529F4-EFFD-4542-9AB2-705BBF94943A + template <> inline constexpr guid guid_v{ 0x76B0EB1A,0xAC49,0x4350,{ 0xB1,0xE5,0xDC,0x47,0x63,0xBC,0x69,0xC7 } }; // 76B0EB1A-AC49-4350-B1E5-DC4763BC69C7 + template <> inline constexpr guid guid_v{ 0xBAD7D829,0x3416,0x4B10,{ 0xA2,0x02,0xBA,0xC0,0xB0,0x75,0xBD,0xAE } }; // BAD7D829-3416-4B10-A202-BAC0B075BDAE + template <> inline constexpr guid guid_v{ 0x8E113A05,0xE209,0x4549,{ 0xBB,0x25,0x5E,0x0D,0xB6,0x91,0xCB,0x05 } }; // 8E113A05-E209-4549-BB25-5E0DB691CB05 + template <> inline constexpr guid guid_v{ 0x71BA143C,0x598E,0x49D0,{ 0x84,0xEB,0x8F,0xEB,0xAE,0xDC,0xC1,0x95 } }; // 71BA143C-598E-49D0-84EB-8FEBAEDCC195 + template <> inline constexpr guid guid_v{ 0xE2045145,0x4C9F,0x400C,{ 0x91,0x50,0x7E,0xC7,0xD6,0xE2,0x88,0x8A } }; // E2045145-4C9F-400C-9150-7EC7D6E2888A + template <> inline constexpr guid guid_v{ 0x578C2528,0x4CD9,0x4161,{ 0x80,0x45,0x20,0x1C,0xFD,0x5B,0x11,0x5C } }; // 578C2528-4CD9-4161-8045-201CFD5B115C + template <> inline constexpr guid guid_v{ 0x7A2D42CD,0x81E0,0x4AE6,{ 0xAB,0xED,0xAB,0x9C,0xA1,0x3E,0xB7,0x14 } }; // 7A2D42CD-81E0-4AE6-ABED-AB9CA13EB714 + template <> inline constexpr guid guid_v{ 0x85361EC7,0x9C73,0x4BE0,{ 0x8F,0x14,0x57,0x8E,0xEC,0x71,0xEE,0x0E } }; // 85361EC7-9C73-4BE0-8F14-578EEC71EE0E + template <> inline constexpr guid guid_v{ 0xDC27DFE2,0x7A6F,0x5D0E,{ 0x95,0x89,0x2F,0xE2,0xE5,0xB6,0xF9,0xAA } }; // DC27DFE2-7A6F-5D0E-9589-2FE2E5B6F9AA + template <> inline constexpr guid guid_v{ 0x204C7CC8,0xBD2D,0x4E8D,{ 0xA4,0xB3,0x45,0x5E,0xC3,0x37,0x38,0x8A } }; // 204C7CC8-BD2D-4E8D-A4B3-455EC337388A + template <> inline constexpr guid guid_v{ 0xCD068EE1,0xC3FC,0x4FAD,{ 0x9D,0xDC,0x59,0x3F,0xAA,0x4B,0x78,0x85 } }; // CD068EE1-C3FC-4FAD-9DDC-593FAA4B7885 + template <> inline constexpr guid guid_v{ 0x0AAA09C0,0x5014,0x447C,{ 0x88,0x09,0xAE,0xE4,0xCB,0x0A,0xF9,0x4A } }; // 0AAA09C0-5014-447C-8809-AEE4CB0AF94A + template <> inline constexpr guid guid_v{ 0xFF905D4C,0xF83B,0x41B0,{ 0x8A,0x0C,0x14,0x62,0xD9,0xC5,0x6B,0x73 } }; // FF905D4C-F83B-41B0-8A0C-1462D9C56B73 + template <> inline constexpr guid guid_v{ 0x4FAA3FFF,0x6746,0x4824,{ 0xA9,0x64,0xEE,0xD8,0xE8,0x7F,0x87,0x09 } }; // 4FAA3FFF-6746-4824-A964-EED8E87F8709 + template <> inline constexpr guid guid_v{ 0x5120D4B1,0x4FB1,0x48B0,{ 0xAF,0xC9,0x42,0xE0,0x09,0x2A,0x81,0x64 } }; // 5120D4B1-4FB1-48B0-AFC9-42E0092A8164 + template <> inline constexpr guid guid_v{ 0x977A8B8C,0x3885,0x40F3,{ 0x88,0x51,0x42,0xCD,0x2B,0xD5,0x68,0xBB } }; // 977A8B8C-3885-40F3-8851-42CD2BD568BB + template <> inline constexpr guid guid_v{ 0xB921492D,0x3B44,0x47FF,{ 0xB3,0x61,0xBE,0x59,0xE6,0x9E,0xD1,0xB0 } }; // B921492D-3B44-47FF-B361-BE59E69ED1B0 + template <> inline constexpr guid guid_v{ 0xC1431DD3,0xB146,0x4D39,{ 0xB9,0x59,0x0C,0x69,0xB0,0x96,0xC5,0x12 } }; // C1431DD3-B146-4D39-B959-0C69B096C512 + template <> inline constexpr guid guid_v{ 0xD85145E0,0x138F,0x47D7,{ 0x9B,0x3A,0x36,0xBB,0x48,0x8C,0xEF,0x33 } }; // D85145E0-138F-47D7-9B3A-36BB488CEF33 + template <> inline constexpr guid guid_v{ 0x48AA53AA,0x1108,0x4546,{ 0xA6,0xCB,0x9A,0x74,0xDA,0x4B,0x7B,0xA0 } }; // 48AA53AA-1108-4546-A6CB-9A74DA4B7BA0 + template <> inline constexpr guid guid_v{ 0xA74E83C3,0xD639,0x45BE,{ 0xA3,0x6A,0xC4,0xE4,0xAE,0xAF,0x6D,0x9B } }; // A74E83C3-D639-45BE-A36A-C4E4AEAF6D9B + template <> inline constexpr guid guid_v{ 0x3B542E03,0x5388,0x496C,{ 0xA8,0xA3,0xAF,0xFD,0x39,0xAE,0xC2,0xE6 } }; // 3B542E03-5388-496C-A8A3-AFFD39AEC2E6 + template <> inline constexpr guid guid_v{ 0x5074F851,0x950D,0x4165,{ 0x9C,0x15,0x36,0x56,0x19,0x48,0x1E,0xEA } }; // 5074F851-950D-4165-9C15-365619481EEA + template <> inline constexpr guid guid_v{ 0x459CED14,0x2832,0x49B6,{ 0xBA,0x6E,0xE2,0x65,0xF0,0x47,0x86,0xA8 } }; // 459CED14-2832-49B6-BA6E-E265F04786A8 + template <> inline constexpr guid guid_v{ 0x01BC4D39,0xF5E0,0x4567,{ 0xA2,0x8C,0x42,0x08,0x0C,0x83,0x1B,0x2B } }; // 01BC4D39-F5E0-4567-A28C-42080C831B2B + template <> inline constexpr guid guid_v{ 0x7CA07E8D,0x917B,0x4B5F,{ 0xB8,0x4D,0x28,0xF7,0xA5,0xAC,0x54,0x02 } }; // 7CA07E8D-917B-4B5F-B84D-28F7A5AC5402 + template <> inline constexpr guid guid_v{ 0x1F0CF333,0xD7A6,0x44DD,{ 0xA4,0xE9,0x68,0x7C,0x47,0x6B,0x90,0x3D } }; // 1F0CF333-D7A6-44DD-A4E9-687C476B903D + template <> inline constexpr guid guid_v{ 0xD643C0E8,0x30D3,0x4F6A,{ 0xAD,0x47,0x6A,0x18,0x73,0xCE,0xB3,0xC1 } }; // D643C0E8-30D3-4F6A-AD47-6A1873CEB3C1 + template <> inline constexpr guid guid_v{ 0x49DA8FCE,0x9985,0x4927,{ 0xBF,0x5B,0x07,0x2B,0x5C,0x65,0xF8,0xD9 } }; // 49DA8FCE-9985-4927-BF5B-072B5C65F8D9 + template <> inline constexpr guid guid_v{ 0x5EC69E04,0x7931,0x48C8,{ 0xB8,0xF3,0x46,0x30,0x0F,0xA4,0x27,0x28 } }; // 5EC69E04-7931-48C8-B8F3-46300FA42728 + template <> inline constexpr guid guid_v{ 0xEF3A60B4,0x9004,0x4DD6,{ 0xB7,0xD8,0xB3,0xE5,0x02,0xF4,0xAA,0xD0 } }; // EF3A60B4-9004-4DD6-B7D8-B3E502F4AAD0 + template <> inline constexpr guid guid_v{ 0x11ABC4AC,0x0FC7,0x42E4,{ 0x87,0x42,0x56,0x99,0x23,0xB1,0xCA,0x11 } }; // 11ABC4AC-0FC7-42E4-8742-569923B1CA11 + template <> inline constexpr guid guid_v{ 0x36027933,0xA18E,0x4DB5,{ 0xA6,0x97,0xF5,0x8F,0xA7,0x36,0x4E,0x44 } }; // 36027933-A18E-4DB5-A697-F58FA7364E44 + template <> inline constexpr guid guid_v{ 0x562098CB,0xB35A,0x4BF1,{ 0xA8,0x84,0xB7,0x55,0x7E,0x88,0xFF,0x86 } }; // 562098CB-B35A-4BF1-A884-B7557E88FF86 + template <> inline constexpr guid guid_v{ 0x0E4DA8FE,0x835F,0x4DF3,{ 0x82,0xFD,0xDF,0x55,0x6E,0xBC,0x09,0xEF } }; // 0E4DA8FE-835F-4DF3-82FD-DF556EBC09EF + template <> inline constexpr guid guid_v{ 0x7A754EDE,0xA1ED,0x48B2,{ 0x8E,0x92,0xB4,0x60,0x03,0x3D,0x52,0xE2 } }; // 7A754EDE-A1ED-48B2-8E92-B460033D52E2 + template <> inline constexpr guid guid_v{ 0x71BA143F,0x598E,0x49D0,{ 0x84,0xEB,0x8F,0xEB,0xAE,0xDC,0xC1,0x95 } }; // 71BA143F-598E-49D0-84EB-8FEBAEDCC195 + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::ICellularApnContext; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IConnectionCost; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IConnectionProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IConnectionProfileFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IConnectionSession; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IConnectivityInterval; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IDataPlanStatus; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IDataPlanUsage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IDataUsage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IIPInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::ILanIdentifier; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::ILanIdentifierData; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::INetworkAdapter; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::INetworkItem; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::INetworkSecuritySettings; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::INetworkUsage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IProviderNetworkUsage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IProxyConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IRoutePolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BytesSent(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_BytesReceived(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_AttributionId(void**) noexcept = 0; + virtual int32_t __stdcall get_AttributionName(void**) noexcept = 0; + virtual int32_t __stdcall get_AttributionThumbnail(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall put_ProviderId(void*) noexcept = 0; + virtual int32_t __stdcall get_AccessPointName(void**) noexcept = 0; + virtual int32_t __stdcall put_AccessPointName(void*) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall put_UserName(void*) noexcept = 0; + virtual int32_t __stdcall get_Password(void**) noexcept = 0; + virtual int32_t __stdcall put_Password(void*) noexcept = 0; + virtual int32_t __stdcall get_IsCompressionEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCompressionEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProfileName(void**) noexcept = 0; + virtual int32_t __stdcall put_ProfileName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkCostType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Roaming(bool*) noexcept = 0; + virtual int32_t __stdcall get_OverDataLimit(bool*) noexcept = 0; + virtual int32_t __stdcall get_ApproachingDataLimit(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BackgroundDataUsageRestricted(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProfileName(void**) noexcept = 0; + virtual int32_t __stdcall GetNetworkConnectivityLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetNetworkNames(void**) noexcept = 0; + virtual int32_t __stdcall GetConnectionCost(void**) noexcept = 0; + virtual int32_t __stdcall GetDataPlanStatus(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkAdapter(void**) noexcept = 0; + virtual int32_t __stdcall GetLocalUsage(int64_t, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetLocalUsagePerRoamingStates(int64_t, int64_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkSecuritySettings(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsWwanConnectionProfile(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsWlanConnectionProfile(bool*) noexcept = 0; + virtual int32_t __stdcall get_WwanConnectionProfileDetails(void**) noexcept = 0; + virtual int32_t __stdcall get_WlanConnectionProfileDetails(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceProviderGuid(void**) noexcept = 0; + virtual int32_t __stdcall GetSignalBars(void**) noexcept = 0; + virtual int32_t __stdcall GetDomainConnectivityLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetNetworkUsageAsync(int64_t, int64_t, int32_t, struct struct_Windows_Networking_Connectivity_NetworkUsageStates, void**) noexcept = 0; + virtual int32_t __stdcall GetConnectivityIntervalsAsync(int64_t, int64_t, struct struct_Windows_Networking_Connectivity_NetworkUsageStates, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAttributedNetworkUsageAsync(int64_t, int64_t, struct struct_Windows_Networking_Connectivity_NetworkUsageStates, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetProviderNetworkUsageAsync(int64_t, int64_t, struct struct_Windows_Networking_Connectivity_NetworkUsageStates, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanDelete(bool*) noexcept = 0; + virtual int32_t __stdcall TryDeleteAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsDomainAuthenticatedBy(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsConnected(bool) noexcept = 0; + virtual int32_t __stdcall get_IsConnected(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsWwanConnectionProfile(bool) noexcept = 0; + virtual int32_t __stdcall get_IsWwanConnectionProfile(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsWlanConnectionProfile(bool) noexcept = 0; + virtual int32_t __stdcall get_IsWlanConnectionProfile(bool*) noexcept = 0; + virtual int32_t __stdcall put_NetworkCostType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_NetworkCostType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ServiceProviderGuid(void*) noexcept = 0; + virtual int32_t __stdcall get_ServiceProviderGuid(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_IsRoaming(void*) noexcept = 0; + virtual int32_t __stdcall get_IsRoaming(void**) noexcept = 0; + virtual int32_t __stdcall put_IsOverDataLimit(void*) noexcept = 0; + virtual int32_t __stdcall get_IsOverDataLimit(void**) noexcept = 0; + virtual int32_t __stdcall put_IsBackgroundDataUsageRestricted(void*) noexcept = 0; + virtual int32_t __stdcall get_IsBackgroundDataUsageRestricted(void**) noexcept = 0; + virtual int32_t __stdcall get_RawData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PurposeGuid(void*) noexcept = 0; + virtual int32_t __stdcall get_PurposeGuid(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionProfile(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ConnectionDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AcquireConnectionAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddHttpRoutePolicy(void*) noexcept = 0; + virtual int32_t __stdcall RemoveHttpRoutePolicy(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DataPlanUsage(void**) noexcept = 0; + virtual int32_t __stdcall get_DataLimitInMegabytes(void**) noexcept = 0; + virtual int32_t __stdcall get_InboundBitsPerSecond(void**) noexcept = 0; + virtual int32_t __stdcall get_OutboundBitsPerSecond(void**) noexcept = 0; + virtual int32_t __stdcall get_NextBillingCycle(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxTransferSizeInMegabytes(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MegabytesUsed(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_LastSyncTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BytesSent(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_BytesReceived(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAdapter(void**) noexcept = 0; + virtual int32_t __stdcall get_PrefixLength(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InfrastructureId(void**) noexcept = 0; + virtual int32_t __stdcall get_PortId(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkAdapterId(winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OutboundMaxBitsPerSecond(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_InboundMaxBitsPerSecond(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_IanaInterfaceType(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NetworkItem(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkAdapterId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetConnectedProfileAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetConnectionProfiles(void**) noexcept = 0; + virtual int32_t __stdcall GetInternetConnectionProfile(void**) noexcept = 0; + virtual int32_t __stdcall GetLanIdentifiers(void**) noexcept = 0; + virtual int32_t __stdcall GetHostNames(void**) noexcept = 0; + virtual int32_t __stdcall GetProxyConfigurationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSortedEndpointPairs(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_NetworkStatusChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_NetworkStatusChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindConnectionProfilesAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetNetworkTypes(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAuthenticationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NetworkEncryptionType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HasNewInternetConnectionProfile(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewConnectionCost(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewNetworkConnectivityLevel(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewDomainConnectivityLevel(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewHostNameList(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewWwanRegistrationState(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HasNewTetheringOperationalState(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNewTetheringClientCount(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BytesSent(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_BytesReceived(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_ConnectionDuration(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BytesSent(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_BytesReceived(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProxyUris(void**) noexcept = 0; + virtual int32_t __stdcall get_CanConnectDirectly(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionProfile(void**) noexcept = 0; + virtual int32_t __stdcall get_HostName(void**) noexcept = 0; + virtual int32_t __stdcall get_HostNameType(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateRoutePolicy(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetConnectedSsid(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HomeProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_AccessPointName(void**) noexcept = 0; + virtual int32_t __stdcall GetNetworkRegistrationState(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentDataClass(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IPKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PurposeGuids(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_Connectivity_IAttributedNetworkUsage + { + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto AttributionId() const; + [[nodiscard]] auto AttributionName() const; + [[nodiscard]] auto AttributionThumbnail() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IAttributedNetworkUsage; + }; + template + struct consume_Windows_Networking_Connectivity_ICellularApnContext + { + [[nodiscard]] auto ProviderId() const; + auto ProviderId(param::hstring const& value) const; + [[nodiscard]] auto AccessPointName() const; + auto AccessPointName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto Password() const; + auto Password(param::hstring const& value) const; + [[nodiscard]] auto IsCompressionEnabled() const; + auto IsCompressionEnabled(bool value) const; + [[nodiscard]] auto AuthenticationType() const; + auto AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_ICellularApnContext; + }; + template + struct consume_Windows_Networking_Connectivity_ICellularApnContext2 + { + [[nodiscard]] auto ProfileName() const; + auto ProfileName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_ICellularApnContext2; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionCost + { + [[nodiscard]] auto NetworkCostType() const; + [[nodiscard]] auto Roaming() const; + [[nodiscard]] auto OverDataLimit() const; + [[nodiscard]] auto ApproachingDataLimit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionCost; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionCost2 + { + [[nodiscard]] auto BackgroundDataUsageRestricted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionCost2; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile + { + [[nodiscard]] auto ProfileName() const; + auto GetNetworkConnectivityLevel() const; + auto GetNetworkNames() const; + auto GetConnectionCost() const; + auto GetDataPlanStatus() const; + [[nodiscard]] auto NetworkAdapter() const; + auto GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const; + auto GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const; + [[nodiscard]] auto NetworkSecuritySettings() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile2 + { + [[nodiscard]] auto IsWwanConnectionProfile() const; + [[nodiscard]] auto IsWlanConnectionProfile() const; + [[nodiscard]] auto WwanConnectionProfileDetails() const; + [[nodiscard]] auto WlanConnectionProfileDetails() const; + [[nodiscard]] auto ServiceProviderGuid() const; + auto GetSignalBars() const; + auto GetDomainConnectivityLevel() const; + auto GetNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::DataUsageGranularity const& granularity, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + auto GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile2; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile3 + { + auto GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile3; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile4 + { + auto GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile4; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile5 + { + [[nodiscard]] auto CanDelete() const; + auto TryDeleteAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile5; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfile6 + { + auto IsDomainAuthenticatedBy(winrt::Windows::Networking::Connectivity::DomainAuthenticationKind const& kind) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfile6; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter + { + auto IsConnected(bool value) const; + [[nodiscard]] auto IsConnected() const; + auto IsWwanConnectionProfile(bool value) const; + [[nodiscard]] auto IsWwanConnectionProfile() const; + auto IsWlanConnectionProfile(bool value) const; + [[nodiscard]] auto IsWlanConnectionProfile() const; + auto NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; + [[nodiscard]] auto NetworkCostType() const; + auto ServiceProviderGuid(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ServiceProviderGuid() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfileFilter; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter2 + { + auto IsRoaming(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsRoaming() const; + auto IsOverDataLimit(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsOverDataLimit() const; + auto IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsBackgroundDataUsageRestricted() const; + [[nodiscard]] auto RawData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfileFilter2; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter3 + { + auto PurposeGuid(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PurposeGuid() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionProfileFilter3; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectionSession + { + [[nodiscard]] auto ConnectionProfile() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectionSession; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectivityInterval + { + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto ConnectionDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectivityInterval; + }; + template + struct consume_Windows_Networking_Connectivity_IConnectivityManagerStatics + { + auto AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const; + auto AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; + auto RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IConnectivityManagerStatics; + }; + template + struct consume_Windows_Networking_Connectivity_IDataPlanStatus + { + [[nodiscard]] auto DataPlanUsage() const; + [[nodiscard]] auto DataLimitInMegabytes() const; + [[nodiscard]] auto InboundBitsPerSecond() const; + [[nodiscard]] auto OutboundBitsPerSecond() const; + [[nodiscard]] auto NextBillingCycle() const; + [[nodiscard]] auto MaxTransferSizeInMegabytes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IDataPlanStatus; + }; + template + struct consume_Windows_Networking_Connectivity_IDataPlanUsage + { + [[nodiscard]] auto MegabytesUsed() const; + [[nodiscard]] auto LastSyncTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IDataPlanUsage; + }; + template + struct consume_Windows_Networking_Connectivity_IDataUsage + { + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IDataUsage; + }; + template + struct consume_Windows_Networking_Connectivity_IIPInformation + { + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto PrefixLength() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IIPInformation; + }; + template + struct consume_Windows_Networking_Connectivity_ILanIdentifier + { + [[nodiscard]] auto InfrastructureId() const; + [[nodiscard]] auto PortId() const; + [[nodiscard]] auto NetworkAdapterId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_ILanIdentifier; + }; + template + struct consume_Windows_Networking_Connectivity_ILanIdentifierData + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_ILanIdentifierData; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkAdapter + { + [[nodiscard]] auto OutboundMaxBitsPerSecond() const; + [[nodiscard]] auto InboundMaxBitsPerSecond() const; + [[nodiscard]] auto IanaInterfaceType() const; + [[nodiscard]] auto NetworkItem() const; + [[nodiscard]] auto NetworkAdapterId() const; + auto GetConnectedProfileAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkAdapter; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkInformationStatics + { + auto GetConnectionProfiles() const; + auto GetInternetConnectionProfile() const; + auto GetLanIdentifiers() const; + auto GetHostNames() const; + auto GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + auto NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; + using NetworkStatusChanged_revoker = impl::event_revoker::remove_NetworkStatusChanged>; + [[nodiscard]] auto NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; + auto NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkInformationStatics; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkInformationStatics2 + { + auto FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkInformationStatics2; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkItem + { + [[nodiscard]] auto NetworkId() const; + auto GetNetworkTypes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkItem; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkSecuritySettings + { + [[nodiscard]] auto NetworkAuthenticationType() const; + [[nodiscard]] auto NetworkEncryptionType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkSecuritySettings; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails + { + [[nodiscard]] auto HasNewInternetConnectionProfile() const; + [[nodiscard]] auto HasNewConnectionCost() const; + [[nodiscard]] auto HasNewNetworkConnectivityLevel() const; + [[nodiscard]] auto HasNewDomainConnectivityLevel() const; + [[nodiscard]] auto HasNewHostNameList() const; + [[nodiscard]] auto HasNewWwanRegistrationState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2 + { + [[nodiscard]] auto HasNewTetheringOperationalState() const; + [[nodiscard]] auto HasNewTetheringClientCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2; + }; + template + struct consume_Windows_Networking_Connectivity_INetworkUsage + { + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto ConnectionDuration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_INetworkUsage; + }; + template + struct consume_Windows_Networking_Connectivity_IProviderNetworkUsage + { + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto ProviderId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IProviderNetworkUsage; + }; + template + struct consume_Windows_Networking_Connectivity_IProxyConfiguration + { + [[nodiscard]] auto ProxyUris() const; + [[nodiscard]] auto CanConnectDirectly() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IProxyConfiguration; + }; + template + struct consume_Windows_Networking_Connectivity_IRoutePolicy + { + [[nodiscard]] auto ConnectionProfile() const; + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto HostNameType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IRoutePolicy; + }; + template + struct consume_Windows_Networking_Connectivity_IRoutePolicyFactory + { + auto CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IRoutePolicyFactory; + }; + template + struct consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails + { + auto GetConnectedSsid() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails; + }; + template + struct consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails + { + [[nodiscard]] auto HomeProviderId() const; + [[nodiscard]] auto AccessPointName() const; + auto GetNetworkRegistrationState() const; + auto GetCurrentDataClass() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails; + }; + template + struct consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2 + { + [[nodiscard]] auto IPKind() const; + [[nodiscard]] auto PurposeGuids() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2; + }; + struct struct_Windows_Networking_Connectivity_NetworkUsageStates + { + int32_t Roaming; + int32_t Shared; + }; + template <> struct abi + { + using type = struct_Windows_Networking_Connectivity_NetworkUsageStates; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.1.h new file mode 100644 index 0000000000000000000000000000000000000000..b2dd604a68699eba5d8c8a376f3cd341f51593bd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.1.h @@ -0,0 +1,281 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Connectivity_1_H +#define WINRT_Windows_Networking_Connectivity_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Networking.Connectivity.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct WINRT_IMPL_EMPTY_BASES IAttributedNetworkUsage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAttributedNetworkUsage(std::nullptr_t = nullptr) noexcept {} + IAttributedNetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICellularApnContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICellularApnContext(std::nullptr_t = nullptr) noexcept {} + ICellularApnContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICellularApnContext2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICellularApnContext2(std::nullptr_t = nullptr) noexcept {} + ICellularApnContext2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionCost : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionCost(std::nullptr_t = nullptr) noexcept {} + IConnectionCost(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionCost2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionCost2(std::nullptr_t = nullptr) noexcept {} + IConnectionCost2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile2(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile3(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile4(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile5(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfile6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfile6(std::nullptr_t = nullptr) noexcept {} + IConnectionProfile6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfileFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfileFilter(std::nullptr_t = nullptr) noexcept {} + IConnectionProfileFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfileFilter2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfileFilter2(std::nullptr_t = nullptr) noexcept {} + IConnectionProfileFilter2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionProfileFilter3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionProfileFilter3(std::nullptr_t = nullptr) noexcept {} + IConnectionProfileFilter3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectionSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IConnectionSession(std::nullptr_t = nullptr) noexcept {} + IConnectionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectivityInterval : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectivityInterval(std::nullptr_t = nullptr) noexcept {} + IConnectivityInterval(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IConnectivityManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectivityManagerStatics(std::nullptr_t = nullptr) noexcept {} + IConnectivityManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataPlanStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataPlanStatus(std::nullptr_t = nullptr) noexcept {} + IDataPlanStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataPlanUsage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataPlanUsage(std::nullptr_t = nullptr) noexcept {} + IDataPlanUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataUsage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataUsage(std::nullptr_t = nullptr) noexcept {} + IDataUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIPInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIPInformation(std::nullptr_t = nullptr) noexcept {} + IIPInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanIdentifier : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanIdentifier(std::nullptr_t = nullptr) noexcept {} + ILanIdentifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ILanIdentifierData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILanIdentifierData(std::nullptr_t = nullptr) noexcept {} + ILanIdentifierData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkAdapter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkAdapter(std::nullptr_t = nullptr) noexcept {} + INetworkAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkInformationStatics(std::nullptr_t = nullptr) noexcept {} + INetworkInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkInformationStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkInformationStatics2(std::nullptr_t = nullptr) noexcept {} + INetworkInformationStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkItem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkItem(std::nullptr_t = nullptr) noexcept {} + INetworkItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkSecuritySettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkSecuritySettings(std::nullptr_t = nullptr) noexcept {} + INetworkSecuritySettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkStateChangeEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkStateChangeEventDetails(std::nullptr_t = nullptr) noexcept {} + INetworkStateChangeEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkStateChangeEventDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkStateChangeEventDetails2(std::nullptr_t = nullptr) noexcept {} + INetworkStateChangeEventDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkUsage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkUsage(std::nullptr_t = nullptr) noexcept {} + INetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProviderNetworkUsage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProviderNetworkUsage(std::nullptr_t = nullptr) noexcept {} + IProviderNetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProxyConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProxyConfiguration(std::nullptr_t = nullptr) noexcept {} + IProxyConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRoutePolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRoutePolicy(std::nullptr_t = nullptr) noexcept {} + IRoutePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRoutePolicyFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRoutePolicyFactory(std::nullptr_t = nullptr) noexcept {} + IRoutePolicyFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWlanConnectionProfileDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWlanConnectionProfileDetails(std::nullptr_t = nullptr) noexcept {} + IWlanConnectionProfileDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWwanConnectionProfileDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWwanConnectionProfileDetails(std::nullptr_t = nullptr) noexcept {} + IWwanConnectionProfileDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWwanConnectionProfileDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWwanConnectionProfileDetails2(std::nullptr_t = nullptr) noexcept {} + IWwanConnectionProfileDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e14be06aec2c478c3a1e0296b486a53b7ab90695 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.connectivity.2.h @@ -0,0 +1,188 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Connectivity_2_H +#define WINRT_Windows_Networking_Connectivity_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.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct NetworkStatusChangedEventHandler : winrt::Windows::Foundation::IUnknown + { + NetworkStatusChangedEventHandler(std::nullptr_t = nullptr) noexcept {} + NetworkStatusChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template NetworkStatusChangedEventHandler(L lambda); + template NetworkStatusChangedEventHandler(F* function); + template NetworkStatusChangedEventHandler(O* object, M method); + template NetworkStatusChangedEventHandler(com_ptr&& object, M method); + template NetworkStatusChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template NetworkStatusChangedEventHandler(std::shared_ptr&& object, M method); + template NetworkStatusChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Foundation::IInspectable const& sender) const; + }; + struct NetworkUsageStates + { + winrt::Windows::Networking::Connectivity::TriStates Roaming {}; + winrt::Windows::Networking::Connectivity::TriStates Shared {}; + }; + inline bool operator==(NetworkUsageStates const& left, NetworkUsageStates const& right) noexcept + { + return left.Roaming == right.Roaming && left.Shared == right.Shared; + } + inline bool operator!=(NetworkUsageStates const& left, NetworkUsageStates const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES AttributedNetworkUsage : winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage + { + AttributedNetworkUsage(std::nullptr_t) noexcept {} + AttributedNetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CellularApnContext : winrt::Windows::Networking::Connectivity::ICellularApnContext, + impl::require + { + CellularApnContext(std::nullptr_t) noexcept {} + CellularApnContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::ICellularApnContext(ptr, take_ownership_from_abi) {} + CellularApnContext(); + }; + struct WINRT_IMPL_EMPTY_BASES ConnectionCost : winrt::Windows::Networking::Connectivity::IConnectionCost, + impl::require + { + ConnectionCost(std::nullptr_t) noexcept {} + ConnectionCost(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IConnectionCost(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ConnectionProfile : winrt::Windows::Networking::Connectivity::IConnectionProfile, + impl::require + { + ConnectionProfile(std::nullptr_t) noexcept {} + ConnectionProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IConnectionProfile(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ConnectionProfileFilter : winrt::Windows::Networking::Connectivity::IConnectionProfileFilter, + impl::require + { + ConnectionProfileFilter(std::nullptr_t) noexcept {} + ConnectionProfileFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IConnectionProfileFilter(ptr, take_ownership_from_abi) {} + ConnectionProfileFilter(); + }; + struct WINRT_IMPL_EMPTY_BASES ConnectionSession : winrt::Windows::Networking::Connectivity::IConnectionSession + { + ConnectionSession(std::nullptr_t) noexcept {} + ConnectionSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IConnectionSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ConnectivityInterval : winrt::Windows::Networking::Connectivity::IConnectivityInterval + { + ConnectivityInterval(std::nullptr_t) noexcept {} + ConnectivityInterval(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IConnectivityInterval(ptr, take_ownership_from_abi) {} + }; + struct ConnectivityManager + { + ConnectivityManager() = delete; + static auto AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext); + static auto AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy); + static auto RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy); + }; + struct WINRT_IMPL_EMPTY_BASES DataPlanStatus : winrt::Windows::Networking::Connectivity::IDataPlanStatus + { + DataPlanStatus(std::nullptr_t) noexcept {} + DataPlanStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IDataPlanStatus(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DataPlanUsage : winrt::Windows::Networking::Connectivity::IDataPlanUsage + { + DataPlanUsage(std::nullptr_t) noexcept {} + DataPlanUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IDataPlanUsage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DataUsage : winrt::Windows::Networking::Connectivity::IDataUsage + { + DataUsage(std::nullptr_t) noexcept {} + DataUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IDataUsage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPInformation : winrt::Windows::Networking::Connectivity::IIPInformation + { + IPInformation(std::nullptr_t) noexcept {} + IPInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IIPInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LanIdentifier : winrt::Windows::Networking::Connectivity::ILanIdentifier + { + LanIdentifier(std::nullptr_t) noexcept {} + LanIdentifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::ILanIdentifier(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES LanIdentifierData : winrt::Windows::Networking::Connectivity::ILanIdentifierData + { + LanIdentifierData(std::nullptr_t) noexcept {} + LanIdentifierData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::ILanIdentifierData(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkAdapter : winrt::Windows::Networking::Connectivity::INetworkAdapter + { + NetworkAdapter(std::nullptr_t) noexcept {} + NetworkAdapter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::INetworkAdapter(ptr, take_ownership_from_abi) {} + }; + struct NetworkInformation + { + NetworkInformation() = delete; + static auto GetConnectionProfiles(); + static auto GetInternetConnectionProfile(); + static auto GetLanIdentifiers(); + static auto GetHostNames(); + static auto GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri); + static auto GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions); + static auto NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler); + using NetworkStatusChanged_revoker = impl::factory_event_revoker::remove_NetworkStatusChanged>; + [[nodiscard]] static auto NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler); + static auto NetworkStatusChanged(winrt::event_token const& eventCookie); + static auto FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter); + }; + struct WINRT_IMPL_EMPTY_BASES NetworkItem : winrt::Windows::Networking::Connectivity::INetworkItem + { + NetworkItem(std::nullptr_t) noexcept {} + NetworkItem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::INetworkItem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkSecuritySettings : winrt::Windows::Networking::Connectivity::INetworkSecuritySettings + { + NetworkSecuritySettings(std::nullptr_t) noexcept {} + NetworkSecuritySettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::INetworkSecuritySettings(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkStateChangeEventDetails : winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails, + impl::require + { + NetworkStateChangeEventDetails(std::nullptr_t) noexcept {} + NetworkStateChangeEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkUsage : winrt::Windows::Networking::Connectivity::INetworkUsage + { + NetworkUsage(std::nullptr_t) noexcept {} + NetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::INetworkUsage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProviderNetworkUsage : winrt::Windows::Networking::Connectivity::IProviderNetworkUsage + { + ProviderNetworkUsage(std::nullptr_t) noexcept {} + ProviderNetworkUsage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IProviderNetworkUsage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProxyConfiguration : winrt::Windows::Networking::Connectivity::IProxyConfiguration + { + ProxyConfiguration(std::nullptr_t) noexcept {} + ProxyConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IProxyConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RoutePolicy : winrt::Windows::Networking::Connectivity::IRoutePolicy + { + RoutePolicy(std::nullptr_t) noexcept {} + RoutePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IRoutePolicy(ptr, take_ownership_from_abi) {} + RoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type); + }; + struct WINRT_IMPL_EMPTY_BASES WlanConnectionProfileDetails : winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails + { + WlanConnectionProfileDetails(std::nullptr_t) noexcept {} + WlanConnectionProfileDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WwanConnectionProfileDetails : winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails, + impl::require + { + WwanConnectionProfileDetails(std::nullptr_t) noexcept {} + WwanConnectionProfileDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.0.h new file mode 100644 index 0000000000000000000000000000000000000000..964fa6b4fa0243433d354553147aede6e31fca43 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.0.h @@ -0,0 +1,3867 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_NetworkOperators_0_H +#define WINRT_Windows_Networking_NetworkOperators_0_H +WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom +{ + struct XmlDocument; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Sms +{ + enum class CellularClass : int32_t; + struct ISmsMessage; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct ConnectionProfile; + struct NetworkAdapter; + enum class NetworkCostType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators +{ + enum class DataClasses : uint32_t + { + None = 0, + Gprs = 0x1, + Edge = 0x2, + Umts = 0x4, + Hsdpa = 0x8, + Hsupa = 0x10, + LteAdvanced = 0x20, + NewRadioNonStandalone = 0x40, + NewRadioStandalone = 0x80, + Cdma1xRtt = 0x10000, + Cdma1xEvdo = 0x20000, + Cdma1xEvdoRevA = 0x40000, + Cdma1xEvdv = 0x80000, + Cdma3xRtt = 0x100000, + Cdma1xEvdoRevB = 0x200000, + CdmaUmb = 0x400000, + Custom = 0x80000000, + }; + enum class ESimAuthenticationPreference : int32_t + { + OnEntry = 0, + OnAction = 1, + Never = 2, + }; + enum class ESimDiscoverResultKind : int32_t + { + None = 0, + Events = 1, + ProfileMetadata = 2, + }; + enum class ESimOperationStatus : int32_t + { + Success = 0, + NotAuthorized = 1, + NotFound = 2, + PolicyViolation = 3, + InsufficientSpaceOnCard = 4, + ServerFailure = 5, + ServerNotReachable = 6, + TimeoutWaitingForUserConsent = 7, + IncorrectConfirmationCode = 8, + ConfirmationCodeMaxRetriesExceeded = 9, + CardRemoved = 10, + CardBusy = 11, + Other = 12, + CardGeneralFailure = 13, + ConfirmationCodeMissing = 14, + InvalidMatchingId = 15, + NoEligibleProfileForThisDevice = 16, + OperationAborted = 17, + EidMismatch = 18, + ProfileNotAvailableForNewBinding = 19, + ProfileNotReleasedByOperator = 20, + OperationProhibitedByProfileClass = 21, + ProfileNotPresent = 22, + NoCorrespondingRequest = 23, + TimeoutWaitingForResponse = 24, + IccidAlreadyExists = 25, + ProfileProcessingError = 26, + ServerNotTrusted = 27, + ProfileDownloadMaxRetriesExceeded = 28, + }; + enum class ESimProfileClass : int32_t + { + Operational = 0, + Test = 1, + Provisioning = 2, + }; + enum class ESimProfileMetadataState : int32_t + { + Unknown = 0, + WaitingForInstall = 1, + Downloading = 2, + Installing = 3, + Expired = 4, + RejectingDownload = 5, + NoLongerAvailable = 6, + DeniedByPolicy = 7, + }; + enum class ESimProfileState : int32_t + { + Unknown = 0, + Disabled = 1, + Enabled = 2, + Deleted = 3, + }; + enum class ESimState : int32_t + { + Unknown = 0, + Idle = 1, + Removed = 2, + Busy = 3, + }; + enum class ESimWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopping = 3, + Stopped = 4, + }; + enum class HotspotAuthenticationResponseCode : int32_t + { + NoError = 0, + LoginSucceeded = 50, + LoginFailed = 100, + RadiusServerError = 102, + NetworkAdministratorError = 105, + LoginAborted = 151, + AccessGatewayInternalError = 255, + }; + enum class MobileBroadbandAccountWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopped = 3, + Aborted = 4, + }; + enum class MobileBroadbandDeviceType : int32_t + { + Unknown = 0, + Embedded = 1, + Removable = 2, + Remote = 3, + }; + enum class MobileBroadbandModemStatus : int32_t + { + Success = 0, + OtherFailure = 1, + Busy = 2, + NoDeviceSupport = 3, + }; + enum class MobileBroadbandPinFormat : int32_t + { + Unknown = 0, + Numeric = 1, + Alphanumeric = 2, + }; + enum class MobileBroadbandPinLockState : int32_t + { + Unknown = 0, + Unlocked = 1, + PinRequired = 2, + PinUnblockKeyRequired = 3, + }; + enum class MobileBroadbandPinType : int32_t + { + None = 0, + Custom = 1, + Pin1 = 2, + Pin2 = 3, + SimPin = 4, + FirstSimPin = 5, + NetworkPin = 6, + NetworkSubsetPin = 7, + ServiceProviderPin = 8, + CorporatePin = 9, + SubsidyLock = 10, + }; + enum class MobileBroadbandRadioState : int32_t + { + Off = 0, + On = 1, + }; + enum class MobileBroadbandSlotState : int32_t + { + Unmanaged = 0, + Unknown = 1, + OffEmpty = 2, + Off = 3, + Empty = 4, + NotReady = 5, + Active = 6, + Error = 7, + ActiveEsim = 8, + ActiveEsimNoProfile = 9, + }; + enum class MobileBroadbandUiccAppOperationStatus : int32_t + { + Success = 0, + InvalidUiccFilePath = 1, + AccessConditionNotHeld = 2, + UiccBusy = 3, + }; + enum class NetworkDeviceStatus : int32_t + { + DeviceNotReady = 0, + DeviceReady = 1, + SimNotInserted = 2, + BadSim = 3, + DeviceHardwareFailure = 4, + AccountNotActivated = 5, + DeviceLocked = 6, + DeviceBlocked = 7, + }; + enum class NetworkOperatorDataUsageNotificationKind : int32_t + { + DataUsageProgress = 0, + }; + enum class NetworkOperatorEventMessageType : int32_t + { + Gsm = 0, + Cdma = 1, + Ussd = 2, + DataPlanThresholdReached = 3, + DataPlanReset = 4, + DataPlanDeleted = 5, + ProfileConnected = 6, + ProfileDisconnected = 7, + RegisteredRoaming = 8, + RegisteredHome = 9, + TetheringEntitlementCheck = 10, + TetheringOperationalStateChanged = 11, + TetheringNumberOfClientsChanged = 12, + }; + enum class NetworkRegistrationState : int32_t + { + None = 0, + Deregistered = 1, + Searching = 2, + Home = 3, + Roaming = 4, + Partner = 5, + Denied = 6, + }; + enum class ProfileMediaType : int32_t + { + Wlan = 0, + Wwan = 1, + }; + enum class TetheringCapability : int32_t + { + Enabled = 0, + DisabledByGroupPolicy = 1, + DisabledByHardwareLimitation = 2, + DisabledByOperator = 3, + DisabledBySku = 4, + DisabledByRequiredAppNotInstalled = 5, + DisabledDueToUnknownCause = 6, + DisabledBySystemCapability = 7, + }; + enum class TetheringOperationStatus : int32_t + { + Success = 0, + Unknown = 1, + MobileBroadbandDeviceOff = 2, + WiFiDeviceOff = 3, + EntitlementCheckTimeout = 4, + EntitlementCheckFailure = 5, + OperationInProgress = 6, + BluetoothDeviceOff = 7, + NetworkLimitedConnectivity = 8, + AlreadyOn = 9, + RadioRestriction = 10, + BandInterference = 11, + }; + enum class TetheringOperationalState : int32_t + { + Unknown = 0, + On = 1, + Off = 2, + InTransition = 3, + }; + enum class TetheringWiFiAuthenticationKind : int32_t + { + Wpa2 = 0, + Wpa3TransitionMode = 1, + Wpa3 = 2, + }; + enum class TetheringWiFiBand : int32_t + { + Auto = 0, + TwoPointFourGigahertz = 1, + FiveGigahertz = 2, + SixGigahertz = 3, + }; + enum class TetheringWiFiPerformancePriority : int32_t + { + Default = 0, + TetheringOverStation = 1, + }; + enum class UiccAccessCondition : int32_t + { + AlwaysAllowed = 0, + Pin1 = 1, + Pin2 = 2, + Pin3 = 3, + Pin4 = 4, + Administrative5 = 5, + Administrative6 = 6, + NeverAllowed = 7, + }; + enum class UiccAppKind : int32_t + { + Unknown = 0, + MF = 1, + MFSim = 2, + MFRuim = 3, + USim = 4, + CSim = 5, + ISim = 6, + }; + enum class UiccAppRecordKind : int32_t + { + Unknown = 0, + Transparent = 1, + RecordOriented = 2, + }; + enum class UssdResultCode : int32_t + { + NoActionRequired = 0, + ActionRequired = 1, + Terminated = 2, + OtherLocalClient = 3, + OperationNotSupported = 4, + NetworkTimeout = 5, + }; + struct IESim; + struct IESim2; + struct IESim3; + struct IESimAddedEventArgs; + struct IESimDiscoverEvent; + struct IESimDiscoverResult; + struct IESimDownloadProfileMetadataResult; + struct IESimManagerStatics; + struct IESimOperationResult; + struct IESimPolicy; + struct IESimProfile; + struct IESimProfileMetadata; + struct IESimProfilePolicy; + struct IESimRemovedEventArgs; + struct IESimServiceInfo; + struct IESimUpdatedEventArgs; + struct IESimWatcher; + struct IFdnAccessManagerStatics; + struct IHotspotAuthenticationContext; + struct IHotspotAuthenticationContext2; + struct IHotspotAuthenticationContextStatics; + struct IHotspotAuthenticationEventDetails; + struct IHotspotCredentialsAuthenticationResult; + struct IKnownCSimFilePathsStatics; + struct IKnownRuimFilePathsStatics; + struct IKnownSimFilePathsStatics; + struct IKnownUSimFilePathsStatics; + struct IMobileBroadbandAccount; + struct IMobileBroadbandAccount2; + struct IMobileBroadbandAccount3; + struct IMobileBroadbandAccountEventArgs; + struct IMobileBroadbandAccountStatics; + struct IMobileBroadbandAccountUpdatedEventArgs; + struct IMobileBroadbandAccountWatcher; + struct IMobileBroadbandAntennaSar; + struct IMobileBroadbandAntennaSarFactory; + struct IMobileBroadbandCellCdma; + struct IMobileBroadbandCellGsm; + struct IMobileBroadbandCellLte; + struct IMobileBroadbandCellNR; + struct IMobileBroadbandCellTdscdma; + struct IMobileBroadbandCellUmts; + struct IMobileBroadbandCellsInfo; + struct IMobileBroadbandCellsInfo2; + struct IMobileBroadbandCurrentSlotIndexChangedEventArgs; + struct IMobileBroadbandDeviceInformation; + struct IMobileBroadbandDeviceInformation2; + struct IMobileBroadbandDeviceInformation3; + struct IMobileBroadbandDeviceInformation4; + struct IMobileBroadbandDeviceService; + struct IMobileBroadbandDeviceServiceCommandEventArgs; + struct IMobileBroadbandDeviceServiceCommandResult; + struct IMobileBroadbandDeviceServiceCommandSession; + struct IMobileBroadbandDeviceServiceCommandSession2; + struct IMobileBroadbandDeviceServiceDataReceivedEventArgs; + struct IMobileBroadbandDeviceServiceDataSession; + struct IMobileBroadbandDeviceServiceInformation; + struct IMobileBroadbandDeviceServiceTriggerDetails; + struct IMobileBroadbandDeviceServiceTriggerDetails2; + struct IMobileBroadbandModem; + struct IMobileBroadbandModem2; + struct IMobileBroadbandModem3; + struct IMobileBroadbandModem4; + struct IMobileBroadbandModemConfiguration; + struct IMobileBroadbandModemConfiguration2; + struct IMobileBroadbandModemIsolation; + struct IMobileBroadbandModemIsolationFactory; + struct IMobileBroadbandModemStatics; + struct IMobileBroadbandNetwork; + struct IMobileBroadbandNetwork2; + struct IMobileBroadbandNetwork3; + struct IMobileBroadbandNetworkRegistrationStateChange; + struct IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails; + struct IMobileBroadbandPco; + struct IMobileBroadbandPcoDataChangeTriggerDetails; + struct IMobileBroadbandPin; + struct IMobileBroadbandPinLockStateChange; + struct IMobileBroadbandPinLockStateChangeTriggerDetails; + struct IMobileBroadbandPinManager; + struct IMobileBroadbandPinOperationResult; + struct IMobileBroadbandRadioStateChange; + struct IMobileBroadbandRadioStateChangeTriggerDetails; + struct IMobileBroadbandSarManager; + struct IMobileBroadbandSlotInfo; + struct IMobileBroadbandSlotInfo2; + struct IMobileBroadbandSlotInfoChangedEventArgs; + struct IMobileBroadbandSlotManager; + struct IMobileBroadbandTransmissionStateChangedEventArgs; + struct IMobileBroadbandUicc; + struct IMobileBroadbandUiccApp; + struct IMobileBroadbandUiccAppReadRecordResult; + struct IMobileBroadbandUiccAppRecordDetailsResult; + struct IMobileBroadbandUiccAppsResult; + struct INetworkOperatorDataUsageTriggerDetails; + struct INetworkOperatorNotificationEventDetails; + struct INetworkOperatorTetheringAccessPointConfiguration; + struct INetworkOperatorTetheringAccessPointConfiguration2; + struct INetworkOperatorTetheringAccessPointConfiguration3; + struct INetworkOperatorTetheringClient; + struct INetworkOperatorTetheringClientManager; + struct INetworkOperatorTetheringEntitlementCheck; + struct INetworkOperatorTetheringManager; + struct INetworkOperatorTetheringManager2; + struct INetworkOperatorTetheringManagerStatics; + struct INetworkOperatorTetheringManagerStatics2; + struct INetworkOperatorTetheringManagerStatics3; + struct INetworkOperatorTetheringManagerStatics4; + struct INetworkOperatorTetheringOperationResult; + struct INetworkOperatorTetheringSessionAccessPointConfiguration; + struct IProvisionFromXmlDocumentResults; + struct IProvisionedProfile; + struct IProvisioningAgent; + struct IProvisioningAgentStaticMethods; + struct ITetheringEntitlementCheckTriggerDetails; + struct IUssdMessage; + struct IUssdMessageFactory; + struct IUssdReply; + struct IUssdSession; + struct IUssdSessionStatics; + struct ESim; + struct ESimAddedEventArgs; + struct ESimDiscoverEvent; + struct ESimDiscoverResult; + struct ESimDownloadProfileMetadataResult; + struct ESimManager; + struct ESimOperationResult; + struct ESimPolicy; + struct ESimProfile; + struct ESimProfileMetadata; + struct ESimProfilePolicy; + struct ESimRemovedEventArgs; + struct ESimServiceInfo; + struct ESimUpdatedEventArgs; + struct ESimWatcher; + struct FdnAccessManager; + struct HotspotAuthenticationContext; + struct HotspotAuthenticationEventDetails; + struct HotspotCredentialsAuthenticationResult; + struct KnownCSimFilePaths; + struct KnownRuimFilePaths; + struct KnownSimFilePaths; + struct KnownUSimFilePaths; + struct MobileBroadbandAccount; + struct MobileBroadbandAccountEventArgs; + struct MobileBroadbandAccountUpdatedEventArgs; + struct MobileBroadbandAccountWatcher; + struct MobileBroadbandAntennaSar; + struct MobileBroadbandCellCdma; + struct MobileBroadbandCellGsm; + struct MobileBroadbandCellLte; + struct MobileBroadbandCellNR; + struct MobileBroadbandCellTdscdma; + struct MobileBroadbandCellUmts; + struct MobileBroadbandCellsInfo; + struct MobileBroadbandCurrentSlotIndexChangedEventArgs; + struct MobileBroadbandDeviceInformation; + struct MobileBroadbandDeviceService; + struct MobileBroadbandDeviceServiceCommandEventArgs; + struct MobileBroadbandDeviceServiceCommandResult; + struct MobileBroadbandDeviceServiceCommandSession; + struct MobileBroadbandDeviceServiceDataReceivedEventArgs; + struct MobileBroadbandDeviceServiceDataSession; + struct MobileBroadbandDeviceServiceInformation; + struct MobileBroadbandDeviceServiceTriggerDetails; + struct MobileBroadbandModem; + struct MobileBroadbandModemConfiguration; + struct MobileBroadbandModemIsolation; + struct MobileBroadbandNetwork; + struct MobileBroadbandNetworkRegistrationStateChange; + struct MobileBroadbandNetworkRegistrationStateChangeTriggerDetails; + struct MobileBroadbandPco; + struct MobileBroadbandPcoDataChangeTriggerDetails; + struct MobileBroadbandPin; + struct MobileBroadbandPinLockStateChange; + struct MobileBroadbandPinLockStateChangeTriggerDetails; + struct MobileBroadbandPinManager; + struct MobileBroadbandPinOperationResult; + struct MobileBroadbandRadioStateChange; + struct MobileBroadbandRadioStateChangeTriggerDetails; + struct MobileBroadbandSarManager; + struct MobileBroadbandSlotInfo; + struct MobileBroadbandSlotInfoChangedEventArgs; + struct MobileBroadbandSlotManager; + struct MobileBroadbandTransmissionStateChangedEventArgs; + struct MobileBroadbandUicc; + struct MobileBroadbandUiccApp; + struct MobileBroadbandUiccAppReadRecordResult; + struct MobileBroadbandUiccAppRecordDetailsResult; + struct MobileBroadbandUiccAppsResult; + struct NetworkOperatorDataUsageTriggerDetails; + struct NetworkOperatorNotificationEventDetails; + struct NetworkOperatorTetheringAccessPointConfiguration; + struct NetworkOperatorTetheringClient; + struct NetworkOperatorTetheringManager; + struct NetworkOperatorTetheringOperationResult; + struct NetworkOperatorTetheringSessionAccessPointConfiguration; + struct ProvisionFromXmlDocumentResults; + struct ProvisionedProfile; + struct ProvisioningAgent; + struct TetheringEntitlementCheckTriggerDetails; + struct UssdMessage; + struct UssdReply; + struct UssdSession; + struct ESimProfileInstallProgress; + struct ProfileUsage; + struct LegacyNetworkOperatorsContract; + struct NetworkOperatorsFdnContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESim"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimDiscoverEvent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimDiscoverResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimDownloadProfileMetadataResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfileMetadata"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfilePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimServiceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.FdnAccessManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.HotspotAuthenticationContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.HotspotAuthenticationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.HotspotCredentialsAuthenticationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.KnownCSimFilePaths"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.KnownRuimFilePaths"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.KnownSimFilePaths"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.KnownUSimFilePaths"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAccount"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAccountEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAccountUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAntennaSar"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellCdma"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellGsm"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellLte"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellNR"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellUmts"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandModem"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandModemConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPco"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPcoDataChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPin"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSarManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUicc"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccApp"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppReadRecordResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppRecordDetailsResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppsResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorDataUsageTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorNotificationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorTetheringClient"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorTetheringSessionAccessPointConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ProvisionFromXmlDocumentResults"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ProvisionedProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ProvisioningAgent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringEntitlementCheckTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UssdMessage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UssdReply"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UssdSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.DataClasses"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimAuthenticationPreference"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimDiscoverResultKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfileClass"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfileMetadataState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfileState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.HotspotAuthenticationResponseCode"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandModemStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinFormat"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinLockState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkDeviceStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorDataUsageNotificationKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorEventMessageType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkRegistrationState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ProfileMediaType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringCapability"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringOperationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringOperationalState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringWiFiAuthenticationKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringWiFiBand"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.TetheringWiFiPerformancePriority"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UiccAccessCondition"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UiccAppKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UiccAppRecordKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.UssdResultCode"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ESimProfileInstallProgress"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ProfileUsage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESim"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESim2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESim3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimDiscoverEvent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimDiscoverResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimDownloadProfileMetadataResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimProfileMetadata"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimProfilePolicy"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimServiceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IESimWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IFdnAccessManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IHotspotAuthenticationContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IHotspotAuthenticationContext2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IHotspotAuthenticationContextStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IHotspotAuthenticationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IHotspotCredentialsAuthenticationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IKnownCSimFilePathsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IKnownRuimFilePathsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IKnownSimFilePathsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IKnownUSimFilePathsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccount"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccount2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccount3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccountEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccountStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccountUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAccountWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAntennaSar"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandAntennaSarFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellCdma"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellGsm"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellLte"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellNR"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellTdscdma"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellUmts"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCurrentSlotIndexChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceService"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandSession2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceDataReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceDataSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceTriggerDetails2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModem"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModem2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModem3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModem4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModemConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModemConfiguration2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModemIsolation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModemIsolationFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandModemStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandNetwork"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandNetwork2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandNetwork3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandNetworkRegistrationStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPco"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPcoDataChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPin"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPinLockStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPinLockStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPinManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandPinOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChange"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChangeTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSarManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandTransmissionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUicc"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccApp"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccAppReadRecordResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccAppRecordDetailsResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccAppsResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorDataUsageTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorNotificationEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringAccessPointConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringAccessPointConfiguration2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringAccessPointConfiguration3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringClient"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringClientManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringEntitlementCheck"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManager2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringManagerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.INetworkOperatorTetheringSessionAccessPointConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IProvisionFromXmlDocumentResults"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IProvisionedProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IProvisioningAgent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IProvisioningAgentStaticMethods"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.ITetheringEntitlementCheckTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IUssdMessage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IUssdMessageFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IUssdReply"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IUssdSession"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IUssdSessionStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract"; + template <> inline constexpr guid guid_v{ 0x6F6E6E26,0xF123,0x437D,{ 0x8C,0xED,0xDC,0x1D,0x2B,0xC0,0xC3,0xA9 } }; // 6F6E6E26-F123-437D-8CED-DC1D2BC0C3A9 + template <> inline constexpr guid guid_v{ 0xBD4FD0A0,0xC68F,0x56EB,{ 0xB9,0x9B,0x8F,0x34,0xB8,0x10,0x02,0x99 } }; // BD4FD0A0-C68F-56EB-B99B-8F34B8100299 + template <> inline constexpr guid guid_v{ 0xFE1EDF45,0x01B8,0x5D31,{ 0xB8,0xD3,0xD9,0xCB,0xEB,0xB2,0xB8,0x31 } }; // FE1EDF45-01B8-5D31-B8D3-D9CBEBB2B831 + template <> inline constexpr guid guid_v{ 0x38BD0A58,0x4D5A,0x4D08,{ 0x8D,0xA7,0xE7,0x3E,0xFF,0x36,0x9D,0xDD } }; // 38BD0A58-4D5A-4D08-8DA7-E73EFF369DDD + template <> inline constexpr guid guid_v{ 0xE59AC3E3,0x39BC,0x5F6F,{ 0x93,0x21,0x0D,0x4A,0x18,0x2D,0x26,0x1B } }; // E59AC3E3-39BC-5F6F-9321-0D4A182D261B + template <> inline constexpr guid guid_v{ 0x56B4BB5E,0xAB2F,0x5AC6,{ 0xB3,0x59,0xDD,0x5A,0x8E,0x23,0x79,0x26 } }; // 56B4BB5E-AB2F-5AC6-B359-DD5A8E237926 + template <> inline constexpr guid guid_v{ 0xC4234D9E,0x5AD6,0x426D,{ 0x8D,0x00,0x44,0x34,0xF4,0x49,0xAF,0xEC } }; // C4234D9E-5AD6-426D-8D00-4434F449AFEC + template <> inline constexpr guid guid_v{ 0x0BFA2C0C,0xDF88,0x4631,{ 0xBF,0x04,0xC1,0x2E,0x28,0x1B,0x39,0x62 } }; // 0BFA2C0C-DF88-4631-BF04-C12E281B3962 + template <> inline constexpr guid guid_v{ 0xA67B63B1,0x309B,0x4E77,{ 0x9E,0x7E,0xCD,0x93,0xF1,0xDD,0xC7,0xB9 } }; // A67B63B1-309B-4E77-9E7E-CD93F1DDC7B9 + template <> inline constexpr guid guid_v{ 0x41E1B99D,0xCF7E,0x4315,{ 0x88,0x2B,0x6F,0x1E,0x74,0xB0,0xD3,0x8F } }; // 41E1B99D-CF7E-4315-882B-6F1E74B0D38F + template <> inline constexpr guid guid_v{ 0xEE1E7880,0x06A9,0x4027,{ 0xB4,0xF8,0xDD,0xB2,0x3D,0x78,0x10,0xE0 } }; // EE1E7880-06A9-4027-B4F8-DDB23D7810E0 + template <> inline constexpr guid guid_v{ 0xED25831F,0x90DB,0x498D,{ 0xA7,0xB4,0xEB,0xCE,0x80,0x7D,0x3C,0x23 } }; // ED25831F-90DB-498D-A7B4-EBCE807D3C23 + template <> inline constexpr guid guid_v{ 0xE6DD0F1D,0x9C5C,0x46C5,{ 0xA2,0x89,0xA9,0x48,0x99,0x9B,0xF0,0x62 } }; // E6DD0F1D-9C5C-46C5-A289-A948999BF062 + template <> inline constexpr guid guid_v{ 0xDEC5277B,0x2FD9,0x4ED9,{ 0x83,0x76,0xD9,0xB5,0xE4,0x12,0x78,0xA3 } }; // DEC5277B-2FD9-4ED9-8376-D9B5E41278A3 + template <> inline constexpr guid guid_v{ 0xF16AABCF,0x7F59,0x4A51,{ 0x84,0x94,0xBD,0x89,0xD5,0xFF,0x50,0xEE } }; // F16AABCF-7F59-4A51-8494-BD89D5FF50EE + template <> inline constexpr guid guid_v{ 0x4C125CEC,0x508D,0x4B88,{ 0x83,0xCB,0x68,0xBE,0xF8,0x16,0x8D,0x12 } }; // 4C125CEC-508D-4B88-83CB-68BEF8168D12 + template <> inline constexpr guid guid_v{ 0xC1F84CEB,0xA28D,0x4FBF,{ 0x97,0x71,0x6E,0x31,0xB8,0x1C,0xCF,0x22 } }; // C1F84CEB-A28D-4FBF-9771-6E31B81CCF22 + template <> inline constexpr guid guid_v{ 0xF2AA4395,0xF1E6,0x4319,{ 0xAA,0x3E,0x47,0x7C,0xA6,0x4B,0x2B,0xDF } }; // F2AA4395-F1E6-4319-AA3E-477CA64B2BDF + template <> inline constexpr guid guid_v{ 0xE756C791,0x1003,0x4DE5,{ 0x83,0xC7,0xDE,0x61,0xD8,0x88,0x31,0xD0 } }; // E756C791-1003-4DE5-83C7-DE61D88831D0 + template <> inline constexpr guid guid_v{ 0xE756C791,0x1004,0x4DE5,{ 0x83,0xC7,0xDE,0x61,0xD8,0x88,0x31,0xD0 } }; // E756C791-1004-4DE5-83C7-DE61D88831D0 + template <> inline constexpr guid guid_v{ 0xE756C791,0x1002,0x4DE5,{ 0x83,0xC7,0xDE,0x61,0xD8,0x88,0x31,0xD0 } }; // E756C791-1002-4DE5-83C7-DE61D88831D0 + template <> inline constexpr guid guid_v{ 0xE756C791,0x1001,0x4DE5,{ 0x83,0xC7,0xDE,0x61,0xD8,0x88,0x31,0xD0 } }; // E756C791-1001-4DE5-83C7-DE61D88831D0 + template <> inline constexpr guid guid_v{ 0xE756C791,0x1005,0x4DE5,{ 0x83,0xC7,0xDE,0x61,0xD8,0x88,0x31,0xD0 } }; // E756C791-1005-4DE5-83C7-DE61D88831D0 + template <> inline constexpr guid guid_v{ 0xB458AEED,0x49F1,0x4C22,{ 0xB0,0x73,0x96,0xD5,0x11,0xBF,0x9C,0x35 } }; // B458AEED-49F1-4C22-B073-96D511BF9C35 + template <> inline constexpr guid guid_v{ 0x3883C8B9,0xFF24,0x4571,{ 0xA8,0x67,0x09,0xF9,0x60,0x42,0x6E,0x14 } }; // 3883C8B9-FF24-4571-A867-09F960426E14 + template <> inline constexpr guid guid_v{ 0x80CD1A63,0x37A5,0x43D3,{ 0x80,0xA3,0xCC,0xD2,0x3E,0x8F,0xEC,0xEE } }; // 80CD1A63-37A5-43D3-80A3-CCD23E8FECEE + template <> inline constexpr guid guid_v{ 0x7C34E581,0x1F1B,0x43F4,{ 0x95,0x30,0x8B,0x09,0x2D,0x32,0xD7,0x1F } }; // 7C34E581-1F1B-43F4-9530-8B092D32D71F + template <> inline constexpr guid guid_v{ 0x36C24CCD,0xCEE2,0x43E0,{ 0xA6,0x03,0xEE,0x86,0xA3,0x6D,0x65,0x70 } }; // 36C24CCD-CEE2-43E0-A603-EE86A36D6570 + template <> inline constexpr guid guid_v{ 0x38F52F1C,0x1136,0x4257,{ 0x95,0x9F,0xB6,0x58,0xA3,0x52,0xB6,0xD4 } }; // 38F52F1C-1136-4257-959F-B658A352B6D4 + template <> inline constexpr guid guid_v{ 0x092A1E21,0x9379,0x4B9B,{ 0xAD,0x31,0xD5,0xFE,0xE2,0xF7,0x48,0xC6 } }; // 092A1E21-9379-4B9B-AD31-D5FEE2F748C6 + template <> inline constexpr guid guid_v{ 0x3853C880,0x77DE,0x4C04,{ 0xBE,0xAD,0xA1,0x23,0xB0,0x8C,0x9F,0x59 } }; // 3853C880-77DE-4C04-BEAD-A123B08C9F59 + template <> inline constexpr guid guid_v{ 0xAA7F4D24,0xAFC1,0x4FC8,{ 0xAE,0x9A,0xA9,0x17,0x53,0x10,0xFA,0xAD } }; // AA7F4D24-AFC1-4FC8-AE9A-A9175310FAAD + template <> inline constexpr guid guid_v{ 0x7BC31D88,0xA6BD,0x49E1,{ 0x80,0xAB,0x6B,0x91,0x35,0x4A,0x57,0xD4 } }; // 7BC31D88-A6BD-49E1-80AB-6B91354A57D4 + template <> inline constexpr guid guid_v{ 0x6BF3335E,0x23B5,0x449F,{ 0x92,0x8D,0x5E,0x0D,0x3E,0x04,0x47,0x1D } }; // 6BF3335E-23B5-449F-928D-5E0D3E04471D + template <> inline constexpr guid guid_v{ 0xB9AF4B7E,0xCBF9,0x4109,{ 0x90,0xBE,0x5C,0x06,0xBF,0xD5,0x13,0xB6 } }; // B9AF4B7E-CBF9-4109-90BE-5C06BFD513B6 + template <> inline constexpr guid guid_v{ 0xA91E1716,0xC04D,0x4A21,{ 0x86,0x98,0x14,0x59,0xDC,0x67,0x2C,0x6E } }; // A91E1716-C04D-4A21-8698-1459DC672C6E + template <> inline constexpr guid guid_v{ 0x0601B3B4,0x411A,0x4F2E,{ 0x82,0x87,0x76,0xF5,0x65,0x0C,0x60,0xCD } }; // 0601B3B4-411A-4F2E-8287-76F5650C60CD + template <> inline constexpr guid guid_v{ 0xCC917F06,0x7EE0,0x47B8,{ 0x9E,0x1F,0xC3,0xB4,0x8D,0xF9,0xDF,0x5B } }; // CC917F06-7EE0-47B8-9E1F-C3B48DF9DF5B + template <> inline constexpr guid guid_v{ 0x9197C87B,0x2B78,0x456D,{ 0x8B,0x53,0xAA,0xA2,0x5D,0x0A,0xF7,0x41 } }; // 9197C87B-2B78-456D-8B53-AAA25D0AF741 + template <> inline constexpr guid guid_v{ 0xA13F0DEB,0x66FC,0x4B4B,{ 0x83,0xA9,0xA4,0x87,0xA3,0xA5,0xA0,0xA6 } }; // A13F0DEB-66FC-4B4B-83A9-A487A3A5A0A6 + template <> inline constexpr guid guid_v{ 0x0EDA1655,0xDB0E,0x4182,{ 0x8C,0xDA,0xCC,0x41,0x9A,0x7B,0xDE,0x08 } }; // 0EDA1655-DB0E-4182-8CDA-CC419A7BDE08 + template <> inline constexpr guid guid_v{ 0x77B4B5AE,0x49C8,0x4F15,{ 0xB2,0x85,0x4C,0x26,0xA7,0xF6,0x72,0x15 } }; // 77B4B5AE-49C8-4F15-B285-4C26A7F67215 + template <> inline constexpr guid guid_v{ 0x89A9562A,0xE472,0x4DA5,{ 0x92,0x9C,0xDE,0x61,0x71,0x1D,0xD2,0x61 } }; // 89A9562A-E472-4DA5-929C-DE61711DD261 + template <> inline constexpr guid guid_v{ 0x66205912,0xB89F,0x4E12,{ 0xBB,0xB6,0xD5,0xCF,0x09,0xA8,0x20,0xCA } }; // 66205912-B89F-4E12-BBB6-D5CF09A820CA + template <> inline constexpr guid guid_v{ 0xF718B184,0xC370,0x5FD4,{ 0xA6,0x70,0x18,0x46,0xCB,0x9B,0xCE,0x47 } }; // F718B184-C370-5FD4-A670-1846CB9BCE47 + template <> inline constexpr guid guid_v{ 0xE6D08168,0xE381,0x4C6E,{ 0x9B,0xE8,0xFE,0x15,0x69,0x69,0xA4,0x46 } }; // E6D08168-E381-4C6E-9BE8-FE156969A446 + template <> inline constexpr guid guid_v{ 0x2E467AF1,0xF932,0x4737,{ 0xA7,0x22,0x03,0xBA,0x72,0x37,0x0C,0xB8 } }; // 2E467AF1-F932-4737-A722-03BA72370CB8 + template <> inline constexpr guid guid_v{ 0xE08BB4BD,0x5D30,0x4B5A,{ 0x92,0xCC,0xD5,0x4D,0xF8,0x81,0xD4,0x9E } }; // E08BB4BD-5D30-4B5A-92CC-D54DF881D49E + template <> inline constexpr guid guid_v{ 0x263F3152,0x7B9D,0x582C,{ 0xB1,0x7C,0xF8,0x0A,0x60,0xB5,0x00,0x31 } }; // 263F3152-7B9D-582C-B17C-F80A60B50031 + template <> inline constexpr guid guid_v{ 0x22BE1A52,0xBD80,0x40AC,{ 0x8E,0x1F,0x2E,0x07,0x83,0x6A,0x3D,0xBD } }; // 22BE1A52-BD80-40AC-8E1F-2E07836A3DBD + template <> inline constexpr guid guid_v{ 0x28E4338F,0xCCA4,0x5047,{ 0xA2,0x0C,0x0A,0x6D,0x79,0xAC,0xEC,0xBA } }; // 28E4338F-CCA4-5047-A20C-0A6D79ACECBA + template <> inline constexpr guid guid_v{ 0xB0F46ABB,0x94D6,0x44B9,{ 0xA5,0x38,0xF0,0x81,0x0B,0x64,0x53,0x89 } }; // B0F46ABB-94D6-44B9-A538-F0810B645389 + template <> inline constexpr guid guid_v{ 0xFC098A45,0x913B,0x4914,{ 0xB6,0xC3,0xAE,0x63,0x04,0x59,0x3E,0x75 } }; // FC098A45-913B-4914-B6C3-AE6304593E75 + template <> inline constexpr guid guid_v{ 0xEF004861,0x2546,0x5739,{ 0x86,0xE7,0x0F,0xDC,0x0E,0x62,0x41,0x1C } }; // EF004861-2546-5739-86E7-0FDC0E62411C + template <> inline constexpr guid guid_v{ 0xB6AA13DE,0x1380,0x40E3,{ 0x86,0x18,0x73,0xCB,0xCA,0x48,0x13,0x8C } }; // B6AA13DE-1380-40E3-8618-73CBCA48138C + template <> inline constexpr guid guid_v{ 0xDAD62333,0x8BCF,0x4289,{ 0x8A,0x37,0x04,0x5C,0x21,0x69,0x48,0x6A } }; // DAD62333-8BCF-4289-8A37-045C2169486A + template <> inline constexpr guid guid_v{ 0x53D69B5B,0xC4ED,0x45F0,{ 0x80,0x3A,0xD9,0x41,0x7A,0x6D,0x98,0x46 } }; // 53D69B5B-C4ED-45F0-803A-D9417A6D9846 + template <> inline constexpr guid guid_v{ 0x4A055B70,0xB9AE,0x4458,{ 0x92,0x41,0xA6,0xA5,0xFB,0xF1,0x8A,0x0C } }; // 4A055B70-B9AE-4458-9241-A6A5FBF18A0C + template <> inline constexpr guid guid_v{ 0xD83D5F16,0x336A,0x553F,{ 0x94,0xBB,0x0C,0xD1,0xA2,0xFF,0x0C,0x81 } }; // D83D5F16-336A-553F-94BB-0CD1A2FF0C81 + template <> inline constexpr guid guid_v{ 0xD0356912,0xE9F9,0x4F67,{ 0xA0,0x3D,0x43,0x18,0x9A,0x31,0x6B,0xF1 } }; // D0356912-E9F9-4F67-A03D-43189A316BF1 + template <> inline constexpr guid guid_v{ 0x12862B28,0xB9EB,0x4EE2,{ 0xBB,0xE3,0x71,0x1F,0x53,0xEE,0xA3,0x73 } }; // 12862B28-B9EB-4EE2-BBE3-711F53EEA373 + template <> inline constexpr guid guid_v{ 0xE9FEC6EA,0x2F34,0x4582,{ 0x91,0x02,0xC3,0x14,0xD2,0xA8,0x7E,0xEC } }; // E9FEC6EA-2F34-4582-9102-C314D2A87EEC + template <> inline constexpr guid guid_v{ 0x4A0398C2,0x91BE,0x412B,{ 0xB5,0x69,0x58,0x6E,0x9F,0x00,0x30,0xD1 } }; // 4A0398C2-91BE-412B-B569-586E9F0030D1 + template <> inline constexpr guid guid_v{ 0xFCE035A3,0xD6CD,0x4320,{ 0xB9,0x82,0xBE,0x9D,0x3E,0xC7,0x89,0x0F } }; // FCE035A3-D6CD-4320-B982-BE9D3EC7890F + template <> inline constexpr guid guid_v{ 0x320FF5C5,0xE460,0x42AE,{ 0xAA,0x51,0x69,0x62,0x1E,0x7A,0x44,0x77 } }; // 320FF5C5-E460-42AE-AA51-69621E7A4477 + template <> inline constexpr guid guid_v{ 0xB5618FEC,0xE661,0x4330,{ 0x9B,0xB4,0x34,0x80,0x21,0x2E,0xC3,0x54 } }; // B5618FEC-E661-4330-9BB4-3480212EC354 + template <> inline constexpr guid guid_v{ 0x21D7EC58,0xC2B1,0x4C2F,{ 0xA0,0x30,0x72,0x82,0x0A,0x24,0xEC,0xD9 } }; // 21D7EC58-C2B1-4C2F-A030-72820A24ECD9 + template <> inline constexpr guid guid_v{ 0xF99ED637,0xD6F1,0x4A78,{ 0x8C,0xBC,0x64,0x21,0xA6,0x50,0x63,0xC8 } }; // F99ED637-D6F1-4A78-8CBC-6421A65063C8 + template <> inline constexpr guid guid_v{ 0xCB63928C,0x0309,0x4CB6,{ 0xA8,0xC1,0x6A,0x5A,0x3C,0x8E,0x1F,0xF6 } }; // CB63928C-0309-4CB6-A8C1-6A5A3C8E1FF6 + template <> inline constexpr guid guid_v{ 0x5A55DB22,0x62F7,0x4BDD,{ 0xBA,0x1D,0x47,0x74,0x41,0x96,0x0B,0xA0 } }; // 5A55DB22-62F7-4BDD-BA1D-477441960BA0 + template <> inline constexpr guid guid_v{ 0x33670A8A,0xC7EF,0x444C,{ 0xAB,0x6C,0xDF,0x7E,0xF7,0xA3,0x90,0xFE } }; // 33670A8A-C7EF-444C-AB6C-DF7EF7A390FE + template <> inline constexpr guid guid_v{ 0xBEAF94E1,0x960F,0x49B4,{ 0xA0,0x8D,0x7D,0x85,0xE9,0x68,0xC7,0xEC } }; // BEAF94E1-960F-49B4-A08D-7D85E968C7EC + template <> inline constexpr guid guid_v{ 0x89135CFF,0x28B8,0x46AA,{ 0xB1,0x37,0x1C,0x4B,0x0F,0x21,0xED,0xFE } }; // 89135CFF-28B8-46AA-B137-1C4B0F21EDFE + template <> inline constexpr guid guid_v{ 0xD4E4FCBE,0xE3A3,0x43C5,{ 0xA8,0x7B,0x6C,0x86,0xD2,0x29,0xD7,0xFA } }; // D4E4FCBE-E3A3-43C5-A87B-6C86D229D7FA + template <> inline constexpr guid guid_v{ 0x263F5114,0x64E0,0x4493,{ 0x90,0x9B,0x2D,0x14,0xA0,0x19,0x62,0xB1 } }; // 263F5114-64E0-4493-909B-2D14A01962B1 + template <> inline constexpr guid guid_v{ 0xE661D709,0xE779,0x45BF,{ 0x82,0x81,0x75,0x32,0x3D,0xF9,0xE3,0x21 } }; // E661D709-E779-45BF-8281-75323DF9E321 + template <> inline constexpr guid guid_v{ 0xBE16673E,0x1F04,0x4F95,{ 0x8B,0x90,0xE7,0xF5,0x59,0xDD,0xE7,0xE5 } }; // BE16673E-1F04-4F95-8B90-E7F559DDE7E5 + template <> inline constexpr guid guid_v{ 0xD338C091,0x3E91,0x4D38,{ 0x90,0x36,0xAE,0xE8,0x3A,0x6E,0x79,0xAD } }; // D338C091-3E91-4D38-9036-AEE83A6E79AD + template <> inline constexpr guid guid_v{ 0x83567EDD,0x6E1F,0x4B9B,{ 0xA4,0x13,0x2B,0x1F,0x50,0xCC,0x36,0xDF } }; // 83567EDD-6E1F-4B9B-A413-2B1F50CC36DF + template <> inline constexpr guid guid_v{ 0x11DDDC32,0x31E7,0x49F5,{ 0xB6,0x63,0x12,0x3D,0x3B,0xEF,0x03,0x62 } }; // 11DDDC32-31E7-49F5-B663-123D3BEF0362 + template <> inline constexpr guid guid_v{ 0xB054A561,0x9833,0x4AED,{ 0x97,0x17,0x43,0x48,0xB2,0x1A,0x24,0xB3 } }; // B054A561-9833-4AED-9717-4348B21A24B3 + template <> inline constexpr guid guid_v{ 0x71301ACE,0x093C,0x42C6,{ 0xB0,0xDB,0xAD,0x1F,0x75,0xA6,0x54,0x45 } }; // 71301ACE-093C-42C6-B0DB-AD1F75A65445 + template <> inline constexpr guid guid_v{ 0xE5B26833,0x967E,0x40C9,{ 0xA4,0x85,0x19,0xC0,0xDD,0x20,0x9E,0x22 } }; // E5B26833-967E-40C9-A485-19C0DD209E22 + template <> inline constexpr guid guid_v{ 0xBD350B32,0x882E,0x542A,{ 0xB1,0x7D,0x0B,0xB1,0xB4,0x9B,0xAE,0x9E } }; // BD350B32-882E-542A-B17D-0BB1B49BAE9E + template <> inline constexpr guid guid_v{ 0x393CB039,0xCA44,0x524C,{ 0x82,0x2D,0x83,0xA3,0x62,0x0F,0x0E,0xFC } }; // 393CB039-CA44-524C-822D-83A3620F0EFC + template <> inline constexpr guid guid_v{ 0x3158839F,0x950C,0x54CE,{ 0xA4,0x8D,0xBA,0x45,0x29,0xB4,0x8F,0x0F } }; // 3158839F-950C-54CE-A48D-BA4529B48F0F + template <> inline constexpr guid guid_v{ 0xEBA07CD6,0x2019,0x5F81,{ 0xA2,0x94,0xCC,0x36,0x4A,0x11,0xD0,0xB2 } }; // EBA07CD6-2019-5F81-A294-CC364A11D0B2 + template <> inline constexpr guid guid_v{ 0x612E3875,0x040A,0x4F99,{ 0xA4,0xF9,0x61,0xD7,0xC3,0x2D,0xA1,0x29 } }; // 612E3875-040A-4F99-A4F9-61D7C32DA129 + template <> inline constexpr guid guid_v{ 0xE634F691,0x525A,0x4CE2,{ 0x8F,0xCE,0xAA,0x41,0x62,0x57,0x91,0x54 } }; // E634F691-525A-4CE2-8FCE-AA4162579154 + template <> inline constexpr guid guid_v{ 0x4D170556,0x98A1,0x43DD,{ 0xB2,0xEC,0x50,0xC9,0x0C,0xF2,0x48,0xDF } }; // 4D170556-98A1-43DD-B2EC-50C90CF248DF + template <> inline constexpr guid guid_v{ 0x64C95285,0x358E,0x47C5,{ 0x82,0x49,0x69,0x5F,0x38,0x3B,0x2B,0xDB } }; // 64C95285-358E-47C5-8249-695F383B2BDB + template <> inline constexpr guid guid_v{ 0xD919682F,0xBE14,0x4934,{ 0x98,0x1D,0x2F,0x57,0xB9,0xED,0x83,0xE6 } }; // D919682F-BE14-4934-981D-2F57B9ED83E6 + template <> inline constexpr guid guid_v{ 0x744930EB,0x8157,0x4A41,{ 0x84,0x94,0x6B,0xF5,0x4C,0x9B,0x1D,0x2B } }; // 744930EB-8157-4A41-8494-6BF54C9B1D2B + template <> inline constexpr guid guid_v{ 0x50E3126D,0xA465,0x4EEB,{ 0x93,0x17,0x28,0xA1,0x67,0x63,0x0C,0xEA } }; // 50E3126D-A465-4EEB-9317-28A167630CEA + template <> inline constexpr guid guid_v{ 0xBC68A9D1,0x82E1,0x4488,{ 0x9F,0x2C,0x12,0x76,0xC2,0x46,0x8F,0xAC } }; // BC68A9D1-82E1-4488-9F2C-1276C2468FAC + template <> inline constexpr guid guid_v{ 0x0BCC0284,0x412E,0x403D,{ 0xAC,0xC6,0xB7,0x57,0xE3,0x47,0x74,0xA4 } }; // 0BCC0284-412E-403D-ACC6-B757E34774A4 + template <> inline constexpr guid guid_v{ 0xB1809142,0x7238,0x59A0,{ 0x92,0x8B,0x74,0xAB,0x46,0xFD,0x64,0xB6 } }; // B1809142-7238-59A0-928B-74AB46FD64B6 + template <> inline constexpr guid guid_v{ 0xA9BB0081,0x9EED,0x5D18,{ 0xB6,0x76,0x24,0xB7,0x4A,0x18,0x2B,0x8C } }; // A9BB0081-9EED-5D18-B676-24B74A182B8C + template <> inline constexpr guid guid_v{ 0x709D254C,0x595F,0x4847,{ 0xBB,0x30,0x64,0x69,0x35,0x54,0x29,0x18 } }; // 709D254C-595F-4847-BB30-646935542918 + template <> inline constexpr guid guid_v{ 0x91B14016,0x8DCA,0x4225,{ 0xBB,0xED,0xEE,0xF8,0xB8,0xD7,0x18,0xD7 } }; // 91B14016-8DCA-4225-BBED-EEF8B8D718D7 + template <> inline constexpr guid guid_v{ 0x0108916D,0x9E9A,0x4AF6,{ 0x8D,0xA3,0x60,0x49,0x3B,0x19,0xC2,0x04 } }; // 0108916D-9E9A-4AF6-8DA3-60493B19C204 + template <> inline constexpr guid guid_v{ 0xD45A8DA0,0x0E86,0x4D98,{ 0x8B,0xA4,0xDD,0x70,0xD4,0xB7,0x64,0xD3 } }; // D45A8DA0-0E86-4D98-8BA4-DD70D4B764D3 + template <> inline constexpr guid guid_v{ 0x7C1A4DF2,0xB789,0x4FEA,{ 0xBC,0x4E,0x1F,0x2B,0x9E,0x76,0xC1,0xF7 } }; // 7C1A4DF2-B789-4FEA-BC4E-1F2B9E76C1F7 + template <> inline constexpr guid guid_v{ 0x3EBCBACC,0xF8C3,0x405C,{ 0x99,0x64,0x70,0xA1,0xEE,0xAB,0xE1,0x94 } }; // 3EBCBACC-F8C3-405C-9964-70A1EEABE194 + template <> inline constexpr guid guid_v{ 0x5B235412,0x35F0,0x49E7,{ 0x9B,0x08,0x16,0xD2,0x78,0xFB,0xAA,0x42 } }; // 5B235412-35F0-49E7-9B08-16D278FBAA42 + template <> inline constexpr guid guid_v{ 0x8FDAADB6,0x4AF9,0x4F21,{ 0x9B,0x58,0xD5,0x3E,0x9F,0x24,0x23,0x1E } }; // 8FDAADB6-4AF9-4F21-9B58-D53E9F24231E + template <> inline constexpr guid guid_v{ 0xB3B9F9D0,0xEBFF,0x46A4,{ 0xA8,0x47,0xD6,0x63,0xD8,0xB0,0x97,0x7E } }; // B3B9F9D0-EBFF-46A4-A847-D663D8B0977E + template <> inline constexpr guid guid_v{ 0xEBD203A1,0x01BA,0x476D,{ 0xB4,0xB3,0xBF,0x3D,0x12,0xC8,0xF8,0x0C } }; // EBD203A1-01BA-476D-B4B3-BF3D12C8F80C + template <> inline constexpr guid guid_v{ 0x0BCC1104,0x34B7,0x5212,{ 0x85,0x8C,0x59,0xD9,0x74,0x04,0x92,0x0A } }; // 0BCC1104-34B7-5212-858C-59D97404920A + template <> inline constexpr guid guid_v{ 0x217700E0,0x8203,0x11DF,{ 0xAD,0xB9,0xF4,0xCE,0x46,0x2D,0x91,0x37 } }; // 217700E0-8203-11DF-ADB9-F4CE462D9137 + template <> inline constexpr guid guid_v{ 0x217700E0,0x8202,0x11DF,{ 0xAD,0xB9,0xF4,0xCE,0x46,0x2D,0x91,0x37 } }; // 217700E0-8202-11DF-ADB9-F4CE462D9137 + template <> inline constexpr guid guid_v{ 0x217700E0,0x8201,0x11DF,{ 0xAD,0xB9,0xF4,0xCE,0x46,0x2D,0x91,0x37 } }; // 217700E0-8201-11DF-ADB9-F4CE462D9137 + template <> inline constexpr guid guid_v{ 0x217700E0,0x8101,0x11DF,{ 0xAD,0xB9,0xF4,0xCE,0x46,0x2D,0x91,0x37 } }; // 217700E0-8101-11DF-ADB9-F4CE462D9137 + template <> inline constexpr guid guid_v{ 0x03C65E9D,0x5926,0x41F3,{ 0xA9,0x4E,0xB5,0x09,0x26,0xFC,0x42,0x1B } }; // 03C65E9D-5926-41F3-A94E-B50926FC421B + template <> inline constexpr guid guid_v{ 0x2F9ACF82,0x2004,0x4D5D,{ 0xBF,0x81,0x2A,0xBA,0x1B,0x4B,0xE4,0xA8 } }; // 2F9ACF82-2004-4D5D-BF81-2ABA1B4BE4A8 + template <> inline constexpr guid guid_v{ 0x2F9ACF82,0x1003,0x4D5D,{ 0xBF,0x81,0x2A,0xBA,0x1B,0x4B,0xE4,0xA8 } }; // 2F9ACF82-1003-4D5D-BF81-2ABA1B4BE4A8 + template <> inline constexpr guid guid_v{ 0x2F9ACF82,0x2005,0x4D5D,{ 0xBF,0x81,0x2A,0xBA,0x1B,0x4B,0xE4,0xA8 } }; // 2F9ACF82-2005-4D5D-BF81-2ABA1B4BE4A8 + template <> inline constexpr guid guid_v{ 0x2F9ACF82,0x2002,0x4D5D,{ 0xBF,0x81,0x2A,0xBA,0x1B,0x4B,0xE4,0xA8 } }; // 2F9ACF82-2002-4D5D-BF81-2ABA1B4BE4A8 + template <> inline constexpr guid guid_v{ 0x2F9ACF82,0x1001,0x4D5D,{ 0xBF,0x81,0x2A,0xBA,0x1B,0x4B,0xE4,0xA8 } }; // 2F9ACF82-1001-4D5D-BF81-2ABA1B4BE4A8 + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESim; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimPolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimServiceInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IESimWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IProvisionedProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IProvisioningAgent; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IUssdMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IUssdReply; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IUssdSession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AvailableMemoryInBytes(void**) noexcept = 0; + virtual int32_t __stdcall get_Eid(void**) noexcept = 0; + virtual int32_t __stdcall get_FirmwareVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_MobileBroadbandModemDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Policy(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetProfiles(void**) noexcept = 0; + virtual int32_t __stdcall DeleteProfileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DownloadProfileMetadataAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ResetAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_ProfileChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProfileChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Discover(void**) noexcept = 0; + virtual int32_t __stdcall DiscoverWithServerAddressAndMatchingId(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall DiscoverAsync(void**) noexcept = 0; + virtual int32_t __stdcall DiscoverWithServerAddressAndMatchingIdAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlotIndex(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ESim(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MatchingId(void**) noexcept = 0; + virtual int32_t __stdcall get_RspServerAddress(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Events(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProfileMetadata(void**) noexcept = 0; + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + virtual int32_t __stdcall get_ProfileMetadata(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServiceInfo(void**) noexcept = 0; + virtual int32_t __stdcall TryCreateESimWatcher(void**) noexcept = 0; + virtual int32_t __stdcall add_ServiceInfoChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ServiceInfoChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShouldEnableManagingUi(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Class(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Nickname(void**) noexcept = 0; + virtual int32_t __stdcall get_Policy(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderIcon(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderName(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void**) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetNicknameAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsConfirmationCodeRequired(bool*) noexcept = 0; + virtual int32_t __stdcall get_Policy(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderIcon(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderName(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall DenyInstallAsync(void**) noexcept = 0; + virtual int32_t __stdcall ConfirmInstallAsync(void**) noexcept = 0; + virtual int32_t __stdcall ConfirmInstallWithConfirmationCodeAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall PostponeInstallAsync(void**) noexcept = 0; + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CanDelete(bool*) noexcept = 0; + virtual int32_t __stdcall get_CanDisable(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsManagedByEnterprise(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ESim(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AuthenticationPreference(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsESimUiEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ESim(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestUnlockAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WirelessNetworkId(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_NetworkAdapter(void**) noexcept = 0; + virtual int32_t __stdcall get_RedirectMessageUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_RedirectMessageXml(void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationUrl(void**) noexcept = 0; + virtual int32_t __stdcall IssueCredentials(void*, void*, void*, bool) noexcept = 0; + virtual int32_t __stdcall AbortAuthentication(bool) noexcept = 0; + virtual int32_t __stdcall SkipAuthentication() noexcept = 0; + virtual int32_t __stdcall TriggerAttentionRequired(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IssueCredentialsAsync(void*, void*, void*, bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetAuthenticationContext(void*, void**, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EventToken(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HasNetworkErrorOccurred(bool*) noexcept = 0; + virtual int32_t __stdcall get_ResponseCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LogoffUrl(void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationReplyXml(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EFSpn(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid1(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid2(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EFSpn(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid1(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid2(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EFOns(void**) noexcept = 0; + virtual int32_t __stdcall get_EFSpn(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid1(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid2(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EFSpn(void**) noexcept = 0; + virtual int32_t __stdcall get_EFOpl(void**) noexcept = 0; + virtual int32_t __stdcall get_EFPnn(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid1(void**) noexcept = 0; + virtual int32_t __stdcall get_Gid2(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAccountId(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceProviderGuid(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ServiceProviderName(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentNetwork(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentDeviceInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetConnectionProfiles(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AccountExperienceUrl(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAccountId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AvailableNetworkAccountIds(void**) noexcept = 0; + virtual int32_t __stdcall CreateFromNetworkAccountId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAccountId(void**) noexcept = 0; + virtual int32_t __stdcall get_HasDeviceInformationChanged(bool*) noexcept = 0; + virtual int32_t __stdcall get_HasNetworkChanged(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AccountAdded(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccountAdded(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AccountUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccountUpdated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AccountRemoved(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccountRemoved(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AntennaIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SarBackoffIndex(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithIndex(int32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BaseStationId(void**) noexcept = 0; + virtual int32_t __stdcall get_BaseStationPNCode(void**) noexcept = 0; + virtual int32_t __stdcall get_BaseStationLatitude(void**) noexcept = 0; + virtual int32_t __stdcall get_BaseStationLongitude(void**) noexcept = 0; + virtual int32_t __stdcall get_BaseStationLastBroadcastGpsTime(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkId(void**) noexcept = 0; + virtual int32_t __stdcall get_PilotSignalStrengthInDB(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BaseStationId(void**) noexcept = 0; + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_LocationAreaCode(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReceivedSignalStrengthInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_TimingAdvanceInBitPeriods(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalCellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_TimingAdvanceInBitPeriods(void**) noexcept = 0; + virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalCellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_TimingAdvanceInNanoseconds(void**) noexcept = 0; + virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0; + virtual int32_t __stdcall get_SignalToNoiseRatioInDB(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_CellParameterId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_LocationAreaCode(void**) noexcept = 0; + virtual int32_t __stdcall get_PathLossInDB(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReceivedSignalCodePowerInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_TimingAdvanceInBitPeriods(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_LocationAreaCode(void**) noexcept = 0; + virtual int32_t __stdcall get_PathLossInDB(void**) noexcept = 0; + virtual int32_t __stdcall get_PrimaryScramblingCode(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReceivedSignalCodePowerInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_SignalToNoiseRatioInDB(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NeighboringCellsCdma(void**) noexcept = 0; + virtual int32_t __stdcall get_NeighboringCellsGsm(void**) noexcept = 0; + virtual int32_t __stdcall get_NeighboringCellsLte(void**) noexcept = 0; + virtual int32_t __stdcall get_NeighboringCellsTdscdma(void**) noexcept = 0; + virtual int32_t __stdcall get_NeighboringCellsUmts(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsCdma(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsGsm(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsLte(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsTdscdma(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsUmts(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NeighboringCellsNR(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsNR(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkDeviceStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; + virtual int32_t __stdcall get_Model(void**) noexcept = 0; + virtual int32_t __stdcall get_FirmwareInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_CellularClass(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DataClasses(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CustomDataClass(void**) noexcept = 0; + virtual int32_t __stdcall get_MobileEquipmentId(void**) noexcept = 0; + virtual int32_t __stdcall get_TelephoneNumbers(void**) noexcept = 0; + virtual int32_t __stdcall get_SubscriberId(void**) noexcept = 0; + virtual int32_t __stdcall get_SimIccId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentRadioState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinManager(void**) noexcept = 0; + virtual int32_t __stdcall get_Revision(void**) noexcept = 0; + virtual int32_t __stdcall get_SerialNumber(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SimSpn(void**) noexcept = 0; + virtual int32_t __stdcall get_SimPnn(void**) noexcept = 0; + virtual int32_t __stdcall get_SimGid1(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlotManager(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_SupportedCommands(void**) noexcept = 0; + virtual int32_t __stdcall OpenDataSession(void**) noexcept = 0; + virtual int32_t __stdcall OpenCommandSession(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_EventId(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReceivedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StatusCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResponseData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendQueryCommandAsync(uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall SendSetCommandAsync(uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CloseSession() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_CommandReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CommandReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ReceivedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall WriteDataAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CloseSession() noexcept = 0; + virtual int32_t __stdcall add_DataReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DataReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IsDataReadSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDataWriteSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceServiceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ReceivedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EventId(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentAccount(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceServiceCommandSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceServiceDataSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceServices(void**) noexcept = 0; + virtual int32_t __stdcall GetDeviceService(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall get_IsResetSupported(bool*) noexcept = 0; + virtual int32_t __stdcall ResetAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentConfigurationAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentNetwork(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetIsPassthroughEnabledAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetIsPassthroughEnabledAsync(bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetPcoAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_IsInEmergencyCallMode(bool*) noexcept = 0; + virtual int32_t __stdcall add_IsInEmergencyCallModeChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_IsInEmergencyCallModeChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetIsPassthroughEnabledWithSlotIndexAsync(bool, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetIsPassthroughEnabledWithSlotIndexAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetIsPassthroughEnabledWithSlotIndex(bool, int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetIsPassthroughEnabledWithSlotIndex(int32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uicc(void**) noexcept = 0; + virtual int32_t __stdcall get_HomeProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_HomeProviderName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SarManager(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAllowedHost(void*) noexcept = 0; + virtual int32_t __stdcall AddAllowedHostRange(void*, void*) noexcept = 0; + virtual int32_t __stdcall ApplyConfigurationAsync(void**) noexcept = 0; + virtual int32_t __stdcall ClearConfigurationAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAdapter(void**) noexcept = 0; + virtual int32_t __stdcall get_NetworkRegistrationState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RegistrationNetworkError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_PacketAttachNetworkError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ActivationNetworkError(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AccessPointName(void**) noexcept = 0; + virtual int32_t __stdcall get_RegisteredDataClass(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_RegisteredProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_RegisteredProviderName(void**) noexcept = 0; + virtual int32_t __stdcall ShowConnectionUI() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetVoiceCallSupportAsync(void**) noexcept = 0; + virtual int32_t __stdcall get_RegistrationUiccApps(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetCellsInfoAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Network(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkRegistrationStateChanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall get_IsComplete(bool*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UpdatedData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LockState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AttemptsRemaining(uint32_t*) noexcept = 0; + virtual int32_t __stdcall EnableAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DisableAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall EnterAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ChangeAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnblockAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_PinType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PinLockState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PinLockStateChanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedPins(void**) noexcept = 0; + virtual int32_t __stdcall GetPin(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSuccessful(bool*) noexcept = 0; + virtual int32_t __stdcall get_AttemptsRemaining(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_RadioState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RadioStateChanges(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsBackoffEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsWiFiHardwareIntegrated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsSarControlledByHardware(bool*) noexcept = 0; + virtual int32_t __stdcall get_Antennas(void**) noexcept = 0; + virtual int32_t __stdcall get_HysteresisTimerPeriod(int64_t*) noexcept = 0; + virtual int32_t __stdcall add_TransmissionStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TransmissionStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall EnableBackoffAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableBackoffAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetConfigurationAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RevertSarToHardwareControlAsync(void**) noexcept = 0; + virtual int32_t __stdcall SetTransmissionStateChangedHysteresisAsync(int64_t, void**) noexcept = 0; + virtual int32_t __stdcall GetIsTransmittingAsync(void**) noexcept = 0; + virtual int32_t __stdcall StartTransmissionStateMonitoring() noexcept = 0; + virtual int32_t __stdcall StopTransmissionStateMonitoring() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IccId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlotInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SlotInfos(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetCurrentSlot(int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetCurrentSlotAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_SlotInfoChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SlotInfoChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CurrentSlotIndexChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsTransmitting(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SimIccId(void**) noexcept = 0; + virtual int32_t __stdcall GetUiccAppsAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetRecordDetailsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ReadRecordAsync(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RecordCount(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RecordSize(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ReadAccessCondition(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_WriteAccessCondition(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UiccApps(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NotificationKind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NotificationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NetworkAccountId(void**) noexcept = 0; + virtual int32_t __stdcall get_EncodingType(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_RuleId(void**) noexcept = 0; + virtual int32_t __stdcall get_SmsMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Ssid(void**) noexcept = 0; + virtual int32_t __stdcall put_Ssid(void*) noexcept = 0; + virtual int32_t __stdcall get_Passphrase(void**) noexcept = 0; + virtual int32_t __stdcall put_Passphrase(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsBandSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsBandSupportedAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Band(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Band(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsAuthenticationKindSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsAuthenticationKindSupportedAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationKind(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MacAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_HostNames(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTetheringClients(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AuthorizeTethering(bool, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxClientCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ClientCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TetheringOperationalState(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCurrentAccessPointConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall ConfigureAccessPointAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall StartTetheringAsync(void**) noexcept = 0; + virtual int32_t __stdcall StopTetheringAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartTetheringAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTetheringCapability(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall CreateFromNetworkAccountId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTetheringCapabilityFromConnectionProfile(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall CreateFromConnectionProfile(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromConnectionProfileWithTargetAdapter(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsNoConnectionsTimeoutEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall EnableNoConnectionsTimeout() noexcept = 0; + virtual int32_t __stdcall EnableNoConnectionsTimeoutAsync(void**) noexcept = 0; + virtual int32_t __stdcall DisableNoConnectionsTimeout() noexcept = 0; + virtual int32_t __stdcall DisableNoConnectionsTimeoutAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AdditionalErrorMessage(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Ssid(void**) noexcept = 0; + virtual int32_t __stdcall put_Ssid(void*) noexcept = 0; + virtual int32_t __stdcall get_Passphrase(void**) noexcept = 0; + virtual int32_t __stdcall put_Passphrase(void*) noexcept = 0; + virtual int32_t __stdcall IsBandSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsBandSupportedAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Band(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Band(int32_t) noexcept = 0; + virtual int32_t __stdcall IsAuthenticationKindSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall IsAuthenticationKindSupportedAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationKind(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PerformancePriority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_PerformancePriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllElementsProvisioned(bool*) noexcept = 0; + virtual int32_t __stdcall get_ProvisionResultsXml(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateCost(int32_t) noexcept = 0; + virtual int32_t __stdcall UpdateUsage(struct struct_Windows_Networking_NetworkOperators_ProfileUsage) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProvisionFromXmlDocumentAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetProvisionedProfile(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromNetworkAccountId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NetworkAccountId(void**) noexcept = 0; + virtual int32_t __stdcall AllowTethering() noexcept = 0; + virtual int32_t __stdcall DenyTethering(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DataCodingScheme(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_DataCodingScheme(uint8_t) noexcept = 0; + virtual int32_t __stdcall GetPayload(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall SetPayload(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_PayloadAsText(void**) noexcept = 0; + virtual int32_t __stdcall put_PayloadAsText(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateMessage(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResultCode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendMessageAndGetReplyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromNetworkAccountId(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromNetworkInterfaceId(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESim + { + [[nodiscard]] auto AvailableMemoryInBytes() const; + [[nodiscard]] auto Eid() const; + [[nodiscard]] auto FirmwareVersion() const; + [[nodiscard]] auto MobileBroadbandModemDeviceId() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto State() const; + auto GetProfiles() const; + auto DeleteProfileAsync(param::hstring const& profileId) const; + auto DownloadProfileMetadataAsync(param::hstring const& activationCode) const; + auto ResetAsync() const; + auto ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ProfileChanged_revoker = impl::event_revoker::remove_ProfileChanged>; + [[nodiscard]] auto ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProfileChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESim; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESim2 + { + auto Discover() const; + auto Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const; + auto DiscoverAsync() const; + auto DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESim2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESim3 + { + [[nodiscard]] auto SlotIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESim3; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs + { + [[nodiscard]] auto ESim() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent + { + [[nodiscard]] auto MatchingId() const; + [[nodiscard]] auto RspServerAddress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimDiscoverResult + { + [[nodiscard]] auto Events() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ProfileMetadata() const; + [[nodiscard]] auto Result() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimDiscoverResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult + { + [[nodiscard]] auto Result() const; + [[nodiscard]] auto ProfileMetadata() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimManagerStatics + { + [[nodiscard]] auto ServiceInfo() const; + auto TryCreateESimWatcher() const; + auto ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using ServiceInfoChanged_revoker = impl::event_revoker::remove_ServiceInfoChanged>; + [[nodiscard]] auto ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ServiceInfoChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimManagerStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimOperationResult + { + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimOperationResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimPolicy + { + [[nodiscard]] auto ShouldEnableManagingUi() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimPolicy; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimProfile + { + [[nodiscard]] auto Class() const; + [[nodiscard]] auto Nickname() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ProviderIcon() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ProviderName() const; + [[nodiscard]] auto State() const; + auto DisableAsync() const; + auto EnableAsync() const; + auto SetNicknameAsync(param::hstring const& newNickname) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimProfile; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimProfileMetadata + { + [[nodiscard]] auto IsConfirmationCodeRequired() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ProviderIcon() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ProviderName() const; + [[nodiscard]] auto State() const; + auto DenyInstallAsync() const; + auto ConfirmInstallAsync() const; + auto ConfirmInstallAsync(param::hstring const& confirmationCode) const; + auto PostponeInstallAsync() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimProfileMetadata; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimProfilePolicy + { + [[nodiscard]] auto CanDelete() const; + [[nodiscard]] auto CanDisable() const; + [[nodiscard]] auto IsManagedByEnterprise() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimProfilePolicy; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs + { + [[nodiscard]] auto ESim() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimServiceInfo + { + [[nodiscard]] auto AuthenticationPreference() const; + [[nodiscard]] auto IsESimUiEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimServiceInfo; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs + { + [[nodiscard]] auto ESim() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IESimWatcher + { + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IESimWatcher; + }; + template + struct consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics + { + auto RequestUnlockAsync(param::hstring const& contactListId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext + { + [[nodiscard]] auto WirelessNetworkId() const; + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto RedirectMessageUrl() const; + [[nodiscard]] auto RedirectMessageXml() const; + [[nodiscard]] auto AuthenticationUrl() const; + auto IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; + auto AbortAuthentication(bool markAsManual) const; + auto SkipAuthentication() const; + auto TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext; + }; + template + struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2 + { + auto IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics + { + auto TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails + { + [[nodiscard]] auto EventToken() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult + { + [[nodiscard]] auto HasNetworkErrorOccurred() const; + [[nodiscard]] auto ResponseCode() const; + [[nodiscard]] auto LogoffUrl() const; + [[nodiscard]] auto AuthenticationReplyXml() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics + { + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics + { + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics + { + [[nodiscard]] auto EFOns() const; + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics + { + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto EFOpl() const; + [[nodiscard]] auto EFPnn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount + { + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto ServiceProviderGuid() const; + [[nodiscard]] auto ServiceProviderName() const; + [[nodiscard]] auto CurrentNetwork() const; + [[nodiscard]] auto CurrentDeviceInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2 + { + auto GetConnectionProfiles() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3 + { + [[nodiscard]] auto AccountExperienceUrl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs + { + [[nodiscard]] auto NetworkAccountId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics + { + [[nodiscard]] auto AvailableNetworkAccountIds() const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs + { + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto HasDeviceInformationChanged() const; + [[nodiscard]] auto HasNetworkChanged() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher + { + auto AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccountAdded_revoker = impl::event_revoker::remove_AccountAdded>; + [[nodiscard]] auto AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountAdded(winrt::event_token const& cookie) const noexcept; + auto AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccountUpdated_revoker = impl::event_revoker::remove_AccountUpdated>; + [[nodiscard]] auto AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountUpdated(winrt::event_token const& cookie) const noexcept; + auto AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccountRemoved_revoker = impl::event_revoker::remove_AccountRemoved>; + [[nodiscard]] auto AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountRemoved(winrt::event_token const& cookie) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& cookie) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar + { + [[nodiscard]] auto AntennaIndex() const; + [[nodiscard]] auto SarBackoffIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory + { + auto CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma + { + [[nodiscard]] auto BaseStationId() const; + [[nodiscard]] auto BaseStationPNCode() const; + [[nodiscard]] auto BaseStationLatitude() const; + [[nodiscard]] auto BaseStationLongitude() const; + [[nodiscard]] auto BaseStationLastBroadcastGpsTime() const; + [[nodiscard]] auto NetworkId() const; + [[nodiscard]] auto PilotSignalStrengthInDB() const; + [[nodiscard]] auto SystemId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm + { + [[nodiscard]] auto BaseStationId() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalStrengthInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte + { + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto PhysicalCellId() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReferenceSignalReceivedPowerInDBm() const; + [[nodiscard]] auto ReferenceSignalReceivedQualityInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; + [[nodiscard]] auto TrackingAreaCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR + { + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto PhysicalCellId() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReferenceSignalReceivedPowerInDBm() const; + [[nodiscard]] auto ReferenceSignalReceivedQualityInDBm() const; + [[nodiscard]] auto TimingAdvanceInNanoseconds() const; + [[nodiscard]] auto TrackingAreaCode() const; + [[nodiscard]] auto SignalToNoiseRatioInDB() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma + { + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto CellParameterId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto PathLossInDB() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalCodePowerInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts + { + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto PathLossInDB() const; + [[nodiscard]] auto PrimaryScramblingCode() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalCodePowerInDBm() const; + [[nodiscard]] auto SignalToNoiseRatioInDB() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo + { + [[nodiscard]] auto NeighboringCellsCdma() const; + [[nodiscard]] auto NeighboringCellsGsm() const; + [[nodiscard]] auto NeighboringCellsLte() const; + [[nodiscard]] auto NeighboringCellsTdscdma() const; + [[nodiscard]] auto NeighboringCellsUmts() const; + [[nodiscard]] auto ServingCellsCdma() const; + [[nodiscard]] auto ServingCellsGsm() const; + [[nodiscard]] auto ServingCellsLte() const; + [[nodiscard]] auto ServingCellsTdscdma() const; + [[nodiscard]] auto ServingCellsUmts() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2 + { + [[nodiscard]] auto NeighboringCellsNR() const; + [[nodiscard]] auto ServingCellsNR() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs + { + [[nodiscard]] auto CurrentSlotIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation + { + [[nodiscard]] auto NetworkDeviceStatus() const; + [[nodiscard]] auto Manufacturer() const; + [[nodiscard]] auto Model() const; + [[nodiscard]] auto FirmwareInformation() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto DataClasses() const; + [[nodiscard]] auto CustomDataClass() const; + [[nodiscard]] auto MobileEquipmentId() const; + [[nodiscard]] auto TelephoneNumbers() const; + [[nodiscard]] auto SubscriberId() const; + [[nodiscard]] auto SimIccId() const; + [[nodiscard]] auto DeviceType() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CurrentRadioState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2 + { + [[nodiscard]] auto PinManager() const; + [[nodiscard]] auto Revision() const; + [[nodiscard]] auto SerialNumber() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3 + { + [[nodiscard]] auto SimSpn() const; + [[nodiscard]] auto SimPnn() const; + [[nodiscard]] auto SimGid1() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4 + { + [[nodiscard]] auto SlotManager() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService + { + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto SupportedCommands() const; + auto OpenDataSession() const; + auto OpenCommandSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto EventId() const; + [[nodiscard]] auto ReceivedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult + { + [[nodiscard]] auto StatusCode() const; + [[nodiscard]] auto ResponseData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession + { + auto SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto CloseSession() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession2 + { + auto CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CommandReceived_revoker = impl::event_revoker::remove_CommandReceived>; + [[nodiscard]] auto CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommandReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs + { + [[nodiscard]] auto ReceivedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession + { + auto WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CloseSession() const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto DataReceived(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation + { + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto IsDataReadSupported() const; + [[nodiscard]] auto IsDataWriteSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto ReceivedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails2 + { + [[nodiscard]] auto EventId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem + { + [[nodiscard]] auto CurrentAccount() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto MaxDeviceServiceCommandSizeInBytes() const; + [[nodiscard]] auto MaxDeviceServiceDataSizeInBytes() const; + [[nodiscard]] auto DeviceServices() const; + auto GetDeviceService(winrt::guid const& deviceServiceId) const; + [[nodiscard]] auto IsResetSupported() const; + auto ResetAsync() const; + auto GetCurrentConfigurationAsync() const; + [[nodiscard]] auto CurrentNetwork() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2 + { + auto GetIsPassthroughEnabledAsync() const; + auto SetIsPassthroughEnabledAsync(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3 + { + auto TryGetPcoAsync() const; + [[nodiscard]] auto IsInEmergencyCallMode() const; + auto IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using IsInEmergencyCallModeChanged_revoker = impl::event_revoker::remove_IsInEmergencyCallModeChanged>; + [[nodiscard]] auto IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4 + { + auto SetIsPassthroughEnabledAsync(bool value, int32_t slotindex) const; + auto GetIsPassthroughEnabledAsync(int32_t slotindex) const; + auto SetIsPassthroughEnabled(bool value, int32_t slotindex) const; + auto GetIsPassthroughEnabled(int32_t slotindex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration + { + [[nodiscard]] auto Uicc() const; + [[nodiscard]] auto HomeProviderId() const; + [[nodiscard]] auto HomeProviderName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2 + { + [[nodiscard]] auto SarManager() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation + { + auto AddAllowedHost(winrt::Windows::Networking::HostName const& host) const; + auto AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const; + auto ApplyConfigurationAsync() const; + auto ClearConfigurationAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory + { + auto Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics + { + auto GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork + { + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto NetworkRegistrationState() const; + [[nodiscard]] auto RegistrationNetworkError() const; + [[nodiscard]] auto PacketAttachNetworkError() const; + [[nodiscard]] auto ActivationNetworkError() const; + [[nodiscard]] auto AccessPointName() const; + [[nodiscard]] auto RegisteredDataClass() const; + [[nodiscard]] auto RegisteredProviderId() const; + [[nodiscard]] auto RegisteredProviderName() const; + auto ShowConnectionUI() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2 + { + auto GetVoiceCallSupportAsync() const; + [[nodiscard]] auto RegistrationUiccApps() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3 + { + auto GetCellsInfoAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Network() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails + { + [[nodiscard]] auto NetworkRegistrationStateChanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco + { + [[nodiscard]] auto Data() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails + { + [[nodiscard]] auto UpdatedData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin + { + [[nodiscard]] auto Type() const; + [[nodiscard]] auto LockState() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto MaxLength() const; + [[nodiscard]] auto MinLength() const; + [[nodiscard]] auto AttemptsRemaining() const; + auto EnableAsync(param::hstring const& currentPin) const; + auto DisableAsync(param::hstring const& currentPin) const; + auto EnterAsync(param::hstring const& currentPin) const; + auto ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const; + auto UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto PinType() const; + [[nodiscard]] auto PinLockState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails + { + [[nodiscard]] auto PinLockStateChanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager + { + [[nodiscard]] auto SupportedPins() const; + auto GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult + { + [[nodiscard]] auto IsSuccessful() const; + [[nodiscard]] auto AttemptsRemaining() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto RadioState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails + { + [[nodiscard]] auto RadioStateChanges() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager + { + [[nodiscard]] auto IsBackoffEnabled() const; + [[nodiscard]] auto IsWiFiHardwareIntegrated() const; + [[nodiscard]] auto IsSarControlledByHardware() const; + [[nodiscard]] auto Antennas() const; + [[nodiscard]] auto HysteresisTimerPeriod() const; + auto TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TransmissionStateChanged_revoker = impl::event_revoker::remove_TransmissionStateChanged>; + [[nodiscard]] auto TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TransmissionStateChanged(winrt::event_token const& token) const noexcept; + auto EnableBackoffAsync() const; + auto DisableBackoffAsync() const; + auto SetConfigurationAsync(param::async_iterable const& antennas) const; + auto RevertSarToHardwareControlAsync() const; + auto SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const; + auto GetIsTransmittingAsync() const; + auto StartTransmissionStateMonitoring() const; + auto StopTransmissionStateMonitoring() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo + { + [[nodiscard]] auto Index() const; + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo2 + { + [[nodiscard]] auto IccId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs + { + [[nodiscard]] auto SlotInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager + { + [[nodiscard]] auto SlotInfos() const; + [[nodiscard]] auto CurrentSlotIndex() const; + auto SetCurrentSlot(int32_t slotIndex) const; + auto SetCurrentSlotAsync(int32_t slotIndex) const; + auto SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SlotInfoChanged_revoker = impl::event_revoker::remove_SlotInfoChanged>; + [[nodiscard]] auto SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SlotInfoChanged(winrt::event_token const& token) const noexcept; + auto CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CurrentSlotIndexChanged_revoker = impl::event_revoker::remove_CurrentSlotIndexChanged>; + [[nodiscard]] auto CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs + { + [[nodiscard]] auto IsTransmitting() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc + { + [[nodiscard]] auto SimIccId() const; + auto GetUiccAppsAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; + auto GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const; + auto ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Data() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto RecordCount() const; + [[nodiscard]] auto RecordSize() const; + [[nodiscard]] auto ReadAccessCondition() const; + [[nodiscard]] auto WriteAccessCondition() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto UiccApps() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails + { + [[nodiscard]] auto NotificationKind() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails + { + [[nodiscard]] auto NotificationType() const; + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto EncodingType() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto RuleId() const; + [[nodiscard]] auto SmsMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration + { + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Passphrase() const; + auto Passphrase(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2 + { + auto IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + auto IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + [[nodiscard]] auto Band() const; + auto Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3 + { + auto IsAuthenticationKindSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const; + auto IsAuthenticationKindSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const; + [[nodiscard]] auto AuthenticationKind() const; + auto AuthenticationKind(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient + { + [[nodiscard]] auto MacAddress() const; + [[nodiscard]] auto HostNames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager + { + auto GetTetheringClients() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck + { + auto AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager + { + [[nodiscard]] auto MaxClientCount() const; + [[nodiscard]] auto ClientCount() const; + [[nodiscard]] auto TetheringOperationalState() const; + auto GetCurrentAccessPointConfiguration() const; + auto ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const; + auto StartTetheringAsync() const; + auto StopTetheringAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager2 + { + auto StartTetheringAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringSessionAccessPointConfiguration const& configuration) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager2; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics + { + auto GetTetheringCapability(param::hstring const& networkAccountId) const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2 + { + auto GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; + auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3 + { + auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4 + { + auto IsNoConnectionsTimeoutEnabled() const; + auto EnableNoConnectionsTimeout() const; + auto EnableNoConnectionsTimeoutAsync() const; + auto DisableNoConnectionsTimeout() const; + auto DisableNoConnectionsTimeoutAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto AdditionalErrorMessage() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult; + }; + template + struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration + { + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Passphrase() const; + auto Passphrase(param::hstring const& value) const; + auto IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + auto IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + [[nodiscard]] auto Band() const; + auto Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const; + auto IsAuthenticationKindSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const; + auto IsAuthenticationKindSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const; + [[nodiscard]] auto AuthenticationKind() const; + auto AuthenticationKind(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& value) const; + [[nodiscard]] auto PerformancePriority() const; + auto PerformancePriority(winrt::Windows::Networking::NetworkOperators::TetheringWiFiPerformancePriority const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration; + }; + template + struct consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults + { + [[nodiscard]] auto AllElementsProvisioned() const; + [[nodiscard]] auto ProvisionResultsXml() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults; + }; + template + struct consume_Windows_Networking_NetworkOperators_IProvisionedProfile + { + auto UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; + auto UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IProvisionedProfile; + }; + template + struct consume_Windows_Networking_NetworkOperators_IProvisioningAgent + { + auto ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const; + auto GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IProvisioningAgent; + }; + template + struct consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods + { + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods; + }; + template + struct consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails + { + [[nodiscard]] auto NetworkAccountId() const; + auto AllowTethering() const; + auto DenyTethering(param::hstring const& entitlementFailureReason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails; + }; + template + struct consume_Windows_Networking_NetworkOperators_IUssdMessage + { + [[nodiscard]] auto DataCodingScheme() const; + auto DataCodingScheme(uint8_t value) const; + auto GetPayload() const; + auto SetPayload(array_view value) const; + [[nodiscard]] auto PayloadAsText() const; + auto PayloadAsText(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IUssdMessage; + }; + template + struct consume_Windows_Networking_NetworkOperators_IUssdMessageFactory + { + auto CreateMessage(param::hstring const& messageText) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IUssdMessageFactory; + }; + template + struct consume_Windows_Networking_NetworkOperators_IUssdReply + { + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto Message() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IUssdReply; + }; + template + struct consume_Windows_Networking_NetworkOperators_IUssdSession + { + auto SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const; + auto Close() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IUssdSession; + }; + template + struct consume_Windows_Networking_NetworkOperators_IUssdSessionStatics + { + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + auto CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IUssdSessionStatics; + }; + struct struct_Windows_Networking_NetworkOperators_ESimProfileInstallProgress + { + int32_t TotalSizeInBytes; + int32_t InstalledSizeInBytes; + }; + template <> struct abi + { + using type = struct_Windows_Networking_NetworkOperators_ESimProfileInstallProgress; + }; + struct struct_Windows_Networking_NetworkOperators_ProfileUsage + { + uint32_t UsageInMegabytes; + int64_t LastSyncTime; + }; + template <> struct abi + { + using type = struct_Windows_Networking_NetworkOperators_ProfileUsage; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c3e5fd51fe61adcaef5988e02cf10d1987ea17f7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.1.h @@ -0,0 +1,846 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_NetworkOperators_1_H +#define WINRT_Windows_Networking_NetworkOperators_1_H +#include "winrt/impl/Windows.Networking.NetworkOperators.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators +{ + struct WINRT_IMPL_EMPTY_BASES IESim : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESim(std::nullptr_t = nullptr) noexcept {} + IESim(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESim2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESim2(std::nullptr_t = nullptr) noexcept {} + IESim2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESim3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESim3(std::nullptr_t = nullptr) noexcept {} + IESim3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IESimAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimDiscoverEvent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimDiscoverEvent(std::nullptr_t = nullptr) noexcept {} + IESimDiscoverEvent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimDiscoverResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimDiscoverResult(std::nullptr_t = nullptr) noexcept {} + IESimDiscoverResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimDownloadProfileMetadataResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimDownloadProfileMetadataResult(std::nullptr_t = nullptr) noexcept {} + IESimDownloadProfileMetadataResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimManagerStatics(std::nullptr_t = nullptr) noexcept {} + IESimManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimOperationResult(std::nullptr_t = nullptr) noexcept {} + IESimOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimPolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimPolicy(std::nullptr_t = nullptr) noexcept {} + IESimPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimProfile(std::nullptr_t = nullptr) noexcept {} + IESimProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimProfileMetadata : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimProfileMetadata(std::nullptr_t = nullptr) noexcept {} + IESimProfileMetadata(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimProfilePolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimProfilePolicy(std::nullptr_t = nullptr) noexcept {} + IESimProfilePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IESimRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimServiceInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimServiceInfo(std::nullptr_t = nullptr) noexcept {} + IESimServiceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IESimUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IESimWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IESimWatcher(std::nullptr_t = nullptr) noexcept {} + IESimWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFdnAccessManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFdnAccessManagerStatics(std::nullptr_t = nullptr) noexcept {} + IFdnAccessManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHotspotAuthenticationContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHotspotAuthenticationContext(std::nullptr_t = nullptr) noexcept {} + IHotspotAuthenticationContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHotspotAuthenticationContext2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHotspotAuthenticationContext2(std::nullptr_t = nullptr) noexcept {} + IHotspotAuthenticationContext2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHotspotAuthenticationContextStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHotspotAuthenticationContextStatics(std::nullptr_t = nullptr) noexcept {} + IHotspotAuthenticationContextStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHotspotAuthenticationEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHotspotAuthenticationEventDetails(std::nullptr_t = nullptr) noexcept {} + IHotspotAuthenticationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHotspotCredentialsAuthenticationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHotspotCredentialsAuthenticationResult(std::nullptr_t = nullptr) noexcept {} + IHotspotCredentialsAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownCSimFilePathsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownCSimFilePathsStatics(std::nullptr_t = nullptr) noexcept {} + IKnownCSimFilePathsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownRuimFilePathsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownRuimFilePathsStatics(std::nullptr_t = nullptr) noexcept {} + IKnownRuimFilePathsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownSimFilePathsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownSimFilePathsStatics(std::nullptr_t = nullptr) noexcept {} + IKnownSimFilePathsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKnownUSimFilePathsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKnownUSimFilePathsStatics(std::nullptr_t = nullptr) noexcept {} + IKnownUSimFilePathsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccount : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccount(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccount2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccount2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccount2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccount3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccount3(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccount3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccountEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccountEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccountEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccountStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccountStatics(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccountStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccountUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccountUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccountUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAccountWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAccountWatcher(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAccountWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAntennaSar : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAntennaSar(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAntennaSar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandAntennaSarFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandAntennaSarFactory(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandAntennaSarFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellCdma : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellCdma(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellCdma(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellGsm : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellGsm(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellGsm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellLte : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellLte(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellLte(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellNR : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellNR(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellTdscdma : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellTdscdma(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellTdscdma(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellUmts : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellUmts(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellUmts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellsInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellsInfo(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellsInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCellsInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellsInfo2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellsInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandCurrentSlotIndexChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceInformation(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceInformation2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceInformation3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceInformation3(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceInformation3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceInformation4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceInformation4(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceInformation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceService(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceCommandEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceCommandEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceCommandEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceCommandResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceCommandResult(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceCommandResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceCommandSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceCommandSession(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceCommandSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceCommandSession2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceCommandSession2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceCommandSession2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceDataReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceDataReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceDataSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceDataSession(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceDataSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceInformation(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandDeviceServiceTriggerDetails2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceServiceTriggerDetails2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceServiceTriggerDetails2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModem(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModem2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModem2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModem2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModem3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModem3(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModem3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModem4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModem4(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModem4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModemConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModemConfiguration(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModemConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModemConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModemConfiguration2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModemConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModemIsolation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModemIsolation(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModemIsolation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModemIsolationFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModemIsolationFactory(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModemIsolationFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandModemStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandModemStatics(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandModemStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandNetwork : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandNetwork(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandNetwork2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandNetwork2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandNetwork2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandNetwork3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandNetwork3(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandNetwork3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandNetworkRegistrationStateChange : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandNetworkRegistrationStateChange(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandNetworkRegistrationStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPco : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPco(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPco(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPcoDataChangeTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPcoDataChangeTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPcoDataChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPin : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPin(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPinLockStateChange : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPinLockStateChange(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPinLockStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPinLockStateChangeTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPinLockStateChangeTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPinLockStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPinManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPinManager(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPinManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandPinOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandPinOperationResult(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandPinOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandRadioStateChange : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandRadioStateChange(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandRadioStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandRadioStateChangeTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandRadioStateChangeTriggerDetails(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandRadioStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandSarManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSarManager(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSarManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandSlotInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotInfo(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandSlotInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotInfo2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandSlotInfoChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandSlotManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotManager(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandTransmissionStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandTransmissionStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandTransmissionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandUicc : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandUicc(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandUicc(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandUiccApp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandUiccApp(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandUiccApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandUiccAppReadRecordResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandUiccAppReadRecordResult(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandUiccAppReadRecordResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandUiccAppRecordDetailsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandUiccAppRecordDetailsResult(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandUiccAppRecordDetailsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMobileBroadbandUiccAppsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandUiccAppsResult(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandUiccAppsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorDataUsageTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorDataUsageTriggerDetails(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorDataUsageTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorNotificationEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorNotificationEventDetails(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorNotificationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringAccessPointConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringAccessPointConfiguration(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringAccessPointConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringAccessPointConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringAccessPointConfiguration2(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringAccessPointConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringAccessPointConfiguration3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringAccessPointConfiguration3(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringAccessPointConfiguration3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringClient : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringClient(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringClientManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringClientManager(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringClientManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringEntitlementCheck : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringEntitlementCheck(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringEntitlementCheck(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManager(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManager2(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManagerStatics(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManagerStatics2(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManagerStatics3(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringManagerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringManagerStatics4(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringManagerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringOperationResult(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES INetworkOperatorTetheringSessionAccessPointConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + INetworkOperatorTetheringSessionAccessPointConfiguration(std::nullptr_t = nullptr) noexcept {} + INetworkOperatorTetheringSessionAccessPointConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProvisionFromXmlDocumentResults : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProvisionFromXmlDocumentResults(std::nullptr_t = nullptr) noexcept {} + IProvisionFromXmlDocumentResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProvisionedProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProvisionedProfile(std::nullptr_t = nullptr) noexcept {} + IProvisionedProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProvisioningAgent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProvisioningAgent(std::nullptr_t = nullptr) noexcept {} + IProvisioningAgent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProvisioningAgentStaticMethods : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProvisioningAgentStaticMethods(std::nullptr_t = nullptr) noexcept {} + IProvisioningAgentStaticMethods(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITetheringEntitlementCheckTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITetheringEntitlementCheckTriggerDetails(std::nullptr_t = nullptr) noexcept {} + ITetheringEntitlementCheckTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUssdMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUssdMessage(std::nullptr_t = nullptr) noexcept {} + IUssdMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUssdMessageFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUssdMessageFactory(std::nullptr_t = nullptr) noexcept {} + IUssdMessageFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUssdReply : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUssdReply(std::nullptr_t = nullptr) noexcept {} + IUssdReply(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUssdSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUssdSession(std::nullptr_t = nullptr) noexcept {} + IUssdSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUssdSessionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUssdSessionStatics(std::nullptr_t = nullptr) noexcept {} + IUssdSessionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3188124b714fc08714d29fb9fab1aabcd0c43b32 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.networkoperators.2.h @@ -0,0 +1,523 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_NetworkOperators_2_H +#define WINRT_Windows_Networking_NetworkOperators_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Networking.Connectivity.2.h" +#include "winrt/impl/Windows.Networking.NetworkOperators.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators +{ + struct ESimProfileInstallProgress + { + int32_t TotalSizeInBytes {}; + int32_t InstalledSizeInBytes {}; + }; + inline bool operator==(ESimProfileInstallProgress const& left, ESimProfileInstallProgress const& right) noexcept + { + return left.TotalSizeInBytes == right.TotalSizeInBytes && left.InstalledSizeInBytes == right.InstalledSizeInBytes; + } + inline bool operator!=(ESimProfileInstallProgress const& left, ESimProfileInstallProgress const& right) noexcept + { + return !(left == right); + } + struct ProfileUsage + { + uint32_t UsageInMegabytes {}; + winrt::Windows::Foundation::DateTime LastSyncTime {}; + }; + inline bool operator==(ProfileUsage const& left, ProfileUsage const& right) noexcept + { + return left.UsageInMegabytes == right.UsageInMegabytes && left.LastSyncTime == right.LastSyncTime; + } + inline bool operator!=(ProfileUsage const& left, ProfileUsage const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES ESim : winrt::Windows::Networking::NetworkOperators::IESim, + impl::require + { + ESim(std::nullptr_t) noexcept {} + ESim(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESim(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimAddedEventArgs : winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs + { + ESimAddedEventArgs(std::nullptr_t) noexcept {} + ESimAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimDiscoverEvent : winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent + { + ESimDiscoverEvent(std::nullptr_t) noexcept {} + ESimDiscoverEvent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimDiscoverResult : winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult + { + ESimDiscoverResult(std::nullptr_t) noexcept {} + ESimDiscoverResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimDownloadProfileMetadataResult : winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult + { + ESimDownloadProfileMetadataResult(std::nullptr_t) noexcept {} + ESimDownloadProfileMetadataResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult(ptr, take_ownership_from_abi) {} + }; + struct ESimManager + { + ESimManager() = delete; + [[nodiscard]] static auto ServiceInfo(); + static auto TryCreateESimWatcher(); + static auto ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler); + using ServiceInfoChanged_revoker = impl::factory_event_revoker::remove_ServiceInfoChanged>; + [[nodiscard]] static auto ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ServiceInfoChanged(winrt::event_token const& token); + }; + struct WINRT_IMPL_EMPTY_BASES ESimOperationResult : winrt::Windows::Networking::NetworkOperators::IESimOperationResult + { + ESimOperationResult(std::nullptr_t) noexcept {} + ESimOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimPolicy : winrt::Windows::Networking::NetworkOperators::IESimPolicy + { + ESimPolicy(std::nullptr_t) noexcept {} + ESimPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimPolicy(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimProfile : winrt::Windows::Networking::NetworkOperators::IESimProfile + { + ESimProfile(std::nullptr_t) noexcept {} + ESimProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimProfile(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimProfileMetadata : winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata + { + ESimProfileMetadata(std::nullptr_t) noexcept {} + ESimProfileMetadata(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimProfilePolicy : winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy + { + ESimProfilePolicy(std::nullptr_t) noexcept {} + ESimProfilePolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimRemovedEventArgs : winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs + { + ESimRemovedEventArgs(std::nullptr_t) noexcept {} + ESimRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimServiceInfo : winrt::Windows::Networking::NetworkOperators::IESimServiceInfo + { + ESimServiceInfo(std::nullptr_t) noexcept {} + ESimServiceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimServiceInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimUpdatedEventArgs : winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs + { + ESimUpdatedEventArgs(std::nullptr_t) noexcept {} + ESimUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ESimWatcher : winrt::Windows::Networking::NetworkOperators::IESimWatcher + { + ESimWatcher(std::nullptr_t) noexcept {} + ESimWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IESimWatcher(ptr, take_ownership_from_abi) {} + }; + struct FdnAccessManager + { + FdnAccessManager() = delete; + static auto RequestUnlockAsync(param::hstring const& contactListId); + }; + struct WINRT_IMPL_EMPTY_BASES HotspotAuthenticationContext : winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext, + impl::require + { + HotspotAuthenticationContext(std::nullptr_t) noexcept {} + HotspotAuthenticationContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext(ptr, take_ownership_from_abi) {} + static auto TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context); + }; + struct WINRT_IMPL_EMPTY_BASES HotspotAuthenticationEventDetails : winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails + { + HotspotAuthenticationEventDetails(std::nullptr_t) noexcept {} + HotspotAuthenticationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HotspotCredentialsAuthenticationResult : winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult + { + HotspotCredentialsAuthenticationResult(std::nullptr_t) noexcept {} + HotspotCredentialsAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult(ptr, take_ownership_from_abi) {} + }; + struct KnownCSimFilePaths + { + KnownCSimFilePaths() = delete; + [[nodiscard]] static auto EFSpn(); + [[nodiscard]] static auto Gid1(); + [[nodiscard]] static auto Gid2(); + }; + struct KnownRuimFilePaths + { + KnownRuimFilePaths() = delete; + [[nodiscard]] static auto EFSpn(); + [[nodiscard]] static auto Gid1(); + [[nodiscard]] static auto Gid2(); + }; + struct KnownSimFilePaths + { + KnownSimFilePaths() = delete; + [[nodiscard]] static auto EFOns(); + [[nodiscard]] static auto EFSpn(); + [[nodiscard]] static auto Gid1(); + [[nodiscard]] static auto Gid2(); + }; + struct KnownUSimFilePaths + { + KnownUSimFilePaths() = delete; + [[nodiscard]] static auto EFSpn(); + [[nodiscard]] static auto EFOpl(); + [[nodiscard]] static auto EFPnn(); + [[nodiscard]] static auto Gid1(); + [[nodiscard]] static auto Gid2(); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandAccount : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount, + impl::require + { + MobileBroadbandAccount(std::nullptr_t) noexcept {} + MobileBroadbandAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto AvailableNetworkAccountIds(); + static auto CreateFromNetworkAccountId(param::hstring const& networkAccountId); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandAccountEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs + { + MobileBroadbandAccountEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandAccountEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandAccountUpdatedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs + { + MobileBroadbandAccountUpdatedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandAccountUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandAccountWatcher : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher + { + MobileBroadbandAccountWatcher(std::nullptr_t) noexcept {} + MobileBroadbandAccountWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher(ptr, take_ownership_from_abi) {} + MobileBroadbandAccountWatcher(); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandAntennaSar : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar + { + MobileBroadbandAntennaSar(std::nullptr_t) noexcept {} + MobileBroadbandAntennaSar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar(ptr, take_ownership_from_abi) {} + MobileBroadbandAntennaSar(int32_t antennaIndex, int32_t sarBackoffIndex); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellCdma : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma + { + MobileBroadbandCellCdma(std::nullptr_t) noexcept {} + MobileBroadbandCellCdma(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellGsm : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm + { + MobileBroadbandCellGsm(std::nullptr_t) noexcept {} + MobileBroadbandCellGsm(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellLte : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte + { + MobileBroadbandCellLte(std::nullptr_t) noexcept {} + MobileBroadbandCellLte(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellNR : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR + { + MobileBroadbandCellNR(std::nullptr_t) noexcept {} + MobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellTdscdma : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma + { + MobileBroadbandCellTdscdma(std::nullptr_t) noexcept {} + MobileBroadbandCellTdscdma(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellUmts : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts + { + MobileBroadbandCellUmts(std::nullptr_t) noexcept {} + MobileBroadbandCellUmts(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCellsInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo, + impl::require + { + MobileBroadbandCellsInfo(std::nullptr_t) noexcept {} + MobileBroadbandCellsInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandCurrentSlotIndexChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs + { + MobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceInformation : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation, + impl::require + { + MobileBroadbandDeviceInformation(std::nullptr_t) noexcept {} + MobileBroadbandDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceService : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService + { + MobileBroadbandDeviceService(std::nullptr_t) noexcept {} + MobileBroadbandDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceCommandEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs + { + MobileBroadbandDeviceServiceCommandEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceCommandEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceCommandResult : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult + { + MobileBroadbandDeviceServiceCommandResult(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceCommandResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceCommandSession : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession, + impl::require + { + MobileBroadbandDeviceServiceCommandSession(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceCommandSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceDataReceivedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs + { + MobileBroadbandDeviceServiceDataReceivedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceDataReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceDataSession : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession + { + MobileBroadbandDeviceServiceDataSession(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceDataSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceInformation : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation + { + MobileBroadbandDeviceServiceInformation(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandDeviceServiceTriggerDetails : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails, + impl::require + { + MobileBroadbandDeviceServiceTriggerDetails(std::nullptr_t) noexcept {} + MobileBroadbandDeviceServiceTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandModem : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem, + impl::require + { + MobileBroadbandModem(std::nullptr_t) noexcept {} + MobileBroadbandModem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem(ptr, take_ownership_from_abi) {} + using impl::consume_t::GetIsPassthroughEnabledAsync; + using impl::consume_t::GetIsPassthroughEnabledAsync; + using impl::consume_t::SetIsPassthroughEnabledAsync; + using impl::consume_t::SetIsPassthroughEnabledAsync; + static auto GetDeviceSelector(); + static auto FromId(param::hstring const& deviceId); + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandModemConfiguration : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration, + impl::require + { + MobileBroadbandModemConfiguration(std::nullptr_t) noexcept {} + MobileBroadbandModemConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandModemIsolation : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation + { + MobileBroadbandModemIsolation(std::nullptr_t) noexcept {} + MobileBroadbandModemIsolation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation(ptr, take_ownership_from_abi) {} + MobileBroadbandModemIsolation(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId); + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandNetwork : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork, + impl::require + { + MobileBroadbandNetwork(std::nullptr_t) noexcept {} + MobileBroadbandNetwork(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandNetworkRegistrationStateChange : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange + { + MobileBroadbandNetworkRegistrationStateChange(std::nullptr_t) noexcept {} + MobileBroadbandNetworkRegistrationStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandNetworkRegistrationStateChangeTriggerDetails : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails + { + MobileBroadbandNetworkRegistrationStateChangeTriggerDetails(std::nullptr_t) noexcept {} + MobileBroadbandNetworkRegistrationStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPco : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco + { + MobileBroadbandPco(std::nullptr_t) noexcept {} + MobileBroadbandPco(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPcoDataChangeTriggerDetails : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails + { + MobileBroadbandPcoDataChangeTriggerDetails(std::nullptr_t) noexcept {} + MobileBroadbandPcoDataChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPin : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin + { + MobileBroadbandPin(std::nullptr_t) noexcept {} + MobileBroadbandPin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPinLockStateChange : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange + { + MobileBroadbandPinLockStateChange(std::nullptr_t) noexcept {} + MobileBroadbandPinLockStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPinLockStateChangeTriggerDetails : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails + { + MobileBroadbandPinLockStateChangeTriggerDetails(std::nullptr_t) noexcept {} + MobileBroadbandPinLockStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPinManager : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager + { + MobileBroadbandPinManager(std::nullptr_t) noexcept {} + MobileBroadbandPinManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandPinOperationResult : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult + { + MobileBroadbandPinOperationResult(std::nullptr_t) noexcept {} + MobileBroadbandPinOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandRadioStateChange : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange + { + MobileBroadbandRadioStateChange(std::nullptr_t) noexcept {} + MobileBroadbandRadioStateChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandRadioStateChangeTriggerDetails : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails + { + MobileBroadbandRadioStateChangeTriggerDetails(std::nullptr_t) noexcept {} + MobileBroadbandRadioStateChangeTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandSarManager : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager + { + MobileBroadbandSarManager(std::nullptr_t) noexcept {} + MobileBroadbandSarManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandSlotInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo, + impl::require + { + MobileBroadbandSlotInfo(std::nullptr_t) noexcept {} + MobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandSlotInfoChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs + { + MobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandSlotManager : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager + { + MobileBroadbandSlotManager(std::nullptr_t) noexcept {} + MobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandTransmissionStateChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs + { + MobileBroadbandTransmissionStateChangedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandTransmissionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandUicc : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc + { + MobileBroadbandUicc(std::nullptr_t) noexcept {} + MobileBroadbandUicc(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandUiccApp : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp + { + MobileBroadbandUiccApp(std::nullptr_t) noexcept {} + MobileBroadbandUiccApp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandUiccAppReadRecordResult : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult + { + MobileBroadbandUiccAppReadRecordResult(std::nullptr_t) noexcept {} + MobileBroadbandUiccAppReadRecordResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandUiccAppRecordDetailsResult : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult + { + MobileBroadbandUiccAppRecordDetailsResult(std::nullptr_t) noexcept {} + MobileBroadbandUiccAppRecordDetailsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MobileBroadbandUiccAppsResult : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult + { + MobileBroadbandUiccAppsResult(std::nullptr_t) noexcept {} + MobileBroadbandUiccAppsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorDataUsageTriggerDetails : winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails + { + NetworkOperatorDataUsageTriggerDetails(std::nullptr_t) noexcept {} + NetworkOperatorDataUsageTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorNotificationEventDetails : winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails, + impl::require + { + NetworkOperatorNotificationEventDetails(std::nullptr_t) noexcept {} + NetworkOperatorNotificationEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorTetheringAccessPointConfiguration : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration, + impl::require + { + NetworkOperatorTetheringAccessPointConfiguration(std::nullptr_t) noexcept {} + NetworkOperatorTetheringAccessPointConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration(ptr, take_ownership_from_abi) {} + NetworkOperatorTetheringAccessPointConfiguration(); + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorTetheringClient : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient + { + NetworkOperatorTetheringClient(std::nullptr_t) noexcept {} + NetworkOperatorTetheringClient(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorTetheringManager : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager, + impl::require + { + NetworkOperatorTetheringManager(std::nullptr_t) noexcept {} + NetworkOperatorTetheringManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager(ptr, take_ownership_from_abi) {} + using winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager::StartTetheringAsync; + using impl::consume_t::StartTetheringAsync; + static auto GetTetheringCapability(param::hstring const& networkAccountId); + static auto CreateFromNetworkAccountId(param::hstring const& networkAccountId); + static auto GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile); + static auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile); + static auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter); + static auto IsNoConnectionsTimeoutEnabled(); + static auto EnableNoConnectionsTimeout(); + static auto EnableNoConnectionsTimeoutAsync(); + static auto DisableNoConnectionsTimeout(); + static auto DisableNoConnectionsTimeoutAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorTetheringOperationResult : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult + { + NetworkOperatorTetheringOperationResult(std::nullptr_t) noexcept {} + NetworkOperatorTetheringOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES NetworkOperatorTetheringSessionAccessPointConfiguration : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration + { + NetworkOperatorTetheringSessionAccessPointConfiguration(std::nullptr_t) noexcept {} + NetworkOperatorTetheringSessionAccessPointConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration(ptr, take_ownership_from_abi) {} + NetworkOperatorTetheringSessionAccessPointConfiguration(); + }; + struct WINRT_IMPL_EMPTY_BASES ProvisionFromXmlDocumentResults : winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults + { + ProvisionFromXmlDocumentResults(std::nullptr_t) noexcept {} + ProvisionFromXmlDocumentResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProvisionedProfile : winrt::Windows::Networking::NetworkOperators::IProvisionedProfile + { + ProvisionedProfile(std::nullptr_t) noexcept {} + ProvisionedProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IProvisionedProfile(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProvisioningAgent : winrt::Windows::Networking::NetworkOperators::IProvisioningAgent + { + ProvisioningAgent(std::nullptr_t) noexcept {} + ProvisioningAgent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IProvisioningAgent(ptr, take_ownership_from_abi) {} + ProvisioningAgent(); + static auto CreateFromNetworkAccountId(param::hstring const& networkAccountId); + }; + struct WINRT_IMPL_EMPTY_BASES TetheringEntitlementCheckTriggerDetails : winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails + { + TetheringEntitlementCheckTriggerDetails(std::nullptr_t) noexcept {} + TetheringEntitlementCheckTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UssdMessage : winrt::Windows::Networking::NetworkOperators::IUssdMessage + { + UssdMessage(std::nullptr_t) noexcept {} + UssdMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IUssdMessage(ptr, take_ownership_from_abi) {} + explicit UssdMessage(param::hstring const& messageText); + }; + struct WINRT_IMPL_EMPTY_BASES UssdReply : winrt::Windows::Networking::NetworkOperators::IUssdReply + { + UssdReply(std::nullptr_t) noexcept {} + UssdReply(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IUssdReply(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UssdSession : winrt::Windows::Networking::NetworkOperators::IUssdSession + { + UssdSession(std::nullptr_t) noexcept {} + UssdSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IUssdSession(ptr, take_ownership_from_abi) {} + static auto CreateFromNetworkAccountId(param::hstring const& networkAccountId); + static auto CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.0.h new file mode 100644 index 0000000000000000000000000000000000000000..7d21b509dadd6c8f27c2e0a1fe1a952d7ed3902f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.0.h @@ -0,0 +1,496 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Proximity_0_H +#define WINRT_Windows_Networking_Proximity_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct StreamSocket; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Proximity +{ + enum class PeerDiscoveryTypes : uint32_t + { + None = 0, + Browse = 0x1, + Triggered = 0x2, + }; + enum class PeerRole : int32_t + { + Peer = 0, + Host = 1, + Client = 2, + }; + enum class PeerWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopping = 3, + Stopped = 4, + Aborted = 5, + }; + enum class TriggeredConnectState : int32_t + { + PeerFound = 0, + Listening = 1, + Connecting = 2, + Completed = 3, + Canceled = 4, + Failed = 5, + }; + struct IConnectionRequestedEventArgs; + struct IPeerFinderStatics; + struct IPeerFinderStatics2; + struct IPeerInformation; + struct IPeerInformation3; + struct IPeerInformationWithHostAndService; + struct IPeerWatcher; + struct IProximityDevice; + struct IProximityDeviceStatics; + struct IProximityMessage; + struct ITriggeredConnectionStateChangedEventArgs; + struct ConnectionRequestedEventArgs; + struct PeerFinder; + struct PeerInformation; + struct PeerWatcher; + struct ProximityDevice; + struct ProximityMessage; + struct TriggeredConnectionStateChangedEventArgs; + struct DeviceArrivedEventHandler; + struct DeviceDepartedEventHandler; + struct MessageReceivedHandler; + struct MessageTransmittedHandler; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.ConnectionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerFinder"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.ProximityDevice"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.ProximityMessage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerDiscoveryTypes"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerRole"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.PeerWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.TriggeredConnectState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IConnectionRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerFinderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerFinderStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerInformation3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerInformationWithHostAndService"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IPeerWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IProximityDevice"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IProximityDeviceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.IProximityMessage"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.ITriggeredConnectionStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.DeviceArrivedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.DeviceDepartedEventHandler"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.MessageReceivedHandler"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Proximity.MessageTransmittedHandler"; + template <> inline constexpr guid guid_v{ 0xEB6891AE,0x4F1E,0x4C66,{ 0xBD,0x0D,0x46,0x92,0x4A,0x94,0x2E,0x08 } }; // EB6891AE-4F1E-4C66-BD0D-46924A942E08 + template <> inline constexpr guid guid_v{ 0x914B3B61,0xF6E1,0x47C4,{ 0xA1,0x4C,0x14,0x8A,0x19,0x03,0xD0,0xC6 } }; // 914B3B61-F6E1-47C4-A14C-148A1903D0C6 + template <> inline constexpr guid guid_v{ 0xD6E73C65,0xFDD0,0x4B0B,{ 0x93,0x12,0x86,0x64,0x08,0x93,0x5D,0x82 } }; // D6E73C65-FDD0-4B0B-9312-866408935D82 + template <> inline constexpr guid guid_v{ 0x20024F08,0x9FFF,0x45F4,{ 0xB6,0xE9,0x40,0x8B,0x2E,0xBE,0xF3,0x73 } }; // 20024F08-9FFF-45F4-B6E9-408B2EBEF373 + template <> inline constexpr guid guid_v{ 0xB20F612A,0xDBD0,0x40F8,{ 0x95,0xBD,0x2D,0x42,0x09,0xC7,0x83,0x6F } }; // B20F612A-DBD0-40F8-95BD-2D4209C7836F + template <> inline constexpr guid guid_v{ 0xECC7CCAD,0x1B70,0x4E8B,{ 0x92,0xDB,0xBB,0xE7,0x81,0x41,0x93,0x08 } }; // ECC7CCAD-1B70-4E8B-92DB-BBE781419308 + template <> inline constexpr guid guid_v{ 0x3CEE21F8,0x2FA6,0x4679,{ 0x96,0x91,0x03,0xC9,0x4A,0x42,0x0F,0x34 } }; // 3CEE21F8-2FA6-4679-9691-03C94A420F34 + template <> inline constexpr guid guid_v{ 0xEFA8A552,0xF6E1,0x4329,{ 0xA0,0xFC,0xAB,0x6B,0x0F,0xD2,0x82,0x62 } }; // EFA8A552-F6E1-4329-A0FC-AB6B0FD28262 + template <> inline constexpr guid guid_v{ 0x914BA01D,0xF6E1,0x47C4,{ 0xA1,0x4C,0x14,0x8A,0x19,0x03,0xD0,0xC6 } }; // 914BA01D-F6E1-47C4-A14C-148A1903D0C6 + template <> inline constexpr guid guid_v{ 0xEFAB0782,0xF6E1,0x4675,{ 0xA0,0x45,0xD8,0xE3,0x20,0xC2,0x48,0x08 } }; // EFAB0782-F6E1-4675-A045-D8E320C24808 + template <> inline constexpr guid guid_v{ 0xC6A780AD,0xF6E1,0x4D54,{ 0x96,0xE2,0x33,0xF6,0x20,0xBC,0xA8,0x8A } }; // C6A780AD-F6E1-4D54-96E2-33F620BCA88A + template <> inline constexpr guid guid_v{ 0xEFA9DA69,0xF6E1,0x49C9,{ 0xA4,0x9E,0x8E,0x0F,0xC5,0x8F,0xB9,0x11 } }; // EFA9DA69-F6E1-49C9-A49E-8E0FC58FB911 + template <> inline constexpr guid guid_v{ 0xEFA9DA69,0xF6E2,0x49C9,{ 0xA4,0x9E,0x8E,0x0F,0xC5,0x8F,0xB9,0x11 } }; // EFA9DA69-F6E2-49C9-A49E-8E0FC58FB911 + template <> inline constexpr guid guid_v{ 0xEFAB0782,0xF6E2,0x4675,{ 0xA0,0x45,0xD8,0xE3,0x20,0xC2,0x48,0x08 } }; // EFAB0782-F6E2-4675-A045-D8E320C24808 + template <> inline constexpr guid guid_v{ 0xEFAA0B4A,0xF6E2,0x4D7D,{ 0x85,0x6C,0x78,0xFC,0x8E,0xFC,0x02,0x1E } }; // EFAA0B4A-F6E2-4D7D-856C-78FC8EFC021E + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::IConnectionRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::IPeerInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::IPeerWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::IProximityDevice; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::IProximityMessage; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PeerInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowBluetooth(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowBluetooth(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowInfrastructure(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowInfrastructure(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowWiFiDirect(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWiFiDirect(bool) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_SupportedDiscoveryTypes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_AlternateIdentities(void**) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall StartWithMessage(void*) noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall add_TriggeredConnectionStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TriggeredConnectionStateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ConnectionRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall FindAllPeersAsync(void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Role(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Role(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DiscoveryData(void**) noexcept = 0; + virtual int32_t __stdcall put_DiscoveryData(void*) noexcept = 0; + virtual int32_t __stdcall CreateWatcher(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DiscoveryData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HostName(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SubscribeForMessage(void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishMessage(void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishMessageWithCallback(void*, void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishBinaryMessage(void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishBinaryMessageWithCallback(void*, void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishUriMessage(void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall PublishUriMessageWithCallback(void*, void*, int64_t*) noexcept = 0; + virtual int32_t __stdcall StopSubscribingForMessage(int64_t) noexcept = 0; + virtual int32_t __stdcall StopPublishingMessage(int64_t) noexcept = 0; + virtual int32_t __stdcall add_DeviceArrived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DeviceArrived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DeviceDeparted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DeviceDeparted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_MaxMessageBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_BitsPerSecond(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall FromId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(void**) noexcept = 0; + virtual int32_t __stdcall get_SubscriptionId(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + virtual int32_t __stdcall get_DataAsString(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Socket(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, int64_t) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs + { + [[nodiscard]] auto PeerInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs; + }; + template + struct consume_Windows_Networking_Proximity_IPeerFinderStatics + { + [[nodiscard]] auto AllowBluetooth() const; + auto AllowBluetooth(bool value) const; + [[nodiscard]] auto AllowInfrastructure() const; + auto AllowInfrastructure(bool value) const; + [[nodiscard]] auto AllowWiFiDirect() const; + auto AllowWiFiDirect(bool value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto SupportedDiscoveryTypes() const; + [[nodiscard]] auto AlternateIdentities() const; + auto Start() const; + auto Start(param::hstring const& peerMessage) const; + auto Stop() const; + auto TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TriggeredConnectionStateChanged_revoker = impl::event_revoker::remove_TriggeredConnectionStateChanged>; + [[nodiscard]] auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept; + auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ConnectionRequested_revoker = impl::event_revoker::remove_ConnectionRequested>; + [[nodiscard]] auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionRequested(winrt::event_token const& cookie) const noexcept; + auto FindAllPeersAsync() const; + auto ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerFinderStatics; + }; + template + struct consume_Windows_Networking_Proximity_IPeerFinderStatics2 + { + [[nodiscard]] auto Role() const; + auto Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const; + [[nodiscard]] auto DiscoveryData() const; + auto DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CreateWatcher() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerFinderStatics2; + }; + template + struct consume_Windows_Networking_Proximity_IPeerInformation + { + [[nodiscard]] auto DisplayName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerInformation; + }; + template + struct consume_Windows_Networking_Proximity_IPeerInformation3 + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DiscoveryData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerInformation3; + }; + template + struct consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService + { + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto ServiceName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService; + }; + template + struct consume_Windows_Networking_Proximity_IPeerWatcher + { + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IPeerWatcher; + }; + template + struct consume_Windows_Networking_Proximity_IProximityDevice + { + auto SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const; + auto PublishMessage(param::hstring const& messageType, param::hstring const& message) const; + auto PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const; + auto PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const; + auto PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto StopSubscribingForMessage(int64_t subscriptionId) const; + auto StopPublishingMessage(int64_t messageId) const; + auto DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; + using DeviceArrived_revoker = impl::event_revoker::remove_DeviceArrived>; + [[nodiscard]] auto DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; + auto DeviceArrived(winrt::event_token const& cookie) const noexcept; + auto DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; + using DeviceDeparted_revoker = impl::event_revoker::remove_DeviceDeparted>; + [[nodiscard]] auto DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; + auto DeviceDeparted(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto MaxMessageBytes() const; + [[nodiscard]] auto BitsPerSecond() const; + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IProximityDevice; + }; + template + struct consume_Windows_Networking_Proximity_IProximityDeviceStatics + { + auto GetDeviceSelector() const; + auto GetDefault() const; + auto FromId(param::hstring const& deviceId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IProximityDeviceStatics; + }; + template + struct consume_Windows_Networking_Proximity_IProximityMessage + { + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto SubscriptionId() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto DataAsString() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_IProximityMessage; + }; + template + struct consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Socket() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3eace09ed07a40212c6ff507852d5befaee23672 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.1.h @@ -0,0 +1,90 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Proximity_1_H +#define WINRT_Windows_Networking_Proximity_1_H +#include "winrt/impl/Windows.Networking.Proximity.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Proximity +{ + struct WINRT_IMPL_EMPTY_BASES IConnectionRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IConnectionRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IConnectionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerFinderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerFinderStatics(std::nullptr_t = nullptr) noexcept {} + IPeerFinderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerFinderStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerFinderStatics2(std::nullptr_t = nullptr) noexcept {} + IPeerFinderStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerInformation(std::nullptr_t = nullptr) noexcept {} + IPeerInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerInformation3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerInformation3(std::nullptr_t = nullptr) noexcept {} + IPeerInformation3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerInformationWithHostAndService : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerInformationWithHostAndService(std::nullptr_t = nullptr) noexcept {} + IPeerInformationWithHostAndService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPeerWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPeerWatcher(std::nullptr_t = nullptr) noexcept {} + IPeerWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximityDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximityDevice(std::nullptr_t = nullptr) noexcept {} + IProximityDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximityDeviceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximityDeviceStatics(std::nullptr_t = nullptr) noexcept {} + IProximityDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProximityMessage : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProximityMessage(std::nullptr_t = nullptr) noexcept {} + IProximityMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ITriggeredConnectionStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITriggeredConnectionStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ITriggeredConnectionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.2.h new file mode 100644 index 0000000000000000000000000000000000000000..4f419ca6e0010d28465b51b2d559989221989db3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.proximity.2.h @@ -0,0 +1,133 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Proximity_2_H +#define WINRT_Windows_Networking_Proximity_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Networking.Proximity.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Proximity +{ + struct DeviceArrivedEventHandler : winrt::Windows::Foundation::IUnknown + { + DeviceArrivedEventHandler(std::nullptr_t = nullptr) noexcept {} + DeviceArrivedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DeviceArrivedEventHandler(L lambda); + template DeviceArrivedEventHandler(F* function); + template DeviceArrivedEventHandler(O* object, M method); + template DeviceArrivedEventHandler(com_ptr&& object, M method); + template DeviceArrivedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template DeviceArrivedEventHandler(std::shared_ptr&& object, M method); + template DeviceArrivedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Networking::Proximity::ProximityDevice const& sender) const; + }; + struct DeviceDepartedEventHandler : winrt::Windows::Foundation::IUnknown + { + DeviceDepartedEventHandler(std::nullptr_t = nullptr) noexcept {} + DeviceDepartedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template DeviceDepartedEventHandler(L lambda); + template DeviceDepartedEventHandler(F* function); + template DeviceDepartedEventHandler(O* object, M method); + template DeviceDepartedEventHandler(com_ptr&& object, M method); + template DeviceDepartedEventHandler(weak_ref&& object, LM&& lambda_or_method); + template DeviceDepartedEventHandler(std::shared_ptr&& object, M method); + template DeviceDepartedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Networking::Proximity::ProximityDevice const& sender) const; + }; + struct MessageReceivedHandler : winrt::Windows::Foundation::IUnknown + { + MessageReceivedHandler(std::nullptr_t = nullptr) noexcept {} + MessageReceivedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template MessageReceivedHandler(L lambda); + template MessageReceivedHandler(F* function); + template MessageReceivedHandler(O* object, M method); + template MessageReceivedHandler(com_ptr&& object, M method); + template MessageReceivedHandler(weak_ref&& object, LM&& lambda_or_method); + template MessageReceivedHandler(std::shared_ptr&& object, M method); + template MessageReceivedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Networking::Proximity::ProximityDevice const& sender, winrt::Windows::Networking::Proximity::ProximityMessage const& message) const; + }; + struct MessageTransmittedHandler : winrt::Windows::Foundation::IUnknown + { + MessageTransmittedHandler(std::nullptr_t = nullptr) noexcept {} + MessageTransmittedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template MessageTransmittedHandler(L lambda); + template MessageTransmittedHandler(F* function); + template MessageTransmittedHandler(O* object, M method); + template MessageTransmittedHandler(com_ptr&& object, M method); + template MessageTransmittedHandler(weak_ref&& object, LM&& lambda_or_method); + template MessageTransmittedHandler(std::shared_ptr&& object, M method); + template MessageTransmittedHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Networking::Proximity::ProximityDevice const& sender, int64_t messageId) const; + }; + struct WINRT_IMPL_EMPTY_BASES ConnectionRequestedEventArgs : winrt::Windows::Networking::Proximity::IConnectionRequestedEventArgs + { + ConnectionRequestedEventArgs(std::nullptr_t) noexcept {} + ConnectionRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::IConnectionRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct PeerFinder + { + PeerFinder() = delete; + [[nodiscard]] static auto AllowBluetooth(); + static auto AllowBluetooth(bool value); + [[nodiscard]] static auto AllowInfrastructure(); + static auto AllowInfrastructure(bool value); + [[nodiscard]] static auto AllowWiFiDirect(); + static auto AllowWiFiDirect(bool value); + [[nodiscard]] static auto DisplayName(); + static auto DisplayName(param::hstring const& value); + [[nodiscard]] static auto SupportedDiscoveryTypes(); + [[nodiscard]] static auto AlternateIdentities(); + static auto Start(); + static auto Start(param::hstring const& peerMessage); + static auto Stop(); + static auto TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); + using TriggeredConnectionStateChanged_revoker = impl::factory_event_revoker::remove_TriggeredConnectionStateChanged>; + [[nodiscard]] static auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + static auto TriggeredConnectionStateChanged(winrt::event_token const& cookie); + static auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler); + using ConnectionRequested_revoker = impl::factory_event_revoker::remove_ConnectionRequested>; + [[nodiscard]] static auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + static auto ConnectionRequested(winrt::event_token const& cookie); + static auto FindAllPeersAsync(); + static auto ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation); + [[nodiscard]] static auto Role(); + static auto Role(winrt::Windows::Networking::Proximity::PeerRole const& value); + [[nodiscard]] static auto DiscoveryData(); + static auto DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value); + static auto CreateWatcher(); + }; + struct WINRT_IMPL_EMPTY_BASES PeerInformation : winrt::Windows::Networking::Proximity::IPeerInformation, + impl::require + { + PeerInformation(std::nullptr_t) noexcept {} + PeerInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::IPeerInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PeerWatcher : winrt::Windows::Networking::Proximity::IPeerWatcher + { + PeerWatcher(std::nullptr_t) noexcept {} + PeerWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::IPeerWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProximityDevice : winrt::Windows::Networking::Proximity::IProximityDevice + { + ProximityDevice(std::nullptr_t) noexcept {} + ProximityDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::IProximityDevice(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto GetDefault(); + static auto FromId(param::hstring const& deviceId); + }; + struct WINRT_IMPL_EMPTY_BASES ProximityMessage : winrt::Windows::Networking::Proximity::IProximityMessage + { + ProximityMessage(std::nullptr_t) noexcept {} + ProximityMessage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::IProximityMessage(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES TriggeredConnectionStateChangedEventArgs : winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs + { + TriggeredConnectionStateChangedEventArgs(std::nullptr_t) noexcept {} + TriggeredConnectionStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f2b1359931b84a339059794c493528952d2e6b17 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.0.h @@ -0,0 +1,346 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_PushNotifications_0_H +#define WINRT_Windows_Networking_PushNotifications_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::UI::Notifications +{ + struct BadgeNotification; + struct TileNotification; + struct ToastNotification; +} +WINRT_EXPORT namespace winrt::Windows::Networking::PushNotifications +{ + enum class PushNotificationType : int32_t + { + Toast = 0, + Tile = 1, + Badge = 2, + Raw = 3, + TileFlyout = 4, + }; + struct IPushNotificationChannel; + struct IPushNotificationChannelManagerForUser; + struct IPushNotificationChannelManagerForUser2; + struct IPushNotificationChannelManagerStatics; + struct IPushNotificationChannelManagerStatics2; + struct IPushNotificationChannelManagerStatics3; + struct IPushNotificationChannelManagerStatics4; + struct IPushNotificationChannelsRevokedEventArgs; + struct IPushNotificationReceivedEventArgs; + struct IRawNotification; + struct IRawNotification2; + struct IRawNotification3; + struct PushNotificationChannel; + struct PushNotificationChannelManager; + struct PushNotificationChannelManagerForUser; + struct PushNotificationChannelsRevokedEventArgs; + struct PushNotificationReceivedEventArgs; + struct RawNotification; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationChannel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationChannelManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.RawNotification"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.PushNotificationType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerForUser"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerForUser2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelManagerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationChannelsRevokedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IPushNotificationReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IRawNotification"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IRawNotification2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.PushNotifications.IRawNotification3"; + template <> inline constexpr guid guid_v{ 0x2B28102E,0xEF0B,0x4F39,{ 0x9B,0x8A,0xA3,0xC1,0x94,0xDE,0x70,0x81 } }; // 2B28102E-EF0B-4F39-9B8A-A3C194DE7081 + template <> inline constexpr guid guid_v{ 0xA4C45704,0x1182,0x42C7,{ 0x88,0x90,0xF5,0x63,0xC4,0x89,0x0D,0xC4 } }; // A4C45704-1182-42C7-8890-F563C4890DC4 + template <> inline constexpr guid guid_v{ 0xC38B066A,0x7CC1,0x4DAC,{ 0x87,0xFD,0xBE,0x6E,0x92,0x04,0x14,0xA4 } }; // C38B066A-7CC1-4DAC-87FD-BE6E920414A4 + template <> inline constexpr guid guid_v{ 0x8BAF9B65,0x77A1,0x4588,{ 0xBD,0x19,0x86,0x15,0x29,0xA9,0xDC,0xF0 } }; // 8BAF9B65-77A1-4588-BD19-861529A9DCF0 + template <> inline constexpr guid guid_v{ 0xB444A65D,0xA7E9,0x4B28,{ 0x95,0x0E,0xF3,0x75,0xA9,0x07,0xF9,0xDF } }; // B444A65D-A7E9-4B28-950E-F375A907F9DF + template <> inline constexpr guid guid_v{ 0x4701FEFE,0x0EDE,0x4A3F,{ 0xAE,0x78,0xBF,0xA4,0x71,0x49,0x69,0x25 } }; // 4701FEFE-0EDE-4A3F-AE78-BFA471496925 + template <> inline constexpr guid guid_v{ 0xBC540EFB,0x7820,0x5A5B,{ 0x9C,0x01,0xB4,0x75,0x7F,0x77,0x40,0x25 } }; // BC540EFB-7820-5A5B-9C01-B4757F774025 + template <> inline constexpr guid guid_v{ 0x20E1A24C,0x1A34,0x5BEB,{ 0xAA,0xE2,0x40,0xC2,0x32,0xC8,0xC1,0x40 } }; // 20E1A24C-1A34-5BEB-AAE2-40C232C8C140 + template <> inline constexpr guid guid_v{ 0xD1065E0C,0x36CD,0x484C,{ 0xB9,0x35,0x0A,0x99,0xB7,0x53,0xCF,0x00 } }; // D1065E0C-36CD-484C-B935-0A99B753CF00 + template <> inline constexpr guid guid_v{ 0x1A227281,0x3B79,0x42AC,{ 0x99,0x63,0x22,0xAB,0x00,0xD4,0xF0,0xB7 } }; // 1A227281-3B79-42AC-9963-22AB00D4F0B7 + template <> inline constexpr guid guid_v{ 0xE6D0CF19,0x0C6F,0x4CDD,{ 0x94,0x24,0xEE,0xC5,0xBE,0x01,0x4D,0x26 } }; // E6D0CF19-0C6F-4CDD-9424-EEC5BE014D26 + template <> inline constexpr guid guid_v{ 0x62737DDE,0x8A73,0x424C,{ 0xAB,0x44,0x56,0x35,0xF4,0x0A,0x96,0xE5 } }; // 62737DDE-8A73-424C-AB44-5635F40A96E5 + template <> struct default_interface{ using type = winrt::Windows::Networking::PushNotifications::IPushNotificationChannel; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::PushNotifications::IPushNotificationChannelsRevokedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::PushNotifications::IRawNotification; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall get_ExpirationTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + virtual int32_t __stdcall add_PushNotificationReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PushNotificationReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePushNotificationChannelForApplicationAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreatePushNotificationChannelForApplicationAsyncWithId(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreatePushNotificationChannelForSecondaryTileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePushNotificationChannelForApplicationAsync(void**) noexcept = 0; + virtual int32_t __stdcall CreatePushNotificationChannelForApplicationAsyncWithId(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreatePushNotificationChannelForSecondaryTileAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ChannelsRevoked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ChannelsRevoked(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Cancel(bool) noexcept = 0; + virtual int32_t __stdcall get_Cancel(bool*) noexcept = 0; + virtual int32_t __stdcall get_NotificationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ToastNotification(void**) noexcept = 0; + virtual int32_t __stdcall get_TileNotification(void**) noexcept = 0; + virtual int32_t __stdcall get_BadgeNotification(void**) noexcept = 0; + virtual int32_t __stdcall get_RawNotification(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Content(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Headers(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentBytes(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannel + { + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto ExpirationTime() const; + auto Close() const; + auto PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PushNotificationReceived_revoker = impl::event_revoker::remove_PushNotificationReceived>; + [[nodiscard]] auto PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PushNotificationReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannel; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser + { + auto CreatePushNotificationChannelForApplicationAsync() const; + auto CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; + auto CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2 + { + auto CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const; + auto CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics + { + auto CreatePushNotificationChannelForApplicationAsync() const; + auto CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; + auto CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2 + { + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3 + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4 + { + auto ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; + using ChannelsRevoked_revoker = impl::event_revoker::remove_ChannelsRevoked>; + [[nodiscard]] auto ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelsRevoked(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelsRevokedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationChannelsRevokedEventArgs; + }; + template + struct consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs + { + auto Cancel(bool value) const; + [[nodiscard]] auto Cancel() const; + [[nodiscard]] auto NotificationType() const; + [[nodiscard]] auto ToastNotification() const; + [[nodiscard]] auto TileNotification() const; + [[nodiscard]] auto BadgeNotification() const; + [[nodiscard]] auto RawNotification() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs; + }; + template + struct consume_Windows_Networking_PushNotifications_IRawNotification + { + [[nodiscard]] auto Content() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IRawNotification; + }; + template + struct consume_Windows_Networking_PushNotifications_IRawNotification2 + { + [[nodiscard]] auto Headers() const; + [[nodiscard]] auto ChannelId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IRawNotification2; + }; + template + struct consume_Windows_Networking_PushNotifications_IRawNotification3 + { + [[nodiscard]] auto ContentBytes() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_PushNotifications_IRawNotification3; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a1843596401e58a8cae447adfb3488144374491e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.1.h @@ -0,0 +1,97 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_PushNotifications_1_H +#define WINRT_Windows_Networking_PushNotifications_1_H +#include "winrt/impl/Windows.Networking.PushNotifications.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::PushNotifications +{ + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannel(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerForUser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerForUser(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerForUser2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerForUser2(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerForUser2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerStatics(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelManagerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelManagerStatics4(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelManagerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationChannelsRevokedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationChannelsRevokedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPushNotificationChannelsRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPushNotificationReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPushNotificationReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IPushNotificationReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawNotification : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRawNotification(std::nullptr_t = nullptr) noexcept {} + IRawNotification(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawNotification2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRawNotification2(std::nullptr_t = nullptr) noexcept {} + IRawNotification2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IRawNotification3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRawNotification3(std::nullptr_t = nullptr) noexcept {} + IRawNotification3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a8c96910af4096580e3b38c1900bbf5178a22e77 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.pushnotifications.2.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_PushNotifications_2_H +#define WINRT_Windows_Networking_PushNotifications_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Networking.PushNotifications.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::PushNotifications +{ + struct WINRT_IMPL_EMPTY_BASES PushNotificationChannel : winrt::Windows::Networking::PushNotifications::IPushNotificationChannel + { + PushNotificationChannel(std::nullptr_t) noexcept {} + PushNotificationChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::PushNotifications::IPushNotificationChannel(ptr, take_ownership_from_abi) {} + }; + struct PushNotificationChannelManager + { + PushNotificationChannelManager() = delete; + static auto CreatePushNotificationChannelForApplicationAsync(); + static auto CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId); + static auto CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId); + static auto GetForUser(winrt::Windows::System::User const& user); + static auto GetDefault(); + static auto ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler); + using ChannelsRevoked_revoker = impl::factory_event_revoker::remove_ChannelsRevoked>; + [[nodiscard]] static auto ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ChannelsRevoked(winrt::event_token const& token); + }; + struct WINRT_IMPL_EMPTY_BASES PushNotificationChannelManagerForUser : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser, + impl::require + { + PushNotificationChannelManagerForUser(std::nullptr_t) noexcept {} + PushNotificationChannelManagerForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PushNotificationChannelsRevokedEventArgs : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelsRevokedEventArgs + { + PushNotificationChannelsRevokedEventArgs(std::nullptr_t) noexcept {} + PushNotificationChannelsRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelsRevokedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PushNotificationReceivedEventArgs : winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs + { + PushNotificationReceivedEventArgs(std::nullptr_t) noexcept {} + PushNotificationReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES RawNotification : winrt::Windows::Networking::PushNotifications::IRawNotification, + impl::require + { + RawNotification(std::nullptr_t) noexcept {} + RawNotification(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::PushNotifications::IRawNotification(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a5e63b7ab9db8861012cb63219c701258abf5cb5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.0.h @@ -0,0 +1,207 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_0_H +#define WINRT_Windows_Networking_ServiceDiscovery_Dnssd_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct NetworkAdapter; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct DatagramSocket; + struct StreamSocketListener; +} +WINRT_EXPORT namespace winrt::Windows::Networking::ServiceDiscovery::Dnssd +{ + enum class DnssdRegistrationStatus : int32_t + { + Success = 0, + InvalidServiceName = 1, + ServerError = 2, + SecurityError = 3, + }; + enum class DnssdServiceWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopping = 3, + Stopped = 4, + Aborted = 5, + }; + struct IDnssdRegistrationResult; + struct IDnssdServiceInstance; + struct IDnssdServiceInstanceFactory; + struct IDnssdServiceWatcher; + struct DnssdRegistrationResult; + struct DnssdServiceInstance; + struct DnssdServiceInstanceCollection; + struct DnssdServiceWatcher; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstanceCollection"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.IDnssdRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.IDnssdServiceInstance"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.IDnssdServiceInstanceFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.ServiceDiscovery.Dnssd.IDnssdServiceWatcher"; + template <> inline constexpr guid guid_v{ 0x3D786AD2,0xE606,0x5350,{ 0x73,0xEA,0x7E,0x97,0xF0,0x66,0x16,0x2F } }; // 3D786AD2-E606-5350-73EA-7E97F066162F + template <> inline constexpr guid guid_v{ 0xE246DB7E,0x98A5,0x4CA1,{ 0xB9,0xE4,0xC2,0x53,0xD3,0x3C,0x35,0xFF } }; // E246DB7E-98A5-4CA1-B9E4-C253D33C35FF + template <> inline constexpr guid guid_v{ 0x6CB061A1,0xC478,0x4331,{ 0x96,0x84,0x4A,0xF2,0x18,0x6C,0x0A,0x2B } }; // 6CB061A1-C478-4331-9684-4AF2186C0A2B + template <> inline constexpr guid guid_v{ 0xCC34D9C1,0xDB7D,0x4B69,{ 0x98,0x3D,0xC6,0xF8,0x3F,0x20,0x56,0x82 } }; // CC34D9C1-DB7D-4B69-983D-C6F83F205682 + template <> struct default_interface{ using type = winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IPAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_HasInstanceNameChanged(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DnssdServiceInstanceName(void**) noexcept = 0; + virtual int32_t __stdcall put_DnssdServiceInstanceName(void*) noexcept = 0; + virtual int32_t __stdcall get_HostName(void**) noexcept = 0; + virtual int32_t __stdcall put_HostName(void*) noexcept = 0; + virtual int32_t __stdcall get_Port(uint16_t*) noexcept = 0; + virtual int32_t __stdcall put_Port(uint16_t) noexcept = 0; + virtual int32_t __stdcall get_Priority(uint16_t*) noexcept = 0; + virtual int32_t __stdcall put_Priority(uint16_t) noexcept = 0; + virtual int32_t __stdcall get_Weight(uint16_t*) noexcept = 0; + virtual int32_t __stdcall put_Weight(uint16_t) noexcept = 0; + virtual int32_t __stdcall get_TextAttributes(void**) noexcept = 0; + virtual int32_t __stdcall RegisterStreamSocketListenerAsync1(void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterStreamSocketListenerAsync2(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterDatagramSocketAsync1(void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterDatagramSocketAsync2(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, uint16_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IPAddress() const; + [[nodiscard]] auto HasInstanceNameChanged() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult; + }; + template + struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance + { + [[nodiscard]] auto DnssdServiceInstanceName() const; + auto DnssdServiceInstanceName(param::hstring const& value) const; + [[nodiscard]] auto HostName() const; + auto HostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto Port() const; + auto Port(uint16_t value) const; + [[nodiscard]] auto Priority() const; + auto Priority(uint16_t value) const; + [[nodiscard]] auto Weight() const; + auto Weight(uint16_t value) const; + [[nodiscard]] auto TextAttributes() const; + auto RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const; + auto RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const; + auto RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance; + }; + template + struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory + { + auto Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory; + }; + template + struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher + { + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.1.h new file mode 100644 index 0000000000000000000000000000000000000000..97467680bd60f38cdcecb94b8804ed3c8c12d5f2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_1_H +#define WINRT_Windows_Networking_ServiceDiscovery_Dnssd_1_H +#include "winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::ServiceDiscovery::Dnssd +{ + struct WINRT_IMPL_EMPTY_BASES IDnssdRegistrationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDnssdRegistrationResult(std::nullptr_t = nullptr) noexcept {} + IDnssdRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDnssdServiceInstance : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDnssdServiceInstance(std::nullptr_t = nullptr) noexcept {} + IDnssdServiceInstance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDnssdServiceInstanceFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDnssdServiceInstanceFactory(std::nullptr_t = nullptr) noexcept {} + IDnssdServiceInstanceFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDnssdServiceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDnssdServiceWatcher(std::nullptr_t = nullptr) noexcept {} + IDnssdServiceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3863262d4c49c9e7b5392f3074fff8fedf19f0c2 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.servicediscovery.dnssd.2.h @@ -0,0 +1,40 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_2_H +#define WINRT_Windows_Networking_ServiceDiscovery_Dnssd_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::ServiceDiscovery::Dnssd +{ + struct WINRT_IMPL_EMPTY_BASES DnssdRegistrationResult : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult, + impl::require + { + DnssdRegistrationResult(std::nullptr_t) noexcept {} + DnssdRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult(ptr, take_ownership_from_abi) {} + DnssdRegistrationResult(); + }; + struct WINRT_IMPL_EMPTY_BASES DnssdServiceInstance : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance, + impl::require + { + DnssdServiceInstance(std::nullptr_t) noexcept {} + DnssdServiceInstance(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance(ptr, take_ownership_from_abi) {} + DnssdServiceInstance(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port); + }; + struct WINRT_IMPL_EMPTY_BASES DnssdServiceInstanceCollection : winrt::Windows::Foundation::Collections::IVectorView + { + DnssdServiceInstanceCollection(std::nullptr_t) noexcept {} + DnssdServiceInstanceCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DnssdServiceWatcher : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher + { + DnssdServiceWatcher(std::nullptr_t) noexcept {} + DnssdServiceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.0.h new file mode 100644 index 0000000000000000000000000000000000000000..72edde25fe0c047c11f6bcf9f2e0b5f1b0eaee28 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.0.h @@ -0,0 +1,1930 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Sockets_0_H +#define WINRT_Windows_Networking_Sockets_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Background +{ + struct IBackgroundTask; + struct IBackgroundTrigger; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct EndpointPair; + struct HostName; + enum class HostNameSortOptions : uint32_t; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity +{ + struct NetworkAdapter; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + struct Certificate; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct DataReader; + struct IBuffer; + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Web +{ + enum class WebErrorStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + enum class ControlChannelTriggerResetReason : int32_t + { + FastUserSwitched = 0, + LowPowerExit = 1, + QuietHoursExit = 2, + ApplicationRestart = 3, + }; + enum class ControlChannelTriggerResourceType : int32_t + { + RequestSoftwareSlot = 0, + RequestHardwareSlot = 1, + }; + enum class ControlChannelTriggerStatus : int32_t + { + HardwareSlotRequested = 0, + SoftwareSlotAllocated = 1, + HardwareSlotAllocated = 2, + PolicyError = 3, + SystemError = 4, + TransportDisconnected = 5, + ServiceUnavailable = 6, + }; + enum class MessageWebSocketReceiveMode : int32_t + { + FullMessage = 0, + PartialMessage = 1, + }; + enum class SocketActivityConnectedStandbyAction : int32_t + { + DoNotWake = 0, + Wake = 1, + }; + enum class SocketActivityKind : int32_t + { + None = 0, + StreamSocketListener = 1, + DatagramSocket = 2, + StreamSocket = 3, + }; + enum class SocketActivityTriggerReason : int32_t + { + None = 0, + SocketActivity = 1, + ConnectionAccepted = 2, + KeepAliveTimerExpired = 3, + SocketClosed = 4, + }; + enum class SocketErrorStatus : int32_t + { + Unknown = 0, + OperationAborted = 1, + HttpInvalidServerResponse = 2, + ConnectionTimedOut = 3, + AddressFamilyNotSupported = 4, + SocketTypeNotSupported = 5, + HostNotFound = 6, + NoDataRecordOfRequestedType = 7, + NonAuthoritativeHostNotFound = 8, + ClassTypeNotFound = 9, + AddressAlreadyInUse = 10, + CannotAssignRequestedAddress = 11, + ConnectionRefused = 12, + NetworkIsUnreachable = 13, + UnreachableHost = 14, + NetworkIsDown = 15, + NetworkDroppedConnectionOnReset = 16, + SoftwareCausedConnectionAbort = 17, + ConnectionResetByPeer = 18, + HostIsDown = 19, + NoAddressesFound = 20, + TooManyOpenFiles = 21, + MessageTooLong = 22, + CertificateExpired = 23, + CertificateUntrustedRoot = 24, + CertificateCommonNameIsIncorrect = 25, + CertificateWrongUsage = 26, + CertificateRevoked = 27, + CertificateNoRevocationCheck = 28, + CertificateRevocationServerOffline = 29, + CertificateIsInvalid = 30, + }; + enum class SocketMessageType : int32_t + { + Binary = 0, + Utf8 = 1, + }; + enum class SocketProtectionLevel : int32_t + { + PlainSocket = 0, + Ssl = 1, + SslAllowNullEncryption = 2, + BluetoothEncryptionAllowNullAuthentication = 3, + BluetoothEncryptionWithAuthentication = 4, + Ssl3AllowWeakEncryption = 5, + Tls10 = 6, + Tls11 = 7, + Tls12 = 8, + Unspecified = 9, + Tls13 = 10, + }; + enum class SocketQualityOfService : int32_t + { + Normal = 0, + LowLatency = 1, + }; + enum class SocketSslErrorSeverity : int32_t + { + None = 0, + Ignorable = 1, + Fatal = 2, + }; + struct IControlChannelTrigger; + struct IControlChannelTrigger2; + struct IControlChannelTriggerEventDetails; + struct IControlChannelTriggerFactory; + struct IControlChannelTriggerResetEventDetails; + struct IDatagramSocket; + struct IDatagramSocket2; + struct IDatagramSocket3; + struct IDatagramSocketControl; + struct IDatagramSocketControl2; + struct IDatagramSocketControl3; + struct IDatagramSocketInformation; + struct IDatagramSocketMessageReceivedEventArgs; + struct IDatagramSocketStatics; + struct IMessageWebSocket; + struct IMessageWebSocket2; + struct IMessageWebSocket3; + struct IMessageWebSocketControl; + struct IMessageWebSocketControl2; + struct IMessageWebSocketMessageReceivedEventArgs; + struct IMessageWebSocketMessageReceivedEventArgs2; + struct IServerMessageWebSocket; + struct IServerMessageWebSocketControl; + struct IServerMessageWebSocketInformation; + struct IServerStreamWebSocket; + struct IServerStreamWebSocketInformation; + struct ISocketActivityContext; + struct ISocketActivityContextFactory; + struct ISocketActivityInformation; + struct ISocketActivityInformationStatics; + struct ISocketActivityTriggerDetails; + struct ISocketErrorStatics; + struct IStreamSocket; + struct IStreamSocket2; + struct IStreamSocket3; + struct IStreamSocketControl; + struct IStreamSocketControl2; + struct IStreamSocketControl3; + struct IStreamSocketControl4; + struct IStreamSocketInformation; + struct IStreamSocketInformation2; + struct IStreamSocketListener; + struct IStreamSocketListener2; + struct IStreamSocketListener3; + struct IStreamSocketListenerConnectionReceivedEventArgs; + struct IStreamSocketListenerControl; + struct IStreamSocketListenerControl2; + struct IStreamSocketListenerInformation; + struct IStreamSocketStatics; + struct IStreamWebSocket; + struct IStreamWebSocket2; + struct IStreamWebSocketControl; + struct IStreamWebSocketControl2; + struct IWebSocket; + struct IWebSocketClosedEventArgs; + struct IWebSocketControl; + struct IWebSocketControl2; + struct IWebSocketErrorStatics; + struct IWebSocketInformation; + struct IWebSocketInformation2; + struct IWebSocketServerCustomValidationRequestedEventArgs; + struct ControlChannelTrigger; + struct DatagramSocket; + struct DatagramSocketControl; + struct DatagramSocketInformation; + struct DatagramSocketMessageReceivedEventArgs; + struct MessageWebSocket; + struct MessageWebSocketControl; + struct MessageWebSocketInformation; + struct MessageWebSocketMessageReceivedEventArgs; + struct ServerMessageWebSocket; + struct ServerMessageWebSocketControl; + struct ServerMessageWebSocketInformation; + struct ServerStreamWebSocket; + struct ServerStreamWebSocketInformation; + struct SocketActivityContext; + struct SocketActivityInformation; + struct SocketActivityTriggerDetails; + struct SocketError; + struct StreamSocket; + struct StreamSocketControl; + struct StreamSocketInformation; + struct StreamSocketListener; + struct StreamSocketListenerConnectionReceivedEventArgs; + struct StreamSocketListenerControl; + struct StreamSocketListenerInformation; + struct StreamWebSocket; + struct StreamWebSocketControl; + struct StreamWebSocketInformation; + struct WebSocketClosedEventArgs; + struct WebSocketError; + struct WebSocketKeepAlive; + struct WebSocketServerCustomValidationRequestedEventArgs; + struct BandwidthStatistics; + struct RoundTripTimeStatistics; + struct ControlChannelTriggerContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ControlChannelTrigger"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.DatagramSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.DatagramSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.DatagramSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.MessageWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.MessageWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.MessageWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ServerMessageWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ServerMessageWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ServerMessageWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ServerStreamWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ServerStreamWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketError"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketListener"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketListenerControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamSocketListenerInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.StreamWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.WebSocketClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.WebSocketError"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.WebSocketKeepAlive"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ControlChannelTriggerResetReason"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ControlChannelTriggerResourceType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ControlChannelTriggerStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.MessageWebSocketReceiveMode"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityConnectedStandbyAction"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketActivityTriggerReason"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketMessageType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketProtectionLevel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketQualityOfService"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.SocketSslErrorSeverity"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.BandwidthStatistics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.RoundTripTimeStatistics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IControlChannelTrigger"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IControlChannelTrigger2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IControlChannelTriggerEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IControlChannelTriggerFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocket2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocket3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketControl3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IDatagramSocketStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocket2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocket3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocketControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocketMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IMessageWebSocketMessageReceivedEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IServerMessageWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IServerMessageWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IServerMessageWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IServerStreamWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IServerStreamWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketActivityContext"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketActivityContextFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketActivityInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketActivityInformationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketActivityTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ISocketErrorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocket2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocket3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketControl3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketControl4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListener"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListener2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListener3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListenerConnectionReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListenerControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListenerControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketListenerInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamSocketStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamWebSocket2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IStreamWebSocketControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocket"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketClosedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketControl"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketControl2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketErrorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketInformation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.IWebSocketServerCustomValidationRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Sockets.ControlChannelTriggerContract"; + template <> inline constexpr guid guid_v{ 0x7D1431A7,0xEE96,0x40E8,{ 0xA1,0x99,0x87,0x03,0xCD,0x96,0x9E,0xC3 } }; // 7D1431A7-EE96-40E8-A199-8703CD969EC3 + template <> inline constexpr guid guid_v{ 0xAF00D237,0x51BE,0x4514,{ 0x97,0x25,0x35,0x56,0xE1,0x87,0x95,0x80 } }; // AF00D237-51BE-4514-9725-3556E1879580 + template <> inline constexpr guid guid_v{ 0x1B36E047,0x89BB,0x4236,{ 0x96,0xAC,0x71,0xD0,0x12,0xBB,0x48,0x69 } }; // 1B36E047-89BB-4236-96AC-71D012BB4869 + template <> inline constexpr guid guid_v{ 0xDA4B7CF0,0x8D71,0x446F,{ 0x88,0xC3,0xB9,0x51,0x84,0xA2,0xD6,0xCD } }; // DA4B7CF0-8D71-446F-88C3-B95184A2D6CD + template <> inline constexpr guid guid_v{ 0x6851038E,0x8EC4,0x42FE,{ 0x9B,0xB2,0x21,0xE9,0x1B,0x7B,0xFC,0xB1 } }; // 6851038E-8EC4-42FE-9BB2-21E91B7BFCB1 + template <> inline constexpr guid guid_v{ 0x7FE25BBB,0xC3BC,0x4677,{ 0x84,0x46,0xCA,0x28,0xA4,0x65,0xA3,0xAF } }; // 7FE25BBB-C3BC-4677-8446-CA28A465A3AF + template <> inline constexpr guid guid_v{ 0xD83BA354,0x9A9D,0x4185,{ 0xA2,0x0A,0x14,0x24,0xC9,0xC2,0xA7,0xCD } }; // D83BA354-9A9D-4185-A20A-1424C9C2A7CD + template <> inline constexpr guid guid_v{ 0x37544F09,0xAB92,0x4306,{ 0x9A,0xC1,0x0C,0x38,0x12,0x83,0xD9,0xC6 } }; // 37544F09-AB92-4306-9AC1-0C381283D9C6 + template <> inline constexpr guid guid_v{ 0x52AC3F2E,0x349A,0x4135,{ 0xBB,0x58,0xB7,0x9B,0x26,0x47,0xD3,0x90 } }; // 52AC3F2E-349A-4135-BB58-B79B2647D390 + template <> inline constexpr guid guid_v{ 0x33EAD5C2,0x979C,0x4415,{ 0x82,0xA1,0x3C,0xFA,0xF6,0x46,0xC1,0x92 } }; // 33EAD5C2-979C-4415-82A1-3CFAF646C192 + template <> inline constexpr guid guid_v{ 0xD4EB8256,0x1F6D,0x4598,{ 0x9B,0x57,0xD4,0x2A,0x00,0x1D,0xF3,0x49 } }; // D4EB8256-1F6D-4598-9B57-D42A001DF349 + template <> inline constexpr guid guid_v{ 0x5F1A569A,0x55FB,0x48CD,{ 0x97,0x06,0x7A,0x97,0x4F,0x7B,0x15,0x85 } }; // 5F1A569A-55FB-48CD-9706-7A974F7B1585 + template <> inline constexpr guid guid_v{ 0x9E2DDCA2,0x1712,0x4CE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x7E } }; // 9E2DDCA2-1712-4CE4-B179-8C652C6D107E + template <> inline constexpr guid guid_v{ 0xE9C62AEE,0x1494,0x4A21,{ 0xBB,0x7E,0x85,0x89,0xFC,0x75,0x1D,0x9D } }; // E9C62AEE-1494-4A21-BB7E-8589FC751D9D + template <> inline constexpr guid guid_v{ 0x33727D08,0x34D5,0x4746,{ 0xAD,0x7B,0x8D,0xDE,0x5B,0xC2,0xEF,0x88 } }; // 33727D08-34D5-4746-AD7B-8DDE5BC2EF88 + template <> inline constexpr guid guid_v{ 0xBED0CEE7,0xF9C8,0x440A,{ 0x9A,0xD5,0x73,0x72,0x81,0xD9,0x74,0x2E } }; // BED0CEE7-F9C8-440A-9AD5-737281D9742E + template <> inline constexpr guid guid_v{ 0x59D9DEFB,0x71AF,0x4349,{ 0x84,0x87,0x91,0x1F,0xCF,0x68,0x15,0x97 } }; // 59D9DEFB-71AF-4349-8487-911FCF681597 + template <> inline constexpr guid guid_v{ 0x8118388A,0xC629,0x4F0A,{ 0x80,0xFB,0x81,0xFC,0x05,0x53,0x88,0x62 } }; // 8118388A-C629-4F0A-80FB-81FC05538862 + template <> inline constexpr guid guid_v{ 0xE30FD791,0x080C,0x400A,{ 0xA7,0x12,0x27,0xDF,0xA9,0xE7,0x44,0xD8 } }; // E30FD791-080C-400A-A712-27DFA9E744D8 + template <> inline constexpr guid guid_v{ 0x478C22AC,0x4C4B,0x42ED,{ 0x9E,0xD7,0x1E,0xF9,0xF9,0x4F,0xA3,0xD5 } }; // 478C22AC-4C4B-42ED-9ED7-1EF9F94FA3D5 + template <> inline constexpr guid guid_v{ 0x89CE06FD,0xDD6F,0x4A07,{ 0x87,0xF9,0xF9,0xEB,0x4D,0x89,0xD8,0x3D } }; // 89CE06FD-DD6F-4A07-87F9-F9EB4D89D83D + template <> inline constexpr guid guid_v{ 0xE3AC9240,0x813B,0x5EFD,{ 0x7E,0x11,0xAE,0x23,0x05,0xFC,0x77,0xF1 } }; // E3AC9240-813B-5EFD-7E11-AE2305FC77F1 + template <> inline constexpr guid guid_v{ 0x69C2F051,0x1C1F,0x587A,{ 0x45,0x19,0x21,0x81,0x61,0x01,0x92,0xB7 } }; // 69C2F051-1C1F-587A-4519-2181610192B7 + template <> inline constexpr guid guid_v{ 0xFC32B45F,0x4448,0x5505,{ 0x6C,0xC9,0x09,0xAF,0xA8,0x91,0x5F,0x5D } }; // FC32B45F-4448-5505-6CC9-09AFA8915F5D + template <> inline constexpr guid guid_v{ 0x2CED5BBF,0x74F6,0x55E4,{ 0x79,0xDF,0x91,0x32,0x68,0x0D,0xFE,0xE8 } }; // 2CED5BBF-74F6-55E4-79DF-9132680DFEE8 + template <> inline constexpr guid guid_v{ 0xFC32B45F,0x4448,0x5505,{ 0x6C,0xC9,0x09,0xAB,0xA8,0x91,0x5F,0x5D } }; // FC32B45F-4448-5505-6CC9-09ABA8915F5D + template <> inline constexpr guid guid_v{ 0x43B04D64,0x4C85,0x4396,{ 0xA6,0x37,0x1D,0x97,0x3F,0x6E,0xBD,0x49 } }; // 43B04D64-4C85-4396-A637-1D973F6EBD49 + template <> inline constexpr guid guid_v{ 0xB99FC3C3,0x088C,0x4388,{ 0x83,0xAE,0x25,0x25,0x13,0x8E,0x04,0x9A } }; // B99FC3C3-088C-4388-83AE-2525138E049A + template <> inline constexpr guid guid_v{ 0x8D8A42E4,0xA87E,0x4B74,{ 0x99,0x68,0x18,0x5B,0x25,0x11,0xDE,0xFE } }; // 8D8A42E4-A87E-4B74-9968-185B2511DEFE + template <> inline constexpr guid guid_v{ 0x8570B47A,0x7E7D,0x4736,{ 0x80,0x41,0x13,0x27,0xA6,0x54,0x3C,0x56 } }; // 8570B47A-7E7D-4736-8041-1327A6543C56 + template <> inline constexpr guid guid_v{ 0x45F406A7,0xFC9F,0x4F81,{ 0xAC,0xAD,0x35,0x5F,0xEF,0x51,0xE6,0x7B } }; // 45F406A7-FC9F-4F81-ACAD-355FEF51E67B + template <> inline constexpr guid guid_v{ 0x828337F4,0x7D56,0x4D8E,{ 0xB7,0xB4,0xA0,0x7D,0xD7,0xC1,0xBC,0xA9 } }; // 828337F4-7D56-4D8E-B7B4-A07DD7C1BCA9 + template <> inline constexpr guid guid_v{ 0x69A22CF3,0xFC7B,0x4857,{ 0xAF,0x38,0xF6,0xE7,0xDE,0x6A,0x5B,0x49 } }; // 69A22CF3-FC7B-4857-AF38-F6E7DE6A5B49 + template <> inline constexpr guid guid_v{ 0x29D0E575,0xF314,0x4D09,{ 0xAD,0xF0,0x0F,0xBD,0x96,0x7F,0xBD,0x9F } }; // 29D0E575-F314-4D09-ADF0-0FBD967FBD9F + template <> inline constexpr guid guid_v{ 0x3F430B00,0x9D28,0x4854,{ 0xBA,0xC3,0x23,0x01,0x94,0x1E,0xC2,0x23 } }; // 3F430B00-9D28-4854-BAC3-2301941EC223 + template <> inline constexpr guid guid_v{ 0xFE25ADF1,0x92AB,0x4AF3,{ 0x99,0x92,0x0F,0x4C,0x85,0xE3,0x6C,0xC4 } }; // FE25ADF1-92AB-4AF3-9992-0F4C85E36CC4 + template <> inline constexpr guid guid_v{ 0xC2D09A56,0x060F,0x44C1,{ 0xB8,0xE2,0x1F,0xBF,0x60,0xBD,0x62,0xC5 } }; // C2D09A56-060F-44C1-B8E2-1FBF60BD62C5 + template <> inline constexpr guid guid_v{ 0xC56A444C,0x4E74,0x403E,{ 0x89,0x4C,0xB3,0x1C,0xAE,0x5C,0x73,0x42 } }; // C56A444C-4E74-403E-894C-B31CAE5C7342 + template <> inline constexpr guid guid_v{ 0x964E2B3D,0xEC27,0x4888,{ 0xB3,0xCE,0xC7,0x4B,0x41,0x84,0x23,0xAD } }; // 964E2B3D-EC27-4888-B3CE-C74B418423AD + template <> inline constexpr guid guid_v{ 0x3B80AE30,0x5E68,0x4205,{ 0x88,0xF0,0xDC,0x85,0xD2,0xE2,0x5D,0xED } }; // 3B80AE30-5E68-4205-88F0-DC85D2E25DED + template <> inline constexpr guid guid_v{ 0x12C28452,0x4BDC,0x4EE4,{ 0x97,0x6A,0xCF,0x13,0x0E,0x9D,0x92,0xE3 } }; // 12C28452-4BDC-4EE4-976A-CF130E9D92E3 + template <> inline constexpr guid guid_v{ 0xFF513437,0xDF9F,0x4DF0,{ 0xBF,0x82,0x0E,0xC5,0xD7,0xB3,0x5A,0xAE } }; // FF513437-DF9F-4DF0-BF82-0EC5D7B35AAE + template <> inline constexpr guid guid_v{ 0x658DC13E,0xBB3E,0x4458,{ 0xB2,0x32,0xED,0x10,0x88,0x69,0x4B,0x98 } }; // 658DC13E-BB3E-4458-B232-ED1088694B98 + template <> inline constexpr guid guid_v{ 0x4798201C,0xBDF8,0x4919,{ 0x85,0x42,0x28,0xD4,0x50,0xE7,0x45,0x07 } }; // 4798201C-BDF8-4919-8542-28D450E74507 + template <> inline constexpr guid guid_v{ 0x0C472EA9,0x373F,0x447B,{ 0x85,0xB1,0xDD,0xD4,0x54,0x88,0x03,0xBA } }; // 0C472EA9-373F-447B-85B1-DDD4548803BA + template <> inline constexpr guid guid_v{ 0x20D8C576,0x8D8A,0x4DBA,{ 0x97,0x22,0xA1,0x6C,0x4D,0x98,0x49,0x80 } }; // 20D8C576-8D8A-4DBA-9722-A16C4D984980 + template <> inline constexpr guid guid_v{ 0x948BB665,0x2C3E,0x404B,{ 0xB8,0xB0,0x8E,0xB2,0x49,0xA2,0xB0,0xA1 } }; // 948BB665-2C3E-404B-B8B0-8EB249A2B0A1 + template <> inline constexpr guid guid_v{ 0xE62BA82F,0xA63A,0x430B,{ 0xBF,0x62,0x29,0xE9,0x3E,0x56,0x33,0xB4 } }; // E62BA82F-A63A-430B-BF62-29E93E5633B4 + template <> inline constexpr guid guid_v{ 0xA420BC4A,0x6E2E,0x4AF5,{ 0xB5,0x56,0x35,0x5A,0xE0,0xCD,0x4F,0x29 } }; // A420BC4A-6E2E-4AF5-B556-355AE0CD4F29 + template <> inline constexpr guid guid_v{ 0xBD4A49D8,0xB289,0x45BB,{ 0x97,0xEB,0xC7,0x52,0x52,0x05,0xA8,0x43 } }; // BD4A49D8-B289-45BB-97EB-C7525205A843 + template <> inline constexpr guid guid_v{ 0xAA4D08CB,0x93F5,0x4678,{ 0x82,0x36,0x57,0xCC,0xE5,0x41,0x7E,0xD5 } }; // AA4D08CB-93F5-4678-8236-57CCE5417ED5 + template <> inline constexpr guid guid_v{ 0xB4F478B1,0xA45A,0x48DB,{ 0x95,0x3A,0x64,0x5B,0x7D,0x96,0x4C,0x07 } }; // B4F478B1-A45A-48DB-953A-645B7D964C07 + template <> inline constexpr guid guid_v{ 0x215D9F7E,0xFA58,0x40DA,{ 0x9F,0x11,0xA4,0x8D,0xAF,0xE9,0x50,0x37 } }; // 215D9F7E-FA58-40DA-9F11-A48DAFE95037 + template <> inline constexpr guid guid_v{ 0xF877396F,0x99B1,0x4E18,{ 0xBC,0x08,0x85,0x0C,0x9A,0xDF,0x15,0x6E } }; // F877396F-99B1-4E18-BC08-850C9ADF156E + template <> inline constexpr guid guid_v{ 0xCEB78D07,0xD0A8,0x4703,{ 0xA0,0x91,0xC8,0xC2,0xC0,0x91,0x5B,0xC3 } }; // CEB78D07-D0A8-4703-A091-C8C2C0915BC3 + template <> inline constexpr guid guid_v{ 0x2EC4BDC3,0xD9A5,0x455A,{ 0x98,0x11,0xDE,0x24,0xD4,0x53,0x37,0xE9 } }; // 2EC4BDC3-D9A5-455A-9811-DE24D45337E9 + template <> inline constexpr guid guid_v{ 0x79C3BE03,0xF2CA,0x461E,{ 0xAF,0x4E,0x96,0x65,0xBC,0x2D,0x06,0x20 } }; // 79C3BE03-F2CA-461E-AF4E-9665BC2D0620 + template <> inline constexpr guid guid_v{ 0x27CDF35B,0x1F61,0x4709,{ 0x8E,0x02,0x61,0x28,0x3A,0xDA,0x4E,0x9D } }; // 27CDF35B-1F61-4709-8E02-61283ADA4E9D + template <> inline constexpr guid guid_v{ 0x5E01E316,0xC92A,0x47A5,{ 0xB2,0x5F,0x07,0x84,0x76,0x39,0xD1,0x81 } }; // 5E01E316-C92A-47A5-B25F-07847639D181 + template <> inline constexpr guid guid_v{ 0xCE1D39CE,0xA1B7,0x4D43,{ 0x82,0x69,0x8D,0x5B,0x98,0x1B,0xD4,0x7A } }; // CE1D39CE-A1B7-4D43-8269-8D5B981BD47A + template <> inline constexpr guid guid_v{ 0xFFEFFE48,0x022A,0x4AB7,{ 0x8B,0x36,0xE1,0x0A,0xF4,0x64,0x0E,0x6B } }; // FFEFFE48-022A-4AB7-8B36-E10AF4640E6B + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IControlChannelTrigger; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IDatagramSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IDatagramSocketControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IDatagramSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IMessageWebSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IMessageWebSocketControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IWebSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IServerMessageWebSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IServerStreamWebSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::ISocketActivityContext; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::ISocketActivityInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketListener; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketListenerConnectionReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketListenerControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamSocketListenerInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamWebSocket; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IStreamWebSocketControl; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IWebSocketInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Background::IBackgroundTask; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ControlChannelTriggerId(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerKeepAliveIntervalInMinutes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ServerKeepAliveIntervalInMinutes(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CurrentKeepAliveIntervalInMinutes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_TransportObject(void**) noexcept = 0; + virtual int32_t __stdcall get_KeepAliveTrigger(void**) noexcept = 0; + virtual int32_t __stdcall get_PushNotificationTrigger(void**) noexcept = 0; + virtual int32_t __stdcall UsingTransport(void*) noexcept = 0; + virtual int32_t __stdcall WaitForPushEnabled(int32_t*) noexcept = 0; + virtual int32_t __stdcall DecreaseNetworkKeepAliveInterval() noexcept = 0; + virtual int32_t __stdcall FlushTransport() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsWakeFromLowPowerSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ControlChannelTrigger(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateControlChannelTrigger(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateControlChannelTriggerEx(void*, uint32_t, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResetReason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareSlotReset(bool*) noexcept = 0; + virtual int32_t __stdcall get_SoftwareSlotReset(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithEndpointPairAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall BindServiceNameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall BindEndpointAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall JoinMulticastGroup(void*) noexcept = 0; + virtual int32_t __stdcall GetOutputStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetOutputStreamWithEndpointPairAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BindServiceNameAndAdapterAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CancelIOAsync(void**) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnership(winrt::guid) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnershipWithConnectedStandbyAction(winrt::guid, int32_t) noexcept = 0; + virtual int32_t __stdcall TransferOwnership(void*) noexcept = 0; + virtual int32_t __stdcall TransferOwnershipWithContext(void*, void*) noexcept = 0; + virtual int32_t __stdcall TransferOwnershipWithContextAndKeepAliveTime(void*, void*, int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QualityOfService(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_QualityOfService(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OutboundUnicastHopLimit(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundUnicastHopLimit(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_InboundBufferSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_InboundBufferSizeInBytes(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_DontFragment(bool*) noexcept = 0; + virtual int32_t __stdcall put_DontFragment(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MulticastOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_MulticastOnly(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalPort(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_RemotePort(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RemoteAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_RemotePort(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + virtual int32_t __stdcall GetDataReader(void**) noexcept = 0; + virtual int32_t __stdcall GetDataStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetEndpointPairsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetEndpointPairsWithSortOptionsAsync(void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ServerCustomValidationRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ServerCustomValidationRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SendNonfinalFrameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SendFinalFrameAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MaxMessageSize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxMessageSize(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MessageType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredUnsolicitedPongInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredUnsolicitedPongInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ActualUnsolicitedPongInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ReceiveMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_ReceiveMode(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ClientCertificate(void**) noexcept = 0; + virtual int32_t __stdcall put_ClientCertificate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDataReader(void**) noexcept = 0; + virtual int32_t __stdcall GetDataStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsMessageComplete(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CloseWithStatus(uint16_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MessageType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BandwidthStatistics(struct struct_Windows_Networking_Sockets_BandwidthStatistics*) noexcept = 0; + virtual int32_t __stdcall get_Protocol(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CloseWithStatus(uint16_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BandwidthStatistics(struct struct_Windows_Networking_Sockets_BandwidthStatistics*) noexcept = 0; + virtual int32_t __stdcall get_Protocol(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TaskId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_SocketKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Context(void**) noexcept = 0; + virtual int32_t __stdcall get_DatagramSocket(void**) noexcept = 0; + virtual int32_t __stdcall get_StreamSocket(void**) noexcept = 0; + virtual int32_t __stdcall get_StreamSocketListener(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllSockets(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SocketInformation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithEndpointPairAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithEndpointPairAndProtectionLevelAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ConnectWithProtectionLevelAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall UpgradeToSslAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConnectWithProtectionLevelAndAdapterAsync(void*, void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CancelIOAsync(void**) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnership(winrt::guid) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnershipWithConnectedStandbyAction(winrt::guid, int32_t) noexcept = 0; + virtual int32_t __stdcall TransferOwnership(void*) noexcept = 0; + virtual int32_t __stdcall TransferOwnershipWithContext(void*, void*) noexcept = 0; + virtual int32_t __stdcall TransferOwnershipWithContextAndKeepAliveTime(void*, void*, int64_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NoDelay(bool*) noexcept = 0; + virtual int32_t __stdcall put_NoDelay(bool) noexcept = 0; + virtual int32_t __stdcall get_KeepAlive(bool*) noexcept = 0; + virtual int32_t __stdcall put_KeepAlive(bool) noexcept = 0; + virtual int32_t __stdcall get_OutboundBufferSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundBufferSizeInBytes(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_QualityOfService(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_QualityOfService(int32_t) noexcept = 0; + virtual int32_t __stdcall get_OutboundUnicastHopLimit(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundUnicastHopLimit(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IgnorableServerCertificateErrors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SerializeConnectionAttempts(bool*) noexcept = 0; + virtual int32_t __stdcall put_SerializeConnectionAttempts(bool) noexcept = 0; + virtual int32_t __stdcall get_ClientCertificate(void**) noexcept = 0; + virtual int32_t __stdcall put_ClientCertificate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_MinProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MinProtectionLevel(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalPort(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteHostName(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteServiceName(void**) noexcept = 0; + virtual int32_t __stdcall get_RemotePort(void**) noexcept = 0; + virtual int32_t __stdcall get_RoundTripTimeStatistics(struct struct_Windows_Networking_Sockets_RoundTripTimeStatistics*) noexcept = 0; + virtual int32_t __stdcall get_BandwidthStatistics(struct struct_Windows_Networking_Sockets_BandwidthStatistics*) noexcept = 0; + virtual int32_t __stdcall get_ProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_SessionKey(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerCertificateErrorSeverity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificateErrors(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificate(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerIntermediateCertificates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall BindServiceNameAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall BindEndpointAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_ConnectionReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ConnectionReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BindServiceNameWithProtectionLevelAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall BindServiceNameWithProtectionLevelAndAdapterAsync(void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CancelIOAsync(void**) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnership(winrt::guid) noexcept = 0; + virtual int32_t __stdcall EnableTransferOwnershipWithConnectedStandbyAction(winrt::guid, int32_t) noexcept = 0; + virtual int32_t __stdcall TransferOwnership(void*) noexcept = 0; + virtual int32_t __stdcall TransferOwnershipWithContext(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Socket(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_QualityOfService(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_QualityOfService(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NoDelay(bool*) noexcept = 0; + virtual int32_t __stdcall put_NoDelay(bool) noexcept = 0; + virtual int32_t __stdcall get_KeepAlive(bool*) noexcept = 0; + virtual int32_t __stdcall put_KeepAlive(bool) noexcept = 0; + virtual int32_t __stdcall get_OutboundBufferSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundBufferSizeInBytes(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_OutboundUnicastHopLimit(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundUnicastHopLimit(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalPort(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetEndpointPairsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetEndpointPairsWithSortOptionsAsync(void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Control(void**) noexcept = 0; + virtual int32_t __stdcall get_Information(void**) noexcept = 0; + virtual int32_t __stdcall get_InputStream(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_ServerCustomValidationRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ServerCustomValidationRequested(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_NoDelay(bool*) noexcept = 0; + virtual int32_t __stdcall put_NoDelay(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesiredUnsolicitedPongInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_DesiredUnsolicitedPongInterval(int64_t) noexcept = 0; + virtual int32_t __stdcall get_ActualUnsolicitedPongInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ClientCertificate(void**) noexcept = 0; + virtual int32_t __stdcall put_ClientCertificate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OutputStream(void**) noexcept = 0; + virtual int32_t __stdcall ConnectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetRequestHeader(void*, void*) noexcept = 0; + virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CloseWithStatus(uint16_t, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Code(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_Reason(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OutboundBufferSizeInBytes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_OutboundBufferSizeInBytes(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ServerCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_ServerCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_ProxyCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_ProxyCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_SupportedProtocols(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IgnorableServerCertificateErrors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(int32_t, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_LocalAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_BandwidthStatistics(struct struct_Windows_Networking_Sockets_BandwidthStatistics*) noexcept = 0; + virtual int32_t __stdcall get_Protocol(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerCertificate(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificateErrorSeverity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificateErrors(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerIntermediateCertificates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerCertificate(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificateErrorSeverity(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ServerCertificateErrors(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerIntermediateCertificates(void**) noexcept = 0; + virtual int32_t __stdcall Reject() noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_Sockets_IControlChannelTrigger + { + [[nodiscard]] auto ControlChannelTriggerId() const; + [[nodiscard]] auto ServerKeepAliveIntervalInMinutes() const; + auto ServerKeepAliveIntervalInMinutes(uint32_t value) const; + [[nodiscard]] auto CurrentKeepAliveIntervalInMinutes() const; + [[nodiscard]] auto TransportObject() const; + [[nodiscard]] auto KeepAliveTrigger() const; + [[nodiscard]] auto PushNotificationTrigger() const; + auto UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const; + auto WaitForPushEnabled() const; + auto DecreaseNetworkKeepAliveInterval() const; + auto FlushTransport() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IControlChannelTrigger; + }; + template + struct consume_Windows_Networking_Sockets_IControlChannelTrigger2 + { + [[nodiscard]] auto IsWakeFromLowPowerSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IControlChannelTrigger2; + }; + template + struct consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails + { + [[nodiscard]] auto ControlChannelTrigger() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails; + }; + template + struct consume_Windows_Networking_Sockets_IControlChannelTriggerFactory + { + auto CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const; + auto CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IControlChannelTriggerFactory; + }; + template + struct consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails + { + [[nodiscard]] auto ResetReason() const; + [[nodiscard]] auto HardwareSlotReset() const; + [[nodiscard]] auto SoftwareSlotReset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocket + { + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto BindServiceNameAsync(param::hstring const& localServiceName) const; + auto BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; + auto JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const; + auto GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocket; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocket2 + { + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocket2; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocket3 + { + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocket3; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketControl + { + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketControl2 + { + [[nodiscard]] auto InboundBufferSizeInBytes() const; + auto InboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto DontFragment() const; + auto DontFragment(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketControl2; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketControl3 + { + [[nodiscard]] auto MulticastOnly() const; + auto MulticastOnly(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketControl3; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketInformation + { + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto LocalPort() const; + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemotePort() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketInformation; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs + { + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto LocalAddress() const; + auto GetDataReader() const; + auto GetDataStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs; + }; + template + struct consume_Windows_Networking_Sockets_IDatagramSocketStatics + { + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IDatagramSocketStatics; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocket + { + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocket; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocket2 + { + auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using ServerCustomValidationRequested_revoker = impl::event_revoker::remove_ServerCustomValidationRequested>; + [[nodiscard]] auto ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocket2; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocket3 + { + auto SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocket3; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocketControl + { + [[nodiscard]] auto MaxMessageSize() const; + auto MaxMessageSize(uint32_t value) const; + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocketControl2 + { + [[nodiscard]] auto DesiredUnsolicitedPongInterval() const; + auto DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ActualUnsolicitedPongInterval() const; + [[nodiscard]] auto ReceiveMode() const; + auto ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocketControl2; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs + { + [[nodiscard]] auto MessageType() const; + auto GetDataReader() const; + auto GetDataStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs; + }; + template + struct consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2 + { + [[nodiscard]] auto IsMessageComplete() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2; + }; + template + struct consume_Windows_Networking_Sockets_IServerMessageWebSocket + { + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto OutputStream() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IServerMessageWebSocket; + }; + template + struct consume_Windows_Networking_Sockets_IServerMessageWebSocketControl + { + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IServerMessageWebSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation + { + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto LocalAddress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation; + }; + template + struct consume_Windows_Networking_Sockets_IServerStreamWebSocket + { + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IServerStreamWebSocket; + }; + template + struct consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation + { + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto LocalAddress() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation; + }; + template + struct consume_Windows_Networking_Sockets_ISocketActivityContext + { + [[nodiscard]] auto Data() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketActivityContext; + }; + template + struct consume_Windows_Networking_Sockets_ISocketActivityContextFactory + { + auto Create(winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketActivityContextFactory; + }; + template + struct consume_Windows_Networking_Sockets_ISocketActivityInformation + { + [[nodiscard]] auto TaskId() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SocketKind() const; + [[nodiscard]] auto Context() const; + [[nodiscard]] auto DatagramSocket() const; + [[nodiscard]] auto StreamSocket() const; + [[nodiscard]] auto StreamSocketListener() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketActivityInformation; + }; + template + struct consume_Windows_Networking_Sockets_ISocketActivityInformationStatics + { + [[nodiscard]] auto AllSockets() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketActivityInformationStatics; + }; + template + struct consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails + { + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto SocketInformation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails; + }; + template + struct consume_Windows_Networking_Sockets_ISocketErrorStatics + { + auto GetStatus(int32_t hresult) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_ISocketErrorStatics; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocket + { + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocket; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocket2 + { + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocket2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocket3 + { + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocket3; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketControl + { + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; + [[nodiscard]] auto KeepAlive() const; + auto KeepAlive(bool value) const; + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketControl2 + { + [[nodiscard]] auto IgnorableServerCertificateErrors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketControl2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketControl3 + { + [[nodiscard]] auto SerializeConnectionAttempts() const; + auto SerializeConnectionAttempts(bool value) const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketControl3; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketControl4 + { + [[nodiscard]] auto MinProtectionLevel() const; + auto MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketControl4; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketInformation + { + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto LocalPort() const; + [[nodiscard]] auto RemoteHostName() const; + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemoteServiceName() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto RoundTripTimeStatistics() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto SessionKey() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketInformation; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketInformation2 + { + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketInformation2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListener + { + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + auto BindServiceNameAsync(param::hstring const& localServiceName) const; + auto BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; + auto ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using ConnectionReceived_revoker = impl::event_revoker::remove_ConnectionReceived>; + [[nodiscard]] auto ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ConnectionReceived(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListener; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListener2 + { + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListener2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListener3 + { + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListener3; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs + { + [[nodiscard]] auto Socket() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListenerControl + { + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListenerControl; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListenerControl2 + { + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; + [[nodiscard]] auto KeepAlive() const; + auto KeepAlive(bool value) const; + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListenerControl2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketListenerInformation + { + [[nodiscard]] auto LocalPort() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketListenerInformation; + }; + template + struct consume_Windows_Networking_Sockets_IStreamSocketStatics + { + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamSocketStatics; + }; + template + struct consume_Windows_Networking_Sockets_IStreamWebSocket + { + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamWebSocket; + }; + template + struct consume_Windows_Networking_Sockets_IStreamWebSocket2 + { + auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using ServerCustomValidationRequested_revoker = impl::event_revoker::remove_ServerCustomValidationRequested>; + [[nodiscard]] auto ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamWebSocket2; + }; + template + struct consume_Windows_Networking_Sockets_IStreamWebSocketControl + { + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamWebSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IStreamWebSocketControl2 + { + [[nodiscard]] auto DesiredUnsolicitedPongInterval() const; + auto DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ActualUnsolicitedPongInterval() const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IStreamWebSocketControl2; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocket + { + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + using Closed_revoker = impl::event_revoker::remove_Closed>; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Closed(winrt::event_token const& eventCookie) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocket; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs + { + [[nodiscard]] auto Code() const; + [[nodiscard]] auto Reason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketControl + { + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto SupportedProtocols() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketControl; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketControl2 + { + [[nodiscard]] auto IgnorableServerCertificateErrors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketControl2; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketErrorStatics + { + auto GetStatus(int32_t hresult) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketErrorStatics; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketInformation + { + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketInformation; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketInformation2 + { + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketInformation2; + }; + template + struct consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs + { + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; + auto Reject() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs; + }; + struct struct_Windows_Networking_Sockets_BandwidthStatistics + { + uint64_t OutboundBitsPerSecond; + uint64_t InboundBitsPerSecond; + uint64_t OutboundBitsPerSecondInstability; + uint64_t InboundBitsPerSecondInstability; + bool OutboundBandwidthPeaked; + bool InboundBandwidthPeaked; + }; + template <> struct abi + { + using type = struct_Windows_Networking_Sockets_BandwidthStatistics; + }; + struct struct_Windows_Networking_Sockets_RoundTripTimeStatistics + { + uint32_t Variance; + uint32_t Max; + uint32_t Min; + uint32_t Sum; + }; + template <> struct abi + { + using type = struct_Windows_Networking_Sockets_RoundTripTimeStatistics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4ae17d48f49e6d962a12b0b7c59fa7cb42a7349f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.1.h @@ -0,0 +1,474 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Sockets_1_H +#define WINRT_Windows_Networking_Sockets_1_H +#include "winrt/impl/Windows.Foundation.0.h" +#include "winrt/impl/Windows.Networking.Sockets.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct WINRT_IMPL_EMPTY_BASES IControlChannelTrigger : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IControlChannelTrigger(std::nullptr_t = nullptr) noexcept {} + IControlChannelTrigger(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IControlChannelTrigger2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IControlChannelTrigger2(std::nullptr_t = nullptr) noexcept {} + IControlChannelTrigger2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IControlChannelTriggerEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IControlChannelTriggerEventDetails(std::nullptr_t = nullptr) noexcept {} + IControlChannelTriggerEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IControlChannelTriggerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IControlChannelTriggerFactory(std::nullptr_t = nullptr) noexcept {} + IControlChannelTriggerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IControlChannelTriggerResetEventDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IControlChannelTriggerResetEventDetails(std::nullptr_t = nullptr) noexcept {} + IControlChannelTriggerResetEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDatagramSocket(std::nullptr_t = nullptr) noexcept {} + IDatagramSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocket2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IDatagramSocket2(std::nullptr_t = nullptr) noexcept {} + IDatagramSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocket3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocket3(std::nullptr_t = nullptr) noexcept {} + IDatagramSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketControl(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketControl2(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketControl3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketControl3(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketControl3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketInformation(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDatagramSocketStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDatagramSocketStatics(std::nullptr_t = nullptr) noexcept {} + IDatagramSocketStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMessageWebSocket(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocket2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMessageWebSocket2(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocket3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMessageWebSocket3(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMessageWebSocketControl(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocketControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMessageWebSocketControl2(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocketMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMessageWebSocketMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMessageWebSocketMessageReceivedEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IMessageWebSocketMessageReceivedEventArgs2(std::nullptr_t = nullptr) noexcept {} + IMessageWebSocketMessageReceivedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IServerMessageWebSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IServerMessageWebSocket(std::nullptr_t = nullptr) noexcept {} + IServerMessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IServerMessageWebSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServerMessageWebSocketControl(std::nullptr_t = nullptr) noexcept {} + IServerMessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IServerMessageWebSocketInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServerMessageWebSocketInformation(std::nullptr_t = nullptr) noexcept {} + IServerMessageWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IServerStreamWebSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IServerStreamWebSocket(std::nullptr_t = nullptr) noexcept {} + IServerStreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IServerStreamWebSocketInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IServerStreamWebSocketInformation(std::nullptr_t = nullptr) noexcept {} + IServerStreamWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketActivityContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketActivityContext(std::nullptr_t = nullptr) noexcept {} + ISocketActivityContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketActivityContextFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketActivityContextFactory(std::nullptr_t = nullptr) noexcept {} + ISocketActivityContextFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketActivityInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketActivityInformation(std::nullptr_t = nullptr) noexcept {} + ISocketActivityInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketActivityInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketActivityInformationStatics(std::nullptr_t = nullptr) noexcept {} + ISocketActivityInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketActivityTriggerDetails : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketActivityTriggerDetails(std::nullptr_t = nullptr) noexcept {} + ISocketActivityTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISocketErrorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISocketErrorStatics(std::nullptr_t = nullptr) noexcept {} + ISocketErrorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamSocket(std::nullptr_t = nullptr) noexcept {} + IStreamSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocket2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamSocket2(std::nullptr_t = nullptr) noexcept {} + IStreamSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocket3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocket3(std::nullptr_t = nullptr) noexcept {} + IStreamSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketControl(std::nullptr_t = nullptr) noexcept {} + IStreamSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketControl2(std::nullptr_t = nullptr) noexcept {} + IStreamSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketControl3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketControl3(std::nullptr_t = nullptr) noexcept {} + IStreamSocketControl3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketControl4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketControl4(std::nullptr_t = nullptr) noexcept {} + IStreamSocketControl4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketInformation(std::nullptr_t = nullptr) noexcept {} + IStreamSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketInformation2(std::nullptr_t = nullptr) noexcept {} + IStreamSocketInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamSocketListener(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListener2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamSocketListener2(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListener2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListener3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketListener3(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListener3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListenerConnectionReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketListenerConnectionReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListenerConnectionReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListenerControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketListenerControl(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListenerControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListenerControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketListenerControl2(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListenerControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketListenerInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketListenerInformation(std::nullptr_t = nullptr) noexcept {} + IStreamSocketListenerInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamSocketStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamSocketStatics(std::nullptr_t = nullptr) noexcept {} + IStreamSocketStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamWebSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamWebSocket(std::nullptr_t = nullptr) noexcept {} + IStreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IStreamWebSocket2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamWebSocket2(std::nullptr_t = nullptr) noexcept {} + IStreamWebSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IStreamWebSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IStreamWebSocketControl(std::nullptr_t = nullptr) noexcept {} + IStreamWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStreamWebSocketControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStreamWebSocketControl2(std::nullptr_t = nullptr) noexcept {} + IStreamWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebSocket(std::nullptr_t = nullptr) noexcept {} + IWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::Close; + using impl::consume_t::Close; + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketClosedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebSocketClosedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWebSocketClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebSocketControl(std::nullptr_t = nullptr) noexcept {} + IWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketControl2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebSocketControl2(std::nullptr_t = nullptr) noexcept {} + IWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketErrorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebSocketErrorStatics(std::nullptr_t = nullptr) noexcept {} + IWebSocketErrorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebSocketInformation(std::nullptr_t = nullptr) noexcept {} + IWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebSocketInformation2(std::nullptr_t = nullptr) noexcept {} + IWebSocketInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebSocketServerCustomValidationRequestedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebSocketServerCustomValidationRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} + IWebSocketServerCustomValidationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.2.h new file mode 100644 index 0000000000000000000000000000000000000000..fa9083c4eb3b09d55bd5ab2fdb3d68186ab8be76 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.sockets.2.h @@ -0,0 +1,244 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Sockets_2_H +#define WINRT_Windows_Networking_Sockets_2_H +#include "winrt/impl/Windows.ApplicationModel.Background.1.h" +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Networking.Sockets.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + struct BandwidthStatistics + { + uint64_t OutboundBitsPerSecond {}; + uint64_t InboundBitsPerSecond {}; + uint64_t OutboundBitsPerSecondInstability {}; + uint64_t InboundBitsPerSecondInstability {}; + bool OutboundBandwidthPeaked {}; + bool InboundBandwidthPeaked {}; + }; + inline bool operator==(BandwidthStatistics const& left, BandwidthStatistics const& right) noexcept + { + return left.OutboundBitsPerSecond == right.OutboundBitsPerSecond && left.InboundBitsPerSecond == right.InboundBitsPerSecond && left.OutboundBitsPerSecondInstability == right.OutboundBitsPerSecondInstability && left.InboundBitsPerSecondInstability == right.InboundBitsPerSecondInstability && left.OutboundBandwidthPeaked == right.OutboundBandwidthPeaked && left.InboundBandwidthPeaked == right.InboundBandwidthPeaked; + } + inline bool operator!=(BandwidthStatistics const& left, BandwidthStatistics const& right) noexcept + { + return !(left == right); + } + struct RoundTripTimeStatistics + { + uint32_t Variance {}; + uint32_t Max {}; + uint32_t Min {}; + uint32_t Sum {}; + }; + inline bool operator==(RoundTripTimeStatistics const& left, RoundTripTimeStatistics const& right) noexcept + { + return left.Variance == right.Variance && left.Max == right.Max && left.Min == right.Min && left.Sum == right.Sum; + } + inline bool operator!=(RoundTripTimeStatistics const& left, RoundTripTimeStatistics const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES ControlChannelTrigger : winrt::Windows::Networking::Sockets::IControlChannelTrigger, + impl::require + { + ControlChannelTrigger(std::nullptr_t) noexcept {} + ControlChannelTrigger(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IControlChannelTrigger(ptr, take_ownership_from_abi) {} + ControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes); + ControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType); + }; + struct WINRT_IMPL_EMPTY_BASES DatagramSocket : winrt::Windows::Networking::Sockets::IDatagramSocket, + impl::require + { + DatagramSocket(std::nullptr_t) noexcept {} + DatagramSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IDatagramSocket(ptr, take_ownership_from_abi) {} + DatagramSocket(); + using winrt::Windows::Networking::Sockets::IDatagramSocket::BindServiceNameAsync; + using impl::consume_t::BindServiceNameAsync; + static auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName); + static auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions); + }; + struct WINRT_IMPL_EMPTY_BASES DatagramSocketControl : winrt::Windows::Networking::Sockets::IDatagramSocketControl, + impl::require + { + DatagramSocketControl(std::nullptr_t) noexcept {} + DatagramSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IDatagramSocketControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DatagramSocketInformation : winrt::Windows::Networking::Sockets::IDatagramSocketInformation + { + DatagramSocketInformation(std::nullptr_t) noexcept {} + DatagramSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IDatagramSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DatagramSocketMessageReceivedEventArgs : winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs + { + DatagramSocketMessageReceivedEventArgs(std::nullptr_t) noexcept {} + DatagramSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MessageWebSocket : winrt::Windows::Networking::Sockets::IMessageWebSocket, + impl::require + { + MessageWebSocket(std::nullptr_t) noexcept {} + MessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IMessageWebSocket(ptr, take_ownership_from_abi) {} + MessageWebSocket(); + }; + struct WINRT_IMPL_EMPTY_BASES MessageWebSocketControl : winrt::Windows::Networking::Sockets::IMessageWebSocketControl, + impl::require + { + MessageWebSocketControl(std::nullptr_t) noexcept {} + MessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IMessageWebSocketControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MessageWebSocketInformation : winrt::Windows::Networking::Sockets::IWebSocketInformation, + impl::require + { + MessageWebSocketInformation(std::nullptr_t) noexcept {} + MessageWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IWebSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MessageWebSocketMessageReceivedEventArgs : winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs, + impl::require + { + MessageWebSocketMessageReceivedEventArgs(std::nullptr_t) noexcept {} + MessageWebSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServerMessageWebSocket : winrt::Windows::Networking::Sockets::IServerMessageWebSocket + { + ServerMessageWebSocket(std::nullptr_t) noexcept {} + ServerMessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IServerMessageWebSocket(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServerMessageWebSocketControl : winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl + { + ServerMessageWebSocketControl(std::nullptr_t) noexcept {} + ServerMessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServerMessageWebSocketInformation : winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation + { + ServerMessageWebSocketInformation(std::nullptr_t) noexcept {} + ServerMessageWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServerStreamWebSocket : winrt::Windows::Networking::Sockets::IServerStreamWebSocket + { + ServerStreamWebSocket(std::nullptr_t) noexcept {} + ServerStreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IServerStreamWebSocket(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ServerStreamWebSocketInformation : winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation + { + ServerStreamWebSocketInformation(std::nullptr_t) noexcept {} + ServerStreamWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SocketActivityContext : winrt::Windows::Networking::Sockets::ISocketActivityContext + { + SocketActivityContext(std::nullptr_t) noexcept {} + SocketActivityContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::ISocketActivityContext(ptr, take_ownership_from_abi) {} + explicit SocketActivityContext(winrt::Windows::Storage::Streams::IBuffer const& data); + }; + struct WINRT_IMPL_EMPTY_BASES SocketActivityInformation : winrt::Windows::Networking::Sockets::ISocketActivityInformation + { + SocketActivityInformation(std::nullptr_t) noexcept {} + SocketActivityInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::ISocketActivityInformation(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto AllSockets(); + }; + struct WINRT_IMPL_EMPTY_BASES SocketActivityTriggerDetails : winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails + { + SocketActivityTriggerDetails(std::nullptr_t) noexcept {} + SocketActivityTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails(ptr, take_ownership_from_abi) {} + }; + struct SocketError + { + SocketError() = delete; + static auto GetStatus(int32_t hresult); + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocket : winrt::Windows::Networking::Sockets::IStreamSocket, + impl::require + { + StreamSocket(std::nullptr_t) noexcept {} + StreamSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocket(ptr, take_ownership_from_abi) {} + StreamSocket(); + using winrt::Windows::Networking::Sockets::IStreamSocket::ConnectAsync; + using impl::consume_t::ConnectAsync; + static auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName); + static auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions); + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketControl : winrt::Windows::Networking::Sockets::IStreamSocketControl, + impl::require + { + StreamSocketControl(std::nullptr_t) noexcept {} + StreamSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketInformation : winrt::Windows::Networking::Sockets::IStreamSocketInformation, + impl::require + { + StreamSocketInformation(std::nullptr_t) noexcept {} + StreamSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketListener : winrt::Windows::Networking::Sockets::IStreamSocketListener, + impl::require + { + StreamSocketListener(std::nullptr_t) noexcept {} + StreamSocketListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketListener(ptr, take_ownership_from_abi) {} + StreamSocketListener(); + using winrt::Windows::Networking::Sockets::IStreamSocketListener::BindServiceNameAsync; + using impl::consume_t::BindServiceNameAsync; + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketListenerConnectionReceivedEventArgs : winrt::Windows::Networking::Sockets::IStreamSocketListenerConnectionReceivedEventArgs + { + StreamSocketListenerConnectionReceivedEventArgs(std::nullptr_t) noexcept {} + StreamSocketListenerConnectionReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketListenerConnectionReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketListenerControl : winrt::Windows::Networking::Sockets::IStreamSocketListenerControl, + impl::require + { + StreamSocketListenerControl(std::nullptr_t) noexcept {} + StreamSocketListenerControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketListenerControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamSocketListenerInformation : winrt::Windows::Networking::Sockets::IStreamSocketListenerInformation + { + StreamSocketListenerInformation(std::nullptr_t) noexcept {} + StreamSocketListenerInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamSocketListenerInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamWebSocket : winrt::Windows::Networking::Sockets::IStreamWebSocket, + impl::require + { + StreamWebSocket(std::nullptr_t) noexcept {} + StreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamWebSocket(ptr, take_ownership_from_abi) {} + StreamWebSocket(); + }; + struct WINRT_IMPL_EMPTY_BASES StreamWebSocketControl : winrt::Windows::Networking::Sockets::IStreamWebSocketControl, + impl::require + { + StreamWebSocketControl(std::nullptr_t) noexcept {} + StreamWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IStreamWebSocketControl(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES StreamWebSocketInformation : winrt::Windows::Networking::Sockets::IWebSocketInformation, + impl::require + { + StreamWebSocketInformation(std::nullptr_t) noexcept {} + StreamWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IWebSocketInformation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebSocketClosedEventArgs : winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs + { + WebSocketClosedEventArgs(std::nullptr_t) noexcept {} + WebSocketClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WebSocketError + { + WebSocketError() = delete; + static auto GetStatus(int32_t hresult); + }; + struct WINRT_IMPL_EMPTY_BASES WebSocketKeepAlive : winrt::Windows::ApplicationModel::Background::IBackgroundTask + { + WebSocketKeepAlive(std::nullptr_t) noexcept {} + WebSocketKeepAlive(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Background::IBackgroundTask(ptr, take_ownership_from_abi) {} + WebSocketKeepAlive(); + }; + struct WINRT_IMPL_EMPTY_BASES WebSocketServerCustomValidationRequestedEventArgs : winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs + { + WebSocketServerCustomValidationRequestedEventArgs(std::nullptr_t) noexcept {} + WebSocketServerCustomValidationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.0.h new file mode 100644 index 0000000000000000000000000000000000000000..bac354ed36e3df528671c648b10c8c87df727e50 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.0.h @@ -0,0 +1,1785 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Vpn_0_H +#define WINRT_Windows_Networking_Vpn_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; + template struct WINRT_IMPL_EMPTY_BASES IVector; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Sockets +{ + enum class ControlChannelTriggerStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct PasswordCredential; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + struct Certificate; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct Buffer; +} +WINRT_EXPORT namespace winrt::Windows::Networking::Vpn +{ + enum class VpnAppIdType : int32_t + { + PackageFamilyName = 0, + FullyQualifiedBinaryName = 1, + FilePath = 2, + }; + enum class VpnAuthenticationMethod : int32_t + { + Mschapv2 = 0, + Eap = 1, + Certificate = 2, + PresharedKey = 3, + }; + enum class VpnChannelActivityEventType : int32_t + { + Idle = 0, + Active = 1, + }; + enum class VpnChannelRequestCredentialsOptions : uint32_t + { + None = 0, + Retrying = 0x1, + UseForSingleSignIn = 0x2, + }; + enum class VpnCredentialType : int32_t + { + UsernamePassword = 0, + UsernameOtpPin = 1, + UsernamePasswordAndPin = 2, + UsernamePasswordChange = 3, + SmartCard = 4, + ProtectedCertificate = 5, + UnProtectedCertificate = 6, + }; + enum class VpnDataPathType : int32_t + { + Send = 0, + Receive = 1, + }; + enum class VpnDomainNameType : int32_t + { + Suffix = 0, + FullyQualified = 1, + Reserved = 65535, + }; + enum class VpnIPProtocol : int32_t + { + None = 0, + Tcp = 6, + Udp = 17, + Icmp = 1, + Ipv6Icmp = 58, + Igmp = 2, + Pgm = 113, + }; + enum class VpnManagementConnectionStatus : int32_t + { + Disconnected = 0, + Disconnecting = 1, + Connected = 2, + Connecting = 3, + }; + enum class VpnManagementErrorStatus : int32_t + { + Ok = 0, + Other = 1, + InvalidXmlSyntax = 2, + ProfileNameTooLong = 3, + ProfileInvalidAppId = 4, + AccessDenied = 5, + CannotFindProfile = 6, + AlreadyDisconnecting = 7, + AlreadyConnected = 8, + GeneralAuthenticationFailure = 9, + EapFailure = 10, + SmartCardFailure = 11, + CertificateFailure = 12, + ServerConfiguration = 13, + NoConnection = 14, + ServerConnection = 15, + UserNamePassword = 16, + DnsNotResolvable = 17, + InvalidIP = 18, + }; + enum class VpnNativeProtocolType : int32_t + { + Pptp = 0, + L2tp = 1, + IpsecIkev2 = 2, + }; + enum class VpnPacketBufferStatus : int32_t + { + Ok = 0, + InvalidBufferSize = 1, + }; + enum class VpnRoutingPolicyType : int32_t + { + SplitRouting = 0, + ForceAllTrafficOverVpn = 1, + }; + struct IVpnAppId; + struct IVpnAppIdFactory; + struct IVpnChannel; + struct IVpnChannel2; + struct IVpnChannel4; + struct IVpnChannel5; + struct IVpnChannel6; + struct IVpnChannelActivityEventArgs; + struct IVpnChannelActivityStateChangedArgs; + struct IVpnChannelConfiguration; + struct IVpnChannelConfiguration2; + struct IVpnChannelStatics; + struct IVpnCredential; + struct IVpnCustomCheckBox; + struct IVpnCustomComboBox; + struct IVpnCustomEditBox; + struct IVpnCustomErrorBox; + struct IVpnCustomPrompt; + struct IVpnCustomPromptBooleanInput; + struct IVpnCustomPromptElement; + struct IVpnCustomPromptOptionSelector; + struct IVpnCustomPromptText; + struct IVpnCustomPromptTextInput; + struct IVpnCustomTextBox; + struct IVpnDomainNameAssignment; + struct IVpnDomainNameInfo; + struct IVpnDomainNameInfo2; + struct IVpnDomainNameInfoFactory; + struct IVpnForegroundActivatedEventArgs; + struct IVpnForegroundActivationOperation; + struct IVpnInterfaceId; + struct IVpnInterfaceIdFactory; + struct IVpnManagementAgent; + struct IVpnNamespaceAssignment; + struct IVpnNamespaceInfo; + struct IVpnNamespaceInfoFactory; + struct IVpnNativeProfile; + struct IVpnNativeProfile2; + struct IVpnPacketBuffer; + struct IVpnPacketBuffer2; + struct IVpnPacketBuffer3; + struct IVpnPacketBufferFactory; + struct IVpnPacketBufferList; + struct IVpnPacketBufferList2; + struct IVpnPickedCredential; + struct IVpnPlugIn; + struct IVpnPlugInProfile; + struct IVpnPlugInProfile2; + struct IVpnPlugInReconnectTransport; + struct IVpnProfile; + struct IVpnRoute; + struct IVpnRouteAssignment; + struct IVpnRouteFactory; + struct IVpnSystemHealth; + struct IVpnTrafficFilter; + struct IVpnTrafficFilterAssignment; + struct IVpnTrafficFilterFactory; + struct VpnAppId; + struct VpnChannel; + struct VpnChannelActivityEventArgs; + struct VpnChannelActivityStateChangedArgs; + struct VpnChannelConfiguration; + struct VpnCredential; + struct VpnCustomCheckBox; + struct VpnCustomComboBox; + struct VpnCustomEditBox; + struct VpnCustomErrorBox; + struct VpnCustomPromptBooleanInput; + struct VpnCustomPromptOptionSelector; + struct VpnCustomPromptText; + struct VpnCustomPromptTextInput; + struct VpnCustomTextBox; + struct VpnDomainNameAssignment; + struct VpnDomainNameInfo; + struct VpnForegroundActivatedEventArgs; + struct VpnForegroundActivationOperation; + struct VpnInterfaceId; + struct VpnManagementAgent; + struct VpnNamespaceAssignment; + struct VpnNamespaceInfo; + struct VpnNativeProfile; + struct VpnPacketBuffer; + struct VpnPacketBufferList; + struct VpnPickedCredential; + struct VpnPlugInProfile; + struct VpnRoute; + struct VpnRouteAssignment; + struct VpnSystemHealth; + struct VpnTrafficFilter; + struct VpnTrafficFilterAssignment; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnAppId"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannelActivityEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannelActivityStateChangedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannelConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCredential"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomCheckBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomComboBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomEditBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomErrorBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomPromptBooleanInput"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomPromptOptionSelector"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomPromptText"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomPromptTextInput"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCustomTextBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnDomainNameAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnDomainNameInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnForegroundActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnForegroundActivationOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnInterfaceId"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnManagementAgent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnNamespaceAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnNamespaceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnNativeProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnPacketBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnPacketBufferList"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnPickedCredential"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnPlugInProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnRoute"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnRouteAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnSystemHealth"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnTrafficFilter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnTrafficFilterAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnAppIdType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnAuthenticationMethod"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannelActivityEventType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnChannelRequestCredentialsOptions"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnCredentialType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnDataPathType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnDomainNameType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnIPProtocol"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnManagementConnectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnManagementErrorStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnNativeProtocolType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnPacketBufferStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.VpnRoutingPolicyType"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnAppId"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnAppIdFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel5"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel6"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelActivityEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelActivityStateChangedArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelConfiguration2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCredential"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomCheckBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomComboBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomEditBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomErrorBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPrompt"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPromptBooleanInput"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPromptElement"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPromptOptionSelector"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPromptText"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomPromptTextInput"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnCustomTextBox"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnDomainNameAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnDomainNameInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnDomainNameInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnDomainNameInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnForegroundActivatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnForegroundActivationOperation"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnInterfaceId"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnInterfaceIdFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnManagementAgent"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnNamespaceAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnNamespaceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnNamespaceInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnNativeProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnNativeProfile2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBuffer2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBuffer3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBufferFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBufferList"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPacketBufferList2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPickedCredential"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPlugIn"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPlugInProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPlugInProfile2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnPlugInReconnectTransport"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnProfile"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnRoute"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnRouteAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnRouteFactory"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnSystemHealth"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnTrafficFilter"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnTrafficFilterAssignment"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnTrafficFilterFactory"; + template <> inline constexpr guid guid_v{ 0x7B06A635,0x5C58,0x41D9,{ 0x94,0xA7,0xBF,0xBC,0xF1,0xD8,0xCA,0x54 } }; // 7B06A635-5C58-41D9-94A7-BFBCF1D8CA54 + template <> inline constexpr guid guid_v{ 0x46ADFD2A,0x0AAB,0x4FDB,{ 0x82,0x1D,0xD3,0xDD,0xC9,0x19,0x78,0x8B } }; // 46ADFD2A-0AAB-4FDB-821D-D3DDC919788B + template <> inline constexpr guid guid_v{ 0x4AC78D07,0xD1A8,0x4303,{ 0xA0,0x91,0xC8,0xD2,0xE0,0x91,0x5B,0xC3 } }; // 4AC78D07-D1A8-4303-A091-C8D2E0915BC3 + template <> inline constexpr guid guid_v{ 0x2255D165,0x993B,0x4629,{ 0xAD,0x60,0xF1,0xC3,0xF3,0x53,0x7F,0x50 } }; // 2255D165-993B-4629-AD60-F1C3F3537F50 + template <> inline constexpr guid guid_v{ 0xD7266EDE,0x2937,0x419D,{ 0x95,0x70,0x48,0x6A,0xEB,0xB8,0x18,0x03 } }; // D7266EDE-2937-419D-9570-486AEBB81803 + template <> inline constexpr guid guid_v{ 0xDE7A0992,0x8384,0x4FBC,{ 0x88,0x2C,0x1F,0xD2,0x31,0x24,0xCD,0x3B } }; // DE7A0992-8384-4FBC-882C-1FD23124CD3B + template <> inline constexpr guid guid_v{ 0x55843696,0xBD63,0x49C5,{ 0xAB,0xCA,0x5D,0xA7,0x78,0x85,0x55,0x1A } }; // 55843696-BD63-49C5-ABCA-5DA77885551A + template <> inline constexpr guid guid_v{ 0xA36C88F2,0xAFDC,0x4775,{ 0x85,0x5D,0xD4,0xAC,0x0A,0x35,0xFC,0x55 } }; // A36C88F2-AFDC-4775-855D-D4AC0A35FC55 + template <> inline constexpr guid guid_v{ 0x3D750565,0xFDC0,0x4BBE,{ 0xA2,0x3B,0x45,0xFF,0xFC,0x6D,0x97,0xA1 } }; // 3D750565-FDC0-4BBE-A23B-45FFFC6D97A1 + template <> inline constexpr guid guid_v{ 0x0E2DDCA2,0x2012,0x4FE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x7E } }; // 0E2DDCA2-2012-4FE4-B179-8C652C6D107E + template <> inline constexpr guid guid_v{ 0xF30B574C,0x7824,0x471C,{ 0xA1,0x18,0x63,0xDB,0xC9,0x3A,0xE4,0xC7 } }; // F30B574C-7824-471C-A118-63DBC93AE4C7 + template <> inline constexpr guid guid_v{ 0x88EB062D,0xE818,0x4FFD,{ 0x98,0xA6,0x36,0x3E,0x37,0x36,0xC9,0x5D } }; // 88EB062D-E818-4FFD-98A6-363E3736C95D + template <> inline constexpr guid guid_v{ 0xB7E78AF3,0xA46D,0x404B,{ 0x87,0x29,0x18,0x32,0x52,0x28,0x53,0xAC } }; // B7E78AF3-A46D-404B-8729-1832522853AC + template <> inline constexpr guid guid_v{ 0x43878753,0x03C5,0x4E61,{ 0x93,0xD7,0xA9,0x57,0x71,0x4C,0x42,0x82 } }; // 43878753-03C5-4E61-93D7-A957714C4282 + template <> inline constexpr guid guid_v{ 0x9A24158E,0xDBA1,0x4C6F,{ 0x82,0x70,0xDC,0xF3,0xC9,0x76,0x1C,0x4C } }; // 9A24158E-DBA1-4C6F-8270-DCF3C9761C4C + template <> inline constexpr guid guid_v{ 0x3002D9A0,0xCFBF,0x4C0B,{ 0x8F,0x3C,0x66,0xF5,0x03,0xC2,0x0B,0x39 } }; // 3002D9A0-CFBF-4C0B-8F3C-66F503C20B39 + template <> inline constexpr guid guid_v{ 0x9EC4EFB2,0xC942,0x42AF,{ 0xB2,0x23,0x58,0x8B,0x48,0x32,0x87,0x21 } }; // 9EC4EFB2-C942-42AF-B223-588B48328721 + template <> inline constexpr guid guid_v{ 0x9B2EBE7B,0x87D5,0x433C,{ 0xB4,0xF6,0xEE,0xE6,0xAA,0x68,0xA2,0x44 } }; // 9B2EBE7B-87D5-433C-B4F6-EEE6AA68A244 + template <> inline constexpr guid guid_v{ 0xC4C9A69E,0xFF47,0x4527,{ 0x9F,0x27,0xA4,0x92,0x92,0x01,0x99,0x79 } }; // C4C9A69E-FF47-4527-9F27-A49292019979 + template <> inline constexpr guid guid_v{ 0x73BD5638,0x6F04,0x404D,{ 0x93,0xDD,0x50,0xA4,0x49,0x24,0xA3,0x8B } }; // 73BD5638-6F04-404D-93DD-50A44924A38B + template <> inline constexpr guid guid_v{ 0x3B8F34D9,0x8EC1,0x4E95,{ 0x9A,0x4E,0x7B,0xA6,0x4D,0x38,0xF3,0x30 } }; // 3B8F34D9-8EC1-4E95-9A4E-7BA64D38F330 + template <> inline constexpr guid guid_v{ 0x3BC8BDEE,0x3A42,0x49A3,{ 0xAB,0xDD,0x07,0xB2,0xED,0xEA,0x75,0x2D } }; // 3BC8BDEE-3A42-49A3-ABDD-07B2EDEA752D + template <> inline constexpr guid guid_v{ 0xC9DA9C75,0x913C,0x47D5,{ 0x88,0xBA,0x48,0xFC,0x48,0x93,0x02,0x35 } }; // C9DA9C75-913C-47D5-88BA-48FC48930235 + template <> inline constexpr guid guid_v{ 0xDAA4C3CA,0x8F23,0x4D36,{ 0x91,0xF1,0x76,0xD9,0x37,0x82,0x79,0x42 } }; // DAA4C3CA-8F23-4D36-91F1-76D937827942 + template <> inline constexpr guid guid_v{ 0x4135B141,0xCCDB,0x49B5,{ 0x94,0x01,0x03,0x9A,0x8A,0xE7,0x67,0xE9 } }; // 4135B141-CCDB-49B5-9401-039A8AE767E9 + template <> inline constexpr guid guid_v{ 0xAD2EB82F,0xEA8E,0x4F7A,{ 0x84,0x3E,0x1A,0x87,0xE3,0x2E,0x1B,0x9A } }; // AD2EB82F-EA8E-4F7A-843E-1A87E32E1B9A + template <> inline constexpr guid guid_v{ 0xAB871151,0x6C53,0x4828,{ 0x98,0x83,0xD8,0x86,0xDE,0x10,0x44,0x07 } }; // AB871151-6C53-4828-9883-D886DE104407 + template <> inline constexpr guid guid_v{ 0x2507BB75,0x028F,0x4688,{ 0x8D,0x3A,0xC4,0x53,0x1D,0xF3,0x7D,0xA8 } }; // 2507BB75-028F-4688-8D3A-C4531DF37DA8 + template <> inline constexpr guid guid_v{ 0x85B465B0,0xCADB,0x4D70,{ 0xAC,0x92,0x54,0x3A,0x24,0xDC,0x9E,0xBC } }; // 85B465B0-CADB-4D70-AC92-543A24DC9EBC + template <> inline constexpr guid guid_v{ 0x9E010D57,0xF17A,0x4BD5,{ 0x9B,0x6D,0xF9,0x84,0xF1,0x29,0x7D,0x3C } }; // 9E010D57-F17A-4BD5-9B6D-F984F1297D3C + template <> inline constexpr guid guid_v{ 0x9E2DDCA2,0x1712,0x4CE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x11 } }; // 9E2DDCA2-1712-4CE4-B179-8C652C6D1011 + template <> inline constexpr guid guid_v{ 0x9E2DDCA2,0x1712,0x4CE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x00 } }; // 9E2DDCA2-1712-4CE4-B179-8C652C6D1000 + template <> inline constexpr guid guid_v{ 0x193696CD,0xA5C4,0x4ABE,{ 0x85,0x2B,0x78,0x5B,0xE4,0xCB,0x3E,0x34 } }; // 193696CD-A5C4-4ABE-852B-785BE4CB3E34 + template <> inline constexpr guid guid_v{ 0xD7F7DB18,0x307D,0x4C0E,{ 0xBD,0x62,0x8F,0xA2,0x70,0xBB,0xAD,0xD6 } }; // D7F7DB18-307D-4C0E-BD62-8FA270BBADD6 + template <> inline constexpr guid guid_v{ 0x30EDFB43,0x444F,0x44C5,{ 0x81,0x67,0xA3,0x5A,0x91,0xF1,0xAF,0x94 } }; // 30EDFB43-444F-44C5-8167-A35A91F1AF94 + template <> inline constexpr guid guid_v{ 0xCB3E951A,0xB0CE,0x442B,{ 0xAC,0xBB,0x5F,0x99,0xB2,0x02,0xC3,0x1C } }; // CB3E951A-B0CE-442B-ACBB-5F99B202C31C + template <> inline constexpr guid guid_v{ 0xA4AEE29E,0x6417,0x4333,{ 0x98,0x42,0xF0,0xA6,0x6D,0xB6,0x98,0x02 } }; // A4AEE29E-6417-4333-9842-F0A66DB69802 + template <> inline constexpr guid guid_v{ 0x0FEC2467,0xCDB5,0x4AC7,{ 0xB5,0xA3,0x0A,0xFB,0x5E,0xC4,0x76,0x82 } }; // 0FEC2467-CDB5-4AC7-B5A3-0AFB5EC47682 + template <> inline constexpr guid guid_v{ 0xC2F891FC,0x4D5C,0x4A63,{ 0xB7,0x0D,0x4E,0x30,0x7E,0xAC,0xCE,0x55 } }; // C2F891FC-4D5C-4A63-B70D-4E307EACCE55 + template <> inline constexpr guid guid_v{ 0x665E91F0,0x8805,0x4BF5,{ 0xA6,0x19,0x2E,0x84,0x88,0x2E,0x6B,0x4F } }; // 665E91F0-8805-4BF5-A619-2E84882E6B4F + template <> inline constexpr guid guid_v{ 0xE256072F,0x107B,0x4C40,{ 0xB1,0x27,0x5B,0xC5,0x3E,0x0A,0xD9,0x60 } }; // E256072F-107B-4C40-B127-5BC53E0AD960 + template <> inline constexpr guid guid_v{ 0x9E2DDCA2,0x1712,0x4CE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x99,0x99 } }; // 9E2DDCA2-1712-4CE4-B179-8C652C6D9999 + template <> inline constexpr guid guid_v{ 0xC2F891FC,0x4D5C,0x4A63,{ 0xB7,0x0D,0x4E,0x30,0x7E,0xAC,0xCE,0x77 } }; // C2F891FC-4D5C-4A63-B70D-4E307EACCE77 + template <> inline constexpr guid guid_v{ 0x3E7ACFE5,0xEA1E,0x482A,{ 0x8D,0x98,0xC0,0x65,0xF5,0x7D,0x89,0xEA } }; // 3E7ACFE5-EA1E-482A-8D98-C065F57D89EA + template <> inline constexpr guid guid_v{ 0x9A793AC7,0x8854,0x4E52,{ 0xAD,0x97,0x24,0xDD,0x9A,0x84,0x2B,0xCE } }; // 9A793AC7-8854-4E52-AD97-24DD9A842BCE + template <> inline constexpr guid guid_v{ 0xCEB78D07,0xD0A8,0x4703,{ 0xA0,0x91,0xC8,0xC2,0xC0,0x91,0x5B,0xC4 } }; // CEB78D07-D0A8-4703-A091-C8C2C0915BC4 + template <> inline constexpr guid guid_v{ 0x0EDF0DA4,0x4F00,0x4589,{ 0x8D,0x7B,0x4B,0xF9,0x88,0xF6,0x54,0x2C } }; // 0EDF0DA4-4F00-4589-8D7B-4BF988F6542C + template <> inline constexpr guid guid_v{ 0x611C4892,0xCF94,0x4AD6,{ 0xBA,0x99,0x00,0xF4,0xFF,0x34,0x56,0x5E } }; // 611C4892-CF94-4AD6-BA99-00F4FF34565E + template <> inline constexpr guid guid_v{ 0x9D5A1092,0xBB46,0x4D34,{ 0x9D,0x88,0xF2,0x17,0x89,0x30,0x76,0xF4 } }; // 9D5A1092-BB46-4D34-9D88-F217893076F4 + template <> inline constexpr guid guid_v{ 0x7875B751,0xB0D7,0x43DB,{ 0x8A,0x93,0xD3,0xFE,0x24,0x79,0xE5,0x6A } }; // 7875B751-B0D7-43DB-8A93-D3FE2479E56A + template <> inline constexpr guid guid_v{ 0xB5731B83,0x0969,0x4699,{ 0x93,0x8E,0x77,0x76,0xDB,0x29,0xCF,0xB3 } }; // B5731B83-0969-4699-938E-7776DB29CFB3 + template <> inline constexpr guid guid_v{ 0xDB64DE22,0xCE39,0x4A76,{ 0x95,0x50,0xF6,0x10,0x39,0xF8,0x0E,0x48 } }; // DB64DE22-CE39-4A76-9550-F61039F80E48 + template <> inline constexpr guid guid_v{ 0xBDEAB5FF,0x45CF,0x4B99,{ 0x83,0xFB,0xDB,0x3B,0xC2,0x67,0x2B,0x02 } }; // BDEAB5FF-45CF-4B99-83FB-DB3BC2672B02 + template <> inline constexpr guid guid_v{ 0x99A8F8AF,0xC0EE,0x4E75,{ 0x81,0x7A,0xF2,0x31,0xAE,0xE5,0x12,0x3D } }; // 99A8F8AF-C0EE-4E75-817A-F231AEE5123D + template <> inline constexpr guid guid_v{ 0x2F691B60,0x6C9F,0x47F5,{ 0xAC,0x36,0xBB,0x1B,0x04,0x2E,0x2C,0x50 } }; // 2F691B60-6C9F-47F5-AC36-BB1B042E2C50 + template <> inline constexpr guid guid_v{ 0x56CCD45C,0xE664,0x471E,{ 0x89,0xCD,0x60,0x16,0x03,0xB9,0xE0,0xF3 } }; // 56CCD45C-E664-471E-89CD-601603B9E0F3 + template <> inline constexpr guid guid_v{ 0x480D41D5,0x7F99,0x474C,{ 0x86,0xEE,0x96,0xDF,0x16,0x83,0x18,0xF1 } }; // 480D41D5-7F99-474C-86EE-96DF168318F1 + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnAppId; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnChannel; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnChannelConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCredential; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomCheckBox; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomComboBox; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomEditBox; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomErrorBox; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomPromptText; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnCustomTextBox; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnDomainNameInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnForegroundActivatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnForegroundActivationOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnInterfaceId; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnManagementAgent; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnNamespaceInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnNativeProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnPacketBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnPacketBufferList; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnPickedCredential; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnPlugInProfile; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnRoute; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnRouteAssignment; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnSystemHealth; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnTrafficFilter; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall put_Value(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AssociateTransport(void*, void*) noexcept = 0; + virtual int32_t __stdcall Start(void*, void*, void*, void*, void*, uint32_t, uint32_t, bool, void*, void*) noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall RequestCredentials(int32_t, bool, bool, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestVpnPacketBuffer(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall LogDiagnosticMessage(void*) noexcept = 0; + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Configuration(void**) noexcept = 0; + virtual int32_t __stdcall add_ActivityChange(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActivityChange(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall put_PlugInContext(void*) noexcept = 0; + virtual int32_t __stdcall get_PlugInContext(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemHealth(void**) noexcept = 0; + virtual int32_t __stdcall RequestCustomPrompt(void*) noexcept = 0; + virtual int32_t __stdcall SetErrorMessage(void*) noexcept = 0; + virtual int32_t __stdcall SetAllowedSslTlsVersions(void*, bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall StartWithMainTransport(void*, void*, void*, void*, void*, uint32_t, uint32_t, bool, void*) noexcept = 0; + virtual int32_t __stdcall StartExistingTransports(void*, void*, void*, void*, void*, uint32_t, uint32_t, bool) noexcept = 0; + virtual int32_t __stdcall add_ActivityStateChange(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ActivityStateChange(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetVpnSendPacketBuffer(void**) noexcept = 0; + virtual int32_t __stdcall GetVpnReceivePacketBuffer(void**) noexcept = 0; + virtual int32_t __stdcall RequestCustomPromptAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestCredentialsWithCertificateAsync(int32_t, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestCredentialsWithOptionsAsync(int32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestCredentialsSimpleAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TerminateConnection(void*) noexcept = 0; + virtual int32_t __stdcall StartWithTrafficFilter(void*, void*, void*, void*, void*, uint32_t, uint32_t, bool, void*, void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAndAssociateTransport(void*, void*) noexcept = 0; + virtual int32_t __stdcall StartWithMultipleTransports(void*, void*, void*, void*, void*, uint32_t, uint32_t, bool, void*, void*) noexcept = 0; + virtual int32_t __stdcall ReplaceAndAssociateTransport(void*, void*) noexcept = 0; + virtual int32_t __stdcall StartReconnectingTransport(void*, void*) noexcept = 0; + virtual int32_t __stdcall GetSlotTypeForTransportContext(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CurrentRequestTransportContext(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AppendVpnReceivePacketBuffer(void*) noexcept = 0; + virtual int32_t __stdcall AppendVpnSendPacketBuffer(void*) noexcept = 0; + virtual int32_t __stdcall FlushVpnReceivePacketBuffers() noexcept = 0; + virtual int32_t __stdcall FlushVpnSendPacketBuffers() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ActivateForeground(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ActivityState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerServiceName(void**) noexcept = 0; + virtual int32_t __stdcall get_ServerHostNameList(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomField(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerUris(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProcessEventAsync(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PasskeyCredential(void**) noexcept = 0; + virtual int32_t __stdcall get_CertificateCredential(void**) noexcept = 0; + virtual int32_t __stdcall get_AdditionalPin(void**) noexcept = 0; + virtual int32_t __stdcall get_OldPasswordCredential(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_InitialCheckState(bool) noexcept = 0; + virtual int32_t __stdcall get_InitialCheckState(bool*) noexcept = 0; + virtual int32_t __stdcall get_Checked(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_OptionsText(void*) noexcept = 0; + virtual int32_t __stdcall get_OptionsText(void**) noexcept = 0; + virtual int32_t __stdcall get_Selected(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DefaultText(void*) noexcept = 0; + virtual int32_t __stdcall get_DefaultText(void**) noexcept = 0; + virtual int32_t __stdcall put_NoEcho(bool) noexcept = 0; + virtual int32_t __stdcall get_NoEcho(bool*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Label(void*) noexcept = 0; + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + virtual int32_t __stdcall put_Compulsory(bool) noexcept = 0; + virtual int32_t __stdcall get_Compulsory(bool*) noexcept = 0; + virtual int32_t __stdcall put_Bordered(bool) noexcept = 0; + virtual int32_t __stdcall get_Bordered(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_InitialValue(bool) noexcept = 0; + virtual int32_t __stdcall get_InitialValue(bool*) noexcept = 0; + virtual int32_t __stdcall get_Value(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall put_Compulsory(bool) noexcept = 0; + virtual int32_t __stdcall get_Compulsory(bool*) noexcept = 0; + virtual int32_t __stdcall put_Emphasized(bool) noexcept = 0; + virtual int32_t __stdcall get_Emphasized(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Options(void**) noexcept = 0; + virtual int32_t __stdcall get_SelectedIndex(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_PlaceholderText(void*) noexcept = 0; + virtual int32_t __stdcall get_PlaceholderText(void**) noexcept = 0; + virtual int32_t __stdcall put_IsTextHidden(bool) noexcept = 0; + virtual int32_t __stdcall get_IsTextHidden(bool*) noexcept = 0; + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DisplayText(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayText(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DomainNameList(void**) noexcept = 0; + virtual int32_t __stdcall put_ProxyAutoConfigurationUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ProxyAutoConfigurationUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DomainName(void*) noexcept = 0; + virtual int32_t __stdcall get_DomainName(void**) noexcept = 0; + virtual int32_t __stdcall put_DomainNameType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_DomainNameType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DnsServers(void**) noexcept = 0; + virtual int32_t __stdcall get_WebProxyServers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebProxyUris(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVpnDomainNameInfo(void*, int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProfileName(void**) noexcept = 0; + virtual int32_t __stdcall get_SharedContext(void**) noexcept = 0; + virtual int32_t __stdcall get_ActivationOperation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Complete(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAddressInfo(uint32_t*, uint8_t**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVpnInterfaceId(uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddProfileFromXmlAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddProfileFromObjectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateProfileFromXmlAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateProfileFromObjectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetProfilesAsync(void**) noexcept = 0; + virtual int32_t __stdcall DeleteProfileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectProfileAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConnectProfileWithPasswordCredentialAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectProfileAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_NamespaceList(void*) noexcept = 0; + virtual int32_t __stdcall get_NamespaceList(void**) noexcept = 0; + virtual int32_t __stdcall put_ProxyAutoConfigUri(void*) noexcept = 0; + virtual int32_t __stdcall get_ProxyAutoConfigUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Namespace(void*) noexcept = 0; + virtual int32_t __stdcall get_Namespace(void**) noexcept = 0; + virtual int32_t __stdcall put_DnsServers(void*) noexcept = 0; + virtual int32_t __stdcall get_DnsServers(void**) noexcept = 0; + virtual int32_t __stdcall put_WebProxyServers(void*) noexcept = 0; + virtual int32_t __stdcall get_WebProxyServers(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVpnNamespaceInfo(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Servers(void**) noexcept = 0; + virtual int32_t __stdcall get_RoutingPolicyType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RoutingPolicyType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_NativeProtocolType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_NativeProtocolType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_UserAuthenticationMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_UserAuthenticationMethod(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TunnelAuthenticationMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TunnelAuthenticationMethod(int32_t) noexcept = 0; + virtual int32_t __stdcall get_EapConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall put_EapConfiguration(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequireVpnClientAppUI(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequireVpnClientAppUI(bool) noexcept = 0; + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Buffer(void**) noexcept = 0; + virtual int32_t __stdcall put_Status(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TransportAffinity(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_TransportAffinity(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_TransportContext(void*) noexcept = 0; + virtual int32_t __stdcall get_TransportContext(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVpnPacketBuffer(void*, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Append(void*) noexcept = 0; + virtual int32_t __stdcall AddAtBegin(void*) noexcept = 0; + virtual int32_t __stdcall RemoveAtEnd(void**) noexcept = 0; + virtual int32_t __stdcall RemoveAtBegin(void**) noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + virtual int32_t __stdcall put_Status(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Size(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddLeadingPacket(void*) noexcept = 0; + virtual int32_t __stdcall RemoveLeadingPacket(void**) noexcept = 0; + virtual int32_t __stdcall AddTrailingPacket(void*) noexcept = 0; + virtual int32_t __stdcall RemoveTrailingPacket(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PasskeyCredential(void**) noexcept = 0; + virtual int32_t __stdcall get_AdditionalPin(void**) noexcept = 0; + virtual int32_t __stdcall get_OldPasswordCredential(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Connect(void*) noexcept = 0; + virtual int32_t __stdcall Disconnect(void*) noexcept = 0; + virtual int32_t __stdcall GetKeepAlivePayload(void*, void**) noexcept = 0; + virtual int32_t __stdcall Encapsulate(void*, void*, void*) noexcept = 0; + virtual int32_t __stdcall Decapsulate(void*, void*, void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServerUris(void**) noexcept = 0; + virtual int32_t __stdcall get_CustomConfiguration(void**) noexcept = 0; + virtual int32_t __stdcall put_CustomConfiguration(void*) noexcept = 0; + virtual int32_t __stdcall get_VpnPluginPackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall put_VpnPluginPackageFamilyName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequireVpnClientAppUI(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequireVpnClientAppUI(bool) noexcept = 0; + virtual int32_t __stdcall get_ConnectionStatus(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReconnectTransport(void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProfileName(void**) noexcept = 0; + virtual int32_t __stdcall put_ProfileName(void*) noexcept = 0; + virtual int32_t __stdcall get_AppTriggers(void**) noexcept = 0; + virtual int32_t __stdcall get_Routes(void**) noexcept = 0; + virtual int32_t __stdcall get_DomainNameInfoList(void**) noexcept = 0; + virtual int32_t __stdcall get_TrafficFilters(void**) noexcept = 0; + virtual int32_t __stdcall get_RememberCredentials(bool*) noexcept = 0; + virtual int32_t __stdcall put_RememberCredentials(bool) noexcept = 0; + virtual int32_t __stdcall get_AlwaysOn(bool*) noexcept = 0; + virtual int32_t __stdcall put_AlwaysOn(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Address(void*) noexcept = 0; + virtual int32_t __stdcall get_Address(void**) noexcept = 0; + virtual int32_t __stdcall put_PrefixSize(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PrefixSize(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Ipv4InclusionRoutes(void*) noexcept = 0; + virtual int32_t __stdcall put_Ipv6InclusionRoutes(void*) noexcept = 0; + virtual int32_t __stdcall get_Ipv4InclusionRoutes(void**) noexcept = 0; + virtual int32_t __stdcall get_Ipv6InclusionRoutes(void**) noexcept = 0; + virtual int32_t __stdcall put_Ipv4ExclusionRoutes(void*) noexcept = 0; + virtual int32_t __stdcall put_Ipv6ExclusionRoutes(void*) noexcept = 0; + virtual int32_t __stdcall get_Ipv4ExclusionRoutes(void**) noexcept = 0; + virtual int32_t __stdcall get_Ipv6ExclusionRoutes(void**) noexcept = 0; + virtual int32_t __stdcall put_ExcludeLocalSubnets(bool) noexcept = 0; + virtual int32_t __stdcall get_ExcludeLocalSubnets(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateVpnRoute(void*, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StatementOfHealth(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppId(void**) noexcept = 0; + virtual int32_t __stdcall put_AppId(void*) noexcept = 0; + virtual int32_t __stdcall get_AppClaims(void**) noexcept = 0; + virtual int32_t __stdcall get_Protocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Protocol(int32_t) noexcept = 0; + virtual int32_t __stdcall get_LocalPortRanges(void**) noexcept = 0; + virtual int32_t __stdcall get_RemotePortRanges(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalAddressRanges(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteAddressRanges(void**) noexcept = 0; + virtual int32_t __stdcall get_RoutingPolicyType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RoutingPolicyType(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TrafficFilterList(void**) noexcept = 0; + virtual int32_t __stdcall get_AllowOutbound(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowOutbound(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowInbound(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowInbound(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_Vpn_IVpnAppId + { + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnAppId; + }; + template + struct consume_Windows_Networking_Vpn_IVpnAppIdFactory + { + auto Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnAppIdFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannel + { + auto AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; + auto Start(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& routeScope, winrt::Windows::Networking::Vpn::VpnNamespaceAssignment const& namespaceScope, uint32_t mtuSize, uint32_t maxFrameSize, bool optimizeForLowCostNetwork, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; + auto Stop() const; + auto RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const; + auto LogDiagnosticMessage(param::hstring const& message) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Configuration() const; + auto ActivityChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActivityChange_revoker = impl::event_revoker::remove_ActivityChange>; + [[nodiscard]] auto ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActivityChange(winrt::event_token const& token) const noexcept; + auto PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PlugInContext() const; + [[nodiscard]] auto SystemHealth() const; + auto RequestCustomPrompt(param::vector_view const& customPrompt) const; + auto SetErrorMessage(param::hstring const& message) const; + auto SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannel2 + { + auto StartWithMainTransport(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport) const; + auto StartExistingTransports(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved) const; + auto ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ActivityStateChange_revoker = impl::event_revoker::remove_ActivityStateChange>; + [[nodiscard]] auto ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActivityStateChange(winrt::event_token const& token) const noexcept; + auto GetVpnSendPacketBuffer() const; + auto GetVpnReceivePacketBuffer() const; + auto RequestCustomPromptAsync(param::async_vector_view const& customPromptElement) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const; + auto TerminateConnection(param::hstring const& message) const; + auto StartWithTrafficFilter(param::vector_view const& assignedClientIpv4List, param::vector_view const& assignedClientIpv6List, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannel4 + { + auto AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto StartWithTrafficFilter(param::iterable const& assignedClientIpv4Addresses, param::iterable const& assignedClientIpv6Addresses, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpninterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, param::iterable const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; + auto ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const; + [[nodiscard]] auto CurrentRequestTransportContext() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel4; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannel5 + { + auto AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const; + auto AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const; + auto FlushVpnReceivePacketBuffers() const; + auto FlushVpnSendPacketBuffers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel5; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannel6 + { + auto ActivateForeground(param::hstring const& packageRelativeAppId, winrt::Windows::Foundation::Collections::ValueSet const& sharedContext) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel6; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs + { + [[nodiscard]] auto Type() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs + { + [[nodiscard]] auto ActivityState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration + { + [[nodiscard]] auto ServerServiceName() const; + [[nodiscard]] auto ServerHostNameList() const; + [[nodiscard]] auto CustomField() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannelConfiguration; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration2 + { + [[nodiscard]] auto ServerUris() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannelConfiguration2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnChannelStatics + { + auto ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannelStatics; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCredential + { + [[nodiscard]] auto PasskeyCredential() const; + [[nodiscard]] auto CertificateCredential() const; + [[nodiscard]] auto AdditionalPin() const; + [[nodiscard]] auto OldPasswordCredential() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCredential; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomCheckBox + { + auto InitialCheckState(bool value) const; + [[nodiscard]] auto InitialCheckState() const; + [[nodiscard]] auto Checked() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomCheckBox; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomComboBox + { + auto OptionsText(param::async_vector_view const& value) const; + [[nodiscard]] auto OptionsText() const; + [[nodiscard]] auto Selected() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomComboBox; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomEditBox + { + auto DefaultText(param::hstring const& value) const; + [[nodiscard]] auto DefaultText() const; + auto NoEcho(bool value) const; + [[nodiscard]] auto NoEcho() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomEditBox; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomErrorBox + { + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomErrorBox; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPrompt + { + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; + auto Compulsory(bool value) const; + [[nodiscard]] auto Compulsory() const; + auto Bordered(bool value) const; + [[nodiscard]] auto Bordered() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPrompt; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput + { + auto InitialValue(bool value) const; + [[nodiscard]] auto InitialValue() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPromptElement + { + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto Compulsory(bool value) const; + [[nodiscard]] auto Compulsory() const; + auto Emphasized(bool value) const; + [[nodiscard]] auto Emphasized() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPromptElement; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector + { + [[nodiscard]] auto Options() const; + [[nodiscard]] auto SelectedIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPromptText + { + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPromptText; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput + { + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto IsTextHidden(bool value) const; + [[nodiscard]] auto IsTextHidden() const; + [[nodiscard]] auto Text() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput; + }; + template + struct consume_Windows_Networking_Vpn_IVpnCustomTextBox + { + auto DisplayText(param::hstring const& value) const; + [[nodiscard]] auto DisplayText() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnCustomTextBox; + }; + template + struct consume_Windows_Networking_Vpn_IVpnDomainNameAssignment + { + [[nodiscard]] auto DomainNameList() const; + auto ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ProxyAutoConfigurationUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnDomainNameAssignment; + }; + template + struct consume_Windows_Networking_Vpn_IVpnDomainNameInfo + { + auto DomainName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto DomainName() const; + auto DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const; + [[nodiscard]] auto DomainNameType() const; + [[nodiscard]] auto DnsServers() const; + [[nodiscard]] auto WebProxyServers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnDomainNameInfo; + }; + template + struct consume_Windows_Networking_Vpn_IVpnDomainNameInfo2 + { + [[nodiscard]] auto WebProxyUris() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnDomainNameInfo2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory + { + auto CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnForegroundActivatedEventArgs + { + [[nodiscard]] auto ProfileName() const; + [[nodiscard]] auto SharedContext() const; + [[nodiscard]] auto ActivationOperation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnForegroundActivatedEventArgs; + }; + template + struct consume_Windows_Networking_Vpn_IVpnForegroundActivationOperation + { + auto Complete(winrt::Windows::Foundation::Collections::ValueSet const& result) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnForegroundActivationOperation; + }; + template + struct consume_Windows_Networking_Vpn_IVpnInterfaceId + { + auto GetAddressInfo(com_array& id) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnInterfaceId; + }; + template + struct consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory + { + auto CreateVpnInterfaceId(array_view address) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnManagementAgent + { + auto AddProfileFromXmlAsync(param::hstring const& xml) const; + auto AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto UpdateProfileFromXmlAsync(param::hstring const& xml) const; + auto UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto GetProfilesAsync() const; + auto DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnManagementAgent; + }; + template + struct consume_Windows_Networking_Vpn_IVpnNamespaceAssignment + { + auto NamespaceList(param::vector const& value) const; + [[nodiscard]] auto NamespaceList() const; + auto ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ProxyAutoConfigUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnNamespaceAssignment; + }; + template + struct consume_Windows_Networking_Vpn_IVpnNamespaceInfo + { + auto Namespace(param::hstring const& value) const; + [[nodiscard]] auto Namespace() const; + auto DnsServers(param::vector const& value) const; + [[nodiscard]] auto DnsServers() const; + auto WebProxyServers(param::vector const& value) const; + [[nodiscard]] auto WebProxyServers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnNamespaceInfo; + }; + template + struct consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory + { + auto CreateVpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnNativeProfile + { + [[nodiscard]] auto Servers() const; + [[nodiscard]] auto RoutingPolicyType() const; + auto RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; + [[nodiscard]] auto NativeProtocolType() const; + auto NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const; + [[nodiscard]] auto UserAuthenticationMethod() const; + auto UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; + [[nodiscard]] auto TunnelAuthenticationMethod() const; + auto TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; + [[nodiscard]] auto EapConfiguration() const; + auto EapConfiguration(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnNativeProfile; + }; + template + struct consume_Windows_Networking_Vpn_IVpnNativeProfile2 + { + [[nodiscard]] auto RequireVpnClientAppUI() const; + auto RequireVpnClientAppUI(bool value) const; + [[nodiscard]] auto ConnectionStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnNativeProfile2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBuffer + { + [[nodiscard]] auto Buffer() const; + auto Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; + [[nodiscard]] auto Status() const; + auto TransportAffinity(uint32_t value) const; + [[nodiscard]] auto TransportAffinity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBuffer; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBuffer2 + { + [[nodiscard]] auto AppId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBuffer2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBuffer3 + { + auto TransportContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto TransportContext() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBuffer3; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBufferFactory + { + auto CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBufferFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBufferList + { + auto Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveAtEnd() const; + auto RemoveAtBegin() const; + auto Clear() const; + auto Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Size() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBufferList; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPacketBufferList2 + { + auto AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveLeadingPacket() const; + auto AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveTrailingPacket() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPacketBufferList2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPickedCredential + { + [[nodiscard]] auto PasskeyCredential() const; + [[nodiscard]] auto AdditionalPin() const; + [[nodiscard]] auto OldPasswordCredential() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPickedCredential; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPlugIn + { + auto Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; + auto Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; + auto GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const; + auto Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const; + auto Decapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapBuffer, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& decapsulatedPackets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& controlPacketsToSend) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPlugIn; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPlugInProfile + { + [[nodiscard]] auto ServerUris() const; + [[nodiscard]] auto CustomConfiguration() const; + auto CustomConfiguration(param::hstring const& value) const; + [[nodiscard]] auto VpnPluginPackageFamilyName() const; + auto VpnPluginPackageFamilyName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPlugInProfile; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPlugInProfile2 + { + [[nodiscard]] auto RequireVpnClientAppUI() const; + auto RequireVpnClientAppUI(bool value) const; + [[nodiscard]] auto ConnectionStatus() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPlugInProfile2; + }; + template + struct consume_Windows_Networking_Vpn_IVpnPlugInReconnectTransport + { + auto ReconnectTransport(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Foundation::IInspectable const& context) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnPlugInReconnectTransport; + }; + template + struct consume_Windows_Networking_Vpn_IVpnProfile + { + [[nodiscard]] auto ProfileName() const; + auto ProfileName(param::hstring const& value) const; + [[nodiscard]] auto AppTriggers() const; + [[nodiscard]] auto Routes() const; + [[nodiscard]] auto DomainNameInfoList() const; + [[nodiscard]] auto TrafficFilters() const; + [[nodiscard]] auto RememberCredentials() const; + auto RememberCredentials(bool value) const; + [[nodiscard]] auto AlwaysOn() const; + auto AlwaysOn(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnProfile; + }; + template + struct consume_Windows_Networking_Vpn_IVpnRoute + { + auto Address(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto Address() const; + auto PrefixSize(uint8_t value) const; + [[nodiscard]] auto PrefixSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnRoute; + }; + template + struct consume_Windows_Networking_Vpn_IVpnRouteAssignment + { + auto Ipv4InclusionRoutes(param::vector const& value) const; + auto Ipv6InclusionRoutes(param::vector const& value) const; + [[nodiscard]] auto Ipv4InclusionRoutes() const; + [[nodiscard]] auto Ipv6InclusionRoutes() const; + auto Ipv4ExclusionRoutes(param::vector const& value) const; + auto Ipv6ExclusionRoutes(param::vector const& value) const; + [[nodiscard]] auto Ipv4ExclusionRoutes() const; + [[nodiscard]] auto Ipv6ExclusionRoutes() const; + auto ExcludeLocalSubnets(bool value) const; + [[nodiscard]] auto ExcludeLocalSubnets() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnRouteAssignment; + }; + template + struct consume_Windows_Networking_Vpn_IVpnRouteFactory + { + auto CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnRouteFactory; + }; + template + struct consume_Windows_Networking_Vpn_IVpnSystemHealth + { + [[nodiscard]] auto StatementOfHealth() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnSystemHealth; + }; + template + struct consume_Windows_Networking_Vpn_IVpnTrafficFilter + { + [[nodiscard]] auto AppId() const; + auto AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const; + [[nodiscard]] auto AppClaims() const; + [[nodiscard]] auto Protocol() const; + auto Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const; + [[nodiscard]] auto LocalPortRanges() const; + [[nodiscard]] auto RemotePortRanges() const; + [[nodiscard]] auto LocalAddressRanges() const; + [[nodiscard]] auto RemoteAddressRanges() const; + [[nodiscard]] auto RoutingPolicyType() const; + auto RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnTrafficFilter; + }; + template + struct consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment + { + [[nodiscard]] auto TrafficFilterList() const; + [[nodiscard]] auto AllowOutbound() const; + auto AllowOutbound(bool value) const; + [[nodiscard]] auto AllowInbound() const; + auto AllowInbound(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment; + }; + template + struct consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory + { + auto Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.1.h new file mode 100644 index 0000000000000000000000000000000000000000..3b154aaf48d2624135f58169ff32d8d0b50e8877 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.1.h @@ -0,0 +1,427 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Vpn_1_H +#define WINRT_Windows_Networking_Vpn_1_H +#include "winrt/impl/Windows.Foundation.Collections.0.h" +#include "winrt/impl/Windows.Networking.Vpn.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Vpn +{ + struct WINRT_IMPL_EMPTY_BASES IVpnAppId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnAppId(std::nullptr_t = nullptr) noexcept {} + IVpnAppId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnAppIdFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnAppIdFactory(std::nullptr_t = nullptr) noexcept {} + IVpnAppIdFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel(std::nullptr_t = nullptr) noexcept {} + IVpnChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannel2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel2(std::nullptr_t = nullptr) noexcept {} + IVpnChannel2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannel4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel4(std::nullptr_t = nullptr) noexcept {} + IVpnChannel4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannel5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel5(std::nullptr_t = nullptr) noexcept {} + IVpnChannel5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannel6 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel6(std::nullptr_t = nullptr) noexcept {} + IVpnChannel6(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannelActivityEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannelActivityEventArgs(std::nullptr_t = nullptr) noexcept {} + IVpnChannelActivityEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannelActivityStateChangedArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannelActivityStateChangedArgs(std::nullptr_t = nullptr) noexcept {} + IVpnChannelActivityStateChangedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannelConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannelConfiguration(std::nullptr_t = nullptr) noexcept {} + IVpnChannelConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannelConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannelConfiguration2(std::nullptr_t = nullptr) noexcept {} + IVpnChannelConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnChannelStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannelStatics(std::nullptr_t = nullptr) noexcept {} + IVpnChannelStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCredential : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnCredential(std::nullptr_t = nullptr) noexcept {} + IVpnCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomCheckBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomCheckBox(std::nullptr_t = nullptr) noexcept {} + IVpnCustomCheckBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomComboBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomComboBox(std::nullptr_t = nullptr) noexcept {} + IVpnCustomComboBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomEditBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomEditBox(std::nullptr_t = nullptr) noexcept {} + IVpnCustomEditBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomErrorBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomErrorBox(std::nullptr_t = nullptr) noexcept {} + IVpnCustomErrorBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPrompt : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnCustomPrompt(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPrompt(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPromptBooleanInput : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomPromptBooleanInput(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPromptBooleanInput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPromptElement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnCustomPromptElement(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPromptElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPromptOptionSelector : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomPromptOptionSelector(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPromptOptionSelector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPromptText : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomPromptText(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPromptText(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomPromptTextInput : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomPromptTextInput(std::nullptr_t = nullptr) noexcept {} + IVpnCustomPromptTextInput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnCustomTextBox : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnCustomTextBox(std::nullptr_t = nullptr) noexcept {} + IVpnCustomTextBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnDomainNameAssignment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnDomainNameAssignment(std::nullptr_t = nullptr) noexcept {} + IVpnDomainNameAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnDomainNameInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnDomainNameInfo(std::nullptr_t = nullptr) noexcept {} + IVpnDomainNameInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnDomainNameInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnDomainNameInfo2(std::nullptr_t = nullptr) noexcept {} + IVpnDomainNameInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnDomainNameInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnDomainNameInfoFactory(std::nullptr_t = nullptr) noexcept {} + IVpnDomainNameInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnForegroundActivatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnForegroundActivatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IVpnForegroundActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnForegroundActivationOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnForegroundActivationOperation(std::nullptr_t = nullptr) noexcept {} + IVpnForegroundActivationOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnInterfaceId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnInterfaceId(std::nullptr_t = nullptr) noexcept {} + IVpnInterfaceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnInterfaceIdFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnInterfaceIdFactory(std::nullptr_t = nullptr) noexcept {} + IVpnInterfaceIdFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnManagementAgent : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnManagementAgent(std::nullptr_t = nullptr) noexcept {} + IVpnManagementAgent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnNamespaceAssignment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnNamespaceAssignment(std::nullptr_t = nullptr) noexcept {} + IVpnNamespaceAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnNamespaceInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnNamespaceInfo(std::nullptr_t = nullptr) noexcept {} + IVpnNamespaceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnNamespaceInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnNamespaceInfoFactory(std::nullptr_t = nullptr) noexcept {} + IVpnNamespaceInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnNativeProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnNativeProfile(std::nullptr_t = nullptr) noexcept {} + IVpnNativeProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnNativeProfile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnNativeProfile2(std::nullptr_t = nullptr) noexcept {} + IVpnNativeProfile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPacketBuffer(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBuffer2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPacketBuffer2(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBuffer2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBuffer3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPacketBuffer3(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBuffer3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBufferFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPacketBufferFactory(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBufferFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBufferList : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require> + { + IVpnPacketBufferList(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBufferList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPacketBufferList2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require> + { + IVpnPacketBufferList2(std::nullptr_t = nullptr) noexcept {} + IVpnPacketBufferList2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPickedCredential : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPickedCredential(std::nullptr_t = nullptr) noexcept {} + IVpnPickedCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPlugIn : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPlugIn(std::nullptr_t = nullptr) noexcept {} + IVpnPlugIn(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPlugInProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnPlugInProfile(std::nullptr_t = nullptr) noexcept {} + IVpnPlugInProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPlugInProfile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVpnPlugInProfile2(std::nullptr_t = nullptr) noexcept {} + IVpnPlugInProfile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnPlugInReconnectTransport : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnPlugInReconnectTransport(std::nullptr_t = nullptr) noexcept {} + IVpnPlugInReconnectTransport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnProfile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnProfile(std::nullptr_t = nullptr) noexcept {} + IVpnProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnRoute : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnRoute(std::nullptr_t = nullptr) noexcept {} + IVpnRoute(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnRouteAssignment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnRouteAssignment(std::nullptr_t = nullptr) noexcept {} + IVpnRouteAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnRouteFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnRouteFactory(std::nullptr_t = nullptr) noexcept {} + IVpnRouteFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnSystemHealth : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnSystemHealth(std::nullptr_t = nullptr) noexcept {} + IVpnSystemHealth(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnTrafficFilter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnTrafficFilter(std::nullptr_t = nullptr) noexcept {} + IVpnTrafficFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnTrafficFilterAssignment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnTrafficFilterAssignment(std::nullptr_t = nullptr) noexcept {} + IVpnTrafficFilterAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVpnTrafficFilterFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnTrafficFilterFactory(std::nullptr_t = nullptr) noexcept {} + IVpnTrafficFilterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.2.h new file mode 100644 index 0000000000000000000000000000000000000000..409dc0c015095eed650378471a1a5c6d9bd9d44a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.vpn.2.h @@ -0,0 +1,214 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_Vpn_2_H +#define WINRT_Windows_Networking_Vpn_2_H +#include "winrt/impl/Windows.ApplicationModel.Activation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Networking.Vpn.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::Vpn +{ + struct WINRT_IMPL_EMPTY_BASES VpnAppId : winrt::Windows::Networking::Vpn::IVpnAppId + { + VpnAppId(std::nullptr_t) noexcept {} + VpnAppId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnAppId(ptr, take_ownership_from_abi) {} + VpnAppId(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value); + }; + struct WINRT_IMPL_EMPTY_BASES VpnChannel : winrt::Windows::Networking::Vpn::IVpnChannel, + impl::require + { + VpnChannel(std::nullptr_t) noexcept {} + VpnChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannel(ptr, take_ownership_from_abi) {} + using impl::consume_t::StartWithTrafficFilter; + using impl::consume_t::StartWithTrafficFilter; + static auto ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event); + }; + struct WINRT_IMPL_EMPTY_BASES VpnChannelActivityEventArgs : winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs + { + VpnChannelActivityEventArgs(std::nullptr_t) noexcept {} + VpnChannelActivityEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnChannelActivityStateChangedArgs : winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs + { + VpnChannelActivityStateChangedArgs(std::nullptr_t) noexcept {} + VpnChannelActivityStateChangedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnChannelConfiguration : winrt::Windows::Networking::Vpn::IVpnChannelConfiguration, + impl::require + { + VpnChannelConfiguration(std::nullptr_t) noexcept {} + VpnChannelConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannelConfiguration(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnCredential : winrt::Windows::Networking::Vpn::IVpnCredential + { + VpnCredential(std::nullptr_t) noexcept {} + VpnCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCredential(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomCheckBox : winrt::Windows::Networking::Vpn::IVpnCustomCheckBox + { + VpnCustomCheckBox(std::nullptr_t) noexcept {} + VpnCustomCheckBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomCheckBox(ptr, take_ownership_from_abi) {} + VpnCustomCheckBox(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomComboBox : winrt::Windows::Networking::Vpn::IVpnCustomComboBox + { + VpnCustomComboBox(std::nullptr_t) noexcept {} + VpnCustomComboBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomComboBox(ptr, take_ownership_from_abi) {} + VpnCustomComboBox(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomEditBox : winrt::Windows::Networking::Vpn::IVpnCustomEditBox + { + VpnCustomEditBox(std::nullptr_t) noexcept {} + VpnCustomEditBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomEditBox(ptr, take_ownership_from_abi) {} + VpnCustomEditBox(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomErrorBox : winrt::Windows::Networking::Vpn::IVpnCustomErrorBox + { + VpnCustomErrorBox(std::nullptr_t) noexcept {} + VpnCustomErrorBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomErrorBox(ptr, take_ownership_from_abi) {} + VpnCustomErrorBox(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomPromptBooleanInput : winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput + { + VpnCustomPromptBooleanInput(std::nullptr_t) noexcept {} + VpnCustomPromptBooleanInput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput(ptr, take_ownership_from_abi) {} + VpnCustomPromptBooleanInput(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomPromptOptionSelector : winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector + { + VpnCustomPromptOptionSelector(std::nullptr_t) noexcept {} + VpnCustomPromptOptionSelector(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector(ptr, take_ownership_from_abi) {} + VpnCustomPromptOptionSelector(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomPromptText : winrt::Windows::Networking::Vpn::IVpnCustomPromptText + { + VpnCustomPromptText(std::nullptr_t) noexcept {} + VpnCustomPromptText(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomPromptText(ptr, take_ownership_from_abi) {} + VpnCustomPromptText(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomPromptTextInput : winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput + { + VpnCustomPromptTextInput(std::nullptr_t) noexcept {} + VpnCustomPromptTextInput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput(ptr, take_ownership_from_abi) {} + VpnCustomPromptTextInput(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnCustomTextBox : winrt::Windows::Networking::Vpn::IVpnCustomTextBox + { + VpnCustomTextBox(std::nullptr_t) noexcept {} + VpnCustomTextBox(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnCustomTextBox(ptr, take_ownership_from_abi) {} + VpnCustomTextBox(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnDomainNameAssignment : winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment + { + VpnDomainNameAssignment(std::nullptr_t) noexcept {} + VpnDomainNameAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment(ptr, take_ownership_from_abi) {} + VpnDomainNameAssignment(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnDomainNameInfo : winrt::Windows::Networking::Vpn::IVpnDomainNameInfo, + impl::require + { + VpnDomainNameInfo(std::nullptr_t) noexcept {} + VpnDomainNameInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnDomainNameInfo(ptr, take_ownership_from_abi) {} + VpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList); + }; + struct WINRT_IMPL_EMPTY_BASES VpnForegroundActivatedEventArgs : winrt::Windows::Networking::Vpn::IVpnForegroundActivatedEventArgs, + impl::require + { + VpnForegroundActivatedEventArgs(std::nullptr_t) noexcept {} + VpnForegroundActivatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnForegroundActivatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnForegroundActivationOperation : winrt::Windows::Networking::Vpn::IVpnForegroundActivationOperation + { + VpnForegroundActivationOperation(std::nullptr_t) noexcept {} + VpnForegroundActivationOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnForegroundActivationOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnInterfaceId : winrt::Windows::Networking::Vpn::IVpnInterfaceId + { + VpnInterfaceId(std::nullptr_t) noexcept {} + VpnInterfaceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnInterfaceId(ptr, take_ownership_from_abi) {} + explicit VpnInterfaceId(array_view address); + }; + struct WINRT_IMPL_EMPTY_BASES VpnManagementAgent : winrt::Windows::Networking::Vpn::IVpnManagementAgent + { + VpnManagementAgent(std::nullptr_t) noexcept {} + VpnManagementAgent(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnManagementAgent(ptr, take_ownership_from_abi) {} + VpnManagementAgent(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnNamespaceAssignment : winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment + { + VpnNamespaceAssignment(std::nullptr_t) noexcept {} + VpnNamespaceAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment(ptr, take_ownership_from_abi) {} + VpnNamespaceAssignment(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnNamespaceInfo : winrt::Windows::Networking::Vpn::IVpnNamespaceInfo + { + VpnNamespaceInfo(std::nullptr_t) noexcept {} + VpnNamespaceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnNamespaceInfo(ptr, take_ownership_from_abi) {} + VpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList); + }; + struct WINRT_IMPL_EMPTY_BASES VpnNativeProfile : winrt::Windows::Networking::Vpn::IVpnNativeProfile, + impl::require + { + VpnNativeProfile(std::nullptr_t) noexcept {} + VpnNativeProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnNativeProfile(ptr, take_ownership_from_abi) {} + VpnNativeProfile(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnPacketBuffer : winrt::Windows::Networking::Vpn::IVpnPacketBuffer, + impl::require + { + VpnPacketBuffer(std::nullptr_t) noexcept {} + VpnPacketBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnPacketBuffer(ptr, take_ownership_from_abi) {} + VpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length); + }; + struct WINRT_IMPL_EMPTY_BASES VpnPacketBufferList : winrt::Windows::Networking::Vpn::IVpnPacketBufferList + { + VpnPacketBufferList(std::nullptr_t) noexcept {} + VpnPacketBufferList(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnPacketBufferList(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnPickedCredential : winrt::Windows::Networking::Vpn::IVpnPickedCredential + { + VpnPickedCredential(std::nullptr_t) noexcept {} + VpnPickedCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnPickedCredential(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnPlugInProfile : winrt::Windows::Networking::Vpn::IVpnPlugInProfile, + impl::require + { + VpnPlugInProfile(std::nullptr_t) noexcept {} + VpnPlugInProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnPlugInProfile(ptr, take_ownership_from_abi) {} + VpnPlugInProfile(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnRoute : winrt::Windows::Networking::Vpn::IVpnRoute + { + VpnRoute(std::nullptr_t) noexcept {} + VpnRoute(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnRoute(ptr, take_ownership_from_abi) {} + VpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize); + }; + struct WINRT_IMPL_EMPTY_BASES VpnRouteAssignment : winrt::Windows::Networking::Vpn::IVpnRouteAssignment + { + VpnRouteAssignment(std::nullptr_t) noexcept {} + VpnRouteAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnRouteAssignment(ptr, take_ownership_from_abi) {} + VpnRouteAssignment(); + }; + struct WINRT_IMPL_EMPTY_BASES VpnSystemHealth : winrt::Windows::Networking::Vpn::IVpnSystemHealth + { + VpnSystemHealth(std::nullptr_t) noexcept {} + VpnSystemHealth(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnSystemHealth(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VpnTrafficFilter : winrt::Windows::Networking::Vpn::IVpnTrafficFilter + { + VpnTrafficFilter(std::nullptr_t) noexcept {} + VpnTrafficFilter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnTrafficFilter(ptr, take_ownership_from_abi) {} + explicit VpnTrafficFilter(winrt::Windows::Networking::Vpn::VpnAppId const& appId); + }; + struct WINRT_IMPL_EMPTY_BASES VpnTrafficFilterAssignment : winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment + { + VpnTrafficFilterAssignment(std::nullptr_t) noexcept {} + VpnTrafficFilterAssignment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment(ptr, take_ownership_from_abi) {} + VpnTrafficFilterAssignment(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.0.h new file mode 100644 index 0000000000000000000000000000000000000000..03557610195e68956eeb54438d63132836bb7e62 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.0.h @@ -0,0 +1,555 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_XboxLive_0_H +#define WINRT_Windows_Networking_XboxLive_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Networking::XboxLive +{ + enum class XboxLiveEndpointPairCreationBehaviors : uint32_t + { + None = 0, + ReevaluatePath = 0x1, + }; + enum class XboxLiveEndpointPairCreationStatus : int32_t + { + Succeeded = 0, + NoLocalNetworks = 1, + NoCompatibleNetworkPaths = 2, + LocalSystemNotAuthorized = 3, + Canceled = 4, + TimedOut = 5, + RemoteSystemNotAuthorized = 6, + RefusedDueToConfiguration = 7, + UnexpectedInternalError = 8, + }; + enum class XboxLiveEndpointPairState : int32_t + { + Invalid = 0, + CreatingOutbound = 1, + CreatingInbound = 2, + Ready = 3, + DeletingLocally = 4, + RemoteEndpointTerminating = 5, + Deleted = 6, + }; + enum class XboxLiveNetworkAccessKind : int32_t + { + Open = 0, + Moderate = 1, + Strict = 2, + }; + enum class XboxLiveQualityOfServiceMeasurementStatus : int32_t + { + NotStarted = 0, + InProgress = 1, + InProgressWithProvisionalResults = 2, + Succeeded = 3, + NoLocalNetworks = 4, + NoCompatibleNetworkPaths = 5, + LocalSystemNotAuthorized = 6, + Canceled = 7, + TimedOut = 8, + RemoteSystemNotAuthorized = 9, + RefusedDueToConfiguration = 10, + UnexpectedInternalError = 11, + }; + enum class XboxLiveQualityOfServiceMetric : int32_t + { + AverageLatencyInMilliseconds = 0, + MinLatencyInMilliseconds = 1, + MaxLatencyInMilliseconds = 2, + AverageOutboundBitsPerSecond = 3, + MinOutboundBitsPerSecond = 4, + MaxOutboundBitsPerSecond = 5, + AverageInboundBitsPerSecond = 6, + MinInboundBitsPerSecond = 7, + MaxInboundBitsPerSecond = 8, + }; + enum class XboxLiveSocketKind : int32_t + { + None = 0, + Datagram = 1, + Stream = 2, + }; + struct IXboxLiveDeviceAddress; + struct IXboxLiveDeviceAddressStatics; + struct IXboxLiveEndpointPair; + struct IXboxLiveEndpointPairCreationResult; + struct IXboxLiveEndpointPairStateChangedEventArgs; + struct IXboxLiveEndpointPairStatics; + struct IXboxLiveEndpointPairTemplate; + struct IXboxLiveEndpointPairTemplateStatics; + struct IXboxLiveInboundEndpointPairCreatedEventArgs; + struct IXboxLiveQualityOfServiceMeasurement; + struct IXboxLiveQualityOfServiceMeasurementStatics; + struct IXboxLiveQualityOfServiceMetricResult; + struct IXboxLiveQualityOfServicePrivatePayloadResult; + struct XboxLiveDeviceAddress; + struct XboxLiveEndpointPair; + struct XboxLiveEndpointPairCreationResult; + struct XboxLiveEndpointPairStateChangedEventArgs; + struct XboxLiveEndpointPairTemplate; + struct XboxLiveInboundEndpointPairCreatedEventArgs; + struct XboxLiveQualityOfServiceMeasurement; + struct XboxLiveQualityOfServiceMetricResult; + struct XboxLiveQualityOfServicePrivatePayloadResult; + struct XboxLiveSecureSocketsContract; +} +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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveDeviceAddress"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPair"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairCreationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveEndpointPairState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveNetworkAccessKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveSocketKind"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveDeviceAddress"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveDeviceAddressStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPair"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPairCreationResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPairStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPairStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPairTemplate"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveEndpointPairTemplateStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveInboundEndpointPairCreatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveQualityOfServiceMeasurement"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveQualityOfServiceMeasurementStatics"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveQualityOfServiceMetricResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.IXboxLiveQualityOfServicePrivatePayloadResult"; + template <> inline constexpr auto& name_v = L"Windows.Networking.XboxLive.XboxLiveSecureSocketsContract"; + template <> inline constexpr guid guid_v{ 0xF5BBD279,0x3C86,0x4B57,{ 0xA3,0x1A,0xB9,0x46,0x24,0x08,0xFD,0x01 } }; // F5BBD279-3C86-4B57-A31A-B9462408FD01 + template <> inline constexpr guid guid_v{ 0x5954A819,0x4A79,0x4931,{ 0x82,0x7C,0x7F,0x50,0x3E,0x96,0x32,0x63 } }; // 5954A819-4A79-4931-827C-7F503E963263 + template <> inline constexpr guid guid_v{ 0x1E9A839B,0x813E,0x44E0,{ 0xB8,0x7F,0xC8,0x7A,0x09,0x34,0x75,0xE4 } }; // 1E9A839B-813E-44E0-B87F-C87A093475E4 + template <> inline constexpr guid guid_v{ 0xD9A8BB95,0x2AAB,0x4D1E,{ 0x97,0x94,0x33,0xEC,0xC0,0xDC,0xF0,0xFE } }; // D9A8BB95-2AAB-4D1E-9794-33ECC0DCF0FE + template <> inline constexpr guid guid_v{ 0x592E3B55,0xDE08,0x44E7,{ 0xAC,0x3B,0xB9,0xB9,0xA1,0x69,0x58,0x3A } }; // 592E3B55-DE08-44E7-AC3B-B9B9A169583A + template <> inline constexpr guid guid_v{ 0x64316B30,0x217A,0x4243,{ 0x8E,0xE1,0x67,0x29,0x28,0x1D,0x27,0xDB } }; // 64316B30-217A-4243-8EE1-6729281D27DB + template <> inline constexpr guid guid_v{ 0x6B286ECF,0x3457,0x40CE,{ 0xB9,0xA1,0xC0,0xCF,0xE0,0x21,0x3E,0xA7 } }; // 6B286ECF-3457-40CE-B9A1-C0CFE0213EA7 + template <> inline constexpr guid guid_v{ 0x1E13137B,0x737B,0x4A23,{ 0xBC,0x64,0x08,0x70,0xF7,0x56,0x55,0xBA } }; // 1E13137B-737B-4A23-BC64-0870F75655BA + template <> inline constexpr guid guid_v{ 0xDC183B62,0x22BA,0x48D2,{ 0x80,0xDE,0xC2,0x39,0x68,0xBD,0x19,0x8B } }; // DC183B62-22BA-48D2-80DE-C23968BD198B + template <> inline constexpr guid guid_v{ 0x4D682BCE,0xA5D6,0x47E6,{ 0xA2,0x36,0xCF,0xDE,0x5F,0xBD,0xF2,0xED } }; // 4D682BCE-A5D6-47E6-A236-CFDE5FBDF2ED + template <> inline constexpr guid guid_v{ 0x6E352DCA,0x23CF,0x440A,{ 0xB0,0x77,0x5E,0x30,0x85,0x7A,0x82,0x34 } }; // 6E352DCA-23CF-440A-B077-5E30857A8234 + template <> inline constexpr guid guid_v{ 0xAEEC53D1,0x3561,0x4782,{ 0xB0,0xCF,0xD3,0xAE,0x29,0xD9,0xFA,0x87 } }; // AEEC53D1-3561-4782-B0CF-D3AE29D9FA87 + template <> inline constexpr guid guid_v{ 0x5A6302AE,0x6F38,0x41C0,{ 0x9F,0xCC,0xEA,0x6C,0xB9,0x78,0xCA,0xFC } }; // 5A6302AE-6F38-41C0-9FCC-EA6CB978CAFC + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveInboundEndpointPairCreatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_SnapshotChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SnapshotChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetSnapshotAsBase64(void**) noexcept = 0; + virtual int32_t __stdcall GetSnapshotAsBuffer(void**) noexcept = 0; + virtual int32_t __stdcall GetSnapshotAsBytes(uint32_t, uint8_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall Compare(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsValid(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsLocal(bool*) noexcept = 0; + virtual int32_t __stdcall get_NetworkAccessKind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromSnapshotBase64(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromSnapshotBuffer(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateFromSnapshotBytes(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall GetLocal(void**) noexcept = 0; + virtual int32_t __stdcall get_MaxSnapshotBytesSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetRemoteSocketAddressBytes(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetLocalSocketAddressBytes(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Template(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteDeviceAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_RemoteHostName(void**) noexcept = 0; + virtual int32_t __stdcall get_RemotePort(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalHostName(void**) noexcept = 0; + virtual int32_t __stdcall get_LocalPort(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsExistingPathEvaluation(bool*) noexcept = 0; + virtual int32_t __stdcall get_EndpointPair(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldState(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewState(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindEndpointPairBySocketAddressBytes(uint32_t, uint8_t*, uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall FindEndpointPairByHostNamesAndPorts(void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_InboundEndpointPairCreated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_InboundEndpointPairCreated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CreateEndpointPairDefaultAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointPairWithBehaviorsAsync(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointPairForPortsDefaultAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointPairForPortsWithBehaviorsAsync(void*, void*, void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_SocketKind(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_InitiatorBoundPortRangeLower(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_InitiatorBoundPortRangeUpper(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_AcceptorBoundPortRangeLower(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_AcceptorBoundPortRangeUpper(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_EndpointPairs(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTemplateByName(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Templates(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointPair(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall MeasureAsync(void**) noexcept = 0; + virtual int32_t __stdcall GetMetricResultsForDevice(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetMetricResultsForMetric(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetMetricResult(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetPrivatePayloadResult(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Metrics(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceAddresses(void**) noexcept = 0; + virtual int32_t __stdcall get_ShouldRequestPrivatePayloads(bool*) noexcept = 0; + virtual int32_t __stdcall put_ShouldRequestPrivatePayloads(bool) noexcept = 0; + virtual int32_t __stdcall get_TimeoutInMilliseconds(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TimeoutInMilliseconds(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_NumberOfProbesToAttempt(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_NumberOfProbesToAttempt(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_NumberOfResultsPending(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_MetricResults(void**) noexcept = 0; + virtual int32_t __stdcall get_PrivatePayloadResults(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PublishPrivatePayloadBytes(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall ClearPrivatePayload() noexcept = 0; + virtual int32_t __stdcall get_MaxSimultaneousProbeConnections(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxSimultaneousProbeConnections(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_IsSystemOutboundBandwidthConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSystemOutboundBandwidthConstrained(bool) noexcept = 0; + virtual int32_t __stdcall get_IsSystemInboundBandwidthConstrained(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSystemInboundBandwidthConstrained(bool) noexcept = 0; + virtual int32_t __stdcall get_PublishedPrivatePayload(void**) noexcept = 0; + virtual int32_t __stdcall put_PublishedPrivatePayload(void*) noexcept = 0; + virtual int32_t __stdcall get_MaxPrivatePayloadSize(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_Metric(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Value(uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress + { + auto SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SnapshotChanged_revoker = impl::event_revoker::remove_SnapshotChanged>; + [[nodiscard]] auto SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SnapshotChanged(winrt::event_token const& token) const noexcept; + auto GetSnapshotAsBase64() const; + auto GetSnapshotAsBuffer() const; + auto GetSnapshotAsBytes(array_view buffer, uint32_t& bytesWritten) const; + auto Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const; + [[nodiscard]] auto IsValid() const; + [[nodiscard]] auto IsLocal() const; + [[nodiscard]] auto NetworkAccessKind() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics + { + auto CreateFromSnapshotBase64(param::hstring const& base64) const; + auto CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromSnapshotBytes(array_view buffer) const; + auto GetLocal() const; + [[nodiscard]] auto MaxSnapshotBytesSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair + { + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto DeleteAsync() const; + auto GetRemoteSocketAddressBytes(array_view socketAddress) const; + auto GetLocalSocketAddressBytes(array_view socketAddress) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Template() const; + [[nodiscard]] auto RemoteDeviceAddress() const; + [[nodiscard]] auto RemoteHostName() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto LocalHostName() const; + [[nodiscard]] auto LocalPort() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult + { + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsExistingPathEvaluation() const; + [[nodiscard]] auto EndpointPair() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs + { + [[nodiscard]] auto OldState() const; + [[nodiscard]] auto NewState() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics + { + auto FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress) const; + auto FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate + { + auto InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using InboundEndpointPairCreated_revoker = impl::event_revoker::remove_InboundEndpointPairCreated>; + [[nodiscard]] auto InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InboundEndpointPairCreated(winrt::event_token const& token) const noexcept; + auto CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + auto CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; + auto CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const; + auto CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SocketKind() const; + [[nodiscard]] auto InitiatorBoundPortRangeLower() const; + [[nodiscard]] auto InitiatorBoundPortRangeUpper() const; + [[nodiscard]] auto AcceptorBoundPortRangeLower() const; + [[nodiscard]] auto AcceptorBoundPortRangeUpper() const; + [[nodiscard]] auto EndpointPairs() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics + { + auto GetTemplateByName(param::hstring const& name) const; + [[nodiscard]] auto Templates() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs + { + [[nodiscard]] auto EndpointPair() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement + { + auto MeasureAsync() const; + auto GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + auto GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; + auto GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; + auto GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + [[nodiscard]] auto Metrics() const; + [[nodiscard]] auto DeviceAddresses() const; + [[nodiscard]] auto ShouldRequestPrivatePayloads() const; + auto ShouldRequestPrivatePayloads(bool value) const; + [[nodiscard]] auto TimeoutInMilliseconds() const; + auto TimeoutInMilliseconds(uint32_t value) const; + [[nodiscard]] auto NumberOfProbesToAttempt() const; + auto NumberOfProbesToAttempt(uint32_t value) const; + [[nodiscard]] auto NumberOfResultsPending() const; + [[nodiscard]] auto MetricResults() const; + [[nodiscard]] auto PrivatePayloadResults() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics + { + auto PublishPrivatePayloadBytes(array_view payload) const; + auto ClearPrivatePayload() const; + [[nodiscard]] auto MaxSimultaneousProbeConnections() const; + auto MaxSimultaneousProbeConnections(uint32_t value) const; + [[nodiscard]] auto IsSystemOutboundBandwidthConstrained() const; + auto IsSystemOutboundBandwidthConstrained(bool value) const; + [[nodiscard]] auto IsSystemInboundBandwidthConstrained() const; + auto IsSystemInboundBandwidthConstrained(bool value) const; + [[nodiscard]] auto PublishedPrivatePayload() const; + auto PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto MaxPrivatePayloadSize() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Metric() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult; + }; + template + struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Value() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.1.h new file mode 100644 index 0000000000000000000000000000000000000000..549c0bad556af4ee542c829237e98a9cbd166c76 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.1.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_XboxLive_1_H +#define WINRT_Windows_Networking_XboxLive_1_H +#include "winrt/impl/Windows.Networking.XboxLive.0.h" +WINRT_EXPORT namespace winrt::Windows::Networking::XboxLive +{ + struct WINRT_IMPL_EMPTY_BASES IXboxLiveDeviceAddress : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveDeviceAddress(std::nullptr_t = nullptr) noexcept {} + IXboxLiveDeviceAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveDeviceAddressStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveDeviceAddressStatics(std::nullptr_t = nullptr) noexcept {} + IXboxLiveDeviceAddressStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPair : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPair(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPair(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPairCreationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPairCreationResult(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPairCreationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPairStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPairStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPairStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPairStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPairStatics(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPairStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPairTemplate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPairTemplate(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPairTemplate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveEndpointPairTemplateStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveEndpointPairTemplateStatics(std::nullptr_t = nullptr) noexcept {} + IXboxLiveEndpointPairTemplateStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveInboundEndpointPairCreatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveInboundEndpointPairCreatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IXboxLiveInboundEndpointPairCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveQualityOfServiceMeasurement : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveQualityOfServiceMeasurement(std::nullptr_t = nullptr) noexcept {} + IXboxLiveQualityOfServiceMeasurement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveQualityOfServiceMeasurementStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveQualityOfServiceMeasurementStatics(std::nullptr_t = nullptr) noexcept {} + IXboxLiveQualityOfServiceMeasurementStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveQualityOfServiceMetricResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveQualityOfServiceMetricResult(std::nullptr_t = nullptr) noexcept {} + IXboxLiveQualityOfServiceMetricResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IXboxLiveQualityOfServicePrivatePayloadResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IXboxLiveQualityOfServicePrivatePayloadResult(std::nullptr_t = nullptr) noexcept {} + IXboxLiveQualityOfServicePrivatePayloadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.2.h new file mode 100644 index 0000000000000000000000000000000000000000..341b1c1a51a49b0496d8d383d1bc481b1cbd6118 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.networking.xboxlive.2.h @@ -0,0 +1,81 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Networking_XboxLive_2_H +#define WINRT_Windows_Networking_XboxLive_2_H +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Networking.XboxLive.1.h" +WINRT_EXPORT namespace winrt::Windows::Networking::XboxLive +{ + struct WINRT_IMPL_EMPTY_BASES XboxLiveDeviceAddress : winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress + { + XboxLiveDeviceAddress(std::nullptr_t) noexcept {} + XboxLiveDeviceAddress(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress(ptr, take_ownership_from_abi) {} + static auto CreateFromSnapshotBase64(param::hstring const& base64); + static auto CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer); + static auto CreateFromSnapshotBytes(array_view buffer); + static auto GetLocal(); + [[nodiscard]] static auto MaxSnapshotBytesSize(); + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveEndpointPair : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair + { + XboxLiveEndpointPair(std::nullptr_t) noexcept {} + XboxLiveEndpointPair(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair(ptr, take_ownership_from_abi) {} + static auto FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress); + static auto FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort); + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveEndpointPairCreationResult : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult + { + XboxLiveEndpointPairCreationResult(std::nullptr_t) noexcept {} + XboxLiveEndpointPairCreationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveEndpointPairStateChangedEventArgs : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs + { + XboxLiveEndpointPairStateChangedEventArgs(std::nullptr_t) noexcept {} + XboxLiveEndpointPairStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveEndpointPairTemplate : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate + { + XboxLiveEndpointPairTemplate(std::nullptr_t) noexcept {} + XboxLiveEndpointPairTemplate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate(ptr, take_ownership_from_abi) {} + static auto GetTemplateByName(param::hstring const& name); + [[nodiscard]] static auto Templates(); + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveInboundEndpointPairCreatedEventArgs : winrt::Windows::Networking::XboxLive::IXboxLiveInboundEndpointPairCreatedEventArgs + { + XboxLiveInboundEndpointPairCreatedEventArgs(std::nullptr_t) noexcept {} + XboxLiveInboundEndpointPairCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveInboundEndpointPairCreatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveQualityOfServiceMeasurement : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement + { + XboxLiveQualityOfServiceMeasurement(std::nullptr_t) noexcept {} + XboxLiveQualityOfServiceMeasurement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement(ptr, take_ownership_from_abi) {} + XboxLiveQualityOfServiceMeasurement(); + static auto PublishPrivatePayloadBytes(array_view payload); + static auto ClearPrivatePayload(); + [[nodiscard]] static auto MaxSimultaneousProbeConnections(); + static auto MaxSimultaneousProbeConnections(uint32_t value); + [[nodiscard]] static auto IsSystemOutboundBandwidthConstrained(); + static auto IsSystemOutboundBandwidthConstrained(bool value); + [[nodiscard]] static auto IsSystemInboundBandwidthConstrained(); + static auto IsSystemInboundBandwidthConstrained(bool value); + [[nodiscard]] static auto PublishedPrivatePayload(); + static auto PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value); + [[nodiscard]] static auto MaxPrivatePayloadSize(); + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveQualityOfServiceMetricResult : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult + { + XboxLiveQualityOfServiceMetricResult(std::nullptr_t) noexcept {} + XboxLiveQualityOfServiceMetricResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES XboxLiveQualityOfServicePrivatePayloadResult : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult + { + XboxLiveQualityOfServicePrivatePayloadResult(std::nullptr_t) noexcept {} + XboxLiveQualityOfServicePrivatePayloadResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.0.h new file mode 100644 index 0000000000000000000000000000000000000000..4712a528945cd58ad69420fc0d24b029460d9f73 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.0.h @@ -0,0 +1,107 @@ +// 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 diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a13f41b5aacb92e4b4767dec60b76b9904b5081d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_1_H +#define WINRT_Windows_Perception_1_H +#include "winrt/impl/Windows.Perception.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception +{ + struct WINRT_IMPL_EMPTY_BASES IPerceptionTimestamp : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionTimestamp(std::nullptr_t = nullptr) noexcept {} + IPerceptionTimestamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionTimestamp2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionTimestamp2(std::nullptr_t = nullptr) noexcept {} + IPerceptionTimestamp2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionTimestampHelperStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionTimestampHelperStatics(std::nullptr_t = nullptr) noexcept {} + IPerceptionTimestampHelperStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPerceptionTimestampHelperStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPerceptionTimestampHelperStatics2(std::nullptr_t = nullptr) noexcept {} + IPerceptionTimestampHelperStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2049e9f50def61265a35b1cc645f710a4ab65986 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.2.h @@ -0,0 +1,26 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_2_H +#define WINRT_Windows_Perception_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Perception.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception +{ + struct WINRT_IMPL_EMPTY_BASES PerceptionTimestamp : winrt::Windows::Perception::IPerceptionTimestamp, + impl::require + { + PerceptionTimestamp(std::nullptr_t) noexcept {} + PerceptionTimestamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::IPerceptionTimestamp(ptr, take_ownership_from_abi) {} + }; + struct PerceptionTimestampHelper + { + PerceptionTimestampHelper() = delete; + static auto FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime); + static auto FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..e36110b162e7e22bc27a5eebb490b6d575fcd05d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.0.h @@ -0,0 +1,44 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Automation_Core_0_H +#define WINRT_Windows_Perception_Automation_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IGetActivationFactory; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Automation::Core +{ + struct ICorePerceptionAutomationStatics; + struct CorePerceptionAutomation; + struct PerceptionAutomationCoreContract; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Perception.Automation.Core.CorePerceptionAutomation"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Automation.Core.ICorePerceptionAutomationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Automation.Core.PerceptionAutomationCoreContract"; + template <> inline constexpr guid guid_v{ 0x0BB04541,0x4CE2,0x4923,{ 0x9A,0x76,0x81,0x87,0xEC,0xC5,0x91,0x12 } }; // 0BB04541-4CE2-4923-9A76-8187ECC59112 + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetActivationFactoryProvider(void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics + { + auto SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..e4b7f94a172cad65c4a5f4b6ca2f3b6bdc701795 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Automation_Core_1_H +#define WINRT_Windows_Perception_Automation_Core_1_H +#include "winrt/impl/Windows.Perception.Automation.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Automation::Core +{ + struct WINRT_IMPL_EMPTY_BASES ICorePerceptionAutomationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICorePerceptionAutomationStatics(std::nullptr_t = nullptr) noexcept {} + ICorePerceptionAutomationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..002e0da0eee4c52a01c7a1fdd6732bf1d66add0e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.automation.core.2.h @@ -0,0 +1,19 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Automation_Core_2_H +#define WINRT_Windows_Perception_Automation_Core_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Perception.Automation.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Automation::Core +{ + struct CorePerceptionAutomation + { + CorePerceptionAutomation() = delete; + static auto SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c789d370ddb064eac9e3301d9332776143585b9b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.0.h @@ -0,0 +1,268 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_People_0_H +#define WINRT_Windows_Perception_People_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Perception +{ + struct PerceptionTimestamp; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::UI::Input::Spatial +{ + struct SpatialInteractionSource; +} +WINRT_EXPORT namespace winrt::Windows::Perception::People +{ + enum class HandJointKind : int32_t + { + Palm = 0, + Wrist = 1, + ThumbMetacarpal = 2, + ThumbProximal = 3, + ThumbDistal = 4, + ThumbTip = 5, + IndexMetacarpal = 6, + IndexProximal = 7, + IndexIntermediate = 8, + IndexDistal = 9, + IndexTip = 10, + MiddleMetacarpal = 11, + MiddleProximal = 12, + MiddleIntermediate = 13, + MiddleDistal = 14, + MiddleTip = 15, + RingMetacarpal = 16, + RingProximal = 17, + RingIntermediate = 18, + RingDistal = 19, + RingTip = 20, + LittleMetacarpal = 21, + LittleProximal = 22, + LittleIntermediate = 23, + LittleDistal = 24, + LittleTip = 25, + }; + enum class JointPoseAccuracy : int32_t + { + High = 0, + Approximate = 1, + }; + struct IEyesPose; + struct IEyesPoseStatics; + struct IHandMeshObserver; + struct IHandMeshVertexState; + struct IHandPose; + struct IHeadPose; + struct EyesPose; + struct HandMeshObserver; + struct HandMeshVertexState; + struct HandPose; + struct HeadPose; + struct HandMeshVertex; + struct JointPose; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.EyesPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HandMeshObserver"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HandMeshVertexState"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HandPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HeadPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HandJointKind"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.JointPoseAccuracy"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.HandMeshVertex"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.JointPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IEyesPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IEyesPoseStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IHandMeshObserver"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IHandMeshVertexState"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IHandPose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.People.IHeadPose"; + template <> inline constexpr guid guid_v{ 0x682A9B23,0x8A1E,0x5B86,{ 0xA0,0x60,0x90,0x6F,0xFA,0xCB,0x62,0xA4 } }; // 682A9B23-8A1E-5B86-A060-906FFACB62A4 + template <> inline constexpr guid guid_v{ 0x1CFF7413,0xB21F,0x54C0,{ 0x80,0xC1,0xE6,0x0D,0x99,0x4C,0xA5,0x8C } }; // 1CFF7413-B21F-54C0-80C1-E60D994CA58C + template <> inline constexpr guid guid_v{ 0x85AE30CB,0x6FC3,0x55C4,{ 0xA7,0xB4,0x29,0xE3,0x38,0x96,0xCA,0x69 } }; // 85AE30CB-6FC3-55C4-A7B4-29E33896CA69 + template <> inline constexpr guid guid_v{ 0x046C5FEF,0x1D8B,0x55DE,{ 0xAB,0x2C,0x1C,0xD4,0x24,0x88,0x6D,0x8F } }; // 046C5FEF-1D8B-55DE-AB2C-1CD424886D8F + template <> inline constexpr guid guid_v{ 0x4D98E79A,0xBB08,0x5D09,{ 0x91,0xDE,0xDF,0x0D,0xD3,0xFA,0xE4,0x6C } }; // 4D98E79A-BB08-5D09-91DE-DF0DD3FAE46C + template <> inline constexpr guid guid_v{ 0x7F5AC5A5,0x49DB,0x379F,{ 0x94,0x29,0x32,0xA2,0xFA,0xF3,0x4F,0xA6 } }; // 7F5AC5A5-49DB-379F-9429-32A2FAF34FA6 + template <> struct default_interface{ using type = winrt::Windows::Perception::People::IEyesPose; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::People::IHandMeshObserver; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::People::IHandMeshVertexState; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::People::IHandPose; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::People::IHeadPose; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsCalibrationValid(bool*) noexcept = 0; + virtual int32_t __stdcall get_Gaze(void**) noexcept = 0; + virtual int32_t __stdcall get_UpdateTimestamp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Source(void**) noexcept = 0; + virtual int32_t __stdcall get_TriangleIndexCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_VertexCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetTriangleIndices(uint32_t, uint16_t*) noexcept = 0; + virtual int32_t __stdcall GetVertexStateForPose(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_NeutralPose(void**) noexcept = 0; + virtual int32_t __stdcall get_NeutralPoseVersion(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ModelId(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall GetVertices(uint32_t, struct struct_Windows_Perception_People_HandMeshVertex*) noexcept = 0; + virtual int32_t __stdcall get_UpdateTimestamp(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetJoint(void*, int32_t, struct struct_Windows_Perception_People_JointPose*, bool*) noexcept = 0; + virtual int32_t __stdcall TryGetJoints(void*, uint32_t, int32_t*, uint32_t, struct struct_Windows_Perception_People_JointPose*, bool*) noexcept = 0; + virtual int32_t __stdcall GetRelativeJoint(int32_t, int32_t, struct struct_Windows_Perception_People_JointPose*) noexcept = 0; + virtual int32_t __stdcall GetRelativeJoints(uint32_t, int32_t*, uint32_t, int32_t*, uint32_t, struct struct_Windows_Perception_People_JointPose*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_ForwardDirection(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_UpDirection(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + }; + }; + template + struct consume_Windows_Perception_People_IEyesPose + { + [[nodiscard]] auto IsCalibrationValid() const; + [[nodiscard]] auto Gaze() const; + [[nodiscard]] auto UpdateTimestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IEyesPose; + }; + template + struct consume_Windows_Perception_People_IEyesPoseStatics + { + auto IsSupported() const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IEyesPoseStatics; + }; + template + struct consume_Windows_Perception_People_IHandMeshObserver + { + [[nodiscard]] auto Source() const; + [[nodiscard]] auto TriangleIndexCount() const; + [[nodiscard]] auto VertexCount() const; + auto GetTriangleIndices(array_view indices) const; + auto GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const; + [[nodiscard]] auto NeutralPose() const; + [[nodiscard]] auto NeutralPoseVersion() const; + [[nodiscard]] auto ModelId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IHandMeshObserver; + }; + template + struct consume_Windows_Perception_People_IHandMeshVertexState + { + [[nodiscard]] auto CoordinateSystem() const; + auto GetVertices(array_view vertices) const; + [[nodiscard]] auto UpdateTimestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IHandMeshVertexState; + }; + template + struct consume_Windows_Perception_People_IHandPose + { + auto TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const; + auto TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view joints, array_view jointPoses) const; + auto GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const; + auto GetRelativeJoints(array_view joints, array_view referenceJoints, array_view jointPoses) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IHandPose; + }; + template + struct consume_Windows_Perception_People_IHeadPose + { + [[nodiscard]] auto Position() const; + [[nodiscard]] auto ForwardDirection() const; + [[nodiscard]] auto UpDirection() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_People_IHeadPose; + }; + struct struct_Windows_Perception_People_HandMeshVertex + { + winrt::Windows::Foundation::Numerics::float3 Position; + winrt::Windows::Foundation::Numerics::float3 Normal; + }; + template <> struct abi + { + using type = struct_Windows_Perception_People_HandMeshVertex; + }; + struct struct_Windows_Perception_People_JointPose + { + winrt::Windows::Foundation::Numerics::quaternion Orientation; + winrt::Windows::Foundation::Numerics::float3 Position; + float Radius; + int32_t Accuracy; + }; + template <> struct abi + { + using type = struct_Windows_Perception_People_JointPose; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8cacc76fbd48a1f03953a6448401bfa9a7fe4699 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_People_1_H +#define WINRT_Windows_Perception_People_1_H +#include "winrt/impl/Windows.Perception.People.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception::People +{ + struct WINRT_IMPL_EMPTY_BASES IEyesPose : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEyesPose(std::nullptr_t = nullptr) noexcept {} + IEyesPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEyesPoseStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEyesPoseStatics(std::nullptr_t = nullptr) noexcept {} + IEyesPoseStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHandMeshObserver : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandMeshObserver(std::nullptr_t = nullptr) noexcept {} + IHandMeshObserver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHandMeshVertexState : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandMeshVertexState(std::nullptr_t = nullptr) noexcept {} + IHandMeshVertexState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHandPose : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandPose(std::nullptr_t = nullptr) noexcept {} + IHandPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHeadPose : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHeadPose(std::nullptr_t = nullptr) noexcept {} + IHeadPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.2.h new file mode 100644 index 0000000000000000000000000000000000000000..0286b8a0c93551a403363cc79da3c974f4f3cd3f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.people.2.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_People_2_H +#define WINRT_Windows_Perception_People_2_H +#include "winrt/impl/Windows.Foundation.Numerics.2.h" +#include "winrt/impl/Windows.Perception.People.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception::People +{ + struct HandMeshVertex + { + winrt::Windows::Foundation::Numerics::float3 Position {}; + winrt::Windows::Foundation::Numerics::float3 Normal {}; + }; + inline bool operator==(HandMeshVertex const& left, HandMeshVertex const& right) noexcept + { + return left.Position == right.Position && left.Normal == right.Normal; + } + inline bool operator!=(HandMeshVertex const& left, HandMeshVertex const& right) noexcept + { + return !(left == right); + } + struct JointPose + { + winrt::Windows::Foundation::Numerics::quaternion Orientation {}; + winrt::Windows::Foundation::Numerics::float3 Position {}; + float Radius {}; + winrt::Windows::Perception::People::JointPoseAccuracy Accuracy {}; + }; + inline bool operator==(JointPose const& left, JointPose const& right) noexcept + { + return left.Orientation == right.Orientation && left.Position == right.Position && left.Radius == right.Radius && left.Accuracy == right.Accuracy; + } + inline bool operator!=(JointPose const& left, JointPose const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES EyesPose : winrt::Windows::Perception::People::IEyesPose + { + EyesPose(std::nullptr_t) noexcept {} + EyesPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IEyesPose(ptr, take_ownership_from_abi) {} + static auto IsSupported(); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES HandMeshObserver : winrt::Windows::Perception::People::IHandMeshObserver + { + HandMeshObserver(std::nullptr_t) noexcept {} + HandMeshObserver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandMeshObserver(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HandMeshVertexState : winrt::Windows::Perception::People::IHandMeshVertexState + { + HandMeshVertexState(std::nullptr_t) noexcept {} + HandMeshVertexState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandMeshVertexState(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HandPose : winrt::Windows::Perception::People::IHandPose + { + HandPose(std::nullptr_t) noexcept {} + HandPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandPose(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES HeadPose : winrt::Windows::Perception::People::IHeadPose + { + HeadPose(std::nullptr_t) noexcept {} + HeadPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHeadPose(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.0.h new file mode 100644 index 0000000000000000000000000000000000000000..a9977e5781599de6b1abc82cd7a1748022e79ed6 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.0.h @@ -0,0 +1,988 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_0_H +#define WINRT_Windows_Perception_Spatial_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Perception +{ + struct PerceptionTimestamp; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::System::RemoteSystems +{ + struct RemoteSystemSession; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + enum class SpatialAnchorExportPurpose : int32_t + { + Relocalization = 0, + Sharing = 1, + }; + enum class SpatialEntityWatcherStatus : int32_t + { + Created = 0, + Started = 1, + EnumerationCompleted = 2, + Stopping = 3, + Stopped = 4, + Aborted = 5, + }; + enum class SpatialLocatability : int32_t + { + Unavailable = 0, + OrientationOnly = 1, + PositionalTrackingActivating = 2, + PositionalTrackingActive = 3, + PositionalTrackingInhibited = 4, + }; + enum class SpatialLookDirectionRange : int32_t + { + ForwardOnly = 0, + Omnidirectional = 1, + }; + enum class SpatialMovementRange : int32_t + { + NoMovement = 0, + Bounded = 1, + }; + enum class SpatialPerceptionAccessStatus : int32_t + { + Unspecified = 0, + Allowed = 1, + DeniedByUser = 2, + DeniedBySystem = 3, + }; + struct ISpatialAnchor; + struct ISpatialAnchor2; + struct ISpatialAnchorExportSufficiency; + struct ISpatialAnchorExporter; + struct ISpatialAnchorExporterStatics; + struct ISpatialAnchorManagerStatics; + struct ISpatialAnchorRawCoordinateSystemAdjustedEventArgs; + struct ISpatialAnchorStatics; + struct ISpatialAnchorStore; + struct ISpatialAnchorTransferManagerStatics; + struct ISpatialBoundingVolume; + struct ISpatialBoundingVolumeStatics; + struct ISpatialCoordinateSystem; + struct ISpatialEntity; + struct ISpatialEntityAddedEventArgs; + struct ISpatialEntityFactory; + struct ISpatialEntityRemovedEventArgs; + struct ISpatialEntityStore; + struct ISpatialEntityStoreStatics; + struct ISpatialEntityUpdatedEventArgs; + struct ISpatialEntityWatcher; + struct ISpatialLocation; + struct ISpatialLocation2; + struct ISpatialLocator; + struct ISpatialLocatorAttachedFrameOfReference; + struct ISpatialLocatorPositionalTrackingDeactivatingEventArgs; + struct ISpatialLocatorStatics; + struct ISpatialStageFrameOfReference; + struct ISpatialStageFrameOfReferenceStatics; + struct ISpatialStationaryFrameOfReference; + struct SpatialAnchor; + struct SpatialAnchorExportSufficiency; + struct SpatialAnchorExporter; + struct SpatialAnchorManager; + struct SpatialAnchorRawCoordinateSystemAdjustedEventArgs; + struct SpatialAnchorStore; + struct SpatialAnchorTransferManager; + struct SpatialBoundingVolume; + struct SpatialCoordinateSystem; + struct SpatialEntity; + struct SpatialEntityAddedEventArgs; + struct SpatialEntityRemovedEventArgs; + struct SpatialEntityStore; + struct SpatialEntityUpdatedEventArgs; + struct SpatialEntityWatcher; + struct SpatialLocation; + struct SpatialLocator; + struct SpatialLocatorAttachedFrameOfReference; + struct SpatialLocatorPositionalTrackingDeactivatingEventArgs; + struct SpatialStageFrameOfReference; + struct SpatialStationaryFrameOfReference; + struct SpatialBoundingBox; + struct SpatialBoundingFrustum; + struct SpatialBoundingOrientedBox; + struct SpatialBoundingSphere; + struct SpatialRay; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchor"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorExportSufficiency"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorExporter"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorManager"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorStore"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorTransferManager"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialBoundingVolume"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialCoordinateSystem"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntity"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityStore"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLocation"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLocator"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialStageFrameOfReference"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialStationaryFrameOfReference"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialAnchorExportPurpose"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialEntityWatcherStatus"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLocatability"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialLookDirectionRange"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialMovementRange"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialPerceptionAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialBoundingBox"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialBoundingFrustum"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialBoundingOrientedBox"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialBoundingSphere"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.SpatialRay"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchor"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchor2"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorExportSufficiency"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorExporter"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorExporterStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorRawCoordinateSystemAdjustedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorStore"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialAnchorTransferManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialBoundingVolume"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialBoundingVolumeStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialCoordinateSystem"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntity"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityFactory"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityStore"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityStoreStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialEntityWatcher"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocation"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocation2"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocator"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocatorAttachedFrameOfReference"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocatorPositionalTrackingDeactivatingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialLocatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialStageFrameOfReference"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialStageFrameOfReferenceStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.ISpatialStationaryFrameOfReference"; + template <> inline constexpr guid guid_v{ 0x0529E5CE,0x1D34,0x3702,{ 0xBC,0xEC,0xEA,0xBF,0xF5,0x78,0xA8,0x69 } }; // 0529E5CE-1D34-3702-BCEC-EABFF578A869 + template <> inline constexpr guid guid_v{ 0xED17C908,0xA695,0x4CF6,{ 0x92,0xFD,0x97,0x26,0x3B,0xA7,0x10,0x47 } }; // ED17C908-A695-4CF6-92FD-97263BA71047 + template <> inline constexpr guid guid_v{ 0x77C25B2B,0x3409,0x4088,{ 0xB9,0x1B,0xFD,0xFD,0x05,0xD1,0x64,0x8F } }; // 77C25B2B-3409-4088-B91B-FDFD05D1648F + template <> inline constexpr guid guid_v{ 0x9A2A4338,0x24FB,0x4269,{ 0x89,0xC5,0x88,0x30,0x4A,0xEE,0xF2,0x0F } }; // 9A2A4338-24FB-4269-89C5-88304AEEF20F + template <> inline constexpr guid guid_v{ 0xED2507B8,0x2475,0x439C,{ 0x85,0xFF,0x7F,0xED,0x34,0x1F,0xDC,0x88 } }; // ED2507B8-2475-439C-85FF-7FED341FDC88 + template <> inline constexpr guid guid_v{ 0x88E30EAB,0xF3B7,0x420B,{ 0xB0,0x86,0x8A,0x80,0xC0,0x7D,0x91,0x0D } }; // 88E30EAB-F3B7-420B-B086-8A80C07D910D + template <> inline constexpr guid guid_v{ 0xA1E81EB8,0x56C7,0x3117,{ 0xA2,0xE4,0x81,0xE0,0xFC,0xF2,0x8E,0x00 } }; // A1E81EB8-56C7-3117-A2E4-81E0FCF28E00 + template <> inline constexpr guid guid_v{ 0xA9928642,0x0174,0x311C,{ 0xAE,0x79,0x0E,0x51,0x07,0x66,0x9F,0x16 } }; // A9928642-0174-311C-AE79-0E5107669F16 + template <> inline constexpr guid guid_v{ 0xB0BC3636,0x486A,0x3CB0,{ 0x9E,0x6F,0x12,0x45,0x16,0x5C,0x4D,0xB6 } }; // B0BC3636-486A-3CB0-9E6F-1245165C4DB6 + template <> inline constexpr guid guid_v{ 0x03BBF9B9,0x12D8,0x4BCE,{ 0x88,0x35,0xC5,0xDF,0x3A,0xC0,0xAD,0xAB } }; // 03BBF9B9-12D8-4BCE-8835-C5DF3AC0ADAB + template <> inline constexpr guid guid_v{ 0xFB2065DA,0x68C3,0x33DF,{ 0xB7,0xAF,0x4C,0x78,0x72,0x07,0x99,0x9C } }; // FB2065DA-68C3-33DF-B7AF-4C787207999C + template <> inline constexpr guid guid_v{ 0x05889117,0xB3E1,0x36D8,{ 0xB0,0x17,0x56,0x61,0x81,0xA5,0xB1,0x96 } }; // 05889117-B3E1-36D8-B017-566181A5B196 + template <> inline constexpr guid guid_v{ 0x69EBCA4B,0x60A3,0x3586,{ 0xA6,0x53,0x59,0xA7,0xBD,0x67,0x6D,0x07 } }; // 69EBCA4B-60A3-3586-A653-59A7BD676D07 + template <> inline constexpr guid guid_v{ 0x166DE955,0xE1EB,0x454C,{ 0xBA,0x08,0xE6,0xC0,0x66,0x8D,0xDC,0x65 } }; // 166DE955-E1EB-454C-BA08-E6C0668DDC65 + template <> inline constexpr guid guid_v{ 0xA397F49B,0x156A,0x4707,{ 0xAC,0x2C,0xD3,0x1D,0x57,0x0E,0xD3,0x99 } }; // A397F49B-156A-4707-AC2C-D31D570ED399 + template <> inline constexpr guid guid_v{ 0xE1F1E325,0x349F,0x4225,{ 0xA2,0xF3,0x4B,0x01,0xC1,0x5F,0xE0,0x56 } }; // E1F1E325-349F-4225-A2F3-4B01C15FE056 + template <> inline constexpr guid guid_v{ 0x91741800,0x536D,0x4E9F,{ 0xAB,0xF6,0x41,0x5B,0x54,0x44,0xD6,0x51 } }; // 91741800-536D-4E9F-ABF6-415B5444D651 + template <> inline constexpr guid guid_v{ 0x329788BA,0xE513,0x4F06,{ 0x88,0x9D,0x1B,0xE3,0x0E,0xCF,0x43,0xE6 } }; // 329788BA-E513-4F06-889D-1BE30ECF43E6 + template <> inline constexpr guid guid_v{ 0x6B4B389E,0x7C50,0x4E92,{ 0x8A,0x62,0x4D,0x1D,0x4B,0x7C,0xCD,0x3E } }; // 6B4B389E-7C50-4E92-8A62-4D1D4B7CCD3E + template <> inline constexpr guid guid_v{ 0xE5671766,0x627B,0x43CB,{ 0xA4,0x9F,0xB3,0xBE,0x6D,0x47,0xDE,0xED } }; // E5671766-627B-43CB-A49F-B3BE6D47DEED + template <> inline constexpr guid guid_v{ 0xB3B85FA0,0x6D5E,0x4BBC,{ 0x80,0x5D,0x5F,0xE5,0xB9,0xBA,0x19,0x59 } }; // B3B85FA0-6D5E-4BBC-805D-5FE5B9BA1959 + template <> inline constexpr guid guid_v{ 0x1D81D29D,0x24A1,0x37D5,{ 0x8F,0xA1,0x39,0xB4,0xF9,0xAD,0x67,0xE2 } }; // 1D81D29D-24A1-37D5-8FA1-39B4F9AD67E2 + template <> inline constexpr guid guid_v{ 0x117F2416,0x38A7,0x4A18,{ 0xB4,0x04,0xAB,0x8F,0xAB,0xE1,0xD7,0x8B } }; // 117F2416-38A7-4A18-B404-AB8FABE1D78B + template <> inline constexpr guid guid_v{ 0xF6478925,0x9E0C,0x3BB6,{ 0x99,0x7E,0xB6,0x4E,0xCC,0xA2,0x4C,0xF4 } }; // F6478925-9E0C-3BB6-997E-B64ECCA24CF4 + template <> inline constexpr guid guid_v{ 0xE1774EF6,0x1F4F,0x499C,{ 0x96,0x25,0xEF,0x5E,0x6E,0xD7,0xA0,0x48 } }; // E1774EF6-1F4F-499C-9625-EF5E6ED7A048 + template <> inline constexpr guid guid_v{ 0xB8A84063,0xE3F4,0x368B,{ 0x90,0x61,0x9E,0xA9,0xD1,0xD6,0xCC,0x16 } }; // B8A84063-E3F4-368B-9061-9EA9D1D6CC16 + template <> inline constexpr guid guid_v{ 0xB76E3340,0xA7C2,0x361B,{ 0xBB,0x82,0x56,0xE9,0x3B,0x89,0xB1,0xBB } }; // B76E3340-A7C2-361B-BB82-56E93B89B1BB + template <> inline constexpr guid guid_v{ 0x7A8A3464,0xAD0D,0x4590,{ 0xAB,0x86,0x33,0x06,0x2B,0x67,0x49,0x26 } }; // 7A8A3464-AD0D-4590-AB86-33062B674926 + template <> inline constexpr guid guid_v{ 0xF78D5C4D,0xA0A4,0x499C,{ 0x8D,0x91,0xA8,0xC9,0x65,0xD4,0x06,0x54 } }; // F78D5C4D-A0A4-499C-8D91-A8C965D40654 + template <> inline constexpr guid guid_v{ 0x09DBCCB9,0xBCF8,0x3E7F,{ 0xBE,0x7E,0x7E,0xDC,0xCB,0xB1,0x78,0xA8 } }; // 09DBCCB9-BCF8-3E7F-BE7E-7EDCCBB178A8 + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialAnchor; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialAnchorExporter; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialAnchorStore; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialBoundingVolume; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntity; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntityStore; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialEntityWatcher; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialLocation; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialLocator; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_RawCoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall add_RawCoordinateSystemAdjusted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RawCoordinateSystemAdjusted(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RemovedByUser(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsMinimallySufficient(bool*) noexcept = 0; + virtual int32_t __stdcall get_SufficiencyLevel(double*) noexcept = 0; + virtual int32_t __stdcall get_RecommendedSufficiencyLevel(double*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAnchorExportSufficiencyAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall TryExportAnchorAsync(void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStoreAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_OldRawCoordinateSystemToNewRawCoordinateSystemTransform(winrt::Windows::Foundation::Numerics::float4x4*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCreateRelativeTo(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateWithPositionRelativeTo(void*, winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateWithPositionAndOrientationRelativeTo(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetAllSavedAnchors(void**) noexcept = 0; + virtual int32_t __stdcall TrySave(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall Remove(void*) noexcept = 0; + virtual int32_t __stdcall Clear() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryImportAnchorsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryExportAnchorsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FromBox(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingBox, void**) noexcept = 0; + virtual int32_t __stdcall FromOrientedBox(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingOrientedBox, void**) noexcept = 0; + virtual int32_t __stdcall FromSphere(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingSphere, void**) noexcept = 0; + virtual int32_t __stdcall FromFrustum(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingFrustum, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetTransformTo(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Anchor(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Entity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithSpatialAnchor(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithSpatialAnchorAndProperties(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Entity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SaveAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEntityWatcher(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall TryGetForRemoteSystemSession(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Entity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_Orientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteLinearVelocity(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteLinearAcceleration(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteAngularVelocity(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteAngularAcceleration(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AbsoluteAngularVelocityAxisAngle(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_AbsoluteAngularAccelerationAxisAngle(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Locatability(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_LocatabilityChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_LocatabilityChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_PositionalTrackingDeactivating(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PositionalTrackingDeactivating(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall TryLocateAtTimestamp(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateAttachedFrameOfReferenceAtCurrentHeading(void**) noexcept = 0; + virtual int32_t __stdcall CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition(winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0; + virtual int32_t __stdcall CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + virtual int32_t __stdcall CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, double, void**) noexcept = 0; + virtual int32_t __stdcall CreateStationaryFrameOfReferenceAtCurrentLocation(void**) noexcept = 0; + virtual int32_t __stdcall CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition(winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0; + virtual int32_t __stdcall CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + virtual int32_t __stdcall CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading(winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, double, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RelativePosition(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall put_RelativePosition(winrt::Windows::Foundation::Numerics::float3) noexcept = 0; + virtual int32_t __stdcall get_RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0; + virtual int32_t __stdcall put_RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion) noexcept = 0; + virtual int32_t __stdcall AdjustHeading(double) noexcept = 0; + virtual int32_t __stdcall GetStationaryCoordinateSystemAtTimestamp(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetRelativeHeadingAtTimestamp(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Canceled(bool*) noexcept = 0; + virtual int32_t __stdcall put_Canceled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_MovementRange(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_LookDirectionRange(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCoordinateSystemAtCurrentLocation(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryGetMovementBounds(void*, uint32_t* __valueSize, winrt::Windows::Foundation::Numerics::float3**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + virtual int32_t __stdcall add_CurrentChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall RequestNewStageAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchor + { + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto RawCoordinateSystem() const; + auto RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using RawCoordinateSystemAdjusted_revoker = impl::event_revoker::remove_RawCoordinateSystemAdjusted>; + [[nodiscard]] auto RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchor; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchor2 + { + [[nodiscard]] auto RemovedByUser() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchor2; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency + { + [[nodiscard]] auto IsMinimallySufficient() const; + [[nodiscard]] auto SufficiencyLevel() const; + [[nodiscard]] auto RecommendedSufficiencyLevel() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorExporter + { + auto GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const; + auto TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorExporter; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics + { + auto GetDefault() const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics + { + auto RequestStoreAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs + { + [[nodiscard]] auto OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorStatics + { + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorStore + { + auto GetAllSavedAnchors() const; + auto TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const; + auto Remove(param::hstring const& id) const; + auto Clear() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorStore; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics + { + auto TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + auto TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialBoundingVolume + { + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialBoundingVolume; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics + { + auto FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const; + auto FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const; + auto FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const; + auto FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialCoordinateSystem + { + auto TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialCoordinateSystem; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntity + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Anchor() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntity; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs + { + [[nodiscard]] auto Entity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityFactory + { + auto CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const; + auto CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityFactory; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs + { + [[nodiscard]] auto Entity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityStore + { + auto SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; + auto RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; + auto CreateEntityWatcher() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityStore; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics + { + [[nodiscard]] auto IsSupported() const; + auto TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs + { + [[nodiscard]] auto Entity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialEntityWatcher + { + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialEntityWatcher; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocation + { + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto AbsoluteLinearVelocity() const; + [[nodiscard]] auto AbsoluteLinearAcceleration() const; + [[nodiscard]] auto AbsoluteAngularVelocity() const; + [[nodiscard]] auto AbsoluteAngularAcceleration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocation; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocation2 + { + [[nodiscard]] auto AbsoluteAngularVelocityAxisAngle() const; + [[nodiscard]] auto AbsoluteAngularAccelerationAxisAngle() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocation2; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocator + { + [[nodiscard]] auto Locatability() const; + auto LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using LocatabilityChanged_revoker = impl::event_revoker::remove_LocatabilityChanged>; + [[nodiscard]] auto LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LocatabilityChanged(winrt::event_token const& cookie) const noexcept; + auto PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using PositionalTrackingDeactivating_revoker = impl::event_revoker::remove_PositionalTrackingDeactivating>; + [[nodiscard]] auto PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept; + auto TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading() const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation() const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocator; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference + { + [[nodiscard]] auto RelativePosition() const; + auto RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto RelativeOrientation() const; + auto RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + auto AdjustHeading(double headingOffsetInRadians) const; + auto GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + auto TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs + { + [[nodiscard]] auto Canceled() const; + auto Canceled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialLocatorStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialLocatorStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference + { + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto MovementRange() const; + [[nodiscard]] auto LookDirectionRange() const; + auto GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const; + auto TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics + { + [[nodiscard]] auto Current() const; + auto CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using CurrentChanged_revoker = impl::event_revoker::remove_CurrentChanged>; + [[nodiscard]] auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CurrentChanged(winrt::event_token const& cookie) const noexcept; + auto RequestNewStageAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics; + }; + template + struct consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference + { + [[nodiscard]] auto CoordinateSystem() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference; + }; + struct struct_Windows_Perception_Spatial_SpatialBoundingBox + { + winrt::Windows::Foundation::Numerics::float3 Center; + winrt::Windows::Foundation::Numerics::float3 Extents; + }; + template <> struct abi + { + using type = struct_Windows_Perception_Spatial_SpatialBoundingBox; + }; + struct struct_Windows_Perception_Spatial_SpatialBoundingFrustum + { + winrt::Windows::Foundation::Numerics::plane Near; + winrt::Windows::Foundation::Numerics::plane Far; + winrt::Windows::Foundation::Numerics::plane Right; + winrt::Windows::Foundation::Numerics::plane Left; + winrt::Windows::Foundation::Numerics::plane Top; + winrt::Windows::Foundation::Numerics::plane Bottom; + }; + template <> struct abi + { + using type = struct_Windows_Perception_Spatial_SpatialBoundingFrustum; + }; + struct struct_Windows_Perception_Spatial_SpatialBoundingOrientedBox + { + winrt::Windows::Foundation::Numerics::float3 Center; + winrt::Windows::Foundation::Numerics::float3 Extents; + winrt::Windows::Foundation::Numerics::quaternion Orientation; + }; + template <> struct abi + { + using type = struct_Windows_Perception_Spatial_SpatialBoundingOrientedBox; + }; + struct struct_Windows_Perception_Spatial_SpatialBoundingSphere + { + winrt::Windows::Foundation::Numerics::float3 Center; + float Radius; + }; + template <> struct abi + { + using type = struct_Windows_Perception_Spatial_SpatialBoundingSphere; + }; + struct struct_Windows_Perception_Spatial_SpatialRay + { + winrt::Windows::Foundation::Numerics::float3 Origin; + winrt::Windows::Foundation::Numerics::float3 Direction; + }; + template <> struct abi + { + using type = struct_Windows_Perception_Spatial_SpatialRay; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.1.h new file mode 100644 index 0000000000000000000000000000000000000000..6da8e03a397a7928c5e41649dc49a293ec5a29a1 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.1.h @@ -0,0 +1,223 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_1_H +#define WINRT_Windows_Perception_Spatial_1_H +#include "winrt/impl/Windows.Perception.Spatial.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchor(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchor2(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorExportSufficiency : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorExportSufficiency(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorExportSufficiency(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorExporter : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorExporter(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorExporter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorExporterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorExporterStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorExporterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorManagerStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorRawCoordinateSystemAdjustedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorRawCoordinateSystemAdjustedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorRawCoordinateSystemAdjustedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorStore(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialAnchorTransferManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAnchorTransferManagerStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialAnchorTransferManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialBoundingVolume : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialBoundingVolume(std::nullptr_t = nullptr) noexcept {} + ISpatialBoundingVolume(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialBoundingVolumeStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialBoundingVolumeStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialBoundingVolumeStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialCoordinateSystem : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialCoordinateSystem(std::nullptr_t = nullptr) noexcept {} + ISpatialCoordinateSystem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntity(std::nullptr_t = nullptr) noexcept {} + ISpatialEntity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityFactory(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityStore(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityStoreStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityStoreStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityStoreStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialEntityWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialEntityWatcher(std::nullptr_t = nullptr) noexcept {} + ISpatialEntityWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocation(std::nullptr_t = nullptr) noexcept {} + ISpatialLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocation2(std::nullptr_t = nullptr) noexcept {} + ISpatialLocation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocator(std::nullptr_t = nullptr) noexcept {} + ISpatialLocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocatorAttachedFrameOfReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocatorAttachedFrameOfReference(std::nullptr_t = nullptr) noexcept {} + ISpatialLocatorAttachedFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocatorPositionalTrackingDeactivatingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocatorPositionalTrackingDeactivatingEventArgs(std::nullptr_t = nullptr) noexcept {} + ISpatialLocatorPositionalTrackingDeactivatingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialLocatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialLocatorStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialLocatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialStageFrameOfReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialStageFrameOfReference(std::nullptr_t = nullptr) noexcept {} + ISpatialStageFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialStageFrameOfReferenceStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialStageFrameOfReferenceStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialStageFrameOfReferenceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialStationaryFrameOfReference : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialStationaryFrameOfReference(std::nullptr_t = nullptr) noexcept {} + ISpatialStationaryFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.2.h new file mode 100644 index 0000000000000000000000000000000000000000..6e71cd773d4f119f2635684dae2f2e94ca9fa3b3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.2.h @@ -0,0 +1,217 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_2_H +#define WINRT_Windows_Perception_Spatial_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Foundation.Numerics.2.h" +#include "winrt/impl/Windows.Storage.Streams.2.h" +#include "winrt/impl/Windows.System.RemoteSystems.2.h" +#include "winrt/impl/Windows.Perception.Spatial.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialBoundingBox + { + winrt::Windows::Foundation::Numerics::float3 Center {}; + winrt::Windows::Foundation::Numerics::float3 Extents {}; + }; + inline bool operator==(SpatialBoundingBox const& left, SpatialBoundingBox const& right) noexcept + { + return left.Center == right.Center && left.Extents == right.Extents; + } + inline bool operator!=(SpatialBoundingBox const& left, SpatialBoundingBox const& right) noexcept + { + return !(left == right); + } + struct SpatialBoundingFrustum + { + winrt::Windows::Foundation::Numerics::plane Near {}; + winrt::Windows::Foundation::Numerics::plane Far {}; + winrt::Windows::Foundation::Numerics::plane Right {}; + winrt::Windows::Foundation::Numerics::plane Left {}; + winrt::Windows::Foundation::Numerics::plane Top {}; + winrt::Windows::Foundation::Numerics::plane Bottom {}; + }; + inline bool operator==(SpatialBoundingFrustum const& left, SpatialBoundingFrustum const& right) noexcept + { + return left.Near == right.Near && left.Far == right.Far && left.Right == right.Right && left.Left == right.Left && left.Top == right.Top && left.Bottom == right.Bottom; + } + inline bool operator!=(SpatialBoundingFrustum const& left, SpatialBoundingFrustum const& right) noexcept + { + return !(left == right); + } + struct SpatialBoundingOrientedBox + { + winrt::Windows::Foundation::Numerics::float3 Center {}; + winrt::Windows::Foundation::Numerics::float3 Extents {}; + winrt::Windows::Foundation::Numerics::quaternion Orientation {}; + }; + inline bool operator==(SpatialBoundingOrientedBox const& left, SpatialBoundingOrientedBox const& right) noexcept + { + return left.Center == right.Center && left.Extents == right.Extents && left.Orientation == right.Orientation; + } + inline bool operator!=(SpatialBoundingOrientedBox const& left, SpatialBoundingOrientedBox const& right) noexcept + { + return !(left == right); + } + struct SpatialBoundingSphere + { + winrt::Windows::Foundation::Numerics::float3 Center {}; + float Radius {}; + }; + inline bool operator==(SpatialBoundingSphere const& left, SpatialBoundingSphere const& right) noexcept + { + return left.Center == right.Center && left.Radius == right.Radius; + } + inline bool operator!=(SpatialBoundingSphere const& left, SpatialBoundingSphere const& right) noexcept + { + return !(left == right); + } + struct SpatialRay + { + winrt::Windows::Foundation::Numerics::float3 Origin {}; + winrt::Windows::Foundation::Numerics::float3 Direction {}; + }; + inline bool operator==(SpatialRay const& left, SpatialRay const& right) noexcept + { + return left.Origin == right.Origin && left.Direction == right.Direction; + } + inline bool operator!=(SpatialRay const& left, SpatialRay const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES SpatialAnchor : winrt::Windows::Perception::Spatial::ISpatialAnchor, + impl::require + { + SpatialAnchor(std::nullptr_t) noexcept {} + SpatialAnchor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchor(ptr, take_ownership_from_abi) {} + static auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem); + static auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position); + static auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAnchorExportSufficiency : winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency + { + SpatialAnchorExportSufficiency(std::nullptr_t) noexcept {} + SpatialAnchorExportSufficiency(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAnchorExporter : winrt::Windows::Perception::Spatial::ISpatialAnchorExporter + { + SpatialAnchorExporter(std::nullptr_t) noexcept {} + SpatialAnchorExporter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorExporter(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + static auto RequestAccessAsync(); + }; + struct SpatialAnchorManager + { + SpatialAnchorManager() = delete; + static auto RequestStoreAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAnchorRawCoordinateSystemAdjustedEventArgs : winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs + { + SpatialAnchorRawCoordinateSystemAdjustedEventArgs(std::nullptr_t) noexcept {} + SpatialAnchorRawCoordinateSystemAdjustedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialAnchorStore : winrt::Windows::Perception::Spatial::ISpatialAnchorStore + { + SpatialAnchorStore(std::nullptr_t) noexcept {} + SpatialAnchorStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorStore(ptr, take_ownership_from_abi) {} + }; + struct SpatialAnchorTransferManager + { + SpatialAnchorTransferManager() = delete; + static auto TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream); + static auto TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream); + static auto RequestAccessAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialBoundingVolume : winrt::Windows::Perception::Spatial::ISpatialBoundingVolume + { + SpatialBoundingVolume(std::nullptr_t) noexcept {} + SpatialBoundingVolume(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialBoundingVolume(ptr, take_ownership_from_abi) {} + static auto FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box); + static auto FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box); + static auto FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere); + static auto FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialCoordinateSystem : winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem + { + SpatialCoordinateSystem(std::nullptr_t) noexcept {} + SpatialCoordinateSystem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntity : winrt::Windows::Perception::Spatial::ISpatialEntity + { + SpatialEntity(std::nullptr_t) noexcept {} + SpatialEntity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntity(ptr, take_ownership_from_abi) {} + explicit SpatialEntity(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor); + SpatialEntity(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntityAddedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs + { + SpatialEntityAddedEventArgs(std::nullptr_t) noexcept {} + SpatialEntityAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntityRemovedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs + { + SpatialEntityRemovedEventArgs(std::nullptr_t) noexcept {} + SpatialEntityRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntityStore : winrt::Windows::Perception::Spatial::ISpatialEntityStore + { + SpatialEntityStore(std::nullptr_t) noexcept {} + SpatialEntityStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityStore(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto IsSupported(); + static auto TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntityUpdatedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs + { + SpatialEntityUpdatedEventArgs(std::nullptr_t) noexcept {} + SpatialEntityUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialEntityWatcher : winrt::Windows::Perception::Spatial::ISpatialEntityWatcher + { + SpatialEntityWatcher(std::nullptr_t) noexcept {} + SpatialEntityWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityWatcher(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialLocation : winrt::Windows::Perception::Spatial::ISpatialLocation, + impl::require + { + SpatialLocation(std::nullptr_t) noexcept {} + SpatialLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialLocator : winrt::Windows::Perception::Spatial::ISpatialLocator + { + SpatialLocator(std::nullptr_t) noexcept {} + SpatialLocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocator(ptr, take_ownership_from_abi) {} + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialLocatorAttachedFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference + { + SpatialLocatorAttachedFrameOfReference(std::nullptr_t) noexcept {} + SpatialLocatorAttachedFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialLocatorPositionalTrackingDeactivatingEventArgs : winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs + { + SpatialLocatorPositionalTrackingDeactivatingEventArgs(std::nullptr_t) noexcept {} + SpatialLocatorPositionalTrackingDeactivatingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialStageFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference + { + SpatialStageFrameOfReference(std::nullptr_t) noexcept {} + SpatialStageFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + static auto CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler); + using CurrentChanged_revoker = impl::factory_event_revoker::remove_CurrentChanged>; + [[nodiscard]] static auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto CurrentChanged(winrt::event_token const& cookie); + static auto RequestNewStageAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialStationaryFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference + { + SpatialStationaryFrameOfReference(std::nullptr_t) noexcept {} + SpatialStationaryFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f034a7f4d84efb95edc2c49ee19cde4a125c9e99 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.0.h @@ -0,0 +1,104 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Preview_0_H +#define WINRT_Windows_Perception_Spatial_Preview_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialCoordinateSystem; + struct SpatialLocator; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Preview +{ + struct ISpatialGraphInteropFrameOfReferencePreview; + struct ISpatialGraphInteropPreviewStatics; + struct ISpatialGraphInteropPreviewStatics2; + struct SpatialGraphInteropFrameOfReferencePreview; + struct SpatialGraphInteropPreview; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Preview.ISpatialGraphInteropFrameOfReferencePreview"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Preview.ISpatialGraphInteropPreviewStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Preview.ISpatialGraphInteropPreviewStatics2"; + template <> inline constexpr guid guid_v{ 0xA8271B23,0x735F,0x5729,{ 0xA9,0x8E,0xE6,0x4E,0xD1,0x89,0xAB,0xC5 } }; // A8271B23-735F-5729-A98E-E64ED189ABC5 + template <> inline constexpr guid guid_v{ 0xC042644C,0x20D8,0x4ED0,{ 0xAE,0xF7,0x68,0x05,0xB8,0xE5,0x3F,0x55 } }; // C042644C-20D8-4ED0-AEF7-6805B8E53F55 + template <> inline constexpr guid guid_v{ 0x2490B15F,0x6CBD,0x4B1E,{ 0xB7,0x65,0x31,0xE4,0x62,0xA3,0x2D,0xF2 } }; // 2490B15F-6CBD-4B1E-B765-31E462A32DF2 + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_NodeId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CoordinateSystemToNodeTransform(winrt::Windows::Foundation::Numerics::float4x4*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCoordinateSystemForNode(winrt::guid, void**) noexcept = 0; + virtual int32_t __stdcall CreateCoordinateSystemForNodeWithPosition(winrt::guid, winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0; + virtual int32_t __stdcall CreateCoordinateSystemForNodeWithPositionAndOrientation(winrt::guid, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + virtual int32_t __stdcall CreateLocatorForNode(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryCreateFrameOfReference(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFrameOfReferenceWithPosition(void*, winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFrameOfReferenceWithPositionAndOrientation(void*, winrt::Windows::Foundation::Numerics::float3, winrt::Windows::Foundation::Numerics::quaternion, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview + { + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto NodeId() const; + [[nodiscard]] auto CoordinateSystemToNodeTransform() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview; + }; + template + struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics + { + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId) const; + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateLocatorForNode(winrt::guid const& nodeId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics; + }; + template + struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2 + { + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.1.h new file mode 100644 index 0000000000000000000000000000000000000000..29c50085865dcac89552f297c6a56b5cab705e8a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Preview_1_H +#define WINRT_Windows_Perception_Spatial_Preview_1_H +#include "winrt/impl/Windows.Perception.Spatial.Preview.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Preview +{ + struct WINRT_IMPL_EMPTY_BASES ISpatialGraphInteropFrameOfReferencePreview : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialGraphInteropFrameOfReferencePreview(std::nullptr_t = nullptr) noexcept {} + ISpatialGraphInteropFrameOfReferencePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialGraphInteropPreviewStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialGraphInteropPreviewStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialGraphInteropPreviewStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialGraphInteropPreviewStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialGraphInteropPreviewStatics2(std::nullptr_t = nullptr) noexcept {} + ISpatialGraphInteropPreviewStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.2.h new file mode 100644 index 0000000000000000000000000000000000000000..978e3932521c3eeee1b2845570b46e10fb07ab54 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.preview.2.h @@ -0,0 +1,31 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Preview_2_H +#define WINRT_Windows_Perception_Spatial_Preview_2_H +#include "winrt/impl/Windows.Foundation.Numerics.1.h" +#include "winrt/impl/Windows.Perception.Spatial.1.h" +#include "winrt/impl/Windows.Perception.Spatial.Preview.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Preview +{ + struct WINRT_IMPL_EMPTY_BASES SpatialGraphInteropFrameOfReferencePreview : winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview + { + SpatialGraphInteropFrameOfReferencePreview(std::nullptr_t) noexcept {} + SpatialGraphInteropFrameOfReferencePreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview(ptr, take_ownership_from_abi) {} + }; + struct SpatialGraphInteropPreview + { + SpatialGraphInteropPreview() = delete; + static auto CreateCoordinateSystemForNode(winrt::guid const& nodeId); + static auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition); + static auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation); + static auto CreateLocatorForNode(winrt::guid const& nodeId); + static auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem); + static auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition); + static auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ae4dd6fa04a3954cc6622006ae71fe8ca6276966 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.0.h @@ -0,0 +1,272 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Surfaces_0_H +#define WINRT_Windows_Perception_Spatial_Surfaces_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics +{ +} +WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX +{ + enum class DirectXPixelFormat : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial +{ + struct SpatialBoundingVolume; + struct SpatialCoordinateSystem; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Surfaces +{ + struct ISpatialSurfaceInfo; + struct ISpatialSurfaceMesh; + struct ISpatialSurfaceMeshBuffer; + struct ISpatialSurfaceMeshOptions; + struct ISpatialSurfaceMeshOptionsStatics; + struct ISpatialSurfaceObserver; + struct ISpatialSurfaceObserverStatics; + struct ISpatialSurfaceObserverStatics2; + struct SpatialSurfaceInfo; + struct SpatialSurfaceMesh; + struct SpatialSurfaceMeshBuffer; + struct SpatialSurfaceMeshOptions; + struct SpatialSurfaceObserver; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceInfo"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceMesh"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceMeshBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceMeshOptions"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceMeshOptionsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceObserver"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceObserverStatics"; + template <> inline constexpr auto& name_v = L"Windows.Perception.Spatial.Surfaces.ISpatialSurfaceObserverStatics2"; + template <> inline constexpr guid guid_v{ 0xF8E9EBE7,0x39B7,0x3962,{ 0xBB,0x03,0x57,0xF5,0x6E,0x1F,0xB0,0xA1 } }; // F8E9EBE7-39B7-3962-BB03-57F56E1FB0A1 + template <> inline constexpr guid guid_v{ 0x108F57D9,0xDF0D,0x3950,{ 0xA0,0xFD,0xF9,0x72,0xC7,0x7C,0x27,0xB4 } }; // 108F57D9-DF0D-3950-A0FD-F972C77C27B4 + template <> inline constexpr guid guid_v{ 0x93CF59E0,0x871F,0x33F8,{ 0x98,0xB2,0x03,0xD1,0x01,0x45,0x8F,0x6F } }; // 93CF59E0-871F-33F8-98B2-03D101458F6F + template <> inline constexpr guid guid_v{ 0xD2759F89,0x3572,0x3D2D,{ 0xA1,0x0D,0x5F,0xEE,0x93,0x94,0xAA,0x37 } }; // D2759F89-3572-3D2D-A10D-5FEE9394AA37 + template <> inline constexpr guid guid_v{ 0x9B340ABF,0x9781,0x4505,{ 0x89,0x35,0x01,0x35,0x75,0xCA,0xAE,0x5E } }; // 9B340ABF-9781-4505-8935-013575CAAE5E + template <> inline constexpr guid guid_v{ 0x10B69819,0xDDCA,0x3483,{ 0xAC,0x3A,0x74,0x8F,0xE8,0xC8,0x6D,0xF5 } }; // 10B69819-DDCA-3483-AC3A-748FE8C86DF5 + template <> inline constexpr guid guid_v{ 0x165951ED,0x2108,0x4168,{ 0x91,0x75,0x87,0xE0,0x27,0xBC,0x92,0x85 } }; // 165951ED-2108-4168-9175-87E027BC9285 + template <> inline constexpr guid guid_v{ 0x0F534261,0xC55D,0x4E6B,{ 0xA8,0x95,0xA1,0x9D,0xE6,0x9A,0x42,0xE3 } }; // 0F534261-C55D-4E6B-A895-A19DE69A42E3 + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_UpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall TryGetBounds(void*, void**) noexcept = 0; + virtual int32_t __stdcall TryComputeLatestMeshAsync(double, void**) noexcept = 0; + virtual int32_t __stdcall TryComputeLatestMeshWithOptionsAsync(double, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SurfaceInfo(void**) noexcept = 0; + virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_TriangleIndices(void**) noexcept = 0; + virtual int32_t __stdcall get_VertexPositions(void**) noexcept = 0; + virtual int32_t __stdcall get_VertexPositionScale(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0; + virtual int32_t __stdcall get_VertexNormals(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Stride(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ElementCount(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Data(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_VertexPositionFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_VertexPositionFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_TriangleIndexFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_TriangleIndexFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_VertexNormalFormat(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_VertexNormalFormat(int32_t) noexcept = 0; + virtual int32_t __stdcall get_IncludeVertexNormals(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeVertexNormals(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedVertexPositionFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedTriangleIndexFormats(void**) noexcept = 0; + virtual int32_t __stdcall get_SupportedVertexNormalFormats(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetObservedSurfaces(void**) noexcept = 0; + virtual int32_t __stdcall SetBoundingVolume(void*) noexcept = 0; + virtual int32_t __stdcall SetBoundingVolumes(void*) noexcept = 0; + virtual int32_t __stdcall add_ObservedSurfacesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ObservedSurfacesChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UpdateTime() const; + auto TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const; + auto TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh + { + [[nodiscard]] auto SurfaceInfo() const; + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto TriangleIndices() const; + [[nodiscard]] auto VertexPositions() const; + [[nodiscard]] auto VertexPositionScale() const; + [[nodiscard]] auto VertexNormals() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer + { + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Stride() const; + [[nodiscard]] auto ElementCount() const; + [[nodiscard]] auto Data() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions + { + [[nodiscard]] auto VertexPositionFormat() const; + auto VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto TriangleIndexFormat() const; + auto TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto VertexNormalFormat() const; + auto VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IncludeVertexNormals() const; + auto IncludeVertexNormals(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics + { + [[nodiscard]] auto SupportedVertexPositionFormats() const; + [[nodiscard]] auto SupportedTriangleIndexFormats() const; + [[nodiscard]] auto SupportedVertexNormalFormats() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver + { + auto GetObservedSurfaces() const; + auto SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const; + auto SetBoundingVolumes(param::iterable const& bounds) const; + auto ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ObservedSurfacesChanged_revoker = impl::event_revoker::remove_ObservedSurfacesChanged>; + [[nodiscard]] auto ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ObservedSurfacesChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics + { + auto RequestAccessAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics; + }; + template + struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2 + { + auto IsSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ab066f4a5f807e4ef8b157323fb835fa4ebc69a3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.1.h @@ -0,0 +1,70 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Surfaces_1_H +#define WINRT_Windows_Perception_Spatial_Surfaces_1_H +#include "winrt/impl/Windows.Perception.Spatial.Surfaces.0.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Surfaces +{ + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceInfo(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceMesh : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceMesh(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceMesh(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceMeshBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceMeshBuffer(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceMeshBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceMeshOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceMeshOptions(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceMeshOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceMeshOptionsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceMeshOptionsStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceMeshOptionsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceObserver : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceObserver(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceObserver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceObserverStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialSurfaceObserverStatics(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceObserverStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISpatialSurfaceObserverStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISpatialSurfaceObserverStatics2(std::nullptr_t = nullptr) noexcept {} + ISpatialSurfaceObserverStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ed5f169bb4139810700289473de6e83155a22832 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.perception.spatial.surfaces.2.h @@ -0,0 +1,45 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Perception_Spatial_Surfaces_2_H +#define WINRT_Windows_Perception_Spatial_Surfaces_2_H +#include "winrt/impl/Windows.Perception.Spatial.Surfaces.1.h" +WINRT_EXPORT namespace winrt::Windows::Perception::Spatial::Surfaces +{ + struct WINRT_IMPL_EMPTY_BASES SpatialSurfaceInfo : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo + { + SpatialSurfaceInfo(std::nullptr_t) noexcept {} + SpatialSurfaceInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialSurfaceMesh : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh + { + SpatialSurfaceMesh(std::nullptr_t) noexcept {} + SpatialSurfaceMesh(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialSurfaceMeshBuffer : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer + { + SpatialSurfaceMeshBuffer(std::nullptr_t) noexcept {} + SpatialSurfaceMeshBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SpatialSurfaceMeshOptions : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions + { + SpatialSurfaceMeshOptions(std::nullptr_t) noexcept {} + SpatialSurfaceMeshOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions(ptr, take_ownership_from_abi) {} + SpatialSurfaceMeshOptions(); + [[nodiscard]] static auto SupportedVertexPositionFormats(); + [[nodiscard]] static auto SupportedTriangleIndexFormats(); + [[nodiscard]] static auto SupportedVertexNormalFormats(); + }; + struct WINRT_IMPL_EMPTY_BASES SpatialSurfaceObserver : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver + { + SpatialSurfaceObserver(std::nullptr_t) noexcept {} + SpatialSurfaceObserver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver(ptr, take_ownership_from_abi) {} + SpatialSurfaceObserver(); + static auto RequestAccessAsync(); + static auto IsSupported(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ac1095eccc0dcb3a75883f15ef29f5ed4b9e0615 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.0.h @@ -0,0 +1,560 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_Networking_Voip_0_H +#define WINRT_Windows_Phone_Networking_Voip_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Windows::Phone::Networking::Voip +{ + enum class SeamlessCallUpgradeSupport : int32_t + { + Unknown = 0, + NotSupported = 1, + Supported = 2, + }; + enum class VoipCallMedia : uint32_t + { + None = 0, + Audio = 0x1, + Video = 0x2, + }; + enum class VoipCallRejectReason : int32_t + { + UserIgnored = 0, + TimedOut = 1, + OtherIncomingCall = 2, + EmergencyCallExists = 3, + InvalidCallState = 4, + }; + enum class VoipCallState : int32_t + { + Ended = 0, + Held = 1, + Active = 2, + Incoming = 3, + Outgoing = 4, + }; + enum class VoipOperationType : int32_t + { + QueryRemotePartySeamless = 0, + }; + struct ICallAnswerEventArgs; + struct ICallAnswerEventArgs2; + struct ICallRejectEventArgs; + struct ICallStateChangeEventArgs; + struct IMuteChangeEventArgs; + struct IQuerySeamlessUpgradeSupportOperation; + struct IVoipCallCoordinator; + struct IVoipCallCoordinator2; + struct IVoipCallCoordinator3; + struct IVoipCallCoordinatorStatics; + struct IVoipCallCoordinatorWithAppDeterminedUpgrade; + struct IVoipCallCoordinatorWithUpgrade; + struct IVoipOperation; + struct IVoipOperationsManager; + struct IVoipPhoneCall; + struct IVoipPhoneCall2; + struct IVoipPhoneCall3; + struct IVoipPhoneCall4; + struct IVoipPhoneCallReady; + struct CallAnswerEventArgs; + struct CallRejectEventArgs; + struct CallStateChangeEventArgs; + struct MuteChangeEventArgs; + struct QuerySeamlessUpgradeSupportOperation; + struct VoipCallCoordinator; + struct VoipPhoneCall; +} +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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.CallAnswerEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.CallRejectEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.CallStateChangeEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.MuteChangeEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.QuerySeamlessUpgradeSupportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipCallCoordinator"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipPhoneCall"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.SeamlessCallUpgradeSupport"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipCallMedia"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipCallRejectReason"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipCallState"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.VoipOperationType"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.ICallAnswerEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.ICallAnswerEventArgs2"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.ICallRejectEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.ICallStateChangeEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IMuteChangeEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IQuerySeamlessUpgradeSupportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinator"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinator2"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinator3"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinatorWithAppDeterminedUpgrade"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipCallCoordinatorWithUpgrade"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipOperation"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipOperationsManager"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipPhoneCall"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipPhoneCall2"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipPhoneCall3"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipPhoneCall4"; + template <> inline constexpr auto& name_v = L"Windows.Phone.Networking.Voip.IVoipPhoneCallReady"; + template <> inline constexpr guid guid_v{ 0x61F132AA,0xF92A,0x48FA,{ 0xAA,0x8F,0x4F,0x3A,0x17,0x66,0x29,0x80 } }; // 61F132AA-F92A-48FA-AA8F-4F3A17662980 + template <> inline constexpr guid guid_v{ 0xEC5DCBBE,0x3C84,0x4DE4,{ 0x88,0x17,0xFC,0x78,0x81,0x73,0x40,0x6E } }; // EC5DCBBE-3C84-4DE4-8817-FC788173406E + template <> inline constexpr guid guid_v{ 0x3E04061A,0xCE7D,0x49C2,{ 0xA2,0xB8,0x7F,0x49,0xB6,0xEA,0xEB,0xC5 } }; // 3E04061A-CE7D-49C2-A2B8-7F49B6EAEBC5 + template <> inline constexpr guid guid_v{ 0x1F3E87B0,0xD371,0x4395,{ 0x8B,0x6C,0x17,0x86,0xA4,0x2E,0x2F,0x18 } }; // 1F3E87B0-D371-4395-8B6C-1786A42E2F18 + template <> inline constexpr guid guid_v{ 0xF914EAD4,0x1C94,0x458C,{ 0xAC,0xB7,0x19,0x26,0xA2,0x33,0xF7,0x4C } }; // F914EAD4-1C94-458C-ACB7-1926A233F74C + template <> inline constexpr guid guid_v{ 0x7E7ADCCE,0xCF2B,0x4EA0,{ 0x84,0x75,0xE1,0xBD,0xB4,0x14,0x03,0x79 } }; // 7E7ADCCE-CF2B-4EA0-8475-E1BDB4140379 + template <> inline constexpr guid guid_v{ 0x0D5F3579,0xF6DD,0x4E10,{ 0x9F,0x25,0x3D,0x8C,0x91,0x37,0x6E,0xE8 } }; // 0D5F3579-F6DD-4E10-9F25-3D8C91376EE8 + template <> inline constexpr guid guid_v{ 0x0290A9B8,0x645D,0x4711,{ 0x8E,0x32,0x92,0x6B,0xFA,0xBF,0x69,0x28 } }; // 0290A9B8-645D-4711-8E32-926BFABF6928 + template <> inline constexpr guid guid_v{ 0x80A2EDE6,0x0D02,0x40CD,{ 0x88,0x91,0xB4,0xCE,0xC6,0x47,0x2C,0x82 } }; // 80A2EDE6-0D02-40CD-8891-B4CEC6472C82 + template <> inline constexpr guid guid_v{ 0x10FB55BB,0xE07D,0x407E,{ 0xBC,0x39,0xF7,0xCC,0x36,0x41,0xD9,0x79 } }; // 10FB55BB-E07D-407E-BC39-F7CC3641D979 + template <> inline constexpr guid guid_v{ 0x4EC3EDA6,0x9CF0,0x405C,{ 0xBC,0xCD,0xCB,0x7A,0x86,0x32,0xA4,0x56 } }; // 4EC3EDA6-9CF0-405C-BCCD-CB7A8632A456 + template <> inline constexpr guid guid_v{ 0x6172CCBC,0x6DD1,0x4F8E,{ 0xB9,0x38,0x53,0x93,0x53,0x0C,0x31,0xCA } }; // 6172CCBC-6DD1-4F8E-B938-5393530C31CA + template <> inline constexpr guid guid_v{ 0x559B526D,0xC2CB,0x44D9,{ 0x83,0xA5,0x60,0xCD,0xA4,0xB7,0x1D,0x36 } }; // 559B526D-C2CB-44D9-83A5-60CDA4B71D36 + template <> inline constexpr guid guid_v{ 0xBA77E23C,0x38D9,0x4DFB,{ 0x85,0x3F,0xF9,0x01,0x97,0x8F,0xF7,0xFA } }; // BA77E23C-38D9-4DFB-853F-F901978FF7FA + template <> inline constexpr guid guid_v{ 0x716654BE,0x28E8,0x495E,{ 0xB6,0x57,0x80,0x53,0x07,0x4B,0x41,0x50 } }; // 716654BE-28E8-495E-B657-8053074B4150 + template <> inline constexpr guid guid_v{ 0x1AC5B7DC,0xC83F,0x4862,{ 0x83,0x93,0x1E,0xA1,0x4A,0xF7,0xEF,0xEA } }; // 1AC5B7DC-C83F-4862-8393-1EA14AF7EFEA + template <> inline constexpr guid guid_v{ 0xA92AB1D1,0x52FB,0x4ADF,{ 0x82,0x25,0x4D,0x28,0x9B,0x86,0x6F,0xE0 } }; // A92AB1D1-52FB-4ADF-8225-4D289B866FE0 + template <> inline constexpr guid guid_v{ 0x5F593D10,0x24EF,0x5006,{ 0xB8,0x46,0x27,0x61,0x32,0x29,0x4A,0x37 } }; // 5F593D10-24EF-5006-B846-276132294A37 + template <> inline constexpr guid guid_v{ 0xB3F5AC79,0xF40F,0x4E52,{ 0xA8,0xEE,0xE8,0xA9,0xA7,0x1F,0x51,0x1A } }; // B3F5AC79-F40F-4E52-A8EE-E8A9A71F511A + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::ICallAnswerEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::ICallRejectEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::ICallStateChangeEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::IMuteChangeEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::IQuerySeamlessUpgradeSupportOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::IVoipCallCoordinator; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::Networking::Voip::IVoipPhoneCall; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AcceptedMedia(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SourceDeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RejectReason(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Muted(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; + virtual int32_t __stdcall NotifyCompletion(bool, int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MuteRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MuteRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_UnmuteRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_UnmuteRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall RequestNewIncomingCall(void*, void*, void*, void*, void*, void*, void*, void*, uint32_t, int64_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestNewOutgoingCall(void*, void*, void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall NotifyMuted() noexcept = 0; + virtual int32_t __stdcall NotifyUnmuted() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SetupNewAcceptedCall(void*, void*, void*, void*, uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestNewIncomingCallWithContactRemoteId(void*, void*, void*, void*, void*, void*, void*, void*, uint32_t, int64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestNewAppInitiatedCall(void*, void*, void*, void*, uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConfirmNonSeamlessUpgrade(winrt::guid) noexcept = 0; + virtual int32_t __stdcall CancelUpgrade(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestOutgoingUpgradeToVideoCall(winrt::guid, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestIncomingUpgradeToVideoCall(void*, void*, void*, void*, void*, void*, void*, void*, int64_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetNextOperation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_EndRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EndRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_HoldRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_HoldRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ResumeRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ResumeRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_AnswerRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AnswerRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_RejectRequested(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_RejectRequested(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall NotifyCallHeld() noexcept = 0; + virtual int32_t __stdcall NotifyCallActive() noexcept = 0; + virtual int32_t __stdcall NotifyCallEnded() noexcept = 0; + virtual int32_t __stdcall get_ContactName(void**) noexcept = 0; + virtual int32_t __stdcall put_ContactName(void*) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_StartTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_CallMedia(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_CallMedia(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryShowAppUI() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall NotifyCallAccepted(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsUsingAssociatedDevicesList(bool*) noexcept = 0; + virtual int32_t __stdcall NotifyCallActiveOnDevices(void*) noexcept = 0; + virtual int32_t __stdcall AddAssociatedCallControlDevice(void*) noexcept = 0; + virtual int32_t __stdcall RemoveAssociatedCallControlDevice(void*) noexcept = 0; + virtual int32_t __stdcall SetAssociatedCallControlDevices(void*) noexcept = 0; + virtual int32_t __stdcall GetAssociatedCallControlDevices(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall NotifyCallReady() noexcept = 0; + }; + }; + template + struct consume_Windows_Phone_Networking_Voip_ICallAnswerEventArgs + { + [[nodiscard]] auto AcceptedMedia() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_ICallAnswerEventArgs; + }; + template + struct consume_Windows_Phone_Networking_Voip_ICallAnswerEventArgs2 + { + [[nodiscard]] auto SourceDeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_ICallAnswerEventArgs2; + }; + template + struct consume_Windows_Phone_Networking_Voip_ICallRejectEventArgs + { + [[nodiscard]] auto RejectReason() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_ICallRejectEventArgs; + }; + template + struct consume_Windows_Phone_Networking_Voip_ICallStateChangeEventArgs + { + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_ICallStateChangeEventArgs; + }; + template + struct consume_Windows_Phone_Networking_Voip_IMuteChangeEventArgs + { + [[nodiscard]] auto Muted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IMuteChangeEventArgs; + }; + template + struct consume_Windows_Phone_Networking_Voip_IQuerySeamlessUpgradeSupportOperation + { + [[nodiscard]] auto RemoteId() const; + auto NotifyCompletion(bool succeeded, winrt::Windows::Phone::Networking::Voip::SeamlessCallUpgradeSupport const& seamlessCallUpgradeSupport) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IQuerySeamlessUpgradeSupportOperation; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator + { + auto MuteRequested(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + using MuteRequested_revoker = impl::event_revoker::remove_MuteRequested>; + [[nodiscard]] auto MuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + auto MuteRequested(winrt::event_token const& token) const noexcept; + auto UnmuteRequested(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + using UnmuteRequested_revoker = impl::event_revoker::remove_UnmuteRequested>; + [[nodiscard]] auto UnmuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + auto UnmuteRequested(winrt::event_token const& token) const noexcept; + auto RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + auto RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media, param::vector const& pAssociatedDeviceIds, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + auto NotifyMuted() const; + auto NotifyUnmuted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator2 + { + auto SetupNewAcceptedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media, param::vector const& pAssociatedDeviceIds, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator2; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator3 + { + auto RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, param::hstring const& contactRemoteId, param::vector const& pAssociatedDeviceIds) const; + auto RequestNewAppInitiatedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media, param::vector const& pAssociatedDeviceIds, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinator3; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorStatics; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorWithAppDeterminedUpgrade + { + auto ConfirmNonSeamlessUpgrade(winrt::guid const& callUpgradeGuid) const; + auto CancelUpgrade(winrt::guid const& callUpgradeGuid) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorWithAppDeterminedUpgrade; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorWithUpgrade + { + auto RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + auto RequestIncomingUpgradeToVideoCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Foundation::TimeSpan const& ringTimeout, winrt::Windows::Phone::Networking::Voip::VoipPhoneCall& call) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipCallCoordinatorWithUpgrade; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipOperation + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Type() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipOperation; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipOperationsManager + { + auto GetNextOperation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipOperationsManager; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipPhoneCall + { + auto EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EndRequested_revoker = impl::event_revoker::remove_EndRequested>; + [[nodiscard]] auto EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndRequested(winrt::event_token const& token) const noexcept; + auto HoldRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using HoldRequested_revoker = impl::event_revoker::remove_HoldRequested>; + [[nodiscard]] auto HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HoldRequested(winrt::event_token const& token) const noexcept; + auto ResumeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using ResumeRequested_revoker = impl::event_revoker::remove_ResumeRequested>; + [[nodiscard]] auto ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResumeRequested(winrt::event_token const& token) const noexcept; + auto AnswerRequested(winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; + using AnswerRequested_revoker = impl::event_revoker::remove_AnswerRequested>; + [[nodiscard]] auto AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; + auto AnswerRequested(winrt::event_token const& token) const noexcept; + auto RejectRequested(winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; + using RejectRequested_revoker = impl::event_revoker::remove_RejectRequested>; + [[nodiscard]] auto RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; + auto RejectRequested(winrt::event_token const& token) const noexcept; + auto NotifyCallHeld() const; + auto NotifyCallActive() const; + auto NotifyCallEnded() const; + [[nodiscard]] auto ContactName() const; + auto ContactName(param::hstring const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto CallMedia() const; + auto CallMedia(winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipPhoneCall; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipPhoneCall2 + { + auto TryShowAppUI() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipPhoneCall2; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipPhoneCall3 + { + auto NotifyCallAccepted(winrt::Windows::Phone::Networking::Voip::VoipCallMedia const& media) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipPhoneCall3; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipPhoneCall4 + { + [[nodiscard]] auto IsUsingAssociatedDevicesList() const; + auto NotifyCallActive(param::iterable const& associatedDeviceIds) const; + auto AddAssociatedCallControlDevice(param::hstring const& deviceId) const; + auto RemoveAssociatedCallControlDevice(param::hstring const& deviceId) const; + auto SetAssociatedCallControlDevices(param::iterable const& associatedDeviceIds) const; + auto GetAssociatedCallControlDevices() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipPhoneCall4; + }; + template + struct consume_Windows_Phone_Networking_Voip_IVoipPhoneCallReady + { + auto NotifyCallReady() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_Networking_Voip_IVoipPhoneCallReady; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.1.h new file mode 100644 index 0000000000000000000000000000000000000000..8d3561c38a584fa9e749dbab94a7f66fba88b5af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.1.h @@ -0,0 +1,154 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_Networking_Voip_1_H +#define WINRT_Windows_Phone_Networking_Voip_1_H +#include "winrt/impl/Windows.Phone.Networking.Voip.0.h" +WINRT_EXPORT namespace winrt::Windows::Phone::Networking::Voip +{ + struct WINRT_IMPL_EMPTY_BASES ICallAnswerEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICallAnswerEventArgs(std::nullptr_t = nullptr) noexcept {} + ICallAnswerEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICallAnswerEventArgs2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ICallAnswerEventArgs2(std::nullptr_t = nullptr) noexcept {} + ICallAnswerEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICallRejectEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICallRejectEventArgs(std::nullptr_t = nullptr) noexcept {} + ICallRejectEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICallStateChangeEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICallStateChangeEventArgs(std::nullptr_t = nullptr) noexcept {} + ICallStateChangeEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMuteChangeEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMuteChangeEventArgs(std::nullptr_t = nullptr) noexcept {} + IMuteChangeEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IQuerySeamlessUpgradeSupportOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IQuerySeamlessUpgradeSupportOperation(std::nullptr_t = nullptr) noexcept {} + IQuerySeamlessUpgradeSupportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipCallCoordinator(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinator2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVoipCallCoordinator2(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinator2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinator3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVoipCallCoordinator3(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinator3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::RequestNewIncomingCall; + using impl::consume_t::RequestNewIncomingCall; + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipCallCoordinatorStatics(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinatorWithAppDeterminedUpgrade : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipCallCoordinatorWithAppDeterminedUpgrade(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinatorWithAppDeterminedUpgrade(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipCallCoordinatorWithUpgrade : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipCallCoordinatorWithUpgrade(std::nullptr_t = nullptr) noexcept {} + IVoipCallCoordinatorWithUpgrade(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipOperation(std::nullptr_t = nullptr) noexcept {} + IVoipOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipOperationsManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipOperationsManager(std::nullptr_t = nullptr) noexcept {} + IVoipOperationsManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipPhoneCall : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipPhoneCall(std::nullptr_t = nullptr) noexcept {} + IVoipPhoneCall(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipPhoneCall2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVoipPhoneCall2(std::nullptr_t = nullptr) noexcept {} + IVoipPhoneCall2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipPhoneCall3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IVoipPhoneCall3(std::nullptr_t = nullptr) noexcept {} + IVoipPhoneCall3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipPhoneCall4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipPhoneCall4(std::nullptr_t = nullptr) noexcept {} + IVoipPhoneCall4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IVoipPhoneCallReady : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVoipPhoneCallReady(std::nullptr_t = nullptr) noexcept {} + IVoipPhoneCallReady(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.2.h new file mode 100644 index 0000000000000000000000000000000000000000..48278a8c264aa55cd1c015f1cb50771cb1ffa8c7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.networking.voip.2.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_Networking_Voip_2_H +#define WINRT_Windows_Phone_Networking_Voip_2_H +#include "winrt/impl/Windows.Phone.Networking.Voip.1.h" +WINRT_EXPORT namespace winrt::Windows::Phone::Networking::Voip +{ + struct WINRT_IMPL_EMPTY_BASES CallAnswerEventArgs : winrt::Windows::Phone::Networking::Voip::ICallAnswerEventArgs + { + CallAnswerEventArgs(std::nullptr_t) noexcept {} + CallAnswerEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::ICallAnswerEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CallRejectEventArgs : winrt::Windows::Phone::Networking::Voip::ICallRejectEventArgs + { + CallRejectEventArgs(std::nullptr_t) noexcept {} + CallRejectEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::ICallRejectEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CallStateChangeEventArgs : winrt::Windows::Phone::Networking::Voip::ICallStateChangeEventArgs + { + CallStateChangeEventArgs(std::nullptr_t) noexcept {} + CallStateChangeEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::ICallStateChangeEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MuteChangeEventArgs : winrt::Windows::Phone::Networking::Voip::IMuteChangeEventArgs + { + MuteChangeEventArgs(std::nullptr_t) noexcept {} + MuteChangeEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::IMuteChangeEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES QuerySeamlessUpgradeSupportOperation : winrt::Windows::Phone::Networking::Voip::IQuerySeamlessUpgradeSupportOperation + { + QuerySeamlessUpgradeSupportOperation(std::nullptr_t) noexcept {} + QuerySeamlessUpgradeSupportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::IQuerySeamlessUpgradeSupportOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES VoipCallCoordinator : winrt::Windows::Phone::Networking::Voip::IVoipCallCoordinator, + impl::require + { + VoipCallCoordinator(std::nullptr_t) noexcept {} + VoipCallCoordinator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::IVoipCallCoordinator(ptr, take_ownership_from_abi) {} + using winrt::Windows::Phone::Networking::Voip::IVoipCallCoordinator::RequestNewIncomingCall; + using impl::consume_t::RequestNewIncomingCall; + static auto GetDefault(); + }; + struct WINRT_IMPL_EMPTY_BASES VoipPhoneCall : winrt::Windows::Phone::Networking::Voip::IVoipPhoneCall, + impl::require + { + VoipPhoneCall(std::nullptr_t) noexcept {} + VoipPhoneCall(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Networking::Voip::IVoipPhoneCall(ptr, take_ownership_from_abi) {} + using winrt::Windows::Phone::Networking::Voip::IVoipPhoneCall::NotifyCallActive; + using impl::consume_t::NotifyCallActive; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.0.h new file mode 100644 index 0000000000000000000000000000000000000000..fde0eb230618e255f54c66dd8b3a8fa27a3b73dd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.0.h @@ -0,0 +1,111 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_StartScreen_0_H +#define WINRT_Windows_Phone_StartScreen_0_H +WINRT_EXPORT namespace winrt::Windows::UI::Notifications +{ + struct BadgeUpdater; + struct TileUpdater; + struct ToastNotifier; +} +WINRT_EXPORT namespace winrt::Windows::Phone::StartScreen +{ + struct IDualSimTile; + struct IDualSimTileStatics; + struct IToastNotificationManagerStatics3; + struct DualSimTile; + struct DualSimTileContract; +} +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 = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Phone.StartScreen.DualSimTile"; + template <> inline constexpr auto& name_v = L"Windows.Phone.StartScreen.IDualSimTile"; + template <> inline constexpr auto& name_v = L"Windows.Phone.StartScreen.IDualSimTileStatics"; + template <> inline constexpr auto& name_v = L"Windows.Phone.StartScreen.IToastNotificationManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Phone.StartScreen.DualSimTileContract"; + template <> inline constexpr guid guid_v{ 0x143AB213,0xD05F,0x4041,{ 0xA1,0x8C,0x3E,0x3F,0xCB,0x75,0xB4,0x1E } }; // 143AB213-D05F-4041-A18C-3E3FCB75B41E + template <> inline constexpr guid guid_v{ 0x50567C9E,0xC58F,0x4DC9,{ 0xB6,0xE8,0xFA,0x67,0x77,0xEE,0xEB,0x37 } }; // 50567C9E-C58F-4DC9-B6E8-FA6777EEEB37 + template <> inline constexpr guid guid_v{ 0x2717F54B,0x50DF,0x4455,{ 0x8E,0x6E,0x41,0xE0,0xFC,0x8E,0x13,0xCE } }; // 2717F54B-50DF-4455-8E6E-41E0FC8E13CE + template <> struct default_interface{ using type = winrt::Windows::Phone::StartScreen::IDualSimTile; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_IsPinnedToStart(bool*) noexcept = 0; + virtual int32_t __stdcall CreateAsync(void**) noexcept = 0; + virtual int32_t __stdcall UpdateAsync(void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTileForSim2(void**) noexcept = 0; + virtual int32_t __stdcall UpdateDisplayNameForSim1Async(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateTileUpdaterForSim1(void**) noexcept = 0; + virtual int32_t __stdcall CreateTileUpdaterForSim2(void**) noexcept = 0; + virtual int32_t __stdcall CreateBadgeUpdaterForSim1(void**) noexcept = 0; + virtual int32_t __stdcall CreateBadgeUpdaterForSim2(void**) noexcept = 0; + virtual int32_t __stdcall CreateToastNotifierForSim1(void**) noexcept = 0; + virtual int32_t __stdcall CreateToastNotifierForSim2(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateToastNotifierForSecondaryTile(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Phone_StartScreen_IDualSimTile + { + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsPinnedToStart() const; + auto CreateAsync() const; + auto UpdateAsync() const; + auto DeleteAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_StartScreen_IDualSimTile; + }; + template + struct consume_Windows_Phone_StartScreen_IDualSimTileStatics + { + auto GetTileForSim2() const; + auto UpdateDisplayNameForSim1Async(param::hstring const& name) const; + auto CreateTileUpdaterForSim1() const; + auto CreateTileUpdaterForSim2() const; + auto CreateBadgeUpdaterForSim1() const; + auto CreateBadgeUpdaterForSim2() const; + auto CreateToastNotifierForSim1() const; + auto CreateToastNotifierForSim2() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_StartScreen_IDualSimTileStatics; + }; + template + struct consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3 + { + auto CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.1.h new file mode 100644 index 0000000000000000000000000000000000000000..66882b85a175f080214ce5c70c41ea00e6c029eb --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_StartScreen_1_H +#define WINRT_Windows_Phone_StartScreen_1_H +#include "winrt/impl/Windows.Phone.StartScreen.0.h" +WINRT_EXPORT namespace winrt::Windows::Phone::StartScreen +{ + struct WINRT_IMPL_EMPTY_BASES IDualSimTile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDualSimTile(std::nullptr_t = nullptr) noexcept {} + IDualSimTile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDualSimTileStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDualSimTileStatics(std::nullptr_t = nullptr) noexcept {} + IDualSimTileStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IToastNotificationManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IToastNotificationManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IToastNotificationManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.2.h new file mode 100644 index 0000000000000000000000000000000000000000..37629d58446f9fd0c3b5233e60fa2d6268769be8 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.startscreen.2.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_StartScreen_2_H +#define WINRT_Windows_Phone_StartScreen_2_H +#include "winrt/impl/Windows.Phone.StartScreen.1.h" +WINRT_EXPORT namespace winrt::Windows::Phone::StartScreen +{ + struct WINRT_IMPL_EMPTY_BASES DualSimTile : winrt::Windows::Phone::StartScreen::IDualSimTile + { + DualSimTile(std::nullptr_t) noexcept {} + DualSimTile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::StartScreen::IDualSimTile(ptr, take_ownership_from_abi) {} + DualSimTile(); + static auto GetTileForSim2(); + static auto UpdateDisplayNameForSim1Async(param::hstring const& name); + static auto CreateTileUpdaterForSim1(); + static auto CreateTileUpdaterForSim2(); + static auto CreateBadgeUpdaterForSim1(); + static auto CreateBadgeUpdaterForSim2(); + static auto CreateToastNotifierForSim1(); + static auto CreateToastNotifierForSim2(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d7cb097202571c2a9d49bdd2cb716a97302d65d3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.0.h @@ -0,0 +1,162 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_UI_Core_0_H +#define WINRT_Windows_Phone_UI_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Phone::UI::Core +{ + enum class CoreInputScope : int32_t + { + Default = 0, + Url = 1, + EmailSmtpAddress = 5, + Number = 29, + TelephoneNumber = 32, + Text = 49, + Search = 51, + }; + struct ICoreSelectionChangedEventArgs; + struct ICoreTextChangedEventArgs; + struct ICoreWindowKeyboardInput; + struct IKeyboardInputBuffer; + struct CoreSelectionChangedEventArgs; + struct CoreTextChangedEventArgs; + struct KeyboardInputBuffer; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.CoreSelectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.CoreTextChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.KeyboardInputBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.CoreInputScope"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.ICoreSelectionChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.ICoreTextChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.ICoreWindowKeyboardInput"; + template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Core.IKeyboardInputBuffer"; + template <> inline constexpr guid guid_v{ 0xC2941949,0x3955,0x4EC2,{ 0x8F,0x88,0x3F,0x2B,0xFC,0x04,0xD0,0xF1 } }; // C2941949-3955-4EC2-8F88-3F2BFC04D0F1 + template <> inline constexpr guid guid_v{ 0x7E3C9572,0x60E4,0x4FEB,{ 0x86,0x83,0x4C,0xF0,0xE0,0xFA,0x76,0x59 } }; // 7E3C9572-60E4-4FEB-8683-4CF0E0FA7659 + template <> inline constexpr guid guid_v{ 0x196B175E,0x1A33,0x4B17,{ 0x99,0x35,0x33,0x8E,0xF6,0x44,0x34,0x77 } }; // 196B175E-1A33-4B17-9935-338EF6443477 + template <> inline constexpr guid guid_v{ 0x3776EE93,0x8079,0x40CC,{ 0x8C,0x2F,0xA7,0xA9,0x97,0xCF,0x9D,0x6E } }; // 3776EE93-8079-40CC-8C2F-A7A997CF9D6E + template <> struct default_interface{ using type = winrt::Windows::Phone::UI::Core::ICoreSelectionChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::UI::Core::ICoreTextChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Phone::UI::Core::IKeyboardInputBuffer; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Start(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_Length(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Start(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_OldLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_NewText(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsKeyboardInputEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsKeyboardInputEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_KeyboardInputBuffer(void**) noexcept = 0; + virtual int32_t __stdcall put_KeyboardInputBuffer(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_SelectionStart(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_SelectionLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall Select(uint32_t, uint32_t) noexcept = 0; + virtual int32_t __stdcall SelectFromTap(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_InputScope(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_InputScope(int32_t) noexcept = 0; + virtual int32_t __stdcall add_TextChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TextChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_SelectionChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SelectionChanged(winrt::event_token) noexcept = 0; + }; + }; + template + struct consume_Windows_Phone_UI_Core_ICoreSelectionChangedEventArgs + { + [[nodiscard]] auto Start() const; + [[nodiscard]] auto Length() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_UI_Core_ICoreSelectionChangedEventArgs; + }; + template + struct consume_Windows_Phone_UI_Core_ICoreTextChangedEventArgs + { + [[nodiscard]] auto Start() const; + [[nodiscard]] auto OldLength() const; + [[nodiscard]] auto NewText() const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_UI_Core_ICoreTextChangedEventArgs; + }; + template + struct consume_Windows_Phone_UI_Core_ICoreWindowKeyboardInput + { + [[nodiscard]] auto IsKeyboardInputEnabled() const; + auto IsKeyboardInputEnabled(bool value) const; + [[nodiscard]] auto KeyboardInputBuffer() const; + auto KeyboardInputBuffer(winrt::Windows::Phone::UI::Core::KeyboardInputBuffer const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_UI_Core_ICoreWindowKeyboardInput; + }; + template + struct consume_Windows_Phone_UI_Core_IKeyboardInputBuffer + { + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto SelectionStart() const; + [[nodiscard]] auto SelectionLength() const; + auto Select(uint32_t start, uint32_t length) const; + auto SelectFromTap(uint32_t characterIndex) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::Phone::UI::Core::CoreInputScope const& value) const; + auto TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TextChanged_revoker = impl::event_revoker::remove_TextChanged>; + [[nodiscard]] auto TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextChanged(winrt::event_token const& cookie) const noexcept; + auto SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& cookie) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Phone_UI_Core_IKeyboardInputBuffer; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..1661bbb3a96e427cbc2c47906da4d35f033edde4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_UI_Core_1_H +#define WINRT_Windows_Phone_UI_Core_1_H +#include "winrt/impl/Windows.Phone.UI.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Phone::UI::Core +{ + struct WINRT_IMPL_EMPTY_BASES ICoreSelectionChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICoreSelectionChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICoreSelectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICoreTextChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICoreTextChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ICoreTextChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICoreWindowKeyboardInput : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICoreWindowKeyboardInput(std::nullptr_t = nullptr) noexcept {} + ICoreWindowKeyboardInput(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyboardInputBuffer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyboardInputBuffer(std::nullptr_t = nullptr) noexcept {} + IKeyboardInputBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..a0c67fa21df8562779d8a4595913c35cc2bcd9aa --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.phone.ui.core.2.h @@ -0,0 +1,29 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Phone_UI_Core_2_H +#define WINRT_Windows_Phone_UI_Core_2_H +#include "winrt/impl/Windows.Phone.UI.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Phone::UI::Core +{ + struct WINRT_IMPL_EMPTY_BASES CoreSelectionChangedEventArgs : winrt::Windows::Phone::UI::Core::ICoreSelectionChangedEventArgs + { + CoreSelectionChangedEventArgs(std::nullptr_t) noexcept {} + CoreSelectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::UI::Core::ICoreSelectionChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CoreTextChangedEventArgs : winrt::Windows::Phone::UI::Core::ICoreTextChangedEventArgs + { + CoreTextChangedEventArgs(std::nullptr_t) noexcept {} + CoreTextChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::UI::Core::ICoreTextChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES KeyboardInputBuffer : winrt::Windows::Phone::UI::Core::IKeyboardInputBuffer + { + KeyboardInputBuffer(std::nullptr_t) noexcept {} + KeyboardInputBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::UI::Core::IKeyboardInputBuffer(ptr, take_ownership_from_abi) {} + KeyboardInputBuffer(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.0.h new file mode 100644 index 0000000000000000000000000000000000000000..546c3b767ab34c162c11efcc9730dab47b473e33 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.0.h @@ -0,0 +1,91 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_0_H +#define WINRT_Windows_Security_Authentication_Identity_0_H +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity +{ + struct IEnterpriseKeyCredentialRegistrationInfo; + struct IEnterpriseKeyCredentialRegistrationManager; + struct IEnterpriseKeyCredentialRegistrationManagerStatics; + struct EnterpriseKeyCredentialRegistrationInfo; + struct EnterpriseKeyCredentialRegistrationManager; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.IEnterpriseKeyCredentialRegistrationInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.IEnterpriseKeyCredentialRegistrationManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.IEnterpriseKeyCredentialRegistrationManagerStatics"; + template <> inline constexpr guid guid_v{ 0x38321ACC,0x672B,0x4823,{ 0xB6,0x03,0x6B,0x3C,0x75,0x3D,0xAF,0x97 } }; // 38321ACC-672B-4823-B603-6B3C753DAF97 + template <> inline constexpr guid guid_v{ 0x83F3BE3F,0xA25F,0x4CBA,{ 0xBB,0x8E,0xBD,0xC3,0x2D,0x03,0xC2,0x97 } }; // 83F3BE3F-A25F-4CBA-BB8E-BDC32D03C297 + template <> inline constexpr guid guid_v{ 0x77B85E9E,0xACF4,0x4BC0,{ 0xBA,0xC2,0x40,0xBB,0x46,0xEF,0xBB,0x3F } }; // 77B85E9E-ACF4-4BC0-BAC2-40BB46EFBB3F + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TenantId(void**) noexcept = 0; + virtual int32_t __stdcall get_TenantName(void**) noexcept = 0; + virtual int32_t __stdcall get_Subject(void**) noexcept = 0; + virtual int32_t __stdcall get_KeyId(void**) noexcept = 0; + virtual int32_t __stdcall get_KeyName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetRegistrationsAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo + { + [[nodiscard]] auto TenantId() const; + [[nodiscard]] auto TenantName() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto KeyId() const; + [[nodiscard]] auto KeyName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo; + }; + template + struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager + { + auto GetRegistrationsAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager; + }; + template + struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics + { + [[nodiscard]] auto Current() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.1.h new file mode 100644 index 0000000000000000000000000000000000000000..53c21b31ae3923924ec98eeb910738f8d8d9fba3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_1_H +#define WINRT_Windows_Security_Authentication_Identity_1_H +#include "winrt/impl/Windows.Security.Authentication.Identity.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity +{ + struct WINRT_IMPL_EMPTY_BASES IEnterpriseKeyCredentialRegistrationInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEnterpriseKeyCredentialRegistrationInfo(std::nullptr_t = nullptr) noexcept {} + IEnterpriseKeyCredentialRegistrationInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEnterpriseKeyCredentialRegistrationManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEnterpriseKeyCredentialRegistrationManager(std::nullptr_t = nullptr) noexcept {} + IEnterpriseKeyCredentialRegistrationManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEnterpriseKeyCredentialRegistrationManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEnterpriseKeyCredentialRegistrationManagerStatics(std::nullptr_t = nullptr) noexcept {} + IEnterpriseKeyCredentialRegistrationManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ab31702ff8714122625a64ef7bae6796fdfd4f56 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.2.h @@ -0,0 +1,24 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_2_H +#define WINRT_Windows_Security_Authentication_Identity_2_H +#include "winrt/impl/Windows.Security.Authentication.Identity.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity +{ + struct WINRT_IMPL_EMPTY_BASES EnterpriseKeyCredentialRegistrationInfo : winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo + { + EnterpriseKeyCredentialRegistrationInfo(std::nullptr_t) noexcept {} + EnterpriseKeyCredentialRegistrationInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES EnterpriseKeyCredentialRegistrationManager : winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager + { + EnterpriseKeyCredentialRegistrationManager(std::nullptr_t) noexcept {} + EnterpriseKeyCredentialRegistrationManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d7ad17db95a025adadfb06b8938030e0a65110e7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.0.h @@ -0,0 +1,253 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Core_0_H +#define WINRT_Windows_Security_Authentication_Identity_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Core +{ + enum class MicrosoftAccountMultiFactorAuthenticationType : int32_t + { + User = 0, + Device = 1, + }; + enum class MicrosoftAccountMultiFactorServiceResponse : int32_t + { + Success = 0, + Error = 1, + NoNetworkConnection = 2, + ServiceUnavailable = 3, + TotpSetupDenied = 4, + NgcNotSetup = 5, + SessionAlreadyDenied = 6, + SessionAlreadyApproved = 7, + SessionExpired = 8, + NgcNonceExpired = 9, + InvalidSessionId = 10, + InvalidSessionType = 11, + InvalidOperation = 12, + InvalidStateTransition = 13, + DeviceNotFound = 14, + FlowDisabled = 15, + SessionNotApproved = 16, + OperationCanceledByUser = 17, + NgcDisabledByServer = 18, + NgcKeyNotFoundOnServer = 19, + UIRequired = 20, + DeviceIdChanged = 21, + }; + enum class MicrosoftAccountMultiFactorSessionApprovalStatus : int32_t + { + Pending = 0, + Approved = 1, + Denied = 2, + }; + enum class MicrosoftAccountMultiFactorSessionAuthenticationStatus : int32_t + { + Authenticated = 0, + Unauthenticated = 1, + }; + struct IMicrosoftAccountMultiFactorAuthenticationManager; + struct IMicrosoftAccountMultiFactorAuthenticatorStatics; + struct IMicrosoftAccountMultiFactorGetSessionsResult; + struct IMicrosoftAccountMultiFactorOneTimeCodedInfo; + struct IMicrosoftAccountMultiFactorSessionInfo; + struct IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo; + struct MicrosoftAccountMultiFactorAuthenticationManager; + struct MicrosoftAccountMultiFactorGetSessionsResult; + struct MicrosoftAccountMultiFactorOneTimeCodedInfo; + struct MicrosoftAccountMultiFactorSessionInfo; + struct MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo; +} +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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionApprovalStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionAuthenticationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorAuthenticationManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorAuthenticatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorGetSessionsResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorOneTimeCodedInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorSessionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Core.IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo"; + template <> inline constexpr guid guid_v{ 0x0FD340A5,0xF574,0x4320,{ 0xA0,0x8E,0x0A,0x19,0xA8,0x23,0x22,0xAA } }; // 0FD340A5-F574-4320-A08E-0A19A82322AA + template <> inline constexpr guid guid_v{ 0xD964C2E6,0xF446,0x4C71,{ 0x8B,0x79,0x6E,0xA4,0x02,0x4A,0xA9,0xB8 } }; // D964C2E6-F446-4C71-8B79-6EA4024AA9B8 + template <> inline constexpr guid guid_v{ 0x4E23A9A0,0xE9FA,0x497A,{ 0x95,0xDE,0x6D,0x57,0x47,0xBF,0x97,0x4C } }; // 4E23A9A0-E9FA-497A-95DE-6D5747BF974C + template <> inline constexpr guid guid_v{ 0x82BA264B,0xD87C,0x4668,{ 0xA9,0x76,0x40,0xCF,0xAE,0x54,0x7D,0x08 } }; // 82BA264B-D87C-4668-A976-40CFAE547D08 + template <> inline constexpr guid guid_v{ 0x5F7EABB4,0xA278,0x4635,{ 0xB7,0x65,0xB4,0x94,0xEB,0x26,0x0A,0xF4 } }; // 5F7EABB4-A278-4635-B765-B494EB260AF4 + template <> inline constexpr guid guid_v{ 0xAA7EC5FB,0xDA3F,0x4088,{ 0xA2,0x0D,0x56,0x18,0xAF,0xAD,0xB2,0xE5 } }; // AA7EC5FB-DA3F-4088-A20D-5618AFADB2E5 + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetOneTimePassCodeAsync(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall AddDeviceAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RemoveDeviceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateWnsChannelAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSessionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSessionsAndUnregisteredAccountsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ApproveSessionUsingAuthSessionInfoAsync(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ApproveSessionAsync(int32_t, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall DenySessionUsingAuthSessionInfoAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DenySessionAsync(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Current(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Sessions(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceResponse(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Code(void**) noexcept = 0; + virtual int32_t __stdcall get_TimeInterval(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimeToLive(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ServiceResponse(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserAccountId(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionId(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplaySessionId(void**) noexcept = 0; + virtual int32_t __stdcall get_ApprovalStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RequestTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ExpirationTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Sessions(void**) noexcept = 0; + virtual int32_t __stdcall get_UnregisteredAccounts(void**) noexcept = 0; + virtual int32_t __stdcall get_ServiceResponse(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager + { + auto GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const; + auto AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const; + auto RemoveDeviceAsync(param::hstring const& userAccountId) const; + auto UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const; + auto GetSessionsAsync(param::async_iterable const& userAccountIdList) const; + auto GetSessionsAndUnregisteredAccountsAsync(param::async_iterable const& userAccountIdList) const; + auto ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; + auto ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; + auto DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; + auto DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics + { + [[nodiscard]] auto Current() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult + { + [[nodiscard]] auto Sessions() const; + [[nodiscard]] auto ServiceResponse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo + { + [[nodiscard]] auto Code() const; + [[nodiscard]] auto TimeInterval() const; + [[nodiscard]] auto TimeToLive() const; + [[nodiscard]] auto ServiceResponse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo + { + [[nodiscard]] auto UserAccountId() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto DisplaySessionId() const; + [[nodiscard]] auto ApprovalStatus() const; + [[nodiscard]] auto AuthenticationType() const; + [[nodiscard]] auto RequestTime() const; + [[nodiscard]] auto ExpirationTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo; + }; + template + struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo + { + [[nodiscard]] auto Sessions() const; + [[nodiscard]] auto UnregisteredAccounts() const; + [[nodiscard]] auto ServiceResponse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0c1540e1b338b0f9e3d79ea6ef163c0763d354b0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.1.h @@ -0,0 +1,55 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Core_1_H +#define WINRT_Windows_Security_Authentication_Identity_Core_1_H +#include "winrt/impl/Windows.Security.Authentication.Identity.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Core +{ + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorAuthenticationManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorAuthenticationManager(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorAuthenticationManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorAuthenticatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorAuthenticatorStatics(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorAuthenticatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorGetSessionsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorGetSessionsResult(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorGetSessionsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorOneTimeCodedInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorOneTimeCodedInfo(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorOneTimeCodedInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorSessionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorSessionInfo(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(std::nullptr_t = nullptr) noexcept {} + IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..bb4413f1341a46337a78db472d218dc0c00f58b3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.core.2.h @@ -0,0 +1,39 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Core_2_H +#define WINRT_Windows_Security_Authentication_Identity_Core_2_H +#include "winrt/impl/Windows.Security.Authentication.Identity.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Core +{ + struct WINRT_IMPL_EMPTY_BASES MicrosoftAccountMultiFactorAuthenticationManager : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager + { + MicrosoftAccountMultiFactorAuthenticationManager(std::nullptr_t) noexcept {} + MicrosoftAccountMultiFactorAuthenticationManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Current(); + }; + struct WINRT_IMPL_EMPTY_BASES MicrosoftAccountMultiFactorGetSessionsResult : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult + { + MicrosoftAccountMultiFactorGetSessionsResult(std::nullptr_t) noexcept {} + MicrosoftAccountMultiFactorGetSessionsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MicrosoftAccountMultiFactorOneTimeCodedInfo : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo + { + MicrosoftAccountMultiFactorOneTimeCodedInfo(std::nullptr_t) noexcept {} + MicrosoftAccountMultiFactorOneTimeCodedInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MicrosoftAccountMultiFactorSessionInfo : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo + { + MicrosoftAccountMultiFactorSessionInfo(std::nullptr_t) noexcept {} + MicrosoftAccountMultiFactorSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo + { + MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(std::nullptr_t) noexcept {} + MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..0e37fe3af369b5eefdb714a9257011fb34b3789b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.0.h @@ -0,0 +1,451 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Provider_0_H +#define WINRT_Windows_Security_Authentication_Identity_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Provider +{ + enum class SecondaryAuthenticationFactorAuthenticationMessage : int32_t + { + Invalid = 0, + SwipeUpWelcome = 1, + TapWelcome = 2, + DeviceNeedsAttention = 3, + LookingForDevice = 4, + LookingForDevicePluggedin = 5, + BluetoothIsDisabled = 6, + NfcIsDisabled = 7, + WiFiIsDisabled = 8, + ExtraTapIsRequired = 9, + DisabledByPolicy = 10, + TapOnDeviceRequired = 11, + HoldFinger = 12, + ScanFinger = 13, + UnauthorizedUser = 14, + ReregisterRequired = 15, + TryAgain = 16, + SayPassphrase = 17, + ReadyToSignIn = 18, + UseAnotherSignInOption = 19, + ConnectionRequired = 20, + TimeLimitExceeded = 21, + CanceledByUser = 22, + CenterHand = 23, + MoveHandCloser = 24, + MoveHandFarther = 25, + PlaceHandAbove = 26, + RecognitionFailed = 27, + DeviceUnavailable = 28, + }; + enum class SecondaryAuthenticationFactorAuthenticationScenario : int32_t + { + SignIn = 0, + CredentialPrompt = 1, + }; + enum class SecondaryAuthenticationFactorAuthenticationStage : int32_t + { + NotStarted = 0, + WaitingForUserConfirmation = 1, + CollectingCredential = 2, + SuspendingAuthentication = 3, + CredentialCollected = 4, + CredentialAuthenticated = 5, + StoppingAuthentication = 6, + ReadyForLock = 7, + CheckingDevicePresence = 8, + }; + enum class SecondaryAuthenticationFactorAuthenticationStatus : int32_t + { + Failed = 0, + Started = 1, + UnknownDevice = 2, + DisabledByPolicy = 3, + InvalidAuthenticationStage = 4, + }; + enum class SecondaryAuthenticationFactorDeviceCapabilities : uint32_t + { + None = 0, + SecureStorage = 0x1, + StoreKeys = 0x2, + ConfirmUserIntentToAuthenticate = 0x4, + SupportSecureUserPresenceCheck = 0x8, + TransmittedDataIsEncrypted = 0x10, + HMacSha256 = 0x20, + CloseRangeDataTransmission = 0x40, + }; + enum class SecondaryAuthenticationFactorDeviceFindScope : int32_t + { + User = 0, + AllUsers = 1, + }; + enum class SecondaryAuthenticationFactorDevicePresence : int32_t + { + Absent = 0, + Present = 1, + }; + enum class SecondaryAuthenticationFactorDevicePresenceMonitoringMode : int32_t + { + Unsupported = 0, + AppManaged = 1, + SystemManaged = 2, + }; + enum class SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus : int32_t + { + Unsupported = 0, + Succeeded = 1, + DisabledByPolicy = 2, + }; + enum class SecondaryAuthenticationFactorFinishAuthenticationStatus : int32_t + { + Failed = 0, + Completed = 1, + NonceExpired = 2, + }; + enum class SecondaryAuthenticationFactorRegistrationStatus : int32_t + { + Failed = 0, + Started = 1, + CanceledByUser = 2, + PinSetupRequired = 3, + DisabledByPolicy = 4, + }; + struct ISecondaryAuthenticationFactorAuthentication; + struct ISecondaryAuthenticationFactorAuthenticationResult; + struct ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs; + struct ISecondaryAuthenticationFactorAuthenticationStageInfo; + struct ISecondaryAuthenticationFactorAuthenticationStatics; + struct ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics; + struct ISecondaryAuthenticationFactorInfo; + struct ISecondaryAuthenticationFactorInfo2; + struct ISecondaryAuthenticationFactorRegistration; + struct ISecondaryAuthenticationFactorRegistrationResult; + struct ISecondaryAuthenticationFactorRegistrationStatics; + struct SecondaryAuthenticationFactorAuthentication; + struct SecondaryAuthenticationFactorAuthenticationResult; + struct SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs; + struct SecondaryAuthenticationFactorAuthenticationStageInfo; + struct SecondaryAuthenticationFactorInfo; + struct SecondaryAuthenticationFactorRegistration; + struct SecondaryAuthenticationFactorRegistrationResult; +} +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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationMessage"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationScenario"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStage"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDeviceCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDeviceFindScope"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresence"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringMode"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorFinishAuthenticationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthentication"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStageInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistrationStatics"; + template <> inline constexpr guid guid_v{ 0x020A16E5,0x6A25,0x40A3,{ 0x8C,0x00,0x50,0xA0,0x23,0xF6,0x19,0xD1 } }; // 020A16E5-6A25-40A3-8C00-50A023F619D1 + template <> inline constexpr guid guid_v{ 0x9CBB5987,0xEF6D,0x4BC2,{ 0xBF,0x49,0x46,0x17,0x51,0x5A,0x0F,0x9A } }; // 9CBB5987-EF6D-4BC2-BF49-4617515A0F9A + template <> inline constexpr guid guid_v{ 0xD4A5EE56,0x7291,0x4073,{ 0xBC,0x1F,0xCC,0xB8,0xF5,0xAF,0xDF,0x96 } }; // D4A5EE56-7291-4073-BC1F-CCB8F5AFDF96 + template <> inline constexpr guid guid_v{ 0x56FEC28B,0xE8AA,0x4C0F,{ 0x8E,0x4C,0xA5,0x59,0xE7,0x3A,0xDD,0x88 } }; // 56FEC28B-E8AA-4C0F-8E4C-A559E73ADD88 + template <> inline constexpr guid guid_v{ 0x3F582656,0x28F8,0x4E0F,{ 0xAE,0x8C,0x58,0x98,0xB9,0xAE,0x24,0x69 } }; // 3F582656-28F8-4E0F-AE8C-5898B9AE2469 + template <> inline constexpr guid guid_v{ 0x90499A19,0x7EF2,0x4523,{ 0x95,0x1C,0xA4,0x17,0xA2,0x4A,0xCF,0x93 } }; // 90499A19-7EF2-4523-951C-A417A24ACF93 + template <> inline constexpr guid guid_v{ 0x1E2BA861,0x8533,0x4FCE,{ 0x83,0x9B,0xEC,0xB7,0x24,0x10,0xAC,0x14 } }; // 1E2BA861-8533-4FCE-839B-ECB72410AC14 + template <> inline constexpr guid guid_v{ 0x14D981A3,0xFC26,0x4FF7,{ 0xAB,0xC3,0x48,0xE8,0x2A,0x51,0x2A,0x0A } }; // 14D981A3-FC26-4FF7-ABC3-48E82A512A0A + template <> inline constexpr guid guid_v{ 0x9F4CBBB4,0x8CBA,0x48B0,{ 0x84,0x0D,0xDB,0xB2,0x2A,0x54,0xC6,0x78 } }; // 9F4CBBB4-8CBA-48B0-840D-DBB22A54C678 + template <> inline constexpr guid guid_v{ 0xA4FE35F0,0xADE3,0x4981,{ 0xAF,0x6B,0xEC,0x19,0x59,0x21,0x68,0x2A } }; // A4FE35F0-ADE3-4981-AF6B-EC195921682A + template <> inline constexpr guid guid_v{ 0x1ADF0F65,0xE3B7,0x4155,{ 0x99,0x7F,0xB7,0x56,0xEF,0x65,0xBE,0xBA } }; // 1ADF0F65-E3B7-4155-997F-B756EF65BEBA + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ServiceAuthenticationHmac(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionNonce(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceNonce(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceConfigurationData(void**) noexcept = 0; + virtual int32_t __stdcall FinishAuthenticationAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AbortAuthenticationAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Authentication(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_StageInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Stage(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Scenario(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ShowNotificationMessageAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StartAuthenticationAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall add_AuthenticationStageChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AuthenticationStageChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetAuthenticationStageInfoAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterDevicePresenceMonitoringAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RegisterDevicePresenceMonitoringWithNewDeviceAsync(void*, void*, int32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnregisterDevicePresenceMonitoringAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall IsDevicePresenceMonitoringSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceFriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceModelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceConfigurationData(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PresenceMonitoringMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall UpdateDevicePresenceAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_IsAuthenticationSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FinishRegisteringDeviceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AbortRegisteringDeviceAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Registration(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestStartRegisteringDeviceAsync(void*, uint32_t, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllRegisteredDeviceInfoAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall UnregisterDeviceAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UpdateDeviceConfigurationDataAsync(void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication + { + [[nodiscard]] auto ServiceAuthenticationHmac() const; + [[nodiscard]] auto SessionNonce() const; + [[nodiscard]] auto DeviceNonce() const; + [[nodiscard]] auto DeviceConfigurationData() const; + auto FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const; + auto AbortAuthenticationAsync(param::hstring const& errorLogMessage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Authentication() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs + { + [[nodiscard]] auto StageInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo + { + [[nodiscard]] auto Stage() const; + [[nodiscard]] auto Scenario() const; + [[nodiscard]] auto DeviceId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics + { + auto ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const; + auto StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const; + auto AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using AuthenticationStageChanged_revoker = impl::event_revoker::remove_AuthenticationStageChanged>; + [[nodiscard]] auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto AuthenticationStageChanged(winrt::event_token const& token) const noexcept; + auto GetAuthenticationStageInfoAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics + { + auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const; + auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + auto UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const; + auto IsDevicePresenceMonitoringSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo + { + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DeviceFriendlyName() const; + [[nodiscard]] auto DeviceModelNumber() const; + [[nodiscard]] auto DeviceConfigurationData() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2 + { + [[nodiscard]] auto PresenceMonitoringMode() const; + auto UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const; + [[nodiscard]] auto IsAuthenticationSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration + { + auto FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + auto AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Registration() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult; + }; + template + struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics + { + auto RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey) const; + auto FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const; + auto UnregisterDeviceAsync(param::hstring const& deviceId) const; + auto UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..388d753b303ec21aaf78a0a19d2aa2479feb8de4 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.1.h @@ -0,0 +1,91 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Provider_1_H +#define WINRT_Windows_Security_Authentication_Identity_Provider_1_H +#include "winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Provider +{ + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorAuthentication : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorAuthentication(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorAuthentication(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorAuthenticationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorAuthenticationResult(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorAuthenticationStageInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorAuthenticationStageInfo(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorAuthenticationStageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorAuthenticationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorAuthenticationStatics(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorAuthenticationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorInfo(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + ISecondaryAuthenticationFactorInfo2(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorRegistration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorRegistration(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorRegistrationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorRegistrationResult(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISecondaryAuthenticationFactorRegistrationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISecondaryAuthenticationFactorRegistrationStatics(std::nullptr_t = nullptr) noexcept {} + ISecondaryAuthenticationFactorRegistrationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e29d11a72e70eff289110c940bfdc758b5b67894 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.identity.provider.2.h @@ -0,0 +1,66 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Identity_Provider_2_H +#define WINRT_Windows_Security_Authentication_Identity_Provider_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Provider +{ + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorAuthentication : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication + { + SecondaryAuthenticationFactorAuthentication(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorAuthentication(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication(ptr, take_ownership_from_abi) {} + static auto ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message); + static auto StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce); + static auto AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler); + using AuthenticationStageChanged_revoker = impl::factory_event_revoker::remove_AuthenticationStageChanged>; + [[nodiscard]] static auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto AuthenticationStageChanged(winrt::event_token const& token); + static auto GetAuthenticationStageInfoAsync(); + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorAuthenticationResult : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult + { + SecondaryAuthenticationFactorAuthenticationResult(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs + { + SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorAuthenticationStageInfo : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo + { + SecondaryAuthenticationFactorAuthenticationStageInfo(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorAuthenticationStageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorInfo : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo, + impl::require + { + SecondaryAuthenticationFactorInfo(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorRegistration : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration + { + SecondaryAuthenticationFactorRegistration(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorRegistration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration(ptr, take_ownership_from_abi) {} + static auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode); + static auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData); + static auto UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId); + static auto IsDevicePresenceMonitoringSupported(); + static auto RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey); + static auto FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType); + static auto UnregisterDeviceAsync(param::hstring const& deviceId); + static auto UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData); + }; + struct WINRT_IMPL_EMPTY_BASES SecondaryAuthenticationFactorRegistrationResult : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult + { + SecondaryAuthenticationFactorRegistrationResult(std::nullptr_t) noexcept {} + SecondaryAuthenticationFactorRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.0.h new file mode 100644 index 0000000000000000000000000000000000000000..770d6766325931e56d287077f8284bce37aeaafd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.0.h @@ -0,0 +1,312 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_OnlineId_0_H +#define WINRT_Windows_Security_Authentication_OnlineId_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES IAsyncOperation; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::OnlineId +{ + enum class CredentialPromptType : int32_t + { + PromptIfNeeded = 0, + RetypeCredentials = 1, + DoNotPrompt = 2, + }; + enum class OnlineIdSystemTicketStatus : int32_t + { + Success = 0, + Error = 1, + ServiceConnectionError = 2, + }; + struct IOnlineIdAuthenticator; + struct IOnlineIdServiceTicket; + struct IOnlineIdServiceTicketRequest; + struct IOnlineIdServiceTicketRequestFactory; + struct IOnlineIdSystemAuthenticatorForUser; + struct IOnlineIdSystemAuthenticatorStatics; + struct IOnlineIdSystemIdentity; + struct IOnlineIdSystemTicketResult; + struct IUserIdentity; + struct OnlineIdAuthenticator; + struct OnlineIdServiceTicket; + struct OnlineIdServiceTicketRequest; + struct OnlineIdSystemAuthenticator; + struct OnlineIdSystemAuthenticatorForUser; + struct OnlineIdSystemIdentity; + struct OnlineIdSystemTicketResult; + struct SignOutUserOperation; + struct UserAuthenticationOperation; + struct UserIdentity; +} +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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticator"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.SignOutUserOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.UserAuthenticationOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.UserIdentity"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.CredentialPromptType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdAuthenticator"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdServiceTicket"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdServiceTicketRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdServiceTicketRequestFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdSystemAuthenticatorForUser"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdSystemAuthenticatorStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdSystemIdentity"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IOnlineIdSystemTicketResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.OnlineId.IUserIdentity"; + template <> inline constexpr guid guid_v{ 0xA003F58A,0x29AB,0x4817,{ 0xB8,0x84,0xD7,0x51,0x6D,0xAD,0x18,0xB9 } }; // A003F58A-29AB-4817-B884-D7516DAD18B9 + template <> inline constexpr guid guid_v{ 0xC95C547F,0xD781,0x4A94,{ 0xAC,0xB8,0xC5,0x98,0x74,0x23,0x8C,0x26 } }; // C95C547F-D781-4A94-ACB8-C59874238C26 + template <> inline constexpr guid guid_v{ 0x297445D3,0xFB63,0x4135,{ 0x89,0x09,0x4E,0x35,0x4C,0x06,0x14,0x66 } }; // 297445D3-FB63-4135-8909-4E354C061466 + template <> inline constexpr guid guid_v{ 0xBEBB0A08,0x9E73,0x4077,{ 0x96,0x14,0x08,0x61,0x4C,0x0B,0xC2,0x45 } }; // BEBB0A08-9E73-4077-9614-08614C0BC245 + template <> inline constexpr guid guid_v{ 0x5798BEFB,0x1DE4,0x4186,{ 0xA2,0xE6,0xB5,0x63,0xF8,0x6A,0xAF,0x44 } }; // 5798BEFB-1DE4-4186-A2E6-B563F86AAF44 + template <> inline constexpr guid guid_v{ 0x85047792,0xF634,0x41E3,{ 0x96,0xA4,0x51,0x64,0xE9,0x02,0xC7,0x40 } }; // 85047792-F634-41E3-96A4-5164E902C740 + template <> inline constexpr guid guid_v{ 0x743CD20D,0xB6CA,0x434D,{ 0x81,0x24,0x53,0xEA,0x12,0x68,0x53,0x07 } }; // 743CD20D-B6CA-434D-8124-53EA12685307 + template <> inline constexpr guid guid_v{ 0xDB0A5FF8,0xB098,0x4ACD,{ 0x9D,0x13,0x9E,0x64,0x06,0x52,0xB5,0xB6 } }; // DB0A5FF8-B098-4ACD-9D13-9E640652B5B6 + template <> inline constexpr guid guid_v{ 0x2146D9CD,0x0742,0x4BE3,{ 0x8A,0x1C,0x7C,0x7A,0xE6,0x79,0xAA,0x88 } }; // 2146D9CD-0742-4BE3-8A1C-7C7AE679AA88 + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncAction; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::IAsyncOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::OnlineId::IUserIdentity; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AuthenticateUserAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AuthenticateUserAsyncAdvanced(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SignOutUserAsync(void**) noexcept = 0; + virtual int32_t __stdcall put_ApplicationId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_ApplicationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_CanSignOut(bool*) noexcept = 0; + virtual int32_t __stdcall get_AuthenticatedSafeCustomerId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Value(void**) noexcept = 0; + virtual int32_t __stdcall get_Request(void**) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Service(void**) noexcept = 0; + virtual int32_t __stdcall get_Policy(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateOnlineIdServiceTicketRequest(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateOnlineIdServiceTicketRequestAdvanced(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTicketAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall put_ApplicationId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_ApplicationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Default(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Ticket(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Identity(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Tickets(void**) noexcept = 0; + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_SafeCustomerId(void**) noexcept = 0; + virtual int32_t __stdcall get_SignInName(void**) noexcept = 0; + virtual int32_t __stdcall get_FirstName(void**) noexcept = 0; + virtual int32_t __stdcall get_LastName(void**) noexcept = 0; + virtual int32_t __stdcall get_IsBetaAccount(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsConfirmedPC(bool*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator + { + auto AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; + auto AuthenticateUserAsync(param::iterable const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const; + auto SignOutUserAsync() const; + auto ApplicationId(winrt::guid const& value) const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto CanSignOut() const; + [[nodiscard]] auto AuthenticatedSafeCustomerId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket + { + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Request() const; + [[nodiscard]] auto ErrorCode() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest + { + [[nodiscard]] auto Service() const; + [[nodiscard]] auto Policy() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory + { + auto CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const; + auto CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser + { + auto GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; + auto ApplicationId(winrt::guid const& value) const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics + { + [[nodiscard]] auto Default() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity + { + [[nodiscard]] auto Ticket() const; + [[nodiscard]] auto Id() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult + { + [[nodiscard]] auto Identity() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult; + }; + template + struct consume_Windows_Security_Authentication_OnlineId_IUserIdentity + { + [[nodiscard]] auto Tickets() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SafeCustomerId() const; + [[nodiscard]] auto SignInName() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto LastName() const; + [[nodiscard]] auto IsBetaAccount() const; + [[nodiscard]] auto IsConfirmedPC() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_OnlineId_IUserIdentity; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.1.h new file mode 100644 index 0000000000000000000000000000000000000000..4f7f97ae4c4b47b5f8a8ec386fb3a8c8f1c667bd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.1.h @@ -0,0 +1,76 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_OnlineId_1_H +#define WINRT_Windows_Security_Authentication_OnlineId_1_H +#include "winrt/impl/Windows.Security.Authentication.OnlineId.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::OnlineId +{ + struct WINRT_IMPL_EMPTY_BASES IOnlineIdAuthenticator : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdAuthenticator(std::nullptr_t = nullptr) noexcept {} + IOnlineIdAuthenticator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdServiceTicket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdServiceTicket(std::nullptr_t = nullptr) noexcept {} + IOnlineIdServiceTicket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdServiceTicketRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdServiceTicketRequest(std::nullptr_t = nullptr) noexcept {} + IOnlineIdServiceTicketRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdServiceTicketRequestFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdServiceTicketRequestFactory(std::nullptr_t = nullptr) noexcept {} + IOnlineIdServiceTicketRequestFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdSystemAuthenticatorForUser : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdSystemAuthenticatorForUser(std::nullptr_t = nullptr) noexcept {} + IOnlineIdSystemAuthenticatorForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdSystemAuthenticatorStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdSystemAuthenticatorStatics(std::nullptr_t = nullptr) noexcept {} + IOnlineIdSystemAuthenticatorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdSystemIdentity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdSystemIdentity(std::nullptr_t = nullptr) noexcept {} + IOnlineIdSystemIdentity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IOnlineIdSystemTicketResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IOnlineIdSystemTicketResult(std::nullptr_t = nullptr) noexcept {} + IOnlineIdSystemTicketResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserIdentity : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserIdentity(std::nullptr_t = nullptr) noexcept {} + IUserIdentity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2f957e78a4bf33e29efd246a658ac746fb660043 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.onlineid.2.h @@ -0,0 +1,69 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_OnlineId_2_H +#define WINRT_Windows_Security_Authentication_OnlineId_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Security.Authentication.OnlineId.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::OnlineId +{ + struct WINRT_IMPL_EMPTY_BASES OnlineIdAuthenticator : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator + { + OnlineIdAuthenticator(std::nullptr_t) noexcept {} + OnlineIdAuthenticator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator(ptr, take_ownership_from_abi) {} + OnlineIdAuthenticator(); + }; + struct WINRT_IMPL_EMPTY_BASES OnlineIdServiceTicket : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket + { + OnlineIdServiceTicket(std::nullptr_t) noexcept {} + OnlineIdServiceTicket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OnlineIdServiceTicketRequest : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest + { + OnlineIdServiceTicketRequest(std::nullptr_t) noexcept {} + OnlineIdServiceTicketRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest(ptr, take_ownership_from_abi) {} + OnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy); + explicit OnlineIdServiceTicketRequest(param::hstring const& service); + }; + struct OnlineIdSystemAuthenticator + { + OnlineIdSystemAuthenticator() = delete; + [[nodiscard]] static auto Default(); + static auto GetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES OnlineIdSystemAuthenticatorForUser : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser + { + OnlineIdSystemAuthenticatorForUser(std::nullptr_t) noexcept {} + OnlineIdSystemAuthenticatorForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OnlineIdSystemIdentity : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity + { + OnlineIdSystemIdentity(std::nullptr_t) noexcept {} + OnlineIdSystemIdentity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES OnlineIdSystemTicketResult : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult + { + OnlineIdSystemTicketResult(std::nullptr_t) noexcept {} + OnlineIdSystemTicketResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES SignOutUserOperation : winrt::Windows::Foundation::IAsyncAction + { + SignOutUserOperation(std::nullptr_t) noexcept {} + SignOutUserOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserAuthenticationOperation : winrt::Windows::Foundation::IAsyncOperation + { + UserAuthenticationOperation(std::nullptr_t) noexcept {} + UserAuthenticationOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IAsyncOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserIdentity : winrt::Windows::Security::Authentication::OnlineId::IUserIdentity + { + UserIdentity(std::nullptr_t) noexcept {} + UserIdentity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::OnlineId::IUserIdentity(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.0.h new file mode 100644 index 0000000000000000000000000000000000000000..c962bdccd9d59a1b5fbfd0c767af94aa0eb5e2ac --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.0.h @@ -0,0 +1,132 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_0_H +#define WINRT_Windows_Security_Authentication_Web_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct ValueSet; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web +{ + enum class TokenBindingKeyType : int32_t + { + Rsa2048 = 0, + EcdsaP256 = 1, + AnyExisting = 2, + }; + enum class WebAuthenticationOptions : uint32_t + { + None = 0, + SilentMode = 0x1, + UseTitle = 0x2, + UseHttpPost = 0x4, + UseCorporateNetwork = 0x8, + }; + enum class WebAuthenticationStatus : int32_t + { + Success = 0, + UserCancel = 1, + ErrorHttp = 2, + }; + struct IWebAuthenticationBrokerStatics; + struct IWebAuthenticationBrokerStatics2; + struct IWebAuthenticationResult; + struct WebAuthenticationBroker; + struct WebAuthenticationResult; +} +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 = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.WebAuthenticationBroker"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.WebAuthenticationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.TokenBindingKeyType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.WebAuthenticationOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.WebAuthenticationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.IWebAuthenticationBrokerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.IWebAuthenticationBrokerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.IWebAuthenticationResult"; + template <> inline constexpr guid guid_v{ 0x2F149F1A,0xE673,0x40B5,{ 0xBC,0x22,0x20,0x1A,0x68,0x64,0xA3,0x7B } }; // 2F149F1A-E673-40B5-BC22-201A6864A37B + template <> inline constexpr guid guid_v{ 0x73CDFB9E,0x14E7,0x41DA,{ 0xA9,0x71,0xAA,0xF4,0x41,0x0B,0x62,0x1E } }; // 73CDFB9E-14E7-41DA-A971-AAF4410B621E + template <> inline constexpr guid guid_v{ 0x64002B4B,0xEDE9,0x470A,{ 0xA5,0xCD,0x03,0x23,0xFA,0xF6,0xE2,0x62 } }; // 64002B4B-EDE9-470A-A5CD-0323FAF6E262 + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AuthenticateWithCallbackUriAsync(uint32_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AuthenticateWithoutCallbackUriAsync(uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetCurrentApplicationCallbackUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AuthenticateAndContinue(void*) noexcept = 0; + virtual int32_t __stdcall AuthenticateWithCallbackUriAndContinue(void*, void*) noexcept = 0; + virtual int32_t __stdcall AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue(void*, void*, void*, uint32_t) noexcept = 0; + virtual int32_t __stdcall AuthenticateSilentlyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AuthenticateSilentlyWithOptionsAsync(void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseData(void**) noexcept = 0; + virtual int32_t __stdcall get_ResponseStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResponseErrorDetail(uint32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics + { + auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; + auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const; + auto GetCurrentApplicationCallbackUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics; + }; + template + struct consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2 + { + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const; + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; + auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const; + auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2; + }; + template + struct consume_Windows_Security_Authentication_Web_IWebAuthenticationResult + { + [[nodiscard]] auto ResponseData() const; + [[nodiscard]] auto ResponseStatus() const; + [[nodiscard]] auto ResponseErrorDetail() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_IWebAuthenticationResult; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.1.h new file mode 100644 index 0000000000000000000000000000000000000000..68ff89d1b0ba92d67afd4b4c7ad98904ec08dd32 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.1.h @@ -0,0 +1,34 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_1_H +#define WINRT_Windows_Security_Authentication_Web_1_H +#include "winrt/impl/Windows.Security.Authentication.Web.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web +{ + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationBrokerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationBrokerStatics(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationBrokerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationBrokerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationBrokerStatics2(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationBrokerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationResult(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2e0330246ae037b61ec4f356e41d0e7b02f3b130 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.2.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_2_H +#define WINRT_Windows_Security_Authentication_Web_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Security.Authentication.Web.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web +{ + struct WebAuthenticationBroker + { + WebAuthenticationBroker() = delete; + static auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri); + static auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri); + static auto GetCurrentApplicationCallbackUri(); + static auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri); + static auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri); + static auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options); + static auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri); + static auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options); + }; + struct WINRT_IMPL_EMPTY_BASES WebAuthenticationResult : winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult + { + WebAuthenticationResult(std::nullptr_t) noexcept {} + WebAuthenticationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..8b9ba5045aeb3778167efc2c9464707d7f998879 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.0.h @@ -0,0 +1,672 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Core_0_H +#define WINRT_Windows_Security_Authentication_Web_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IAsyncAction; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct WebAccount; + struct WebAccountProvider; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core +{ + enum class FindAllWebAccountsStatus : int32_t + { + Success = 0, + NotAllowedByProvider = 1, + NotSupportedByProvider = 2, + ProviderError = 3, + }; + enum class WebAuthenticationAddAccountStatus : int32_t + { + Success = 0, + Error = 1, + NotSupportedByProvider = 2, + ServiceConnectionError = 3, + ProviderError = 4, + }; + enum class WebTokenRequestPromptType : int32_t + { + Default = 0, + ForceAuthentication = 1, + }; + enum class WebTokenRequestStatus : int32_t + { + Success = 0, + UserCancel = 1, + AccountSwitch = 2, + UserInteractionRequired = 3, + AccountProviderNotAvailable = 4, + ProviderError = 5, + }; + struct IFindAllAccountsResult; + struct IWebAccountEventArgs; + struct IWebAccountMonitor; + struct IWebAccountMonitor2; + struct IWebAuthenticationAddAccountResponse; + struct IWebAuthenticationAddAccountResponseFactory; + struct IWebAuthenticationAddAccountResult; + struct IWebAuthenticationCoreManagerStatics; + struct IWebAuthenticationCoreManagerStatics2; + struct IWebAuthenticationCoreManagerStatics3; + struct IWebAuthenticationCoreManagerStatics4; + struct IWebAuthenticationCoreManagerStatics5; + struct IWebAuthenticationTransferTokenRequest; + struct IWebAuthenticationTransferTokenRequestFactory; + struct IWebProviderError; + struct IWebProviderErrorFactory; + struct IWebTokenRequest; + struct IWebTokenRequest2; + struct IWebTokenRequest3; + struct IWebTokenRequestFactory; + struct IWebTokenRequestResult; + struct IWebTokenResponse; + struct IWebTokenResponseFactory; + struct FindAllAccountsResult; + struct WebAccountEventArgs; + struct WebAccountMonitor; + struct WebAuthenticationAddAccountResponse; + struct WebAuthenticationAddAccountResult; + struct WebAuthenticationCoreManager; + struct WebAuthenticationTransferTokenRequest; + struct WebProviderError; + struct WebTokenRequest; + struct WebTokenRequestResult; + struct WebTokenResponse; +} +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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.FindAllAccountsResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAccountEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAccountMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebProviderError"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebTokenRequestResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebTokenResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.FindAllWebAccountsStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebTokenRequestPromptType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.WebTokenRequestStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IFindAllAccountsResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAccountEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAccountMonitor"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAccountMonitor2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationAddAccountResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationAddAccountResponseFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationAddAccountResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationCoreManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationCoreManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationCoreManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationCoreManagerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationCoreManagerStatics5"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationTransferTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebAuthenticationTransferTokenRequestFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebProviderError"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebProviderErrorFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenRequest3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenRequestFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenRequestResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory"; + template <> inline constexpr guid guid_v{ 0xA5812B5D,0xB72E,0x420C,{ 0x86,0xAB,0xAA,0xC0,0xD7,0xB7,0x26,0x1F } }; // A5812B5D-B72E-420C-86AB-AAC0D7B7261F + template <> inline constexpr guid guid_v{ 0x6FB7037D,0x424E,0x44EC,{ 0x97,0x7C,0xEF,0x24,0x15,0x46,0x2A,0x5A } }; // 6FB7037D-424E-44EC-977C-EF2415462A5A + template <> inline constexpr guid guid_v{ 0x7445F5FD,0xAA9D,0x4619,{ 0x8D,0x5D,0xC1,0x38,0xA4,0xED,0xE3,0xE5 } }; // 7445F5FD-AA9D-4619-8D5D-C138A4EDE3E5 + template <> inline constexpr guid guid_v{ 0xA7ADC1F8,0x24B8,0x4F01,{ 0x9A,0xE5,0x24,0x54,0x5E,0x71,0x23,0x3A } }; // A7ADC1F8-24B8-4F01-9AE5-24545E71233A + template <> inline constexpr guid guid_v{ 0x7FB013E8,0x0BD8,0x542B,{ 0xB4,0x86,0x83,0x23,0x16,0x3A,0x4B,0x85 } }; // 7FB013E8-0BD8-542B-B486-8323163A4B85 + template <> inline constexpr guid guid_v{ 0x325F903E,0x77BE,0x5365,{ 0x81,0xD9,0x03,0x21,0xCD,0xD8,0x21,0x95 } }; // 325F903E-77BE-5365-81D9-0321CDD82195 + template <> inline constexpr guid guid_v{ 0x88FAD03C,0x901D,0x5FFA,{ 0x92,0x59,0x70,0x1D,0x3C,0xA0,0x8E,0xF2 } }; // 88FAD03C-901D-5FFA-9259-701D3CA08EF2 + template <> inline constexpr guid guid_v{ 0x6ACA7C92,0xA581,0x4479,{ 0x9C,0x10,0x75,0x2E,0xFF,0x44,0xFD,0x34 } }; // 6ACA7C92-A581-4479-9C10-752EFF44FD34 + template <> inline constexpr guid guid_v{ 0xF584184A,0x8B57,0x4820,{ 0xB6,0xA4,0x70,0xA5,0xB6,0xFC,0xF4,0x4A } }; // F584184A-8B57-4820-B6A4-70A5B6FCF44A + template <> inline constexpr guid guid_v{ 0x2404EEB2,0x8924,0x4D93,{ 0xAB,0x3A,0x99,0x68,0x8B,0x41,0x9D,0x56 } }; // 2404EEB2-8924-4D93-AB3A-99688B419D56 + template <> inline constexpr guid guid_v{ 0x54E633FE,0x96E0,0x41E8,{ 0x98,0x32,0x12,0x98,0x89,0x7C,0x2A,0xAF } }; // 54E633FE-96E0-41E8-9832-1298897C2AAF + template <> inline constexpr guid guid_v{ 0xD07C1DED,0x270F,0x4554,{ 0x99,0x66,0x27,0xB7,0xDF,0x05,0xB9,0x65 } }; // D07C1DED-270F-4554-9966-27B7DF05B965 + template <> inline constexpr guid guid_v{ 0x7ACFA5B6,0x529D,0x5E76,{ 0x98,0x46,0xF3,0xFD,0x99,0x93,0x04,0xD0 } }; // 7ACFA5B6-529D-5E76-9846-F3FD999304D0 + template <> inline constexpr guid guid_v{ 0x5F16B627,0x04C4,0x5F0B,{ 0x86,0x83,0x8B,0xAB,0x58,0x96,0x56,0x56 } }; // 5F16B627-04C4-5F0B-8683-8BAB58965656 + template <> inline constexpr guid guid_v{ 0xDB191BB1,0x50C5,0x4809,{ 0x8D,0xCA,0x09,0xC9,0x94,0x10,0x24,0x5C } }; // DB191BB1-50C5-4809-8DCA-09C99410245C + template <> inline constexpr guid guid_v{ 0xE3C40A2D,0x89EF,0x4E37,{ 0x84,0x7F,0xA8,0xB9,0xD5,0xA3,0x29,0x10 } }; // E3C40A2D-89EF-4E37-847F-A8B9D5A32910 + template <> inline constexpr guid guid_v{ 0xB77B4D68,0xADCB,0x4673,{ 0xB3,0x64,0x0C,0xF7,0xB3,0x5C,0xAF,0x97 } }; // B77B4D68-ADCB-4673-B364-0CF7B35CAF97 + template <> inline constexpr guid guid_v{ 0xD700C079,0x30C8,0x4397,{ 0x96,0x54,0x96,0x1C,0x3B,0xE8,0xB8,0x55 } }; // D700C079-30C8-4397-9654-961C3BE8B855 + template <> inline constexpr guid guid_v{ 0x5A755B51,0x3BB1,0x41A5,{ 0xA6,0x3D,0x90,0xBC,0x32,0xC7,0xDB,0x9A } }; // 5A755B51-3BB1-41A5-A63D-90BC32C7DB9A + template <> inline constexpr guid guid_v{ 0x6CF2141C,0x0FF0,0x4C67,{ 0xB8,0x4F,0x99,0xDD,0xBE,0x4A,0x72,0xC9 } }; // 6CF2141C-0FF0-4C67-B84F-99DDBE4A72C9 + template <> inline constexpr guid guid_v{ 0xC12A8305,0xD1F8,0x4483,{ 0x8D,0x54,0x38,0xFE,0x29,0x27,0x84,0xFF } }; // C12A8305-D1F8-4483-8D54-38FE292784FF + template <> inline constexpr guid guid_v{ 0x67A7C5CA,0x83F6,0x44C6,{ 0xA3,0xB1,0x0E,0xB6,0x9E,0x41,0xFA,0x8A } }; // 67A7C5CA-83F6-44C6-A3B1-0EB69E41FA8A + template <> inline constexpr guid guid_v{ 0xAB6BF7F8,0x5450,0x4EF6,{ 0x97,0xF7,0x05,0x2B,0x04,0x31,0xC0,0xF0 } }; // AB6BF7F8-5450-4EF6-97F7-052B0431C0F0 + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebAccountEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResponse; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationTransferTokenRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebProviderError; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Accounts(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ProviderError(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Account(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_DefaultSignInAccountChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DefaultSignInAccountChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_AccountPictureUpdated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccountPictureUpdated(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithAccount(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseData(void**) noexcept = 0; + virtual int32_t __stdcall get_ResponseStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResponseError(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetTokenSilentlyAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetTokenSilentlyWithWebAccountAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestTokenAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestTokenWithWebAccountAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAccountAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAccountProviderAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAccountProviderWithAuthorityAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAccountProviderWithAuthorityForUserAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWebAccountMonitor(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAccountsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllAccountsWithClientIdAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindSystemAccountProviderAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindSystemAccountProviderWithAuthorityAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindSystemAccountProviderWithAuthorityForUserAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddAccountWithTransferTokenAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccountProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_TransferToken(void**) noexcept = 0; + virtual int32_t __stdcall put_TransferToken(void*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall get_CorrelationId(void**) noexcept = 0; + virtual int32_t __stdcall put_CorrelationId(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithCorrelationId(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorMessage(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccountProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_Scope(void**) noexcept = 0; + virtual int32_t __stdcall get_ClientId(void**) noexcept = 0; + virtual int32_t __stdcall get_PromptType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AppProperties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CorrelationId(void**) noexcept = 0; + virtual int32_t __stdcall put_CorrelationId(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPromptType(void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithProvider(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithScope(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ResponseData(void**) noexcept = 0; + virtual int32_t __stdcall get_ResponseStatus(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ResponseError(void**) noexcept = 0; + virtual int32_t __stdcall InvalidateCacheAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Token(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderError(void**) noexcept = 0; + virtual int32_t __stdcall get_WebAccount(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWithToken(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTokenAndAccount(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTokenAccountAndError(void*, void*, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult + { + [[nodiscard]] auto Accounts() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProviderError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs + { + [[nodiscard]] auto Account() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor + { + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DefaultSignInAccountChanged_revoker = impl::event_revoker::remove_DefaultSignInAccountChanged>; + [[nodiscard]] auto DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2 + { + auto AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccountPictureUpdated_revoker = impl::event_revoker::remove_AccountPictureUpdated>; + [[nodiscard]] auto AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountPictureUpdated(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResponse + { + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResponse; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResponseFactory + { + auto CreateWithAccount(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResponseFactory; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResult + { + [[nodiscard]] auto ResponseData() const; + [[nodiscard]] auto ResponseStatus() const; + [[nodiscard]] auto ResponseError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationAddAccountResult; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics + { + auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; + auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; + auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const; + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId) const; + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2 + { + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3 + { + auto CreateWebAccountMonitor(param::iterable const& webAccounts) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4 + { + auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; + auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics5 + { + auto AddAccountWithTransferTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebAuthenticationTransferTokenRequest const& request) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics5; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationTransferTokenRequest + { + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto TransferToken() const; + auto TransferToken(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto CorrelationId() const; + auto CorrelationId(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationTransferTokenRequest; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationTransferTokenRequestFactory + { + auto Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& transferToken) const; + auto CreateWithCorrelationId(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& transferToken, param::hstring const& correlationId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationTransferTokenRequestFactory; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebProviderError + { + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ErrorMessage() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebProviderError; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory + { + auto Create(uint32_t errorCode, param::hstring const& errorMessage) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest + { + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto Scope() const; + [[nodiscard]] auto ClientId() const; + [[nodiscard]] auto PromptType() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2 + { + [[nodiscard]] auto AppProperties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3 + { + [[nodiscard]] auto CorrelationId() const; + auto CorrelationId(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory + { + auto Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const; + auto CreateWithPromptType(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType) const; + auto CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; + auto CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult + { + [[nodiscard]] auto ResponseData() const; + [[nodiscard]] auto ResponseStatus() const; + [[nodiscard]] auto ResponseError() const; + auto InvalidateCacheAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse + { + [[nodiscard]] auto Token() const; + [[nodiscard]] auto ProviderError() const; + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse; + }; + template + struct consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory + { + auto CreateWithToken(param::hstring const& token) const; + auto CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..5127b1e64b868ad9c20a60e659c9a5234b38a2af --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.1.h @@ -0,0 +1,179 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Core_1_H +#define WINRT_Windows_Security_Authentication_Web_Core_1_H +#include "winrt/impl/Windows.Security.Authentication.Web.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core +{ + struct WINRT_IMPL_EMPTY_BASES IFindAllAccountsResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFindAllAccountsResult(std::nullptr_t = nullptr) noexcept {} + IFindAllAccountsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountEventArgs(std::nullptr_t = nullptr) noexcept {} + IWebAccountEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountMonitor : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountMonitor(std::nullptr_t = nullptr) noexcept {} + IWebAccountMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountMonitor2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountMonitor2(std::nullptr_t = nullptr) noexcept {} + IWebAccountMonitor2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationAddAccountResponse : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationAddAccountResponse(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationAddAccountResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationAddAccountResponseFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationAddAccountResponseFactory(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationAddAccountResponseFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationAddAccountResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationAddAccountResult(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationAddAccountResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationCoreManagerStatics(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAuthenticationCoreManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::FindAccountProviderAsync; + using impl::consume_t::FindAccountProviderAsync; + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAuthenticationCoreManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAuthenticationCoreManagerStatics4(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationCoreManagerStatics5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationCoreManagerStatics5(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationCoreManagerStatics5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationTransferTokenRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationTransferTokenRequest(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationTransferTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAuthenticationTransferTokenRequestFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAuthenticationTransferTokenRequestFactory(std::nullptr_t = nullptr) noexcept {} + IWebAuthenticationTransferTokenRequestFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderError(std::nullptr_t = nullptr) noexcept {} + IWebProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderErrorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderErrorFactory(std::nullptr_t = nullptr) noexcept {} + IWebProviderErrorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenRequest(std::nullptr_t = nullptr) noexcept {} + IWebTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenRequest2(std::nullptr_t = nullptr) noexcept {} + IWebTokenRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenRequest3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenRequest3(std::nullptr_t = nullptr) noexcept {} + IWebTokenRequest3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenRequestFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenRequestFactory(std::nullptr_t = nullptr) noexcept {} + IWebTokenRequestFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenRequestResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenRequestResult(std::nullptr_t = nullptr) noexcept {} + IWebTokenRequestResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenResponse : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenResponse(std::nullptr_t = nullptr) noexcept {} + IWebTokenResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebTokenResponseFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebTokenResponseFactory(std::nullptr_t = nullptr) noexcept {} + IWebTokenResponseFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..03aeb02496f39408da924fb09533159fee0a370b --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.core.2.h @@ -0,0 +1,99 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Core_2_H +#define WINRT_Windows_Security_Authentication_Web_Core_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Security.Credentials.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Security.Authentication.Web.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core +{ + struct WINRT_IMPL_EMPTY_BASES FindAllAccountsResult : winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult + { + FindAllAccountsResult(std::nullptr_t) noexcept {} + FindAllAccountsResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountEventArgs : winrt::Windows::Security::Authentication::Web::Core::IWebAccountEventArgs + { + WebAccountEventArgs(std::nullptr_t) noexcept {} + WebAccountEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebAccountEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountMonitor : winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor, + impl::require + { + WebAccountMonitor(std::nullptr_t) noexcept {} + WebAccountMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAuthenticationAddAccountResponse : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResponse + { + WebAuthenticationAddAccountResponse(std::nullptr_t) noexcept {} + WebAuthenticationAddAccountResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResponse(ptr, take_ownership_from_abi) {} + explicit WebAuthenticationAddAccountResponse(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + }; + struct WINRT_IMPL_EMPTY_BASES WebAuthenticationAddAccountResult : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResult + { + WebAuthenticationAddAccountResult(std::nullptr_t) noexcept {} + WebAuthenticationAddAccountResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationAddAccountResult(ptr, take_ownership_from_abi) {} + }; + struct WebAuthenticationCoreManager + { + WebAuthenticationCoreManager() = delete; + static auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request); + static auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request); + static auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId); + static auto FindAccountProviderAsync(param::hstring const& webAccountProviderId); + static auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority); + static auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user); + static auto CreateWebAccountMonitor(param::iterable const& webAccounts); + static auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider); + static auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId); + static auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId); + static auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority); + static auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user); + static auto AddAccountWithTransferTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebAuthenticationTransferTokenRequest const& request); + }; + struct WINRT_IMPL_EMPTY_BASES WebAuthenticationTransferTokenRequest : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationTransferTokenRequest + { + WebAuthenticationTransferTokenRequest(std::nullptr_t) noexcept {} + WebAuthenticationTransferTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationTransferTokenRequest(ptr, take_ownership_from_abi) {} + WebAuthenticationTransferTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& transferToken); + WebAuthenticationTransferTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& transferToken, param::hstring const& correlationId); + }; + struct WINRT_IMPL_EMPTY_BASES WebProviderError : winrt::Windows::Security::Authentication::Web::Core::IWebProviderError + { + WebProviderError(std::nullptr_t) noexcept {} + WebProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebProviderError(ptr, take_ownership_from_abi) {} + WebProviderError(uint32_t errorCode, param::hstring const& errorMessage); + }; + struct WINRT_IMPL_EMPTY_BASES WebTokenRequest : winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest, + impl::require + { + WebTokenRequest(std::nullptr_t) noexcept {} + WebTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest(ptr, take_ownership_from_abi) {} + WebTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId); + WebTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType); + explicit WebTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider); + WebTokenRequest(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope); + }; + struct WINRT_IMPL_EMPTY_BASES WebTokenRequestResult : winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult + { + WebTokenRequestResult(std::nullptr_t) noexcept {} + WebTokenRequestResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebTokenResponse : winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse + { + WebTokenResponse(std::nullptr_t) noexcept {} + WebTokenResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse(ptr, take_ownership_from_abi) {} + WebTokenResponse(); + explicit WebTokenResponse(param::hstring const& token); + WebTokenResponse(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount); + WebTokenResponse(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d870c3825ede0de3b2c730bf749e1821dec02afc --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.0.h @@ -0,0 +1,709 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Provider_0_H +#define WINRT_Windows_Security_Authentication_Web_Provider_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IMapView; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web +{ + enum class TokenBindingKeyType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core +{ + struct WebProviderError; + struct WebTokenRequest; + struct WebTokenResponse; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct WebAccount; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Web::Http +{ + struct HttpCookie; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Provider +{ + enum class WebAccountClientViewType : int32_t + { + IdOnly = 0, + IdAndProperties = 1, + }; + enum class WebAccountProviderOperationKind : int32_t + { + RequestToken = 0, + GetTokenSilently = 1, + AddAccount = 2, + ManageAccount = 3, + DeleteAccount = 4, + RetrieveCookies = 5, + SignOutAccount = 6, + }; + enum class WebAccountScope : int32_t + { + PerUser = 0, + PerApplication = 1, + }; + enum class WebAccountSelectionOptions : uint32_t + { + Default = 0, + New = 0x1, + }; + struct IWebAccountClientView; + struct IWebAccountClientViewFactory; + struct IWebAccountManagerStatics; + struct IWebAccountManagerStatics2; + struct IWebAccountManagerStatics3; + struct IWebAccountManagerStatics4; + struct IWebAccountMapManagerStatics; + struct IWebAccountProviderAddAccountOperation; + struct IWebAccountProviderBaseReportOperation; + struct IWebAccountProviderDeleteAccountOperation; + struct IWebAccountProviderManageAccountOperation; + struct IWebAccountProviderOperation; + struct IWebAccountProviderRetrieveCookiesOperation; + struct IWebAccountProviderSignOutAccountOperation; + struct IWebAccountProviderSilentReportOperation; + struct IWebAccountProviderTokenObjects; + struct IWebAccountProviderTokenObjects2; + struct IWebAccountProviderTokenOperation; + struct IWebAccountProviderUIReportOperation; + struct IWebAccountScopeManagerStatics; + struct IWebProviderTokenRequest; + struct IWebProviderTokenRequest2; + struct IWebProviderTokenRequest3; + struct IWebProviderTokenResponse; + struct IWebProviderTokenResponseFactory; + struct WebAccountClientView; + struct WebAccountManager; + struct WebAccountProviderAddAccountOperation; + struct WebAccountProviderDeleteAccountOperation; + struct WebAccountProviderGetTokenSilentOperation; + struct WebAccountProviderManageAccountOperation; + struct WebAccountProviderRequestTokenOperation; + struct WebAccountProviderRetrieveCookiesOperation; + struct WebAccountProviderSignOutAccountOperation; + struct WebAccountProviderTriggerDetails; + struct WebProviderTokenRequest; + struct WebProviderTokenResponse; +} +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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountClientView"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountClientViewType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountScope"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.WebAccountSelectionOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountClientView"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountClientViewFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountManagerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountMapManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderAddAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderBaseReportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderDeleteAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderManageAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderRetrieveCookiesOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderSignOutAccountOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderSilentReportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenObjects"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenObjects2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountProviderUIReportOperation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebAccountScopeManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebProviderTokenRequest"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebProviderTokenRequest2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebProviderTokenRequest3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebProviderTokenResponse"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authentication.Web.Provider.IWebProviderTokenResponseFactory"; + template <> inline constexpr guid guid_v{ 0xE7BD66BA,0x0BC7,0x4C66,{ 0xBF,0xD4,0x65,0xD3,0x08,0x2C,0xBC,0xA8 } }; // E7BD66BA-0BC7-4C66-BFD4-65D3082CBCA8 + template <> inline constexpr guid guid_v{ 0x616D16A4,0xDE22,0x4855,{ 0xA3,0x26,0x06,0xCE,0xBF,0x2A,0x3F,0x23 } }; // 616D16A4-DE22-4855-A326-06CEBF2A3F23 + template <> inline constexpr guid guid_v{ 0xB2E8E1A6,0xD49A,0x4032,{ 0x84,0xBF,0x1A,0x28,0x47,0x74,0x7B,0xF1 } }; // B2E8E1A6-D49A-4032-84BF-1A2847747BF1 + template <> inline constexpr guid guid_v{ 0x68A7A829,0x2D5F,0x4653,{ 0x8B,0xB0,0xBD,0x2F,0xA6,0xBD,0x2D,0x87 } }; // 68A7A829-2D5F-4653-8BB0-BD2FA6BD2D87 + template <> inline constexpr guid guid_v{ 0xDD4523A6,0x8A4F,0x4AA2,{ 0xB1,0x5E,0x03,0xF5,0x50,0xAF,0x13,0x59 } }; // DD4523A6-8A4F-4AA2-B15E-03F550AF1359 + template <> inline constexpr guid guid_v{ 0x59EBC2D2,0xF7DB,0x412F,{ 0xBC,0x3F,0xF2,0xFE,0xA0,0x44,0x30,0xB4 } }; // 59EBC2D2-F7DB-412F-BC3F-F2FEA04430B4 + template <> inline constexpr guid guid_v{ 0xE8FA446F,0x3A1B,0x48A4,{ 0x8E,0x90,0x1E,0x59,0xCA,0x6F,0x54,0xDB } }; // E8FA446F-3A1B-48A4-8E90-1E59CA6F54DB + template <> inline constexpr guid guid_v{ 0x73EBDCCF,0x4378,0x4C79,{ 0x93,0x35,0xA5,0xD7,0xAB,0x81,0x59,0x4E } }; // 73EBDCCF-4378-4C79-9335-A5D7AB81594E + template <> inline constexpr guid guid_v{ 0xBBA4ACBB,0x993B,0x4D57,{ 0xBB,0xE4,0x14,0x21,0xE3,0x66,0x8B,0x4C } }; // BBA4ACBB-993B-4D57-BBE4-1421E3668B4C + template <> inline constexpr guid guid_v{ 0x0ABB48B8,0x9E01,0x49C9,{ 0xA3,0x55,0x7D,0x48,0xCA,0xF7,0xD6,0xCA } }; // 0ABB48B8-9E01-49C9-A355-7D48CAF7D6CA + template <> inline constexpr guid guid_v{ 0xED20DC5C,0xD21B,0x463E,{ 0xA9,0xB7,0xC1,0xFD,0x0E,0xDA,0xE9,0x78 } }; // ED20DC5C-D21B-463E-A9B7-C1FD0EDAE978 + template <> inline constexpr guid guid_v{ 0x6D5D2426,0x10B1,0x419A,{ 0xA4,0x4E,0xF9,0xC5,0x16,0x15,0x74,0xE6 } }; // 6D5D2426-10B1-419A-A44E-F9C5161574E6 + template <> inline constexpr guid guid_v{ 0x5A040441,0x0FA3,0x4AB1,{ 0xA0,0x1C,0x20,0xB1,0x10,0x35,0x85,0x94 } }; // 5A040441-0FA3-4AB1-A01C-20B110358594 + template <> inline constexpr guid guid_v{ 0xB890E21D,0x0C55,0x47BC,{ 0x8C,0x72,0x04,0xA6,0xFC,0x7C,0xAC,0x07 } }; // B890E21D-0C55-47BC-8C72-04A6FC7CAC07 + template <> inline constexpr guid guid_v{ 0xE0B545F8,0x3B0F,0x44DA,{ 0x92,0x4C,0x7B,0x18,0xBA,0xAA,0x62,0xA9 } }; // E0B545F8-3B0F-44DA-924C-7B18BAAA62A9 + template <> inline constexpr guid guid_v{ 0x408F284B,0x1328,0x42DB,{ 0x89,0xA4,0x0B,0xCE,0x7A,0x71,0x7D,0x8E } }; // 408F284B-1328-42DB-89A4-0BCE7A717D8E + template <> inline constexpr guid guid_v{ 0x1020B893,0x5CA5,0x4FFF,{ 0x95,0xFB,0xB8,0x20,0x27,0x3F,0xC3,0x95 } }; // 1020B893-5CA5-4FFF-95FB-B820273FC395 + template <> inline constexpr guid guid_v{ 0x95C613BE,0x2034,0x4C38,{ 0x94,0x34,0xD2,0x6C,0x14,0xB2,0xB4,0xB2 } }; // 95C613BE-2034-4C38-9434-D26C14B2B4B2 + template <> inline constexpr guid guid_v{ 0x28FF92D3,0x8F80,0x42FB,{ 0x94,0x4F,0xB2,0x10,0x7B,0xBD,0x42,0xE6 } }; // 28FF92D3-8F80-42FB-944F-B2107BBD42E6 + template <> inline constexpr guid guid_v{ 0x5C6CE37C,0x12B2,0x423A,{ 0xBF,0x3D,0x85,0xB8,0xD7,0xE5,0x36,0x56 } }; // 5C6CE37C-12B2-423A-BF3D-85B8D7E53656 + template <> inline constexpr guid guid_v{ 0x1E18778B,0x8805,0x454B,{ 0x9F,0x11,0x46,0x8D,0x2A,0xF1,0x09,0x5A } }; // 1E18778B-8805-454B-9F11-468D2AF1095A + template <> inline constexpr guid guid_v{ 0xB5D72E4C,0x10B1,0x4AA6,{ 0x88,0xB1,0x0B,0x6C,0x9E,0x0C,0x1E,0x46 } }; // B5D72E4C-10B1-4AA6-88B1-0B6C9E0C1E46 + template <> inline constexpr guid guid_v{ 0x1B2716AA,0x4289,0x446E,{ 0x92,0x56,0xDA,0xFB,0x6F,0x66,0xA5,0x1E } }; // 1B2716AA-4289-446E-9256-DAFB6F66A51E + template <> inline constexpr guid guid_v{ 0xEF213793,0xEF55,0x4186,{ 0xB7,0xCE,0x8C,0xB2,0xE7,0xF9,0x84,0x9E } }; // EF213793-EF55-4186-B7CE-8CB2E7F9849E + template <> inline constexpr guid guid_v{ 0xFA49D99A,0x25BA,0x4077,{ 0x9C,0xFA,0x9D,0xB4,0xDE,0xA7,0xB7,0x1A } }; // FA49D99A-25BA-4077-9CFA-9DB4DEA7B71A + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderDeleteAccountOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponse; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ApplicationCallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_AccountPairwiseId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithPairwiseId(int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateWebAccountPropertiesAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AddWebAccountAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteWebAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllProviderWebAccountsAsync(void**) noexcept = 0; + virtual int32_t __stdcall PushCookiesAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetViewAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearViewAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetViewsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SetWebAccountPictureAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearWebAccountPictureAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PullCookiesAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllProviderWebAccountsForUserAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall AddWebAccountForUserAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall AddWebAccountWithScopeForUserAsync(void*, void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall AddWebAccountWithScopeAndMapForUserAsync(void*, void*, void*, void*, int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall InvalidateAppCacheForAllAccountsAsync(void**) noexcept = 0; + virtual int32_t __stdcall InvalidateAppCacheForAccountAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddWebAccountWithScopeAndMapAsync(void*, void*, void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall SetPerAppToPerUserAccountAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPerUserFromPerAppAccountAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ClearPerUserFromPerAppAccountAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompleted() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportCompleted() noexcept = 0; + virtual int32_t __stdcall ReportError(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccount(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccount(void**) noexcept = 0; + virtual int32_t __stdcall ReportCompleted() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Context(void**) noexcept = 0; + virtual int32_t __stdcall get_Cookies(void**) noexcept = 0; + virtual int32_t __stdcall put_Uri(void*) noexcept = 0; + virtual int32_t __stdcall get_Uri(void**) noexcept = 0; + virtual int32_t __stdcall get_ApplicationCallbackUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccount(void**) noexcept = 0; + virtual int32_t __stdcall get_ApplicationCallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall get_ClientId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportUserInteractionRequired() noexcept = 0; + virtual int32_t __stdcall ReportUserInteractionRequiredWithError(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Operation(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ProviderRequest(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderResponses(void**) noexcept = 0; + virtual int32_t __stdcall put_CacheExpirationTime(int64_t) noexcept = 0; + virtual int32_t __stdcall get_CacheExpirationTime(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ReportUserCanceled() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall AddWebAccountWithScopeAsync(void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SetScopeAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetScope(void*, int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClientRequest(void**) noexcept = 0; + virtual int32_t __stdcall get_WebAccounts(void**) noexcept = 0; + virtual int32_t __stdcall get_WebAccountSelectionOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_ApplicationCallbackUri(void**) noexcept = 0; + virtual int32_t __stdcall GetApplicationTokenBindingKeyAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetApplicationTokenBindingKeyIdAsync(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ApplicationPackageFamilyName(void**) noexcept = 0; + virtual int32_t __stdcall get_ApplicationProcessName(void**) noexcept = 0; + virtual int32_t __stdcall CheckApplicationForCapabilityAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ClientResponse(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView + { + [[nodiscard]] auto ApplicationCallbackUri() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto AccountPairwiseId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory + { + auto Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; + auto CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics + { + auto UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties) const; + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; + auto DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto FindAllProviderWebAccountsAsync() const; + auto PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies) const; + auto SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const; + auto ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; + auto GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const; + auto ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2 + { + auto PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3 + { + auto FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4 + { + auto InvalidateAppCacheForAllAccountsAsync() const; + auto InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics + { + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; + auto SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const; + auto GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; + auto ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation + { + auto ReportCompleted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation + { + auto ReportCompleted() const; + auto ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation + { + [[nodiscard]] auto WebAccount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation + { + [[nodiscard]] auto WebAccount() const; + auto ReportCompleted() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation + { + [[nodiscard]] auto Kind() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation + { + [[nodiscard]] auto Context() const; + [[nodiscard]] auto Cookies() const; + auto Uri(winrt::Windows::Foundation::Uri const& uri) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation + { + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + [[nodiscard]] auto ClientId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation + { + auto ReportUserInteractionRequired() const; + auto ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects + { + [[nodiscard]] auto Operation() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2 + { + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation + { + [[nodiscard]] auto ProviderRequest() const; + [[nodiscard]] auto ProviderResponses() const; + auto CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto CacheExpirationTime() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation + { + auto ReportUserCanceled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics + { + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest + { + [[nodiscard]] auto ClientRequest() const; + [[nodiscard]] auto WebAccounts() const; + [[nodiscard]] auto WebAccountSelectionOptions() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + auto GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2 + { + auto GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3 + { + [[nodiscard]] auto ApplicationPackageFamilyName() const; + [[nodiscard]] auto ApplicationProcessName() const; + auto CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse + { + [[nodiscard]] auto ClientResponse() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse; + }; + template + struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory + { + auto Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.1.h new file mode 100644 index 0000000000000000000000000000000000000000..38decfca5b6bd209a42edf0c0b050781d0e59ad0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.1.h @@ -0,0 +1,197 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Provider_1_H +#define WINRT_Windows_Security_Authentication_Web_Provider_1_H +#include "winrt/impl/Windows.Security.Authentication.Web.Provider.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Provider +{ + struct WINRT_IMPL_EMPTY_BASES IWebAccountClientView : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountClientView(std::nullptr_t = nullptr) noexcept {} + IWebAccountClientView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountClientViewFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountClientViewFactory(std::nullptr_t = nullptr) noexcept {} + IWebAccountClientViewFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountManagerStatics(std::nullptr_t = nullptr) noexcept {} + IWebAccountManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IWebAccountManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IWebAccountManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountManagerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountManagerStatics4(std::nullptr_t = nullptr) noexcept {} + IWebAccountManagerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountMapManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountMapManagerStatics(std::nullptr_t = nullptr) noexcept {} + IWebAccountMapManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderAddAccountOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderAddAccountOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderAddAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderBaseReportOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProviderBaseReportOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderBaseReportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderDeleteAccountOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderDeleteAccountOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderDeleteAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderManageAccountOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderManageAccountOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderManageAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProviderOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderRetrieveCookiesOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderRetrieveCookiesOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderRetrieveCookiesOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderSignOutAccountOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderSignOutAccountOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderSignOutAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderSilentReportOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderSilentReportOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderSilentReportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderTokenObjects : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProviderTokenObjects(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderTokenObjects(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderTokenObjects2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderTokenObjects2(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderTokenObjects2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderTokenOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderTokenOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderTokenOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderUIReportOperation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProviderUIReportOperation(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderUIReportOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountScopeManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountScopeManagerStatics(std::nullptr_t = nullptr) noexcept {} + IWebAccountScopeManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderTokenRequest : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderTokenRequest(std::nullptr_t = nullptr) noexcept {} + IWebProviderTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderTokenRequest2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderTokenRequest2(std::nullptr_t = nullptr) noexcept {} + IWebProviderTokenRequest2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderTokenRequest3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderTokenRequest3(std::nullptr_t = nullptr) noexcept {} + IWebProviderTokenRequest3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderTokenResponse : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderTokenResponse(std::nullptr_t = nullptr) noexcept {} + IWebProviderTokenResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebProviderTokenResponseFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebProviderTokenResponseFactory(std::nullptr_t = nullptr) noexcept {} + IWebProviderTokenResponseFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e88a35f0285ede09440bfa0fe3edc2874f048d9c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authentication.web.provider.2.h @@ -0,0 +1,113 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authentication_Web_Provider_2_H +#define WINRT_Windows_Security_Authentication_Web_Provider_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Security.Authentication.Web.Core.1.h" +#include "winrt/impl/Windows.Security.Credentials.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Web.Http.1.h" +#include "winrt/impl/Windows.Security.Authentication.Web.Provider.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Provider +{ + struct WINRT_IMPL_EMPTY_BASES WebAccountClientView : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView + { + WebAccountClientView(std::nullptr_t) noexcept {} + WebAccountClientView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView(ptr, take_ownership_from_abi) {} + WebAccountClientView(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri); + WebAccountClientView(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId); + }; + struct WebAccountManager + { + WebAccountManager() = delete; + static auto UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties); + static auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props); + static auto DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto FindAllProviderWebAccountsAsync(); + static auto PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies); + static auto SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view); + static auto ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri); + static auto GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture); + static auto ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN); + static auto FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user); + static auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props); + static auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope); + static auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId); + static auto InvalidateAppCacheForAllAccountsAsync(); + static auto InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + static auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId); + static auto SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId); + static auto GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount); + static auto ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount); + static auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope); + static auto SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope); + static auto GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount); + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderAddAccountOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation + { + WebAccountProviderAddAccountOperation(std::nullptr_t) noexcept {} + WebAccountProviderAddAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderDeleteAccountOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderDeleteAccountOperation, + impl::require + { + WebAccountProviderDeleteAccountOperation(std::nullptr_t) noexcept {} + WebAccountProviderDeleteAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderDeleteAccountOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderGetTokenSilentOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation, + impl::require + { + WebAccountProviderGetTokenSilentOperation(std::nullptr_t) noexcept {} + WebAccountProviderGetTokenSilentOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderManageAccountOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation + { + WebAccountProviderManageAccountOperation(std::nullptr_t) noexcept {} + WebAccountProviderManageAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderRequestTokenOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation, + impl::require + { + WebAccountProviderRequestTokenOperation(std::nullptr_t) noexcept {} + WebAccountProviderRequestTokenOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderRetrieveCookiesOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation, + impl::require + { + WebAccountProviderRetrieveCookiesOperation(std::nullptr_t) noexcept {} + WebAccountProviderRetrieveCookiesOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderSignOutAccountOperation : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation, + impl::require + { + WebAccountProviderSignOutAccountOperation(std::nullptr_t) noexcept {} + WebAccountProviderSignOutAccountOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProviderTriggerDetails : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects, + impl::require + { + WebAccountProviderTriggerDetails(std::nullptr_t) noexcept {} + WebAccountProviderTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebProviderTokenRequest : winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest, + impl::require + { + WebProviderTokenRequest(std::nullptr_t) noexcept {} + WebProviderTokenRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES WebProviderTokenResponse : winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponse + { + WebProviderTokenResponse(std::nullptr_t) noexcept {} + WebProviderTokenResponse(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponse(ptr, take_ownership_from_abi) {} + explicit WebProviderTokenResponse(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.0.h new file mode 100644 index 0000000000000000000000000000000000000000..94efb122739b92d34d23d95043bd942547088028 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.0.h @@ -0,0 +1,144 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_0_H +#define WINRT_Windows_Security_Authorization_AppCapabilityAccess_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess +{ + enum class AppCapabilityAccessStatus : int32_t + { + DeniedBySystem = 0, + NotDeclaredByApp = 1, + DeniedByUser = 2, + UserPromptRequired = 3, + Allowed = 4, + }; + struct IAppCapability; + struct IAppCapability2; + struct IAppCapabilityAccessChangedEventArgs; + struct IAppCapabilityStatics; + struct AppCapability; + struct AppCapabilityAccessChangedEventArgs; +} +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 <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.AppCapability"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.IAppCapability"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.IAppCapability2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.IAppCapabilityAccessChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.Authorization.AppCapabilityAccess.IAppCapabilityStatics"; + template <> inline constexpr guid guid_v{ 0x4C49D915,0x8A2A,0x4295,{ 0x94,0x37,0x2D,0xF7,0xC3,0x96,0xAF,0xF4 } }; // 4C49D915-8A2A-4295-9437-2DF7C396AFF4 + template <> inline constexpr guid guid_v{ 0x11C7CCB6,0xC74F,0x50A3,{ 0xB9,0x60,0x88,0x00,0x87,0x67,0xD9,0x39 } }; // 11C7CCB6-C74F-50A3-B960-88008767D939 + template <> inline constexpr guid guid_v{ 0x0A578D15,0xBDD7,0x457E,{ 0x8C,0xCA,0x6F,0x53,0xBD,0x2E,0x59,0x44 } }; // 0A578D15-BDD7-457E-8CCA-6F53BD2E5944 + template <> inline constexpr guid guid_v{ 0x7C353E2A,0x46EE,0x44E5,{ 0xAF,0x3D,0x6A,0xD3,0xFC,0x49,0xBD,0x22 } }; // 7C353E2A-46EE-44E5-AF3D-6AD3FC49BD22 + template <> struct default_interface{ using type = winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityAccessChangedEventArgs; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CapabilityName(void**) noexcept = 0; + virtual int32_t __stdcall get_User(void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0; + virtual int32_t __stdcall CheckAccess(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_AccessChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_AccessChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayMessage(void**) noexcept = 0; + virtual int32_t __stdcall put_DisplayMessage(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessForCapabilitiesAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessForCapabilitiesForUserAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithProcessIdForUser(void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability + { + [[nodiscard]] auto CapabilityName() const; + [[nodiscard]] auto User() const; + auto RequestAccessAsync() const; + auto CheckAccess() const; + auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using AccessChanged_revoker = impl::event_revoker::remove_AccessChanged>; + [[nodiscard]] auto AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability; + }; + template + struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability2 + { + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability2; + }; + template + struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityAccessChangedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityAccessChangedEventArgs; + }; + template + struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics + { + auto RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames) const; + auto RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames) const; + auto Create(param::hstring const& capabilityName) const; + auto CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.1.h new file mode 100644 index 0000000000000000000000000000000000000000..00528741ba96860eb9734745561a0239e52a994e --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_1_H +#define WINRT_Windows_Security_Authorization_AppCapabilityAccess_1_H +#include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess +{ + struct WINRT_IMPL_EMPTY_BASES IAppCapability : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCapability(std::nullptr_t = nullptr) noexcept {} + IAppCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCapability2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCapability2(std::nullptr_t = nullptr) noexcept {} + IAppCapability2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCapabilityAccessChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCapabilityAccessChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IAppCapabilityAccessChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAppCapabilityStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppCapabilityStatics(std::nullptr_t = nullptr) noexcept {} + IAppCapabilityStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.2.h new file mode 100644 index 0000000000000000000000000000000000000000..2239f4c5a4456b5baf1ef2dfbcbb52e201951772 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.authorization.appcapabilityaccess.2.h @@ -0,0 +1,30 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_2_H +#define WINRT_Windows_Security_Authorization_AppCapabilityAccess_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess +{ + struct WINRT_IMPL_EMPTY_BASES AppCapability : winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability, + impl::require + { + AppCapability(std::nullptr_t) noexcept {} + AppCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability(ptr, take_ownership_from_abi) {} + static auto RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames); + static auto RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames); + static auto Create(param::hstring const& capabilityName); + static auto CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid); + }; + struct WINRT_IMPL_EMPTY_BASES AppCapabilityAccessChangedEventArgs : winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityAccessChangedEventArgs + { + AppCapabilityAccessChangedEventArgs(std::nullptr_t) noexcept {} + AppCapabilityAccessChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityAccessChangedEventArgs(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d9e55322a2efbc476244d26798cf98568bda44e5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.0.h @@ -0,0 +1,669 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_0_H +#define WINRT_Windows_Security_Credentials_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + struct IPropertySet; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core +{ + enum class CryptographicPublicKeyBlobType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct WindowId; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + enum class ChallengeResponseKind : int32_t + { + VirtualizationBasedSecurityEnclave = 0, + }; + enum class KeyCredentialAttestationStatus : int32_t + { + Success = 0, + UnknownError = 1, + NotSupported = 2, + TemporaryFailure = 3, + }; + enum class KeyCredentialCacheOption : int32_t + { + NoCache = 0, + CacheWhenUnlocked = 1, + }; + enum class KeyCredentialCreationOption : int32_t + { + ReplaceExisting = 0, + FailIfExists = 1, + }; + enum class KeyCredentialStatus : int32_t + { + Success = 0, + UnknownError = 1, + NotFound = 2, + UserCanceled = 3, + UserPrefersPassword = 4, + CredentialAlreadyExists = 5, + SecurityDeviceLocked = 6, + AlgorithmNotSupported = 7, + }; + enum class WebAccountPictureSize : int32_t + { + Size64x64 = 64, + Size208x208 = 208, + Size424x424 = 424, + Size1080x1080 = 1080, + }; + enum class WebAccountState : int32_t + { + None = 0, + Connected = 1, + Error = 2, + }; + struct ICredentialFactory; + struct IKeyCredential; + struct IKeyCredential2; + struct IKeyCredentialAttestationResult; + struct IKeyCredentialCacheConfiguration; + struct IKeyCredentialCacheConfigurationFactory; + struct IKeyCredentialManagerCreateWithWindowStatics; + struct IKeyCredentialManagerStatics; + struct IKeyCredentialManagerStatics2; + struct IKeyCredentialOperationResult; + struct IKeyCredentialRetrievalResult; + struct IKeyCredentialWithWindow; + struct IPasswordCredential; + struct IPasswordVault; + struct IWebAccount; + struct IWebAccount2; + struct IWebAccountFactory; + struct IWebAccountProvider; + struct IWebAccountProvider2; + struct IWebAccountProvider3; + struct IWebAccountProvider4; + struct IWebAccountProviderFactory; + struct KeyCredential; + struct KeyCredentialAttestationResult; + struct KeyCredentialCacheConfiguration; + struct KeyCredentialManager; + struct KeyCredentialOperationResult; + struct KeyCredentialRetrievalResult; + struct PasswordCredential; + struct PasswordCredentialPropertyStore; + struct PasswordVault; + struct WebAccount; + struct WebAccountProvider; + struct AttestationChallengeHandler; +} +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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredential"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialAttestationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialCacheConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialRetrievalResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.PasswordCredential"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.PasswordCredentialPropertyStore"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.PasswordVault"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.WebAccount"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.WebAccountProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.ChallengeResponseKind"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialAttestationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialCacheOption"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialCreationOption"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.KeyCredentialStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.WebAccountPictureSize"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.WebAccountState"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.ICredentialFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredential"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredential2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialAttestationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialCacheConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialCacheConfigurationFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialManagerCreateWithWindowStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialOperationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialRetrievalResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IKeyCredentialWithWindow"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IPasswordCredential"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IPasswordVault"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccount"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccount2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountProvider2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountProvider3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountProvider4"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.IWebAccountProviderFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.AttestationChallengeHandler"; + template <> inline constexpr guid guid_v{ 0x54EF13A1,0xBF26,0x47B5,{ 0x97,0xDD,0xDE,0x77,0x9B,0x7C,0xAD,0x58 } }; // 54EF13A1-BF26-47B5-97DD-DE779B7CAD58 + template <> inline constexpr guid guid_v{ 0x9585EF8D,0x457B,0x4847,{ 0xB1,0x1A,0xFA,0x96,0x0B,0xBD,0xB1,0x38 } }; // 9585EF8D-457B-4847-B11A-FA960BBDB138 + template <> inline constexpr guid guid_v{ 0x3B7C5E09,0x7B72,0x5A05,{ 0xB2,0xF0,0x71,0x19,0xCA,0x3F,0xD5,0xDF } }; // 3B7C5E09-7B72-5A05-B2F0-7119CA3FD5DF + template <> inline constexpr guid guid_v{ 0x78AAB3A1,0xA3C1,0x4103,{ 0xB6,0xCC,0x47,0x2C,0x44,0x17,0x1C,0xBB } }; // 78AAB3A1-A3C1-4103-B6CC-472C44171CBB + template <> inline constexpr guid guid_v{ 0x438BD21A,0x61FF,0x5468,{ 0x95,0xA6,0xB1,0xD5,0x21,0x6E,0x45,0x8D } }; // 438BD21A-61FF-5468-95A6-B1D5216E458D + template <> inline constexpr guid guid_v{ 0x9948C31B,0xC827,0x5B58,{ 0x94,0x42,0x40,0xAC,0xD8,0xAB,0x1E,0x7D } }; // 9948C31B-C827-5B58-9442-40ACD8AB1E7D + template <> inline constexpr guid guid_v{ 0x30B1B9C9,0x61EF,0x43E8,{ 0x88,0xAC,0xCC,0x43,0x3B,0x38,0xD1,0xA6 } }; // 30B1B9C9-61EF-43E8-88AC-CC433B38D1A6 + template <> inline constexpr guid guid_v{ 0x6AAC468B,0x0EF1,0x4CE0,{ 0x82,0x90,0x41,0x06,0xDA,0x6A,0x63,0xB5 } }; // 6AAC468B-0EF1-4CE0-8290-4106DA6A63B5 + template <> inline constexpr guid guid_v{ 0x6439895D,0x68C5,0x521B,{ 0x9D,0xC4,0x7C,0x19,0x97,0x94,0xF0,0xD8 } }; // 6439895D-68C5-521B-9DC4-7C199794F0D8 + template <> inline constexpr guid guid_v{ 0xF53786C1,0x5261,0x4CDD,{ 0x97,0x6D,0xCC,0x90,0x9A,0xC7,0x16,0x20 } }; // F53786C1-5261-4CDD-976D-CC909AC71620 + template <> inline constexpr guid guid_v{ 0x58CD7703,0x8D87,0x4249,{ 0x9B,0x58,0xF6,0x59,0x8C,0xC9,0x64,0x4E } }; // 58CD7703-8D87-4249-9B58-F6598CC9644E + template <> inline constexpr guid guid_v{ 0x050DEB3B,0xB19C,0x4635,{ 0x9D,0xF6,0x56,0x50,0xD6,0x6C,0x62,0xB1 } }; // 050DEB3B-B19C-4635-9DF6-5650D66C62B1 + template <> inline constexpr guid guid_v{ 0x6AB18989,0xC720,0x41A7,{ 0xA6,0xC1,0xFE,0xAD,0xB3,0x63,0x29,0xA0 } }; // 6AB18989-C720-41A7-A6C1-FEADB36329A0 + template <> inline constexpr guid guid_v{ 0x61FD2C0B,0xC8D4,0x48C1,{ 0xA5,0x4F,0xBC,0x5A,0x64,0x20,0x5A,0xF2 } }; // 61FD2C0B-C8D4-48C1-A54F-BC5A64205AF2 + template <> inline constexpr guid guid_v{ 0x69473EB2,0x8031,0x49BE,{ 0x80,0xBB,0x96,0xCB,0x46,0xD9,0x9A,0xBA } }; // 69473EB2-8031-49BE-80BB-96CB46D99ABA + template <> inline constexpr guid guid_v{ 0x7B56D6F8,0x990B,0x4EB5,{ 0x94,0xA7,0x56,0x21,0xF3,0xA8,0xB8,0x24 } }; // 7B56D6F8-990B-4EB5-94A7-5621F3A8B824 + template <> inline constexpr guid guid_v{ 0xAC9AFB39,0x1DE9,0x4E92,{ 0xB7,0x8F,0x05,0x81,0xA8,0x7F,0x6E,0x5C } }; // AC9AFB39-1DE9-4E92-B78F-0581A87F6E5C + template <> inline constexpr guid guid_v{ 0x29DCC8C3,0x7AB9,0x4A7C,{ 0xA3,0x36,0xB9,0x42,0xF9,0xDB,0xF7,0xC7 } }; // 29DCC8C3-7AB9-4A7C-A336-B942F9DBF7C7 + template <> inline constexpr guid guid_v{ 0x4A01EB05,0x4E42,0x41D4,{ 0xB5,0x18,0xE0,0x08,0xA5,0x16,0x36,0x14 } }; // 4A01EB05-4E42-41D4-B518-E008A5163614 + template <> inline constexpr guid guid_v{ 0xDA1C518B,0x970D,0x4D49,{ 0x82,0x5C,0xF2,0x70,0x6F,0x8C,0xA7,0xFE } }; // DA1C518B-970D-4D49-825C-F2706F8CA7FE + template <> inline constexpr guid guid_v{ 0x718FD8DB,0xE796,0x4210,{ 0xB7,0x4E,0x84,0xD2,0x98,0x94,0xB0,0x80 } }; // 718FD8DB-E796-4210-B74E-84D29894B080 + template <> inline constexpr guid guid_v{ 0x1D767DF1,0xE1E1,0x4B9A,{ 0xA7,0x74,0x5C,0x7C,0x7E,0x3B,0xF3,0x71 } }; // 1D767DF1-E1E1-4B9A-A774-5C7C7E3BF371 + template <> inline constexpr guid guid_v{ 0xF6AE35B0,0xD805,0x587D,{ 0x94,0x4F,0xA0,0x9B,0xD0,0x32,0xAC,0xF5 } }; // F6AE35B0-D805-587D-944F-A09BD032ACF5 + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IKeyCredential; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IKeyCredentialCacheConfiguration; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IKeyCredentialOperationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IPasswordCredential; }; + template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IPropertySet; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IPasswordVault; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IWebAccount; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::IWebAccountProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreatePasswordCredential(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall RetrievePublicKeyWithDefaultBlobType(void**) noexcept = 0; + virtual int32_t __stdcall RetrievePublicKeyWithBlobType(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestSignAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetAttestationAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestDeriveSharedSecretAsync(struct struct_Windows_UI_WindowId, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RetrieveAuthorizationContext(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CertificateChainBuffer(void**) noexcept = 0; + virtual int32_t __stdcall get_AttestationBuffer(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CacheOption(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Timeout(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_UsageCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, int64_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestCreateForWindowAsync(struct struct_Windows_UI_WindowId, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupportedAsync(void**) noexcept = 0; + virtual int32_t __stdcall RenewAttestationAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestCreateAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall OpenAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall DeleteAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestCreateAsync(void*, int32_t, void*, void*, void*, struct struct_Windows_UI_WindowId, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall OpenAsync(void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetSecureId(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Result(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Credential(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestSignForWindowAsync(struct struct_Windows_UI_WindowId, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Resource(void**) noexcept = 0; + virtual int32_t __stdcall put_Resource(void*) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall put_UserName(void*) noexcept = 0; + virtual int32_t __stdcall get_Password(void**) noexcept = 0; + virtual int32_t __stdcall put_Password(void*) noexcept = 0; + virtual int32_t __stdcall RetrievePassword() noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Add(void*) noexcept = 0; + virtual int32_t __stdcall Remove(void*) noexcept = 0; + virtual int32_t __stdcall Retrieve(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllByResource(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAllByUserName(void*, void**) noexcept = 0; + virtual int32_t __stdcall RetrieveAll(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WebAccountProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_UserName(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + virtual int32_t __stdcall GetPictureAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SignOutAsync(void**) noexcept = 0; + virtual int32_t __stdcall SignOutWithClientIdAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWebAccount(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; + virtual int32_t __stdcall get_IconUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DisplayPurpose(void**) noexcept = 0; + virtual int32_t __stdcall get_Authority(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_User(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSystemProvider(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateWebAccountProvider(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Credentials_ICredentialFactory + { + auto CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_ICredentialFactory; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredential + { + [[nodiscard]] auto Name() const; + auto RetrievePublicKey() const; + auto RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const; + auto RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto GetAttestationAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredential; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredential2 + { + auto RequestDeriveSharedSecretAsync(winrt::Windows::UI::WindowId const& windowId, param::hstring const& message, winrt::Windows::Storage::Streams::IBuffer const& encryptedRequest) const; + auto RetrieveAuthorizationContext(winrt::Windows::Storage::Streams::IBuffer const& encryptedRequest) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredential2; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialAttestationResult + { + [[nodiscard]] auto CertificateChainBuffer() const; + [[nodiscard]] auto AttestationBuffer() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialAttestationResult; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialCacheConfiguration + { + [[nodiscard]] auto CacheOption() const; + [[nodiscard]] auto Timeout() const; + [[nodiscard]] auto UsageCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialCacheConfiguration; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialCacheConfigurationFactory + { + auto CreateInstance(winrt::Windows::Security::Credentials::KeyCredentialCacheOption const& cacheOption, winrt::Windows::Foundation::TimeSpan const& timeout, uint32_t usageCount) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialCacheConfigurationFactory; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialManagerCreateWithWindowStatics + { + auto RequestCreateForWindowAsync(winrt::Windows::UI::WindowId const& window, param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialManagerCreateWithWindowStatics; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialManagerStatics + { + auto IsSupportedAsync() const; + auto RenewAttestationAsync() const; + auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const; + auto OpenAsync(param::hstring const& name) const; + auto DeleteAsync(param::hstring const& name) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialManagerStatics; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialManagerStatics2 + { + auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option, param::hstring const& algorithm, param::hstring const& message, winrt::Windows::Security::Credentials::KeyCredentialCacheConfiguration const& cacheConfiguration, winrt::Windows::UI::WindowId const& windowId, winrt::Windows::Security::Credentials::ChallengeResponseKind const& callbackType, winrt::Windows::Security::Credentials::AttestationChallengeHandler const& attestationCallback) const; + auto OpenAsync(param::hstring const& name, winrt::Windows::Security::Credentials::ChallengeResponseKind const& callbackType, winrt::Windows::Security::Credentials::AttestationChallengeHandler const& attestationCallback) const; + auto GetSecureId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialManagerStatics2; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialOperationResult + { + [[nodiscard]] auto Result() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialOperationResult; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult + { + [[nodiscard]] auto Credential() const; + [[nodiscard]] auto Status() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult; + }; + template + struct consume_Windows_Security_Credentials_IKeyCredentialWithWindow + { + auto RequestSignForWindowAsync(winrt::Windows::UI::WindowId const& window, winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IKeyCredentialWithWindow; + }; + template + struct consume_Windows_Security_Credentials_IPasswordCredential + { + [[nodiscard]] auto Resource() const; + auto Resource(param::hstring const& resource) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& userName) const; + [[nodiscard]] auto Password() const; + auto Password(param::hstring const& password) const; + auto RetrievePassword() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IPasswordCredential; + }; + template + struct consume_Windows_Security_Credentials_IPasswordVault + { + auto Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + auto Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + auto Retrieve(param::hstring const& resource, param::hstring const& userName) const; + auto FindAllByResource(param::hstring const& resource) const; + auto FindAllByUserName(param::hstring const& userName) const; + auto RetrieveAll() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IPasswordVault; + }; + template + struct consume_Windows_Security_Credentials_IWebAccount + { + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccount; + }; + template + struct consume_Windows_Security_Credentials_IWebAccount2 + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + auto GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const; + auto SignOutAsync() const; + auto SignOutAsync(param::hstring const& clientId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccount2; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountFactory + { + auto CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountFactory; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountProvider + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IconUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountProvider; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountProvider2 + { + [[nodiscard]] auto DisplayPurpose() const; + [[nodiscard]] auto Authority() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountProvider2; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountProvider3 + { + [[nodiscard]] auto User() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountProvider3; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountProvider4 + { + [[nodiscard]] auto IsSystemProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountProvider4; + }; + template + struct consume_Windows_Security_Credentials_IWebAccountProviderFactory + { + auto CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_IWebAccountProviderFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.1.h new file mode 100644 index 0000000000000000000000000000000000000000..a2fc838693e0f39232a99345eea7054345ec7930 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.1.h @@ -0,0 +1,175 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_1_H +#define WINRT_Windows_Security_Credentials_1_H +#include "winrt/impl/Windows.Security.Credentials.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct WINRT_IMPL_EMPTY_BASES ICredentialFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICredentialFactory(std::nullptr_t = nullptr) noexcept {} + ICredentialFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredential : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredential(std::nullptr_t = nullptr) noexcept {} + IKeyCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredential2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredential2(std::nullptr_t = nullptr) noexcept {} + IKeyCredential2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialAttestationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialAttestationResult(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialAttestationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialCacheConfiguration : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialCacheConfiguration(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialCacheConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialCacheConfigurationFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialCacheConfigurationFactory(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialCacheConfigurationFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialManagerCreateWithWindowStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialManagerCreateWithWindowStatics(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialManagerCreateWithWindowStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialManagerStatics(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IKeyCredentialManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + using impl::consume_t::OpenAsync; + using impl::consume_t::OpenAsync; + using impl::consume_t::RequestCreateAsync; + using impl::consume_t::RequestCreateAsync; + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialOperationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialOperationResult(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialRetrievalResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialRetrievalResult(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialRetrievalResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyCredentialWithWindow : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyCredentialWithWindow(std::nullptr_t = nullptr) noexcept {} + IKeyCredentialWithWindow(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPasswordCredential : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPasswordCredential(std::nullptr_t = nullptr) noexcept {} + IPasswordCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPasswordVault : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPasswordVault(std::nullptr_t = nullptr) noexcept {} + IPasswordVault(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccount : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccount(std::nullptr_t = nullptr) noexcept {} + IWebAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccount2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccount2(std::nullptr_t = nullptr) noexcept {} + IWebAccount2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountFactory(std::nullptr_t = nullptr) noexcept {} + IWebAccountFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProvider(std::nullptr_t = nullptr) noexcept {} + IWebAccountProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProvider2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProvider2(std::nullptr_t = nullptr) noexcept {} + IWebAccountProvider2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProvider3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IWebAccountProvider3(std::nullptr_t = nullptr) noexcept {} + IWebAccountProvider3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProvider4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProvider4(std::nullptr_t = nullptr) noexcept {} + IWebAccountProvider4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IWebAccountProviderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWebAccountProviderFactory(std::nullptr_t = nullptr) noexcept {} + IWebAccountProviderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.2.h new file mode 100644 index 0000000000000000000000000000000000000000..c47ccba533793312e61349e8856a07a557272aa3 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.2.h @@ -0,0 +1,103 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_2_H +#define WINRT_Windows_Security_Credentials_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.UI.1.h" +#include "winrt/impl/Windows.Security.Credentials.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Credentials +{ + struct AttestationChallengeHandler : winrt::Windows::Foundation::IUnknown + { + AttestationChallengeHandler(std::nullptr_t = nullptr) noexcept {} + AttestationChallengeHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template AttestationChallengeHandler(L lambda); + template AttestationChallengeHandler(F* function); + template AttestationChallengeHandler(O* object, M method); + template AttestationChallengeHandler(com_ptr&& object, M method); + template AttestationChallengeHandler(weak_ref&& object, LM&& lambda_or_method); + template AttestationChallengeHandler(std::shared_ptr&& object, M method); + template AttestationChallengeHandler(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::Windows::Storage::Streams::IBuffer const& challenge) const; + }; + struct WINRT_IMPL_EMPTY_BASES KeyCredential : winrt::Windows::Security::Credentials::IKeyCredential, + impl::require + { + KeyCredential(std::nullptr_t) noexcept {} + KeyCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IKeyCredential(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES KeyCredentialAttestationResult : winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult + { + KeyCredentialAttestationResult(std::nullptr_t) noexcept {} + KeyCredentialAttestationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES KeyCredentialCacheConfiguration : winrt::Windows::Security::Credentials::IKeyCredentialCacheConfiguration + { + KeyCredentialCacheConfiguration(std::nullptr_t) noexcept {} + KeyCredentialCacheConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IKeyCredentialCacheConfiguration(ptr, take_ownership_from_abi) {} + KeyCredentialCacheConfiguration(winrt::Windows::Security::Credentials::KeyCredentialCacheOption const& cacheOption, winrt::Windows::Foundation::TimeSpan const& timeout, uint32_t usageCount); + }; + struct KeyCredentialManager + { + KeyCredentialManager() = delete; + static auto RequestCreateForWindowAsync(winrt::Windows::UI::WindowId const& window, param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option); + static auto IsSupportedAsync(); + static auto RenewAttestationAsync(); + static auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option); + static auto OpenAsync(param::hstring const& name); + static auto DeleteAsync(param::hstring const& name); + static auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option, param::hstring const& algorithm, param::hstring const& message, winrt::Windows::Security::Credentials::KeyCredentialCacheConfiguration const& cacheConfiguration, winrt::Windows::UI::WindowId const& windowId, winrt::Windows::Security::Credentials::ChallengeResponseKind const& callbackType, winrt::Windows::Security::Credentials::AttestationChallengeHandler const& attestationCallback); + static auto OpenAsync(param::hstring const& name, winrt::Windows::Security::Credentials::ChallengeResponseKind const& callbackType, winrt::Windows::Security::Credentials::AttestationChallengeHandler const& attestationCallback); + static auto GetSecureId(); + }; + struct WINRT_IMPL_EMPTY_BASES KeyCredentialOperationResult : winrt::Windows::Security::Credentials::IKeyCredentialOperationResult + { + KeyCredentialOperationResult(std::nullptr_t) noexcept {} + KeyCredentialOperationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IKeyCredentialOperationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES KeyCredentialRetrievalResult : winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult + { + KeyCredentialRetrievalResult(std::nullptr_t) noexcept {} + KeyCredentialRetrievalResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES PasswordCredential : winrt::Windows::Security::Credentials::IPasswordCredential + { + PasswordCredential(std::nullptr_t) noexcept {} + PasswordCredential(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IPasswordCredential(ptr, take_ownership_from_abi) {} + PasswordCredential(); + PasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password); + }; + struct WINRT_IMPL_EMPTY_BASES PasswordCredentialPropertyStore : winrt::Windows::Foundation::Collections::IPropertySet + { + PasswordCredentialPropertyStore(std::nullptr_t) noexcept {} + PasswordCredentialPropertyStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IPropertySet(ptr, take_ownership_from_abi) {} + PasswordCredentialPropertyStore(); + }; + struct WINRT_IMPL_EMPTY_BASES PasswordVault : winrt::Windows::Security::Credentials::IPasswordVault + { + PasswordVault(std::nullptr_t) noexcept {} + PasswordVault(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IPasswordVault(ptr, take_ownership_from_abi) {} + PasswordVault(); + }; + struct WINRT_IMPL_EMPTY_BASES WebAccount : winrt::Windows::Security::Credentials::IWebAccount, + impl::require + { + WebAccount(std::nullptr_t) noexcept {} + WebAccount(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IWebAccount(ptr, take_ownership_from_abi) {} + WebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state); + }; + struct WINRT_IMPL_EMPTY_BASES WebAccountProvider : winrt::Windows::Security::Credentials::IWebAccountProvider, + impl::require + { + WebAccountProvider(std::nullptr_t) noexcept {} + WebAccountProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::IWebAccountProvider(ptr, take_ownership_from_abi) {} + WebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.0.h new file mode 100644 index 0000000000000000000000000000000000000000..cc7ee5e85b637111c151d281f23c1a34cc96c582 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.0.h @@ -0,0 +1,211 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_UI_0_H +#define WINRT_Windows_Security_Credentials_UI_0_H +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Security::Credentials::UI +{ + enum class AuthenticationProtocol : int32_t + { + Basic = 0, + Digest = 1, + Ntlm = 2, + Kerberos = 3, + Negotiate = 4, + CredSsp = 5, + Custom = 6, + }; + enum class CredentialSaveOption : int32_t + { + Unselected = 0, + Selected = 1, + Hidden = 2, + }; + enum class UserConsentVerificationResult : int32_t + { + Verified = 0, + DeviceNotPresent = 1, + NotConfiguredForUser = 2, + DisabledByPolicy = 3, + DeviceBusy = 4, + RetriesExhausted = 5, + Canceled = 6, + }; + enum class UserConsentVerifierAvailability : int32_t + { + Available = 0, + DeviceNotPresent = 1, + NotConfiguredForUser = 2, + DisabledByPolicy = 3, + DeviceBusy = 4, + }; + struct ICredentialPickerOptions; + struct ICredentialPickerResults; + struct ICredentialPickerStatics; + struct IUserConsentVerifierStatics; + struct CredentialPicker; + struct CredentialPickerOptions; + struct CredentialPickerResults; + struct UserConsentVerifier; +} +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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.CredentialPicker"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.CredentialPickerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.CredentialPickerResults"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.UserConsentVerifier"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.AuthenticationProtocol"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.CredentialSaveOption"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.UserConsentVerificationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.UserConsentVerifierAvailability"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.ICredentialPickerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.ICredentialPickerResults"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.ICredentialPickerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Credentials.UI.IUserConsentVerifierStatics"; + template <> inline constexpr guid guid_v{ 0x965A0B4C,0x95FA,0x467F,{ 0x99,0x2B,0x0B,0x22,0xE5,0x85,0x9B,0xF6 } }; // 965A0B4C-95FA-467F-992B-0B22E5859BF6 + template <> inline constexpr guid guid_v{ 0x1948F99A,0xCC30,0x410C,{ 0x9C,0x38,0xCC,0x08,0x84,0xC5,0xB3,0xD7 } }; // 1948F99A-CC30-410C-9C38-CC0884C5B3D7 + template <> inline constexpr guid guid_v{ 0xAA3A5C73,0xC9EA,0x4782,{ 0x99,0xFB,0xE6,0xD7,0xE9,0x38,0xE1,0x2D } }; // AA3A5C73-C9EA-4782-99FB-E6D7E938E12D + template <> inline constexpr guid guid_v{ 0xAF4F3F91,0x564C,0x4DDC,{ 0xB8,0xB5,0x97,0x34,0x47,0x62,0x7C,0x65 } }; // AF4F3F91-564C-4DDC-B8B5-973447627C65 + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Credentials::UI::ICredentialPickerResults; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Caption(void*) noexcept = 0; + virtual int32_t __stdcall get_Caption(void**) noexcept = 0; + virtual int32_t __stdcall put_Message(void*) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall put_ErrorCode(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_TargetName(void*) noexcept = 0; + virtual int32_t __stdcall get_TargetName(void**) noexcept = 0; + virtual int32_t __stdcall put_AuthenticationProtocol(int32_t) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationProtocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CustomAuthenticationProtocol(void*) noexcept = 0; + virtual int32_t __stdcall get_CustomAuthenticationProtocol(void**) noexcept = 0; + virtual int32_t __stdcall put_PreviousCredential(void*) noexcept = 0; + virtual int32_t __stdcall get_PreviousCredential(void**) noexcept = 0; + virtual int32_t __stdcall put_AlwaysDisplayDialog(bool) noexcept = 0; + virtual int32_t __stdcall get_AlwaysDisplayDialog(bool*) noexcept = 0; + virtual int32_t __stdcall put_CallerSavesCredential(bool) noexcept = 0; + virtual int32_t __stdcall get_CallerSavesCredential(bool*) noexcept = 0; + virtual int32_t __stdcall put_CredentialSaveOption(int32_t) noexcept = 0; + virtual int32_t __stdcall get_CredentialSaveOption(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ErrorCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CredentialSaveOption(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_CredentialSaved(bool*) noexcept = 0; + virtual int32_t __stdcall get_Credential(void**) noexcept = 0; + virtual int32_t __stdcall get_CredentialDomainName(void**) noexcept = 0; + virtual int32_t __stdcall get_CredentialUserName(void**) noexcept = 0; + virtual int32_t __stdcall get_CredentialPassword(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PickWithOptionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall PickWithMessageAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall PickWithCaptionAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CheckAvailabilityAsync(void**) noexcept = 0; + virtual int32_t __stdcall RequestVerificationAsync(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Credentials_UI_ICredentialPickerOptions + { + auto Caption(param::hstring const& value) const; + [[nodiscard]] auto Caption() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto Message() const; + auto ErrorCode(uint32_t value) const; + [[nodiscard]] auto ErrorCode() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const; + [[nodiscard]] auto AuthenticationProtocol() const; + auto CustomAuthenticationProtocol(param::hstring const& value) const; + [[nodiscard]] auto CustomAuthenticationProtocol() const; + auto PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto PreviousCredential() const; + auto AlwaysDisplayDialog(bool value) const; + [[nodiscard]] auto AlwaysDisplayDialog() const; + auto CallerSavesCredential(bool value) const; + [[nodiscard]] auto CallerSavesCredential() const; + auto CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const; + [[nodiscard]] auto CredentialSaveOption() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_UI_ICredentialPickerOptions; + }; + template + struct consume_Windows_Security_Credentials_UI_ICredentialPickerResults + { + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto CredentialSaveOption() const; + [[nodiscard]] auto CredentialSaved() const; + [[nodiscard]] auto Credential() const; + [[nodiscard]] auto CredentialDomainName() const; + [[nodiscard]] auto CredentialUserName() const; + [[nodiscard]] auto CredentialPassword() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_UI_ICredentialPickerResults; + }; + template + struct consume_Windows_Security_Credentials_UI_ICredentialPickerStatics + { + auto PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const; + auto PickAsync(param::hstring const& targetName, param::hstring const& message) const; + auto PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_UI_ICredentialPickerStatics; + }; + template + struct consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics + { + auto CheckAvailabilityAsync() const; + auto RequestVerificationAsync(param::hstring const& message) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.1.h new file mode 100644 index 0000000000000000000000000000000000000000..ea1e1b10b8e06aa14861d37446430bbfa3b9d45f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.1.h @@ -0,0 +1,41 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_UI_1_H +#define WINRT_Windows_Security_Credentials_UI_1_H +#include "winrt/impl/Windows.Security.Credentials.UI.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Credentials::UI +{ + struct WINRT_IMPL_EMPTY_BASES ICredentialPickerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICredentialPickerOptions(std::nullptr_t = nullptr) noexcept {} + ICredentialPickerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICredentialPickerResults : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICredentialPickerResults(std::nullptr_t = nullptr) noexcept {} + ICredentialPickerResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICredentialPickerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICredentialPickerStatics(std::nullptr_t = nullptr) noexcept {} + ICredentialPickerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserConsentVerifierStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserConsentVerifierStatics(std::nullptr_t = nullptr) noexcept {} + IUserConsentVerifierStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e579f4089b881fefe19f0b54f7e6fc6440bbf223 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.credentials.ui.2.h @@ -0,0 +1,37 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Credentials_UI_2_H +#define WINRT_Windows_Security_Credentials_UI_2_H +#include "winrt/impl/Windows.Security.Credentials.UI.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Credentials::UI +{ + struct CredentialPicker + { + CredentialPicker() = delete; + static auto PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options); + static auto PickAsync(param::hstring const& targetName, param::hstring const& message); + static auto PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption); + }; + struct WINRT_IMPL_EMPTY_BASES CredentialPickerOptions : winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions + { + CredentialPickerOptions(std::nullptr_t) noexcept {} + CredentialPickerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions(ptr, take_ownership_from_abi) {} + CredentialPickerOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES CredentialPickerResults : winrt::Windows::Security::Credentials::UI::ICredentialPickerResults + { + CredentialPickerResults(std::nullptr_t) noexcept {} + CredentialPickerResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::UI::ICredentialPickerResults(ptr, take_ownership_from_abi) {} + }; + struct UserConsentVerifier + { + UserConsentVerifier() = delete; + static auto CheckAvailabilityAsync(); + static auto RequestVerificationAsync(param::hstring const& message); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ded7c23a2ea75f81a09da5ed4e3c1e59abe17e4f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.0.h @@ -0,0 +1,70 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_0_H +#define WINRT_Windows_Security_Cryptography_0_H +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography +{ + enum class BinaryStringEncoding : int32_t + { + Utf8 = 0, + Utf16LE = 1, + Utf16BE = 2, + }; + struct ICryptographicBufferStatics; + struct CryptographicBuffer; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.CryptographicBuffer"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.BinaryStringEncoding"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.ICryptographicBufferStatics"; + template <> inline constexpr guid guid_v{ 0x320B7E22,0x3CB0,0x4CDF,{ 0x86,0x63,0x1D,0x28,0x91,0x00,0x65,0xEB } }; // 320B7E22-3CB0-4CDF-8663-1D28910065EB + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Compare(void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall GenerateRandom(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GenerateRandomNumber(uint32_t*) noexcept = 0; + virtual int32_t __stdcall CreateFromByteArray(uint32_t, uint8_t*, void**) noexcept = 0; + virtual int32_t __stdcall CopyToByteArray(void*, uint32_t*, uint8_t**) noexcept = 0; + virtual int32_t __stdcall DecodeFromHexString(void*, void**) noexcept = 0; + virtual int32_t __stdcall EncodeToHexString(void*, void**) noexcept = 0; + virtual int32_t __stdcall DecodeFromBase64String(void*, void**) noexcept = 0; + virtual int32_t __stdcall EncodeToBase64String(void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertStringToBinary(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertBinaryToString(int32_t, void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Cryptography_ICryptographicBufferStatics + { + auto Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const; + auto GenerateRandom(uint32_t length) const; + auto GenerateRandomNumber() const; + auto CreateFromByteArray(array_view value) const; + auto CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value) const; + auto DecodeFromHexString(param::hstring const& value) const; + auto EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto DecodeFromBase64String(param::hstring const& value) const; + auto EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const; + auto ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_ICryptographicBufferStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.1.h new file mode 100644 index 0000000000000000000000000000000000000000..081c36011080fd7a3b819bf1f30cbbc19820927d --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.1.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_1_H +#define WINRT_Windows_Security_Cryptography_1_H +#include "winrt/impl/Windows.Security.Cryptography.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography +{ + struct WINRT_IMPL_EMPTY_BASES ICryptographicBufferStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICryptographicBufferStatics(std::nullptr_t = nullptr) noexcept {} + ICryptographicBufferStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.2.h new file mode 100644 index 0000000000000000000000000000000000000000..19234e7bc9fb9fada69b5c9617312aa1a873154a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.2.h @@ -0,0 +1,29 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_2_H +#define WINRT_Windows_Security_Cryptography_2_H +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Security.Cryptography.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography +{ + struct CryptographicBuffer + { + CryptographicBuffer() = delete; + static auto Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2); + static auto GenerateRandom(uint32_t length); + static auto GenerateRandomNumber(); + static auto CreateFromByteArray(array_view value); + static auto CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value); + static auto DecodeFromHexString(param::hstring const& value); + static auto EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer); + static auto DecodeFromBase64String(param::hstring const& value); + static auto EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer); + static auto ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding); + static auto ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.0.h new file mode 100644 index 0000000000000000000000000000000000000000..d5687dcb955862f37969b1fc7a6c09794d09cf79 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.0.h @@ -0,0 +1,1387 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Certificates_0_H +#define WINRT_Windows_Security_Cryptography_Certificates_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + enum class CertificateChainPolicy : int32_t + { + Base = 0, + Ssl = 1, + NTAuthentication = 2, + MicrosoftRoot = 3, + }; + enum class ChainValidationResult : int32_t + { + Success = 0, + Untrusted = 1, + Revoked = 2, + Expired = 3, + IncompleteChain = 4, + InvalidSignature = 5, + WrongUsage = 6, + InvalidName = 7, + InvalidCertificateAuthorityPolicy = 8, + BasicConstraintsError = 9, + UnknownCriticalExtension = 10, + RevocationInformationMissing = 11, + RevocationFailure = 12, + OtherErrors = 13, + }; + enum class EnrollKeyUsages : uint32_t + { + None = 0, + Decryption = 0x1, + Signing = 0x2, + KeyAgreement = 0x4, + All = 0xffffff, + }; + enum class ExportOption : int32_t + { + NotExportable = 0, + Exportable = 1, + }; + enum class InstallOptions : uint32_t + { + None = 0, + DeleteExpired = 0x1, + }; + enum class KeyProtectionLevel : int32_t + { + NoConsent = 0, + ConsentOnly = 1, + ConsentWithPassword = 2, + ConsentWithFingerprint = 3, + }; + enum class KeySize : int32_t + { + Invalid = 0, + Rsa2048 = 2048, + Rsa4096 = 4096, + }; + enum class SignatureValidationResult : int32_t + { + Success = 0, + InvalidParameter = 1, + BadMessage = 2, + InvalidSignature = 3, + OtherErrors = 4, + }; + struct ICertificate; + struct ICertificate2; + struct ICertificate3; + struct ICertificateChain; + struct ICertificateEnrollmentManagerStatics; + struct ICertificateEnrollmentManagerStatics2; + struct ICertificateEnrollmentManagerStatics3; + struct ICertificateExtension; + struct ICertificateFactory; + struct ICertificateKeyUsages; + struct ICertificateQuery; + struct ICertificateQuery2; + struct ICertificateRequestProperties; + struct ICertificateRequestProperties2; + struct ICertificateRequestProperties3; + struct ICertificateRequestProperties4; + struct ICertificateStore; + struct ICertificateStore2; + struct ICertificateStoresStatics; + struct ICertificateStoresStatics2; + struct IChainBuildingParameters; + struct IChainValidationParameters; + struct ICmsAttachedSignature; + struct ICmsAttachedSignatureFactory; + struct ICmsAttachedSignatureStatics; + struct ICmsDetachedSignature; + struct ICmsDetachedSignatureFactory; + struct ICmsDetachedSignatureStatics; + struct ICmsSignerInfo; + struct ICmsTimestampInfo; + struct IKeyAlgorithmNamesStatics; + struct IKeyAlgorithmNamesStatics2; + struct IKeyAttestationHelperStatics; + struct IKeyAttestationHelperStatics2; + struct IKeyStorageProviderNamesStatics; + struct IKeyStorageProviderNamesStatics2; + struct IPfxImportParameters; + struct IStandardCertificateStoreNamesStatics; + struct ISubjectAlternativeNameInfo; + struct ISubjectAlternativeNameInfo2; + struct IUserCertificateEnrollmentManager; + struct IUserCertificateEnrollmentManager2; + struct IUserCertificateStore; + struct Certificate; + struct CertificateChain; + struct CertificateEnrollmentManager; + struct CertificateExtension; + struct CertificateKeyUsages; + struct CertificateQuery; + struct CertificateRequestProperties; + struct CertificateStore; + struct CertificateStores; + struct ChainBuildingParameters; + struct ChainValidationParameters; + struct CmsAttachedSignature; + struct CmsDetachedSignature; + struct CmsSignerInfo; + struct CmsTimestampInfo; + struct KeyAlgorithmNames; + struct KeyAttestationHelper; + struct KeyStorageProviderNames; + struct PfxImportParameters; + struct StandardCertificateStoreNames; + struct SubjectAlternativeNameInfo; + struct UserCertificateEnrollmentManager; + struct UserCertificateStore; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.Certificate"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateChain"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateEnrollmentManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateExtension"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateKeyUsages"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateQuery"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateRequestProperties"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateStore"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateStores"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ChainBuildingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ChainValidationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CmsAttachedSignature"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CmsDetachedSignature"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CmsSignerInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CmsTimestampInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.KeyAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.KeyAttestationHelper"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.KeyStorageProviderNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.PfxImportParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.StandardCertificateStoreNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.SubjectAlternativeNameInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.UserCertificateStore"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.CertificateChainPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ChainValidationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.EnrollKeyUsages"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ExportOption"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.InstallOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.KeyProtectionLevel"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.KeySize"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.SignatureValidationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificate"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificate2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificate3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateChain"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateEnrollmentManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateEnrollmentManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateEnrollmentManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateExtension"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateKeyUsages"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateQuery"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateQuery2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateRequestProperties"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateRequestProperties2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateRequestProperties3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateRequestProperties4"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateStore"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateStore2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateStoresStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICertificateStoresStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IChainBuildingParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IChainValidationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsAttachedSignature"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsAttachedSignatureFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsAttachedSignatureStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsDetachedSignature"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsSignerInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ICmsTimestampInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyAlgorithmNamesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyAttestationHelperStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyAttestationHelperStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyStorageProviderNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IKeyStorageProviderNamesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IPfxImportParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IStandardCertificateStoreNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ISubjectAlternativeNameInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.ISubjectAlternativeNameInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IUserCertificateEnrollmentManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IUserCertificateEnrollmentManager2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Certificates.IUserCertificateStore"; + template <> inline constexpr guid guid_v{ 0x333F740C,0x04D8,0x43B3,{ 0xB2,0x78,0x8C,0x5F,0xCC,0x9B,0xE5,0xA0 } }; // 333F740C-04D8-43B3-B278-8C5FCC9BE5A0 + template <> inline constexpr guid guid_v{ 0x17B8374C,0x8A25,0x4D96,{ 0xA4,0x92,0x8F,0xC2,0x9A,0xC4,0xFD,0xA6 } }; // 17B8374C-8A25-4D96-A492-8FC29AC4FDA6 + template <> inline constexpr guid guid_v{ 0xBE51A966,0xAE5F,0x4652,{ 0xAC,0xE7,0xC6,0xD7,0xE7,0x72,0x4C,0xF3 } }; // BE51A966-AE5F-4652-ACE7-C6D7E7724CF3 + template <> inline constexpr guid guid_v{ 0x20BF5385,0x3691,0x4501,{ 0xA6,0x2C,0xFD,0x97,0x27,0x8B,0x31,0xEE } }; // 20BF5385-3691-4501-A62C-FD97278B31EE + template <> inline constexpr guid guid_v{ 0x8846EF3F,0xA986,0x48FB,{ 0x9F,0xD7,0x9A,0xEC,0x06,0x93,0x5B,0xF1 } }; // 8846EF3F-A986-48FB-9FD7-9AEC06935BF1 + template <> inline constexpr guid guid_v{ 0xDC5B1C33,0x6429,0x4014,{ 0x99,0x9C,0x5D,0x97,0x35,0x80,0x2D,0x1D } }; // DC5B1C33-6429-4014-999C-5D9735802D1D + template <> inline constexpr guid guid_v{ 0xFDEC82BE,0x617C,0x425A,{ 0xB7,0x2D,0x39,0x8B,0x26,0xAC,0x72,0x64 } }; // FDEC82BE-617C-425A-B72D-398B26AC7264 + template <> inline constexpr guid guid_v{ 0x84CF0656,0xA9E6,0x454D,{ 0x8E,0x45,0x2E,0xA7,0xC4,0xBC,0xD5,0x3B } }; // 84CF0656-A9E6-454D-8E45-2EA7C4BCD53B + template <> inline constexpr guid guid_v{ 0x17B4221C,0x4BAF,0x44A2,{ 0x96,0x08,0x04,0xFB,0x62,0xB1,0x69,0x42 } }; // 17B4221C-4BAF-44A2-9608-04FB62B16942 + template <> inline constexpr guid guid_v{ 0x6AC6206F,0xE1CF,0x486A,{ 0xB4,0x85,0xA6,0x9C,0x83,0xE4,0x6F,0xD1 } }; // 6AC6206F-E1CF-486A-B485-A69C83E46FD1 + template <> inline constexpr guid guid_v{ 0x5B082A31,0xA728,0x4916,{ 0xB5,0xEE,0xFF,0xCB,0x8A,0xCF,0x24,0x17 } }; // 5B082A31-A728-4916-B5EE-FFCB8ACF2417 + template <> inline constexpr guid guid_v{ 0x935A0AF7,0x0BD9,0x4F75,{ 0xB8,0xC2,0xE2,0x7A,0x7F,0x74,0xEE,0xCD } }; // 935A0AF7-0BD9-4F75-B8C2-E27A7F74EECD + template <> inline constexpr guid guid_v{ 0x487E84F6,0x94E2,0x4DCE,{ 0x88,0x33,0x1A,0x70,0x0A,0x37,0xA2,0x9A } }; // 487E84F6-94E2-4DCE-8833-1A700A37A29A + template <> inline constexpr guid guid_v{ 0x3DA0C954,0xD73F,0x4FF3,{ 0xA0,0xA6,0x06,0x77,0xC0,0xAD,0xA0,0x5B } }; // 3DA0C954-D73F-4FF3-A0A6-0677C0ADA05B + template <> inline constexpr guid guid_v{ 0xE687F616,0x734D,0x46B1,{ 0x9D,0x4C,0x6E,0xDF,0xDB,0xFC,0x84,0x5B } }; // E687F616-734D-46B1-9D4C-6EDFDBFC845B + template <> inline constexpr guid guid_v{ 0x4E429AD2,0x1C61,0x4FEA,{ 0xB8,0xFE,0x13,0x5F,0xB1,0x9C,0xDC,0xE4 } }; // 4E429AD2-1C61-4FEA-B8FE-135FB19CDCE4 + template <> inline constexpr guid guid_v{ 0xB0BFF720,0x344E,0x4331,{ 0xAF,0x14,0xA7,0xF7,0xA7,0xEB,0xC9,0x3A } }; // B0BFF720-344E-4331-AF14-A7F7A7EBC93A + template <> inline constexpr guid guid_v{ 0xC7E68E4A,0x417D,0x4D1A,{ 0xBA,0xBD,0x15,0x68,0x7E,0x54,0x99,0x74 } }; // C7E68E4A-417D-4D1A-BABD-15687E549974 + template <> inline constexpr guid guid_v{ 0xFBECC739,0xC6FE,0x4DE7,{ 0x99,0xCF,0x74,0xC3,0xE5,0x96,0xE0,0x32 } }; // FBECC739-C6FE-4DE7-99CF-74C3E596E032 + template <> inline constexpr guid guid_v{ 0xFA900B79,0xA0D4,0x4B8C,{ 0xBC,0x55,0xC0,0xA3,0x7E,0xB1,0x41,0xED } }; // FA900B79-A0D4-4B8C-BC55-C0A37EB141ED + template <> inline constexpr guid guid_v{ 0x422BA922,0x7C8D,0x47B7,{ 0xB5,0x9B,0xB1,0x27,0x03,0x73,0x3A,0xC3 } }; // 422BA922-7C8D-47B7-B59B-B12703733AC3 + template <> inline constexpr guid guid_v{ 0xC4743B4A,0x7EB0,0x4B56,{ 0xA0,0x40,0xB9,0xC8,0xE6,0x55,0xDD,0xF3 } }; // C4743B4A-7EB0-4B56-A040-B9C8E655DDF3 + template <> inline constexpr guid guid_v{ 0x61899D9D,0x3757,0x4ECB,{ 0xBD,0xDC,0x0C,0xA3,0x57,0xD7,0xA9,0x36 } }; // 61899D9D-3757-4ECB-BDDC-0CA357D7A936 + template <> inline constexpr guid guid_v{ 0xD0C8FC15,0xF757,0x4C64,{ 0xA3,0x62,0x52,0xCC,0x1C,0x77,0xCF,0xFB } }; // D0C8FC15-F757-4C64-A362-52CC1C77CFFB + template <> inline constexpr guid guid_v{ 0x87989C8E,0xB0AD,0x498D,{ 0xA7,0xF5,0x78,0xB5,0x9B,0xCE,0x4B,0x36 } }; // 87989C8E-B0AD-498D-A7F5-78B59BCE4B36 + template <> inline constexpr guid guid_v{ 0x0F1EF154,0xF65E,0x4536,{ 0x83,0x39,0x59,0x44,0x08,0x1D,0xB2,0xCA } }; // 0F1EF154-F65E-4536-8339-5944081DB2CA + template <> inline constexpr guid guid_v{ 0xC4AB3503,0xAE7F,0x4387,{ 0xAD,0x19,0x00,0xF1,0x50,0xE4,0x8E,0xBB } }; // C4AB3503-AE7F-4387-AD19-00F150E48EBB + template <> inline constexpr guid guid_v{ 0x3D114CFD,0xBF9B,0x4682,{ 0x9B,0xE6,0x91,0xF5,0x7C,0x05,0x38,0x08 } }; // 3D114CFD-BF9B-4682-9BE6-91F57C053808 + template <> inline constexpr guid guid_v{ 0x50D020DB,0x1D2F,0x4C1A,{ 0xB5,0xC5,0xD0,0x18,0x8F,0xF9,0x1F,0x47 } }; // 50D020DB-1D2F-4C1A-B5C5-D0188FF91F47 + template <> inline constexpr guid guid_v{ 0x2F5F00F2,0x2C18,0x4F88,{ 0x84,0x35,0xC5,0x34,0x08,0x60,0x76,0xF5 } }; // 2F5F00F2-2C18-4F88-8435-C534086076F5 + template <> inline constexpr guid guid_v{ 0x479065D7,0x7AC7,0x4581,{ 0x8C,0x3B,0xD0,0x70,0x27,0x14,0x04,0x48 } }; // 479065D7-7AC7-4581-8C3B-D07027140448 + template <> inline constexpr guid guid_v{ 0xC99B5686,0xE1FD,0x4A4A,{ 0x89,0x3D,0xA2,0x6F,0x33,0xDD,0x8B,0xB4 } }; // C99B5686-E1FD-4A4A-893D-A26F33DD8BB4 + template <> inline constexpr guid guid_v{ 0x1648E246,0xF644,0x4326,{ 0x88,0xBE,0x3A,0xF1,0x02,0xD3,0x0E,0x0C } }; // 1648E246-F644-4326-88BE-3AF102D30E0C + template <> inline constexpr guid guid_v{ 0x9C590B2C,0xA6C6,0x4A5E,{ 0x9E,0x64,0xE8,0x5D,0x52,0x79,0xDF,0x97 } }; // 9C590B2C-A6C6-4A5E-9E64-E85D5279DF97 + template <> inline constexpr guid guid_v{ 0xAF186AE0,0x5529,0x4602,{ 0xBD,0x94,0x0A,0xAB,0x91,0x95,0x7B,0x5C } }; // AF186AE0-5529-4602-BD94-0AAB91957B5C + template <> inline constexpr guid guid_v{ 0x262D743D,0x9C2E,0x41CC,{ 0x88,0x12,0xC4,0xD9,0x71,0xDD,0x7C,0x60 } }; // 262D743D-9C2E-41CC-8812-C4D971DD7C60 + template <> inline constexpr guid guid_v{ 0x680D3511,0x9A08,0x47C8,{ 0x86,0x4A,0x2E,0xDD,0x4D,0x8E,0xB4,0x6C } }; // 680D3511-9A08-47C8-864A-2EDD4D8EB46C + template <> inline constexpr guid guid_v{ 0x0C154ADB,0xA496,0x41F8,{ 0x8F,0xE5,0x9E,0x96,0xF3,0x6E,0xFB,0xF8 } }; // 0C154ADB-A496-41F8-8FE5-9E96F36EFBF8 + template <> inline constexpr guid guid_v{ 0x582859F1,0x569D,0x4C20,{ 0xBE,0x7B,0x4E,0x1C,0x9A,0x0B,0xC5,0x2B } }; // 582859F1-569D-4C20-BE7B-4E1C9A0BC52B + template <> inline constexpr guid guid_v{ 0x437A78C6,0x1C51,0x41EA,{ 0xB3,0x4A,0x3D,0x65,0x43,0x98,0xA3,0x70 } }; // 437A78C6-1C51-41EA-B34A-3D654398A370 + template <> inline constexpr guid guid_v{ 0x96313718,0x22E1,0x4819,{ 0xB2,0x0B,0xAB,0x46,0xA6,0xEC,0xA0,0x6E } }; // 96313718-22E1-4819-B20B-AB46A6ECA06E + template <> inline constexpr guid guid_v{ 0x0DAD9CB1,0x65DE,0x492A,{ 0xB8,0x6D,0xFC,0x5C,0x48,0x2C,0x37,0x47 } }; // 0DAD9CB1-65DE-492A-B86D-FC5C482C3747 + template <> inline constexpr guid guid_v{ 0xC9FB1D83,0x789F,0x4B4E,{ 0x91,0x80,0x04,0x5A,0x75,0x7A,0xAC,0x6D } }; // C9FB1D83-789F-4B4E-9180-045A757AAC6D + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificate; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateChain; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICertificateStore; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BuildChainAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall BuildChainWithParametersAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_SerialNumber(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall GetHashValue(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall GetHashValueWithAlgorithm(void*, uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall GetCertificateBlob(void**) noexcept = 0; + virtual int32_t __stdcall get_Subject(void**) noexcept = 0; + virtual int32_t __stdcall get_Issuer(void**) noexcept = 0; + virtual int32_t __stdcall get_HasPrivateKey(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStronglyProtected(bool*) noexcept = 0; + virtual int32_t __stdcall get_ValidFrom(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_ValidTo(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_EnhancedKeyUsages(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsSecurityDeviceBound(bool*) noexcept = 0; + virtual int32_t __stdcall get_KeyUsages(void**) noexcept = 0; + virtual int32_t __stdcall get_KeyAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_SignatureAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_SignatureHashAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_SubjectAlternativeName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsPerUser(bool*) noexcept = 0; + virtual int32_t __stdcall get_StoreName(void**) noexcept = 0; + virtual int32_t __stdcall get_KeyStorageProviderName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Validate(int32_t*) noexcept = 0; + virtual int32_t __stdcall ValidateWithParameters(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetCertificates(bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateRequestAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall InstallCertificateAsync(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportPfxDataAsync(void*, void*, int32_t, int32_t, uint32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_UserCertificateEnrollmentManager(void**) noexcept = 0; + virtual int32_t __stdcall ImportPfxDataToKspAsync(void*, void*, int32_t, int32_t, uint32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ImportPfxDataToKspWithParametersAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ObjectId(void**) noexcept = 0; + virtual int32_t __stdcall put_ObjectId(void*) noexcept = 0; + virtual int32_t __stdcall get_IsCritical(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCritical(bool) noexcept = 0; + virtual int32_t __stdcall EncodeValue(void*) noexcept = 0; + virtual int32_t __stdcall get_Value(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall put_Value(uint32_t, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCertificate(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncipherOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_EncipherOnly(bool) noexcept = 0; + virtual int32_t __stdcall get_CrlSign(bool*) noexcept = 0; + virtual int32_t __stdcall put_CrlSign(bool) noexcept = 0; + virtual int32_t __stdcall get_KeyCertificateSign(bool*) noexcept = 0; + virtual int32_t __stdcall put_KeyCertificateSign(bool) noexcept = 0; + virtual int32_t __stdcall get_KeyAgreement(bool*) noexcept = 0; + virtual int32_t __stdcall put_KeyAgreement(bool) noexcept = 0; + virtual int32_t __stdcall get_DataEncipherment(bool*) noexcept = 0; + virtual int32_t __stdcall put_DataEncipherment(bool) noexcept = 0; + virtual int32_t __stdcall get_KeyEncipherment(bool*) noexcept = 0; + virtual int32_t __stdcall put_KeyEncipherment(bool) noexcept = 0; + virtual int32_t __stdcall get_NonRepudiation(bool*) noexcept = 0; + virtual int32_t __stdcall put_NonRepudiation(bool) noexcept = 0; + virtual int32_t __stdcall get_DigitalSignature(bool*) noexcept = 0; + virtual int32_t __stdcall put_DigitalSignature(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnhancedKeyUsages(void**) noexcept = 0; + virtual int32_t __stdcall get_IssuerName(void**) noexcept = 0; + virtual int32_t __stdcall put_IssuerName(void*) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_Thumbprint(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall put_Thumbprint(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_HardwareOnly(bool*) noexcept = 0; + virtual int32_t __stdcall put_HardwareOnly(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludeDuplicates(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeDuplicates(bool) noexcept = 0; + virtual int32_t __stdcall get_IncludeExpiredCertificates(bool*) noexcept = 0; + virtual int32_t __stdcall put_IncludeExpiredCertificates(bool) noexcept = 0; + virtual int32_t __stdcall get_StoreName(void**) noexcept = 0; + virtual int32_t __stdcall put_StoreName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Subject(void**) noexcept = 0; + virtual int32_t __stdcall put_Subject(void*) noexcept = 0; + virtual int32_t __stdcall get_KeyAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall put_KeyAlgorithmName(void*) noexcept = 0; + virtual int32_t __stdcall get_KeySize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_KeySize(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_HashAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall put_HashAlgorithmName(void*) noexcept = 0; + virtual int32_t __stdcall get_Exportable(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Exportable(int32_t) noexcept = 0; + virtual int32_t __stdcall get_KeyUsages(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_KeyUsages(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_KeyProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_KeyProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_KeyStorageProviderName(void**) noexcept = 0; + virtual int32_t __stdcall put_KeyStorageProviderName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SmartcardReaderName(void**) noexcept = 0; + virtual int32_t __stdcall put_SmartcardReaderName(void*) noexcept = 0; + virtual int32_t __stdcall get_SigningCertificate(void**) noexcept = 0; + virtual int32_t __stdcall put_SigningCertificate(void*) noexcept = 0; + virtual int32_t __stdcall get_AttestationCredentialCertificate(void**) noexcept = 0; + virtual int32_t __stdcall put_AttestationCredentialCertificate(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CurveName(void**) noexcept = 0; + virtual int32_t __stdcall put_CurveName(void*) noexcept = 0; + virtual int32_t __stdcall get_CurveParameters(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall put_CurveParameters(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_ContainerNamePrefix(void**) noexcept = 0; + virtual int32_t __stdcall put_ContainerNamePrefix(void*) noexcept = 0; + virtual int32_t __stdcall get_ContainerName(void**) noexcept = 0; + virtual int32_t __stdcall put_ContainerName(void*) noexcept = 0; + virtual int32_t __stdcall get_UseExistingKey(bool*) noexcept = 0; + virtual int32_t __stdcall put_UseExistingKey(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SuppressedDefaults(void**) noexcept = 0; + virtual int32_t __stdcall get_SubjectAlternativeName(void**) noexcept = 0; + virtual int32_t __stdcall get_Extensions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Add(void*) noexcept = 0; + virtual int32_t __stdcall Delete(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall FindAllAsync(void**) noexcept = 0; + virtual int32_t __stdcall FindAllWithQueryAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_TrustedRootCertificationAuthorities(void**) noexcept = 0; + virtual int32_t __stdcall get_IntermediateCertificationAuthorities(void**) noexcept = 0; + virtual int32_t __stdcall GetStoreByName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetUserStoreByName(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnhancedKeyUsages(void**) noexcept = 0; + virtual int32_t __stdcall get_ValidationTimestamp(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_ValidationTimestamp(int64_t) noexcept = 0; + virtual int32_t __stdcall get_RevocationCheckEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_RevocationCheckEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_NetworkRetrievalEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_NetworkRetrievalEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_AuthorityInformationAccessEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_AuthorityInformationAccessEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_CurrentTimeValidationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_CurrentTimeValidationEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_ExclusiveTrustRoots(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CertificateChainPolicy(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CertificateChainPolicy(int32_t) noexcept = 0; + virtual int32_t __stdcall get_ServerDnsName(void**) noexcept = 0; + virtual int32_t __stdcall put_ServerDnsName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Certificates(void**) noexcept = 0; + virtual int32_t __stdcall get_Content(uint32_t* __valueSize, uint8_t**) noexcept = 0; + virtual int32_t __stdcall get_Signers(void**) noexcept = 0; + virtual int32_t __stdcall VerifySignature(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCmsAttachedSignature(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GenerateSignatureAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Certificates(void**) noexcept = 0; + virtual int32_t __stdcall get_Signers(void**) noexcept = 0; + virtual int32_t __stdcall VerifySignatureAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateCmsDetachedSignature(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GenerateSignatureAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Certificate(void**) noexcept = 0; + virtual int32_t __stdcall put_Certificate(void*) noexcept = 0; + virtual int32_t __stdcall get_HashAlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall put_HashAlgorithmName(void*) noexcept = 0; + virtual int32_t __stdcall get_TimestampInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SigningCertificate(void**) noexcept = 0; + virtual int32_t __stdcall get_Certificates(void**) noexcept = 0; + virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Rsa(void**) noexcept = 0; + virtual int32_t __stdcall get_Dsa(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdh256(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdh384(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdh521(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdsa256(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdsa384(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdsa521(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Ecdsa(void**) noexcept = 0; + virtual int32_t __stdcall get_Ecdh(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DecryptTpmAttestationCredentialAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetTpmAttestationCredentialId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall DecryptTpmAttestationCredentialWithContainerNameAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SoftwareKeyStorageProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_SmartcardKeyStorageProvider(void**) noexcept = 0; + virtual int32_t __stdcall get_PlatformKeyStorageProvider(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PassportKeyStorageProvider(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Exportable(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Exportable(int32_t) noexcept = 0; + virtual int32_t __stdcall get_KeyProtectionLevel(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_KeyProtectionLevel(int32_t) noexcept = 0; + virtual int32_t __stdcall get_InstallOptions(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_InstallOptions(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall put_FriendlyName(void*) noexcept = 0; + virtual int32_t __stdcall get_KeyStorageProviderName(void**) noexcept = 0; + virtual int32_t __stdcall put_KeyStorageProviderName(void*) noexcept = 0; + virtual int32_t __stdcall get_ContainerNamePrefix(void**) noexcept = 0; + virtual int32_t __stdcall put_ContainerNamePrefix(void*) noexcept = 0; + virtual int32_t __stdcall get_ReaderName(void**) noexcept = 0; + virtual int32_t __stdcall put_ReaderName(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Personal(void**) noexcept = 0; + virtual int32_t __stdcall get_TrustedRootCertificationAuthorities(void**) noexcept = 0; + virtual int32_t __stdcall get_IntermediateCertificationAuthorities(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EmailName(void**) noexcept = 0; + virtual int32_t __stdcall get_IPAddress(void**) noexcept = 0; + virtual int32_t __stdcall get_Url(void**) noexcept = 0; + virtual int32_t __stdcall get_DnsName(void**) noexcept = 0; + virtual int32_t __stdcall get_DistinguishedName(void**) noexcept = 0; + virtual int32_t __stdcall get_PrincipalName(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EmailNames(void**) noexcept = 0; + virtual int32_t __stdcall get_IPAddresses(void**) noexcept = 0; + virtual int32_t __stdcall get_Urls(void**) noexcept = 0; + virtual int32_t __stdcall get_DnsNames(void**) noexcept = 0; + virtual int32_t __stdcall get_DistinguishedNames(void**) noexcept = 0; + virtual int32_t __stdcall get_PrincipalNames(void**) noexcept = 0; + virtual int32_t __stdcall get_Extension(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateRequestAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall InstallCertificateAsync(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportPfxDataAsync(void*, void*, int32_t, int32_t, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ImportPfxDataToKspAsync(void*, void*, int32_t, int32_t, uint32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ImportPfxDataToKspWithParametersAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAddAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestDeleteAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificate + { + auto BuildChainAsync(param::async_iterable const& certificates) const; + auto BuildChainAsync(param::async_iterable const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const; + [[nodiscard]] auto SerialNumber() const; + auto GetHashValue() const; + auto GetHashValue(param::hstring const& hashAlgorithmName) const; + auto GetCertificateBlob() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Issuer() const; + [[nodiscard]] auto HasPrivateKey() const; + [[nodiscard]] auto IsStronglyProtected() const; + [[nodiscard]] auto ValidFrom() const; + [[nodiscard]] auto ValidTo() const; + [[nodiscard]] auto EnhancedKeyUsages() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto FriendlyName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificate; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificate2 + { + [[nodiscard]] auto IsSecurityDeviceBound() const; + [[nodiscard]] auto KeyUsages() const; + [[nodiscard]] auto KeyAlgorithmName() const; + [[nodiscard]] auto SignatureAlgorithmName() const; + [[nodiscard]] auto SignatureHashAlgorithmName() const; + [[nodiscard]] auto SubjectAlternativeName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificate2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificate3 + { + [[nodiscard]] auto IsPerUser() const; + [[nodiscard]] auto StoreName() const; + [[nodiscard]] auto KeyStorageProviderName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificate3; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateChain + { + auto Validate() const; + auto Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const; + auto GetCertificates(bool includeRoot) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateChain; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics + { + auto CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; + auto InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2 + { + [[nodiscard]] auto UserCertificateEnrollmentManager() const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3 + { + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateExtension + { + [[nodiscard]] auto ObjectId() const; + auto ObjectId(param::hstring const& value) const; + [[nodiscard]] auto IsCritical() const; + auto IsCritical(bool value) const; + auto EncodeValue(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(array_view value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateExtension; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateFactory + { + auto CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateFactory; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages + { + [[nodiscard]] auto EncipherOnly() const; + auto EncipherOnly(bool value) const; + [[nodiscard]] auto CrlSign() const; + auto CrlSign(bool value) const; + [[nodiscard]] auto KeyCertificateSign() const; + auto KeyCertificateSign(bool value) const; + [[nodiscard]] auto KeyAgreement() const; + auto KeyAgreement(bool value) const; + [[nodiscard]] auto DataEncipherment() const; + auto DataEncipherment(bool value) const; + [[nodiscard]] auto KeyEncipherment() const; + auto KeyEncipherment(bool value) const; + [[nodiscard]] auto NonRepudiation() const; + auto NonRepudiation(bool value) const; + [[nodiscard]] auto DigitalSignature() const; + auto DigitalSignature(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateQuery + { + [[nodiscard]] auto EnhancedKeyUsages() const; + [[nodiscard]] auto IssuerName() const; + auto IssuerName(param::hstring const& value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto Thumbprint() const; + auto Thumbprint(array_view value) const; + [[nodiscard]] auto HardwareOnly() const; + auto HardwareOnly(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateQuery; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2 + { + [[nodiscard]] auto IncludeDuplicates() const; + auto IncludeDuplicates(bool value) const; + [[nodiscard]] auto IncludeExpiredCertificates() const; + auto IncludeExpiredCertificates(bool value) const; + [[nodiscard]] auto StoreName() const; + auto StoreName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties + { + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto KeyAlgorithmName() const; + auto KeyAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto KeySize() const; + auto KeySize(uint32_t value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto HashAlgorithmName() const; + auto HashAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto Exportable() const; + auto Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; + [[nodiscard]] auto KeyUsages() const; + auto KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const; + [[nodiscard]] auto KeyProtectionLevel() const; + auto KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; + [[nodiscard]] auto KeyStorageProviderName() const; + auto KeyStorageProviderName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2 + { + [[nodiscard]] auto SmartcardReaderName() const; + auto SmartcardReaderName(param::hstring const& value) const; + [[nodiscard]] auto SigningCertificate() const; + auto SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto AttestationCredentialCertificate() const; + auto AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3 + { + [[nodiscard]] auto CurveName() const; + auto CurveName(param::hstring const& value) const; + [[nodiscard]] auto CurveParameters() const; + auto CurveParameters(array_view value) const; + [[nodiscard]] auto ContainerNamePrefix() const; + auto ContainerNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto ContainerName() const; + auto ContainerName(param::hstring const& value) const; + [[nodiscard]] auto UseExistingKey() const; + auto UseExistingKey(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4 + { + [[nodiscard]] auto SuppressedDefaults() const; + [[nodiscard]] auto SubjectAlternativeName() const; + [[nodiscard]] auto Extensions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateStore + { + auto Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateStore; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateStore2 + { + [[nodiscard]] auto Name() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateStore2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics + { + auto FindAllAsync() const; + auto FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const; + [[nodiscard]] auto TrustedRootCertificationAuthorities() const; + [[nodiscard]] auto IntermediateCertificationAuthorities() const; + auto GetStoreByName(param::hstring const& storeName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2 + { + auto GetUserStoreByName(param::hstring const& storeName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters + { + [[nodiscard]] auto EnhancedKeyUsages() const; + [[nodiscard]] auto ValidationTimestamp() const; + auto ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto RevocationCheckEnabled() const; + auto RevocationCheckEnabled(bool value) const; + [[nodiscard]] auto NetworkRetrievalEnabled() const; + auto NetworkRetrievalEnabled(bool value) const; + [[nodiscard]] auto AuthorityInformationAccessEnabled() const; + auto AuthorityInformationAccessEnabled(bool value) const; + [[nodiscard]] auto CurrentTimeValidationEnabled() const; + auto CurrentTimeValidationEnabled(bool value) const; + [[nodiscard]] auto ExclusiveTrustRoots() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters + { + [[nodiscard]] auto CertificateChainPolicy() const; + auto CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const; + [[nodiscard]] auto ServerDnsName() const; + auto ServerDnsName(winrt::Windows::Networking::HostName const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature + { + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Signers() const; + auto VerifySignature() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory + { + auto CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics + { + auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature + { + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Signers() const; + auto VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory + { + auto CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics + { + auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo + { + [[nodiscard]] auto Certificate() const; + auto Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto HashAlgorithmName() const; + auto HashAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto TimestampInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo + { + [[nodiscard]] auto SigningCertificate() const; + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Timestamp() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics + { + [[nodiscard]] auto Rsa() const; + [[nodiscard]] auto Dsa() const; + [[nodiscard]] auto Ecdh256() const; + [[nodiscard]] auto Ecdh384() const; + [[nodiscard]] auto Ecdh521() const; + [[nodiscard]] auto Ecdsa256() const; + [[nodiscard]] auto Ecdsa384() const; + [[nodiscard]] auto Ecdsa521() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2 + { + [[nodiscard]] auto Ecdsa() const; + [[nodiscard]] auto Ecdh() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics + { + auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const; + auto GetTpmAttestationCredentialId(param::hstring const& credential) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2 + { + auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics + { + [[nodiscard]] auto SoftwareKeyStorageProvider() const; + [[nodiscard]] auto SmartcardKeyStorageProvider() const; + [[nodiscard]] auto PlatformKeyStorageProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2 + { + [[nodiscard]] auto PassportKeyStorageProvider() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters + { + [[nodiscard]] auto Exportable() const; + auto Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; + [[nodiscard]] auto KeyProtectionLevel() const; + auto KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; + [[nodiscard]] auto InstallOptions() const; + auto InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto KeyStorageProviderName() const; + auto KeyStorageProviderName(param::hstring const& value) const; + [[nodiscard]] auto ContainerNamePrefix() const; + auto ContainerNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto ReaderName() const; + auto ReaderName(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics + { + [[nodiscard]] auto Personal() const; + [[nodiscard]] auto TrustedRootCertificationAuthorities() const; + [[nodiscard]] auto IntermediateCertificationAuthorities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo + { + [[nodiscard]] auto EmailName() const; + [[nodiscard]] auto IPAddress() const; + [[nodiscard]] auto Url() const; + [[nodiscard]] auto DnsName() const; + [[nodiscard]] auto DistinguishedName() const; + [[nodiscard]] auto PrincipalName() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2 + { + [[nodiscard]] auto EmailNames() const; + [[nodiscard]] auto IPAddresses() const; + [[nodiscard]] auto Urls() const; + [[nodiscard]] auto DnsNames() const; + [[nodiscard]] auto DistinguishedNames() const; + [[nodiscard]] auto PrincipalNames() const; + [[nodiscard]] auto Extension() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager + { + auto CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; + auto InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2 + { + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2; + }; + template + struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore + { + auto RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + [[nodiscard]] auto Name() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.1.h new file mode 100644 index 0000000000000000000000000000000000000000..9d8e80565f206299694afd68467761f87775a6da --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.1.h @@ -0,0 +1,314 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Certificates_1_H +#define WINRT_Windows_Security_Cryptography_Certificates_1_H +#include "winrt/impl/Windows.Security.Cryptography.Certificates.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + struct WINRT_IMPL_EMPTY_BASES ICertificate : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificate(std::nullptr_t = nullptr) noexcept {} + ICertificate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificate2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificate2(std::nullptr_t = nullptr) noexcept {} + ICertificate2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificate3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificate3(std::nullptr_t = nullptr) noexcept {} + ICertificate3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateChain : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateChain(std::nullptr_t = nullptr) noexcept {} + ICertificateChain(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateEnrollmentManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateEnrollmentManagerStatics(std::nullptr_t = nullptr) noexcept {} + ICertificateEnrollmentManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateEnrollmentManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateEnrollmentManagerStatics2(std::nullptr_t = nullptr) noexcept {} + ICertificateEnrollmentManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateEnrollmentManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateEnrollmentManagerStatics3(std::nullptr_t = nullptr) noexcept {} + ICertificateEnrollmentManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateExtension : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateExtension(std::nullptr_t = nullptr) noexcept {} + ICertificateExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateFactory(std::nullptr_t = nullptr) noexcept {} + ICertificateFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateKeyUsages : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateKeyUsages(std::nullptr_t = nullptr) noexcept {} + ICertificateKeyUsages(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateQuery : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateQuery(std::nullptr_t = nullptr) noexcept {} + ICertificateQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateQuery2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateQuery2(std::nullptr_t = nullptr) noexcept {} + ICertificateQuery2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateRequestProperties : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateRequestProperties(std::nullptr_t = nullptr) noexcept {} + ICertificateRequestProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateRequestProperties2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateRequestProperties2(std::nullptr_t = nullptr) noexcept {} + ICertificateRequestProperties2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateRequestProperties3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateRequestProperties3(std::nullptr_t = nullptr) noexcept {} + ICertificateRequestProperties3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateRequestProperties4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateRequestProperties4(std::nullptr_t = nullptr) noexcept {} + ICertificateRequestProperties4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateStore(std::nullptr_t = nullptr) noexcept {} + ICertificateStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateStore2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateStore2(std::nullptr_t = nullptr) noexcept {} + ICertificateStore2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateStoresStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateStoresStatics(std::nullptr_t = nullptr) noexcept {} + ICertificateStoresStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICertificateStoresStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICertificateStoresStatics2(std::nullptr_t = nullptr) noexcept {} + ICertificateStoresStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IChainBuildingParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IChainBuildingParameters(std::nullptr_t = nullptr) noexcept {} + IChainBuildingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IChainValidationParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IChainValidationParameters(std::nullptr_t = nullptr) noexcept {} + IChainValidationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsAttachedSignature : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsAttachedSignature(std::nullptr_t = nullptr) noexcept {} + ICmsAttachedSignature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsAttachedSignatureFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsAttachedSignatureFactory(std::nullptr_t = nullptr) noexcept {} + ICmsAttachedSignatureFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsAttachedSignatureStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsAttachedSignatureStatics(std::nullptr_t = nullptr) noexcept {} + ICmsAttachedSignatureStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsDetachedSignature : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsDetachedSignature(std::nullptr_t = nullptr) noexcept {} + ICmsDetachedSignature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsDetachedSignatureFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsDetachedSignatureFactory(std::nullptr_t = nullptr) noexcept {} + ICmsDetachedSignatureFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsDetachedSignatureStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsDetachedSignatureStatics(std::nullptr_t = nullptr) noexcept {} + ICmsDetachedSignatureStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsSignerInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsSignerInfo(std::nullptr_t = nullptr) noexcept {} + ICmsSignerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICmsTimestampInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICmsTimestampInfo(std::nullptr_t = nullptr) noexcept {} + ICmsTimestampInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + IKeyAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyAlgorithmNamesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyAlgorithmNamesStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyAlgorithmNamesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyAttestationHelperStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyAttestationHelperStatics(std::nullptr_t = nullptr) noexcept {} + IKeyAttestationHelperStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyAttestationHelperStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyAttestationHelperStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyAttestationHelperStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyStorageProviderNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyStorageProviderNamesStatics(std::nullptr_t = nullptr) noexcept {} + IKeyStorageProviderNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyStorageProviderNamesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyStorageProviderNamesStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyStorageProviderNamesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPfxImportParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPfxImportParameters(std::nullptr_t = nullptr) noexcept {} + IPfxImportParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IStandardCertificateStoreNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStandardCertificateStoreNamesStatics(std::nullptr_t = nullptr) noexcept {} + IStandardCertificateStoreNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISubjectAlternativeNameInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISubjectAlternativeNameInfo(std::nullptr_t = nullptr) noexcept {} + ISubjectAlternativeNameInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISubjectAlternativeNameInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISubjectAlternativeNameInfo2(std::nullptr_t = nullptr) noexcept {} + ISubjectAlternativeNameInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserCertificateEnrollmentManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserCertificateEnrollmentManager(std::nullptr_t = nullptr) noexcept {} + IUserCertificateEnrollmentManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserCertificateEnrollmentManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserCertificateEnrollmentManager2(std::nullptr_t = nullptr) noexcept {} + IUserCertificateEnrollmentManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserCertificateStore : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserCertificateStore(std::nullptr_t = nullptr) noexcept {} + IUserCertificateStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.2.h new file mode 100644 index 0000000000000000000000000000000000000000..ba8ea3aa51c4ee6c0c1c66465c18d8fbee60ccc5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.certificates.2.h @@ -0,0 +1,178 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Certificates_2_H +#define WINRT_Windows_Security_Cryptography_Certificates_2_H +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Security.Cryptography.Certificates.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + struct WINRT_IMPL_EMPTY_BASES Certificate : winrt::Windows::Security::Cryptography::Certificates::ICertificate, + impl::require + { + Certificate(std::nullptr_t) noexcept {} + Certificate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificate(ptr, take_ownership_from_abi) {} + explicit Certificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateChain : winrt::Windows::Security::Cryptography::Certificates::ICertificateChain + { + CertificateChain(std::nullptr_t) noexcept {} + CertificateChain(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateChain(ptr, take_ownership_from_abi) {} + }; + struct CertificateEnrollmentManager + { + CertificateEnrollmentManager() = delete; + static auto CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request); + static auto InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption); + static auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName); + [[nodiscard]] static auto UserCertificateEnrollmentManager(); + static auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider); + static auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateExtension : winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension + { + CertificateExtension(std::nullptr_t) noexcept {} + CertificateExtension(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension(ptr, take_ownership_from_abi) {} + CertificateExtension(); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateKeyUsages : winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages + { + CertificateKeyUsages(std::nullptr_t) noexcept {} + CertificateKeyUsages(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages(ptr, take_ownership_from_abi) {} + CertificateKeyUsages(); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateQuery : winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery, + impl::require + { + CertificateQuery(std::nullptr_t) noexcept {} + CertificateQuery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery(ptr, take_ownership_from_abi) {} + CertificateQuery(); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateRequestProperties : winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties, + impl::require + { + CertificateRequestProperties(std::nullptr_t) noexcept {} + CertificateRequestProperties(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties(ptr, take_ownership_from_abi) {} + CertificateRequestProperties(); + }; + struct WINRT_IMPL_EMPTY_BASES CertificateStore : winrt::Windows::Security::Cryptography::Certificates::ICertificateStore, + impl::require + { + CertificateStore(std::nullptr_t) noexcept {} + CertificateStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICertificateStore(ptr, take_ownership_from_abi) {} + }; + struct CertificateStores + { + CertificateStores() = delete; + static auto FindAllAsync(); + static auto FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query); + [[nodiscard]] static auto TrustedRootCertificationAuthorities(); + [[nodiscard]] static auto IntermediateCertificationAuthorities(); + static auto GetStoreByName(param::hstring const& storeName); + static auto GetUserStoreByName(param::hstring const& storeName); + }; + struct WINRT_IMPL_EMPTY_BASES ChainBuildingParameters : winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters + { + ChainBuildingParameters(std::nullptr_t) noexcept {} + ChainBuildingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters(ptr, take_ownership_from_abi) {} + ChainBuildingParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES ChainValidationParameters : winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters + { + ChainValidationParameters(std::nullptr_t) noexcept {} + ChainValidationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters(ptr, take_ownership_from_abi) {} + ChainValidationParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES CmsAttachedSignature : winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature + { + CmsAttachedSignature(std::nullptr_t) noexcept {} + CmsAttachedSignature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature(ptr, take_ownership_from_abi) {} + explicit CmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob); + static auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates); + }; + struct WINRT_IMPL_EMPTY_BASES CmsDetachedSignature : winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature + { + CmsDetachedSignature(std::nullptr_t) noexcept {} + CmsDetachedSignature(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature(ptr, take_ownership_from_abi) {} + explicit CmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob); + static auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates); + }; + struct WINRT_IMPL_EMPTY_BASES CmsSignerInfo : winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo + { + CmsSignerInfo(std::nullptr_t) noexcept {} + CmsSignerInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo(ptr, take_ownership_from_abi) {} + CmsSignerInfo(); + }; + struct WINRT_IMPL_EMPTY_BASES CmsTimestampInfo : winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo + { + CmsTimestampInfo(std::nullptr_t) noexcept {} + CmsTimestampInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo(ptr, take_ownership_from_abi) {} + }; + struct KeyAlgorithmNames + { + KeyAlgorithmNames() = delete; + [[nodiscard]] static auto Rsa(); + [[nodiscard]] static auto Dsa(); + [[nodiscard]] static auto Ecdh256(); + [[nodiscard]] static auto Ecdh384(); + [[nodiscard]] static auto Ecdh521(); + [[nodiscard]] static auto Ecdsa256(); + [[nodiscard]] static auto Ecdsa384(); + [[nodiscard]] static auto Ecdsa521(); + [[nodiscard]] static auto Ecdsa(); + [[nodiscard]] static auto Ecdh(); + }; + struct KeyAttestationHelper + { + KeyAttestationHelper() = delete; + static auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential); + static auto GetTpmAttestationCredentialId(param::hstring const& credential); + static auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName); + }; + struct KeyStorageProviderNames + { + KeyStorageProviderNames() = delete; + [[nodiscard]] static auto SoftwareKeyStorageProvider(); + [[nodiscard]] static auto SmartcardKeyStorageProvider(); + [[nodiscard]] static auto PlatformKeyStorageProvider(); + [[nodiscard]] static auto PassportKeyStorageProvider(); + }; + struct WINRT_IMPL_EMPTY_BASES PfxImportParameters : winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters + { + PfxImportParameters(std::nullptr_t) noexcept {} + PfxImportParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters(ptr, take_ownership_from_abi) {} + PfxImportParameters(); + }; + struct StandardCertificateStoreNames + { + StandardCertificateStoreNames() = delete; + [[nodiscard]] static auto Personal(); + [[nodiscard]] static auto TrustedRootCertificationAuthorities(); + [[nodiscard]] static auto IntermediateCertificationAuthorities(); + }; + struct WINRT_IMPL_EMPTY_BASES SubjectAlternativeNameInfo : winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo, + impl::require + { + SubjectAlternativeNameInfo(std::nullptr_t) noexcept {} + SubjectAlternativeNameInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo(ptr, take_ownership_from_abi) {} + SubjectAlternativeNameInfo(); + }; + struct WINRT_IMPL_EMPTY_BASES UserCertificateEnrollmentManager : winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager, + impl::require + { + UserCertificateEnrollmentManager(std::nullptr_t) noexcept {} + UserCertificateEnrollmentManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager(ptr, take_ownership_from_abi) {} + using winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager::ImportPfxDataAsync; + using impl::consume_t::ImportPfxDataAsync; + }; + struct WINRT_IMPL_EMPTY_BASES UserCertificateStore : winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore + { + UserCertificateStore(std::nullptr_t) noexcept {} + UserCertificateStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.0.h new file mode 100644 index 0000000000000000000000000000000000000000..bb51b0ab69374d1b8648179a9444faacd177e162 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.0.h @@ -0,0 +1,1009 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Core_0_H +#define WINRT_Windows_Security_Cryptography_Core_0_H +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates +{ + struct Certificate; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core +{ + enum class Capi1KdfTargetAlgorithm : int32_t + { + NotAes = 0, + Aes = 1, + }; + enum class CryptographicPadding : int32_t + { + None = 0, + RsaOaep = 1, + RsaPkcs1V15 = 2, + RsaPss = 3, + }; + enum class CryptographicPrivateKeyBlobType : int32_t + { + Pkcs8RawPrivateKeyInfo = 0, + Pkcs1RsaPrivateKey = 1, + BCryptPrivateKey = 2, + Capi1PrivateKey = 3, + BCryptEccFullPrivateKey = 4, + }; + enum class CryptographicPublicKeyBlobType : int32_t + { + X509SubjectPublicKeyInfo = 0, + Pkcs1RsaPublicKey = 1, + BCryptPublicKey = 2, + Capi1PublicKey = 3, + BCryptEccFullPublicKey = 4, + }; + struct IAsymmetricAlgorithmNamesStatics; + struct IAsymmetricAlgorithmNamesStatics2; + struct IAsymmetricKeyAlgorithmProvider; + struct IAsymmetricKeyAlgorithmProvider2; + struct IAsymmetricKeyAlgorithmProviderStatics; + struct ICryptographicEngineStatics; + struct ICryptographicEngineStatics2; + struct ICryptographicKey; + struct IEccCurveNamesStatics; + struct IEncryptedAndAuthenticatedData; + struct IHashAlgorithmNamesStatics; + struct IHashAlgorithmProvider; + struct IHashAlgorithmProviderStatics; + struct IHashComputation; + struct IKeyDerivationAlgorithmNamesStatics; + struct IKeyDerivationAlgorithmNamesStatics2; + struct IKeyDerivationAlgorithmProvider; + struct IKeyDerivationAlgorithmProviderStatics; + struct IKeyDerivationParameters; + struct IKeyDerivationParameters2; + struct IKeyDerivationParametersStatics; + struct IKeyDerivationParametersStatics2; + struct IMacAlgorithmNamesStatics; + struct IMacAlgorithmProvider; + struct IMacAlgorithmProvider2; + struct IMacAlgorithmProviderStatics; + struct IPersistedKeyProviderStatics; + struct ISymmetricAlgorithmNamesStatics; + struct ISymmetricKeyAlgorithmProvider; + struct ISymmetricKeyAlgorithmProviderStatics; + struct AsymmetricAlgorithmNames; + struct AsymmetricKeyAlgorithmProvider; + struct CryptographicEngine; + struct CryptographicHash; + struct CryptographicKey; + struct EccCurveNames; + struct EncryptedAndAuthenticatedData; + struct HashAlgorithmNames; + struct HashAlgorithmProvider; + struct KeyDerivationAlgorithmNames; + struct KeyDerivationAlgorithmProvider; + struct KeyDerivationParameters; + struct MacAlgorithmNames; + struct MacAlgorithmProvider; + struct PersistedKeyProvider; + struct SymmetricAlgorithmNames; + struct SymmetricKeyAlgorithmProvider; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicEngine"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicHash"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicKey"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.EccCurveNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.HashAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.HashAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.KeyDerivationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.MacAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.MacAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.PersistedKeyProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.SymmetricAlgorithmNames"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicPadding"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IAsymmetricAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IAsymmetricAlgorithmNamesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IAsymmetricKeyAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IAsymmetricKeyAlgorithmProvider2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IAsymmetricKeyAlgorithmProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ICryptographicEngineStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ICryptographicEngineStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ICryptographicKey"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IEccCurveNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IEncryptedAndAuthenticatedData"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IHashAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IHashAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IHashAlgorithmProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IHashComputation"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationAlgorithmNamesStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationAlgorithmProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationParameters2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationParametersStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IKeyDerivationParametersStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IMacAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IMacAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IMacAlgorithmProvider2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IMacAlgorithmProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.IPersistedKeyProviderStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ISymmetricAlgorithmNamesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ISymmetricKeyAlgorithmProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.Core.ISymmetricKeyAlgorithmProviderStatics"; + template <> inline constexpr guid guid_v{ 0xCAF6FCE4,0x67C0,0x46AA,{ 0x84,0xF9,0x75,0x2E,0x77,0x44,0x9F,0x9B } }; // CAF6FCE4-67C0-46AA-84F9-752E77449F9B + template <> inline constexpr guid guid_v{ 0xF141C0D6,0x4BFF,0x4F23,{ 0xBA,0x66,0x60,0x45,0xB1,0x37,0xD5,0xDF } }; // F141C0D6-4BFF-4F23-BA66-6045B137D5DF + template <> inline constexpr guid guid_v{ 0xE8D2FF37,0x6259,0x4E88,{ 0xB7,0xE0,0x94,0x19,0x1F,0xDE,0x69,0x9E } }; // E8D2FF37-6259-4E88-B7E0-94191FDE699E + template <> inline constexpr guid guid_v{ 0x4E322A7E,0x7C4D,0x4997,{ 0xAC,0x4F,0x1B,0x84,0x8B,0x36,0x30,0x6E } }; // 4E322A7E-7C4D-4997-AC4F-1B848B36306E + template <> inline constexpr guid guid_v{ 0x425BDE18,0xA7F3,0x47A6,{ 0xA8,0xD2,0xC4,0x8D,0x60,0x33,0xA6,0x5C } }; // 425BDE18-A7F3-47A6-A8D2-C48D6033A65C + template <> inline constexpr guid guid_v{ 0x9FEA0639,0x6FF7,0x4C85,{ 0xA0,0x95,0x95,0xEB,0x31,0x71,0x5E,0xB9 } }; // 9FEA0639-6FF7-4C85-A095-95EB31715EB9 + template <> inline constexpr guid guid_v{ 0x675948FE,0xDF9F,0x4191,{ 0x92,0xC7,0x6C,0xE6,0xF5,0x84,0x20,0xE0 } }; // 675948FE-DF9F-4191-92C7-6CE6F58420E0 + template <> inline constexpr guid guid_v{ 0xED2A3B70,0x8E7B,0x4009,{ 0x84,0x01,0xFF,0xD1,0xA6,0x2E,0xEB,0x27 } }; // ED2A3B70-8E7B-4009-8401-FFD1A62EEB27 + template <> inline constexpr guid guid_v{ 0xB3FF930C,0xAEEB,0x409E,{ 0xB7,0xD4,0x9B,0x95,0x29,0x5A,0xAE,0xCF } }; // B3FF930C-AEEB-409E-B7D4-9B95295AAECF + template <> inline constexpr guid guid_v{ 0x6FA42FE7,0x1ECB,0x4B00,{ 0xBE,0xA5,0x60,0xB8,0x3F,0x86,0x2F,0x17 } }; // 6FA42FE7-1ECB-4B00-BEA5-60B83F862F17 + template <> inline constexpr guid guid_v{ 0x6B5E0516,0xDE96,0x4F0A,{ 0x8D,0x57,0xDC,0xC9,0xDA,0xE3,0x6C,0x76 } }; // 6B5E0516-DE96-4F0A-8D57-DCC9DAE36C76 + template <> inline constexpr guid guid_v{ 0xBE9B3080,0xB2C3,0x422B,{ 0xBC,0xE1,0xEC,0x90,0xEF,0xB5,0xD7,0xB5 } }; // BE9B3080-B2C3-422B-BCE1-EC90EFB5D7B5 + template <> inline constexpr guid guid_v{ 0x9FAC9741,0x5CC4,0x4336,{ 0xAE,0x38,0x62,0x12,0xB7,0x5A,0x91,0x5A } }; // 9FAC9741-5CC4-4336-AE38-6212B75A915A + template <> inline constexpr guid guid_v{ 0x5904D1B6,0xAD31,0x4603,{ 0xA3,0xA4,0xB1,0xBD,0xA9,0x8E,0x25,0x62 } }; // 5904D1B6-AD31-4603-A3A4-B1BDA98E2562 + template <> inline constexpr guid guid_v{ 0x7B6E363E,0x94D2,0x4739,{ 0xA5,0x7B,0x02,0x2E,0x0C,0x3A,0x40,0x2A } }; // 7B6E363E-94D2-4739-A57B-022E0C3A402A + template <> inline constexpr guid guid_v{ 0x57953FAB,0x6044,0x466F,{ 0x97,0xF4,0x33,0x7B,0x78,0x08,0x38,0x4D } }; // 57953FAB-6044-466F-97F4-337B7808384D + template <> inline constexpr guid guid_v{ 0xE1FBA83B,0x4671,0x43B7,{ 0x91,0x58,0x76,0x3A,0xAA,0x98,0xB6,0xBF } }; // E1FBA83B-4671-43B7-9158-763AAA98B6BF + template <> inline constexpr guid guid_v{ 0x0A22097A,0x0A1C,0x443B,{ 0x94,0x18,0xB9,0x49,0x8A,0xEB,0x16,0x03 } }; // 0A22097A-0A1C-443B-9418-B9498AEB1603 + template <> inline constexpr guid guid_v{ 0x7BF05967,0x047B,0x4A8C,{ 0x96,0x4A,0x46,0x9F,0xFD,0x55,0x22,0xE2 } }; // 7BF05967-047B-4A8C-964A-469FFD5522E2 + template <> inline constexpr guid guid_v{ 0xCD4166D1,0x417E,0x4F4C,{ 0xB6,0x66,0xC0,0xD8,0x79,0xF3,0xF8,0xE0 } }; // CD4166D1-417E-4F4C-B666-C0D879F3F8E0 + template <> inline constexpr guid guid_v{ 0xEA961FBE,0xF37F,0x4146,{ 0x9D,0xFE,0xA4,0x56,0xF1,0x73,0x5F,0x4B } }; // EA961FBE-F37F-4146-9DFE-A456F1735F4B + template <> inline constexpr guid guid_v{ 0xA5783DD5,0x58E3,0x4EFB,{ 0xB2,0x83,0xA1,0x65,0x31,0x26,0xE1,0xBE } }; // A5783DD5-58E3-4EFB-B283-A1653126E1BE + template <> inline constexpr guid guid_v{ 0x41412678,0xFB1E,0x43A4,{ 0x89,0x5E,0xA9,0x02,0x6E,0x43,0x90,0xA3 } }; // 41412678-FB1E-43A4-895E-A9026E4390A3 + template <> inline constexpr guid guid_v{ 0x4A3FC5C3,0x1CBD,0x41CE,{ 0xA0,0x92,0xAA,0x0B,0xC5,0xD2,0xD2,0xF5 } }; // 4A3FC5C3-1CBD-41CE-A092-AA0BC5D2D2F5 + template <> inline constexpr guid guid_v{ 0x6DA32A15,0xD931,0x42ED,{ 0x8E,0x7E,0xC3,0x01,0xCA,0xEE,0x11,0x9C } }; // 6DA32A15-D931-42ED-8E7E-C301CAEE119C + template <> inline constexpr guid guid_v{ 0xC9BDC147,0xCC77,0x4DF0,{ 0x9E,0x4E,0xB9,0x21,0xE0,0x80,0x64,0x4C } }; // C9BDC147-CC77-4DF0-9E4E-B921E080644C + template <> inline constexpr guid guid_v{ 0x77274814,0xD9D4,0x4CF5,{ 0xB6,0x68,0xE0,0x45,0x7D,0xF3,0x08,0x94 } }; // 77274814-D9D4-4CF5-B668-E0457DF30894 + template <> inline constexpr guid guid_v{ 0x6870727B,0xC996,0x4EAE,{ 0x84,0xD7,0x79,0xB2,0xAE,0xB7,0x3B,0x9C } }; // 6870727B-C996-4EAE-84D7-79B2AEB73B9C + template <> inline constexpr guid guid_v{ 0x3D7E4A33,0x3BD0,0x4902,{ 0x8A,0xC8,0x47,0x0D,0x50,0xD2,0x13,0x76 } }; // 3D7E4A33-3BD0-4902-8AC8-470D50D21376 + template <> inline constexpr guid guid_v{ 0x8D3B2326,0x1F37,0x491F,{ 0xB6,0x0E,0xF5,0x43,0x1B,0x26,0xB4,0x83 } }; // 8D3B2326-1F37-491F-B60E-F5431B26B483 + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IHashComputation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::ICryptographicKey; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RsaPkcs1(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaOaepSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaOaepSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaOaepSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaOaepSha512(void**) noexcept = 0; + virtual int32_t __stdcall get_EcdsaP256Sha256(void**) noexcept = 0; + virtual int32_t __stdcall get_EcdsaP384Sha384(void**) noexcept = 0; + virtual int32_t __stdcall get_EcdsaP521Sha512(void**) noexcept = 0; + virtual int32_t __stdcall get_DsaSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_DsaSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPkcs1Sha1(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPkcs1Sha256(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPkcs1Sha384(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPkcs1Sha512(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPssSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPssSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPssSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_RsaSignPssSha512(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EcdsaSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_EcdsaSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_EcdsaSha512(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall CreateKeyPair(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportDefaultPrivateKeyBlob(void*, void**) noexcept = 0; + virtual int32_t __stdcall ImportKeyPairWithBlobType(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ImportDefaultPublicKeyBlob(void*, void**) noexcept = 0; + virtual int32_t __stdcall ImportPublicKeyWithBlobType(void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateKeyPairWithCurveName(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateKeyPairWithCurveParameters(uint32_t, uint8_t*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenAlgorithm(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Encrypt(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Decrypt(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall EncryptAndAuthenticate(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall DecryptAndAuthenticate(void*, void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Sign(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall VerifySignature(void*, void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall DeriveKeyMaterial(void*, void*, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall SignHashedData(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall VerifySignatureWithHashInput(void*, void*, void*, bool*) noexcept = 0; + virtual int32_t __stdcall DecryptAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SignAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall SignHashedDataAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_KeySize(uint32_t*) noexcept = 0; + virtual int32_t __stdcall ExportDefaultPrivateKeyBlobType(void**) noexcept = 0; + virtual int32_t __stdcall ExportPrivateKeyWithBlobType(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall ExportDefaultPublicKeyBlobType(void**) noexcept = 0; + virtual int32_t __stdcall ExportPublicKeyWithBlobType(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_BrainpoolP160r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP160t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP192r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP192t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP224r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP224t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP256r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP256t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP320r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP320t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP384r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP384t1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP512r1(void**) noexcept = 0; + virtual int32_t __stdcall get_BrainpoolP512t1(void**) noexcept = 0; + virtual int32_t __stdcall get_Curve25519(void**) noexcept = 0; + virtual int32_t __stdcall get_Ec192wapi(void**) noexcept = 0; + virtual int32_t __stdcall get_NistP192(void**) noexcept = 0; + virtual int32_t __stdcall get_NistP224(void**) noexcept = 0; + virtual int32_t __stdcall get_NistP256(void**) noexcept = 0; + virtual int32_t __stdcall get_NistP384(void**) noexcept = 0; + virtual int32_t __stdcall get_NistP521(void**) noexcept = 0; + virtual int32_t __stdcall get_NumsP256t1(void**) noexcept = 0; + virtual int32_t __stdcall get_NumsP384t1(void**) noexcept = 0; + virtual int32_t __stdcall get_NumsP512t1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP160k1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP160r1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP160r2(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP192k1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP192r1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP224k1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP224r1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP256k1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP256r1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP384r1(void**) noexcept = 0; + virtual int32_t __stdcall get_SecP521r1(void**) noexcept = 0; + virtual int32_t __stdcall get_Wtls7(void**) noexcept = 0; + virtual int32_t __stdcall get_Wtls9(void**) noexcept = 0; + virtual int32_t __stdcall get_Wtls12(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P192v1(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P192v2(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P192v3(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P239v1(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P239v2(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P239v3(void**) noexcept = 0; + virtual int32_t __stdcall get_X962P256v1(void**) noexcept = 0; + virtual int32_t __stdcall get_AllEccCurveNames(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncryptedData(void**) noexcept = 0; + virtual int32_t __stdcall get_AuthenticationTag(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Md5(void**) noexcept = 0; + virtual int32_t __stdcall get_Sha1(void**) noexcept = 0; + virtual int32_t __stdcall get_Sha256(void**) noexcept = 0; + virtual int32_t __stdcall get_Sha384(void**) noexcept = 0; + virtual int32_t __stdcall get_Sha512(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_HashLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall HashData(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateHash(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenAlgorithm(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Append(void*) noexcept = 0; + virtual int32_t __stdcall GetValueAndReset(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Pbkdf2Md5(void**) noexcept = 0; + virtual int32_t __stdcall get_Pbkdf2Sha1(void**) noexcept = 0; + virtual int32_t __stdcall get_Pbkdf2Sha256(void**) noexcept = 0; + virtual int32_t __stdcall get_Pbkdf2Sha384(void**) noexcept = 0; + virtual int32_t __stdcall get_Pbkdf2Sha512(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp800108CtrHmacMd5(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp800108CtrHmacSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp800108CtrHmacSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp800108CtrHmacSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp800108CtrHmacSha512(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp80056aConcatMd5(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp80056aConcatSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp80056aConcatSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp80056aConcatSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_Sp80056aConcatSha512(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CapiKdfMd5(void**) noexcept = 0; + virtual int32_t __stdcall get_CapiKdfSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_CapiKdfSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_CapiKdfSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_CapiKdfSha512(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall CreateKey(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenAlgorithm(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_KdfGenericBinary(void**) noexcept = 0; + virtual int32_t __stdcall put_KdfGenericBinary(void*) noexcept = 0; + virtual int32_t __stdcall get_IterationCount(uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Capi1KdfTargetAlgorithm(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Capi1KdfTargetAlgorithm(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BuildForPbkdf2(void*, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildForSP800108(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall BuildForSP80056a(void*, void*, void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BuildForCapi1Kdf(int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HmacMd5(void**) noexcept = 0; + virtual int32_t __stdcall get_HmacSha1(void**) noexcept = 0; + virtual int32_t __stdcall get_HmacSha256(void**) noexcept = 0; + virtual int32_t __stdcall get_HmacSha384(void**) noexcept = 0; + virtual int32_t __stdcall get_HmacSha512(void**) noexcept = 0; + virtual int32_t __stdcall get_AesCmac(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_MacLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall CreateKey(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateHash(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenAlgorithm(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenKeyPairFromCertificateAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall OpenPublicKeyFromCertificate(void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DesCbc(void**) noexcept = 0; + virtual int32_t __stdcall get_DesEcb(void**) noexcept = 0; + virtual int32_t __stdcall get_TripleDesCbc(void**) noexcept = 0; + virtual int32_t __stdcall get_TripleDesEcb(void**) noexcept = 0; + virtual int32_t __stdcall get_Rc2Cbc(void**) noexcept = 0; + virtual int32_t __stdcall get_Rc2Ecb(void**) noexcept = 0; + virtual int32_t __stdcall get_AesCbc(void**) noexcept = 0; + virtual int32_t __stdcall get_AesEcb(void**) noexcept = 0; + virtual int32_t __stdcall get_AesGcm(void**) noexcept = 0; + virtual int32_t __stdcall get_AesCcm(void**) noexcept = 0; + virtual int32_t __stdcall get_AesCbcPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_AesEcbPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_DesCbcPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_DesEcbPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_TripleDesCbcPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_TripleDesEcbPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_Rc2CbcPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_Rc2EcbPkcs7(void**) noexcept = 0; + virtual int32_t __stdcall get_Rc4(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AlgorithmName(void**) noexcept = 0; + virtual int32_t __stdcall get_BlockLength(uint32_t*) noexcept = 0; + virtual int32_t __stdcall CreateSymmetricKey(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall OpenAlgorithm(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics + { + [[nodiscard]] auto RsaPkcs1() const; + [[nodiscard]] auto RsaOaepSha1() const; + [[nodiscard]] auto RsaOaepSha256() const; + [[nodiscard]] auto RsaOaepSha384() const; + [[nodiscard]] auto RsaOaepSha512() const; + [[nodiscard]] auto EcdsaP256Sha256() const; + [[nodiscard]] auto EcdsaP384Sha384() const; + [[nodiscard]] auto EcdsaP521Sha512() const; + [[nodiscard]] auto DsaSha1() const; + [[nodiscard]] auto DsaSha256() const; + [[nodiscard]] auto RsaSignPkcs1Sha1() const; + [[nodiscard]] auto RsaSignPkcs1Sha256() const; + [[nodiscard]] auto RsaSignPkcs1Sha384() const; + [[nodiscard]] auto RsaSignPkcs1Sha512() const; + [[nodiscard]] auto RsaSignPssSha1() const; + [[nodiscard]] auto RsaSignPssSha256() const; + [[nodiscard]] auto RsaSignPssSha384() const; + [[nodiscard]] auto RsaSignPssSha512() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2 + { + [[nodiscard]] auto EcdsaSha256() const; + [[nodiscard]] auto EcdsaSha384() const; + [[nodiscard]] auto EcdsaSha512() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider + { + [[nodiscard]] auto AlgorithmName() const; + auto CreateKeyPair(uint32_t keySize) const; + auto ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; + auto ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; + auto ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; + auto ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider; + }; + template + struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2 + { + auto CreateKeyPairWithCurveName(param::hstring const& curveName) const; + auto CreateKeyPairWithCurveParameters(array_view parameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics + { + auto OpenAlgorithm(param::hstring const& algorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics + { + auto Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; + auto DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; + auto Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; + auto DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2 + { + auto SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; + auto DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Core_ICryptographicKey + { + [[nodiscard]] auto KeySize() const; + auto Export() const; + auto Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; + auto ExportPublicKey() const; + auto ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ICryptographicKey; + }; + template + struct consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics + { + [[nodiscard]] auto BrainpoolP160r1() const; + [[nodiscard]] auto BrainpoolP160t1() const; + [[nodiscard]] auto BrainpoolP192r1() const; + [[nodiscard]] auto BrainpoolP192t1() const; + [[nodiscard]] auto BrainpoolP224r1() const; + [[nodiscard]] auto BrainpoolP224t1() const; + [[nodiscard]] auto BrainpoolP256r1() const; + [[nodiscard]] auto BrainpoolP256t1() const; + [[nodiscard]] auto BrainpoolP320r1() const; + [[nodiscard]] auto BrainpoolP320t1() const; + [[nodiscard]] auto BrainpoolP384r1() const; + [[nodiscard]] auto BrainpoolP384t1() const; + [[nodiscard]] auto BrainpoolP512r1() const; + [[nodiscard]] auto BrainpoolP512t1() const; + [[nodiscard]] auto Curve25519() const; + [[nodiscard]] auto Ec192wapi() const; + [[nodiscard]] auto NistP192() const; + [[nodiscard]] auto NistP224() const; + [[nodiscard]] auto NistP256() const; + [[nodiscard]] auto NistP384() const; + [[nodiscard]] auto NistP521() const; + [[nodiscard]] auto NumsP256t1() const; + [[nodiscard]] auto NumsP384t1() const; + [[nodiscard]] auto NumsP512t1() const; + [[nodiscard]] auto SecP160k1() const; + [[nodiscard]] auto SecP160r1() const; + [[nodiscard]] auto SecP160r2() const; + [[nodiscard]] auto SecP192k1() const; + [[nodiscard]] auto SecP192r1() const; + [[nodiscard]] auto SecP224k1() const; + [[nodiscard]] auto SecP224r1() const; + [[nodiscard]] auto SecP256k1() const; + [[nodiscard]] auto SecP256r1() const; + [[nodiscard]] auto SecP384r1() const; + [[nodiscard]] auto SecP521r1() const; + [[nodiscard]] auto Wtls7() const; + [[nodiscard]] auto Wtls9() const; + [[nodiscard]] auto Wtls12() const; + [[nodiscard]] auto X962P192v1() const; + [[nodiscard]] auto X962P192v2() const; + [[nodiscard]] auto X962P192v3() const; + [[nodiscard]] auto X962P239v1() const; + [[nodiscard]] auto X962P239v2() const; + [[nodiscard]] auto X962P239v3() const; + [[nodiscard]] auto X962P256v1() const; + [[nodiscard]] auto AllEccCurveNames() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData + { + [[nodiscard]] auto EncryptedData() const; + [[nodiscard]] auto AuthenticationTag() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData; + }; + template + struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics + { + [[nodiscard]] auto Md5() const; + [[nodiscard]] auto Sha1() const; + [[nodiscard]] auto Sha256() const; + [[nodiscard]] auto Sha384() const; + [[nodiscard]] auto Sha512() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider + { + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto HashLength() const; + auto HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto CreateHash() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider; + }; + template + struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics + { + auto OpenAlgorithm(param::hstring const& algorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IHashComputation + { + auto Append(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto GetValueAndReset() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IHashComputation; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics + { + [[nodiscard]] auto Pbkdf2Md5() const; + [[nodiscard]] auto Pbkdf2Sha1() const; + [[nodiscard]] auto Pbkdf2Sha256() const; + [[nodiscard]] auto Pbkdf2Sha384() const; + [[nodiscard]] auto Pbkdf2Sha512() const; + [[nodiscard]] auto Sp800108CtrHmacMd5() const; + [[nodiscard]] auto Sp800108CtrHmacSha1() const; + [[nodiscard]] auto Sp800108CtrHmacSha256() const; + [[nodiscard]] auto Sp800108CtrHmacSha384() const; + [[nodiscard]] auto Sp800108CtrHmacSha512() const; + [[nodiscard]] auto Sp80056aConcatMd5() const; + [[nodiscard]] auto Sp80056aConcatSha1() const; + [[nodiscard]] auto Sp80056aConcatSha256() const; + [[nodiscard]] auto Sp80056aConcatSha384() const; + [[nodiscard]] auto Sp80056aConcatSha512() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2 + { + [[nodiscard]] auto CapiKdfMd5() const; + [[nodiscard]] auto CapiKdfSha1() const; + [[nodiscard]] auto CapiKdfSha256() const; + [[nodiscard]] auto CapiKdfSha384() const; + [[nodiscard]] auto CapiKdfSha512() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider + { + [[nodiscard]] auto AlgorithmName() const; + auto CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics + { + auto OpenAlgorithm(param::hstring const& algorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters + { + [[nodiscard]] auto KdfGenericBinary() const; + auto KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto IterationCount() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2 + { + [[nodiscard]] auto Capi1KdfTargetAlgorithm() const; + auto Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics + { + auto BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const; + auto BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const; + auto BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2 + { + auto BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics + { + [[nodiscard]] auto HmacMd5() const; + [[nodiscard]] auto HmacSha1() const; + [[nodiscard]] auto HmacSha256() const; + [[nodiscard]] auto HmacSha384() const; + [[nodiscard]] auto HmacSha512() const; + [[nodiscard]] auto AesCmac() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider + { + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto MacLength() const; + auto CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider; + }; + template + struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2 + { + auto CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2; + }; + template + struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics + { + auto OpenAlgorithm(param::hstring const& algorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics + { + auto OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; + auto OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics + { + [[nodiscard]] auto DesCbc() const; + [[nodiscard]] auto DesEcb() const; + [[nodiscard]] auto TripleDesCbc() const; + [[nodiscard]] auto TripleDesEcb() const; + [[nodiscard]] auto Rc2Cbc() const; + [[nodiscard]] auto Rc2Ecb() const; + [[nodiscard]] auto AesCbc() const; + [[nodiscard]] auto AesEcb() const; + [[nodiscard]] auto AesGcm() const; + [[nodiscard]] auto AesCcm() const; + [[nodiscard]] auto AesCbcPkcs7() const; + [[nodiscard]] auto AesEcbPkcs7() const; + [[nodiscard]] auto DesCbcPkcs7() const; + [[nodiscard]] auto DesEcbPkcs7() const; + [[nodiscard]] auto TripleDesCbcPkcs7() const; + [[nodiscard]] auto TripleDesEcbPkcs7() const; + [[nodiscard]] auto Rc2CbcPkcs7() const; + [[nodiscard]] auto Rc2EcbPkcs7() const; + [[nodiscard]] auto Rc4() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics; + }; + template + struct consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider + { + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto BlockLength() const; + auto CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider; + }; + template + struct consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics + { + auto OpenAlgorithm(param::hstring const& algorithm) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.1.h new file mode 100644 index 0000000000000000000000000000000000000000..eaf7aeb8ca9e736fbdcf4216fce19fe12ae75882 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.1.h @@ -0,0 +1,223 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Core_1_H +#define WINRT_Windows_Security_Cryptography_Core_1_H +#include "winrt/impl/Windows.Security.Cryptography.Core.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core +{ + struct WINRT_IMPL_EMPTY_BASES IAsymmetricAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsymmetricAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + IAsymmetricAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAsymmetricAlgorithmNamesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsymmetricAlgorithmNamesStatics2(std::nullptr_t = nullptr) noexcept {} + IAsymmetricAlgorithmNamesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAsymmetricKeyAlgorithmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsymmetricKeyAlgorithmProvider(std::nullptr_t = nullptr) noexcept {} + IAsymmetricKeyAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAsymmetricKeyAlgorithmProvider2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsymmetricKeyAlgorithmProvider2(std::nullptr_t = nullptr) noexcept {} + IAsymmetricKeyAlgorithmProvider2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IAsymmetricKeyAlgorithmProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAsymmetricKeyAlgorithmProviderStatics(std::nullptr_t = nullptr) noexcept {} + IAsymmetricKeyAlgorithmProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICryptographicEngineStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICryptographicEngineStatics(std::nullptr_t = nullptr) noexcept {} + ICryptographicEngineStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICryptographicEngineStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICryptographicEngineStatics2(std::nullptr_t = nullptr) noexcept {} + ICryptographicEngineStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ICryptographicKey : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICryptographicKey(std::nullptr_t = nullptr) noexcept {} + ICryptographicKey(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEccCurveNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEccCurveNamesStatics(std::nullptr_t = nullptr) noexcept {} + IEccCurveNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEncryptedAndAuthenticatedData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEncryptedAndAuthenticatedData(std::nullptr_t = nullptr) noexcept {} + IEncryptedAndAuthenticatedData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHashAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHashAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + IHashAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHashAlgorithmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHashAlgorithmProvider(std::nullptr_t = nullptr) noexcept {} + IHashAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHashAlgorithmProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHashAlgorithmProviderStatics(std::nullptr_t = nullptr) noexcept {} + IHashAlgorithmProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IHashComputation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHashComputation(std::nullptr_t = nullptr) noexcept {} + IHashComputation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationAlgorithmNamesStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationAlgorithmNamesStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationAlgorithmNamesStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationAlgorithmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationAlgorithmProvider(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationAlgorithmProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationAlgorithmProviderStatics(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationAlgorithmProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationParameters(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationParameters2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationParameters2(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationParameters2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationParametersStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationParametersStatics(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationParametersStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IKeyDerivationParametersStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IKeyDerivationParametersStatics2(std::nullptr_t = nullptr) noexcept {} + IKeyDerivationParametersStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMacAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMacAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + IMacAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMacAlgorithmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMacAlgorithmProvider(std::nullptr_t = nullptr) noexcept {} + IMacAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMacAlgorithmProvider2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMacAlgorithmProvider2(std::nullptr_t = nullptr) noexcept {} + IMacAlgorithmProvider2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMacAlgorithmProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMacAlgorithmProviderStatics(std::nullptr_t = nullptr) noexcept {} + IMacAlgorithmProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IPersistedKeyProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPersistedKeyProviderStatics(std::nullptr_t = nullptr) noexcept {} + IPersistedKeyProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISymmetricAlgorithmNamesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISymmetricAlgorithmNamesStatics(std::nullptr_t = nullptr) noexcept {} + ISymmetricAlgorithmNamesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISymmetricKeyAlgorithmProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISymmetricKeyAlgorithmProvider(std::nullptr_t = nullptr) noexcept {} + ISymmetricKeyAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ISymmetricKeyAlgorithmProviderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISymmetricKeyAlgorithmProviderStatics(std::nullptr_t = nullptr) noexcept {} + ISymmetricKeyAlgorithmProviderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.2.h new file mode 100644 index 0000000000000000000000000000000000000000..1adf93ab719d02286348e46319eaaa2d381fb8cf --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.core.2.h @@ -0,0 +1,235 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_Core_2_H +#define WINRT_Windows_Security_Cryptography_Core_2_H +#include "winrt/impl/Windows.Security.Cryptography.Certificates.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Security.Cryptography.Core.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core +{ + struct AsymmetricAlgorithmNames + { + AsymmetricAlgorithmNames() = delete; + [[nodiscard]] static auto RsaPkcs1(); + [[nodiscard]] static auto RsaOaepSha1(); + [[nodiscard]] static auto RsaOaepSha256(); + [[nodiscard]] static auto RsaOaepSha384(); + [[nodiscard]] static auto RsaOaepSha512(); + [[nodiscard]] static auto EcdsaP256Sha256(); + [[nodiscard]] static auto EcdsaP384Sha384(); + [[nodiscard]] static auto EcdsaP521Sha512(); + [[nodiscard]] static auto DsaSha1(); + [[nodiscard]] static auto DsaSha256(); + [[nodiscard]] static auto RsaSignPkcs1Sha1(); + [[nodiscard]] static auto RsaSignPkcs1Sha256(); + [[nodiscard]] static auto RsaSignPkcs1Sha384(); + [[nodiscard]] static auto RsaSignPkcs1Sha512(); + [[nodiscard]] static auto RsaSignPssSha1(); + [[nodiscard]] static auto RsaSignPssSha256(); + [[nodiscard]] static auto RsaSignPssSha384(); + [[nodiscard]] static auto RsaSignPssSha512(); + [[nodiscard]] static auto EcdsaSha256(); + [[nodiscard]] static auto EcdsaSha384(); + [[nodiscard]] static auto EcdsaSha512(); + }; + struct WINRT_IMPL_EMPTY_BASES AsymmetricKeyAlgorithmProvider : winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider, + impl::require + { + AsymmetricKeyAlgorithmProvider(std::nullptr_t) noexcept {} + AsymmetricKeyAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider(ptr, take_ownership_from_abi) {} + static auto OpenAlgorithm(param::hstring const& algorithm); + }; + struct CryptographicEngine + { + CryptographicEngine() = delete; + static auto Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv); + static auto Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv); + static auto EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData); + static auto DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData); + static auto Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data); + static auto VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature); + static auto DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize); + static auto SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data); + static auto VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature); + static auto DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv); + static auto SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data); + static auto SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data); + }; + struct WINRT_IMPL_EMPTY_BASES CryptographicHash : winrt::Windows::Security::Cryptography::Core::IHashComputation + { + CryptographicHash(std::nullptr_t) noexcept {} + CryptographicHash(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IHashComputation(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES CryptographicKey : winrt::Windows::Security::Cryptography::Core::ICryptographicKey + { + CryptographicKey(std::nullptr_t) noexcept {} + CryptographicKey(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::ICryptographicKey(ptr, take_ownership_from_abi) {} + }; + struct EccCurveNames + { + EccCurveNames() = delete; + [[nodiscard]] static auto BrainpoolP160r1(); + [[nodiscard]] static auto BrainpoolP160t1(); + [[nodiscard]] static auto BrainpoolP192r1(); + [[nodiscard]] static auto BrainpoolP192t1(); + [[nodiscard]] static auto BrainpoolP224r1(); + [[nodiscard]] static auto BrainpoolP224t1(); + [[nodiscard]] static auto BrainpoolP256r1(); + [[nodiscard]] static auto BrainpoolP256t1(); + [[nodiscard]] static auto BrainpoolP320r1(); + [[nodiscard]] static auto BrainpoolP320t1(); + [[nodiscard]] static auto BrainpoolP384r1(); + [[nodiscard]] static auto BrainpoolP384t1(); + [[nodiscard]] static auto BrainpoolP512r1(); + [[nodiscard]] static auto BrainpoolP512t1(); + [[nodiscard]] static auto Curve25519(); + [[nodiscard]] static auto Ec192wapi(); + [[nodiscard]] static auto NistP192(); + [[nodiscard]] static auto NistP224(); + [[nodiscard]] static auto NistP256(); + [[nodiscard]] static auto NistP384(); + [[nodiscard]] static auto NistP521(); + [[nodiscard]] static auto NumsP256t1(); + [[nodiscard]] static auto NumsP384t1(); + [[nodiscard]] static auto NumsP512t1(); + [[nodiscard]] static auto SecP160k1(); + [[nodiscard]] static auto SecP160r1(); + [[nodiscard]] static auto SecP160r2(); + [[nodiscard]] static auto SecP192k1(); + [[nodiscard]] static auto SecP192r1(); + [[nodiscard]] static auto SecP224k1(); + [[nodiscard]] static auto SecP224r1(); + [[nodiscard]] static auto SecP256k1(); + [[nodiscard]] static auto SecP256r1(); + [[nodiscard]] static auto SecP384r1(); + [[nodiscard]] static auto SecP521r1(); + [[nodiscard]] static auto Wtls7(); + [[nodiscard]] static auto Wtls9(); + [[nodiscard]] static auto Wtls12(); + [[nodiscard]] static auto X962P192v1(); + [[nodiscard]] static auto X962P192v2(); + [[nodiscard]] static auto X962P192v3(); + [[nodiscard]] static auto X962P239v1(); + [[nodiscard]] static auto X962P239v2(); + [[nodiscard]] static auto X962P239v3(); + [[nodiscard]] static auto X962P256v1(); + [[nodiscard]] static auto AllEccCurveNames(); + }; + struct WINRT_IMPL_EMPTY_BASES EncryptedAndAuthenticatedData : winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData + { + EncryptedAndAuthenticatedData(std::nullptr_t) noexcept {} + EncryptedAndAuthenticatedData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData(ptr, take_ownership_from_abi) {} + }; + struct HashAlgorithmNames + { + HashAlgorithmNames() = delete; + [[nodiscard]] static auto Md5(); + [[nodiscard]] static auto Sha1(); + [[nodiscard]] static auto Sha256(); + [[nodiscard]] static auto Sha384(); + [[nodiscard]] static auto Sha512(); + }; + struct WINRT_IMPL_EMPTY_BASES HashAlgorithmProvider : winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider + { + HashAlgorithmProvider(std::nullptr_t) noexcept {} + HashAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider(ptr, take_ownership_from_abi) {} + static auto OpenAlgorithm(param::hstring const& algorithm); + }; + struct KeyDerivationAlgorithmNames + { + KeyDerivationAlgorithmNames() = delete; + [[nodiscard]] static auto Pbkdf2Md5(); + [[nodiscard]] static auto Pbkdf2Sha1(); + [[nodiscard]] static auto Pbkdf2Sha256(); + [[nodiscard]] static auto Pbkdf2Sha384(); + [[nodiscard]] static auto Pbkdf2Sha512(); + [[nodiscard]] static auto Sp800108CtrHmacMd5(); + [[nodiscard]] static auto Sp800108CtrHmacSha1(); + [[nodiscard]] static auto Sp800108CtrHmacSha256(); + [[nodiscard]] static auto Sp800108CtrHmacSha384(); + [[nodiscard]] static auto Sp800108CtrHmacSha512(); + [[nodiscard]] static auto Sp80056aConcatMd5(); + [[nodiscard]] static auto Sp80056aConcatSha1(); + [[nodiscard]] static auto Sp80056aConcatSha256(); + [[nodiscard]] static auto Sp80056aConcatSha384(); + [[nodiscard]] static auto Sp80056aConcatSha512(); + [[nodiscard]] static auto CapiKdfMd5(); + [[nodiscard]] static auto CapiKdfSha1(); + [[nodiscard]] static auto CapiKdfSha256(); + [[nodiscard]] static auto CapiKdfSha384(); + [[nodiscard]] static auto CapiKdfSha512(); + }; + struct WINRT_IMPL_EMPTY_BASES KeyDerivationAlgorithmProvider : winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider + { + KeyDerivationAlgorithmProvider(std::nullptr_t) noexcept {} + KeyDerivationAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider(ptr, take_ownership_from_abi) {} + static auto OpenAlgorithm(param::hstring const& algorithm); + }; + struct WINRT_IMPL_EMPTY_BASES KeyDerivationParameters : winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters, + impl::require + { + KeyDerivationParameters(std::nullptr_t) noexcept {} + KeyDerivationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters(ptr, take_ownership_from_abi) {} + static auto BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount); + static auto BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context); + static auto BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo); + static auto BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm); + }; + struct MacAlgorithmNames + { + MacAlgorithmNames() = delete; + [[nodiscard]] static auto HmacMd5(); + [[nodiscard]] static auto HmacSha1(); + [[nodiscard]] static auto HmacSha256(); + [[nodiscard]] static auto HmacSha384(); + [[nodiscard]] static auto HmacSha512(); + [[nodiscard]] static auto AesCmac(); + }; + struct WINRT_IMPL_EMPTY_BASES MacAlgorithmProvider : winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider, + impl::require + { + MacAlgorithmProvider(std::nullptr_t) noexcept {} + MacAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider(ptr, take_ownership_from_abi) {} + static auto OpenAlgorithm(param::hstring const& algorithm); + }; + struct PersistedKeyProvider + { + PersistedKeyProvider() = delete; + static auto OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding); + static auto OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding); + }; + struct SymmetricAlgorithmNames + { + SymmetricAlgorithmNames() = delete; + [[nodiscard]] static auto DesCbc(); + [[nodiscard]] static auto DesEcb(); + [[nodiscard]] static auto TripleDesCbc(); + [[nodiscard]] static auto TripleDesEcb(); + [[nodiscard]] static auto Rc2Cbc(); + [[nodiscard]] static auto Rc2Ecb(); + [[nodiscard]] static auto AesCbc(); + [[nodiscard]] static auto AesEcb(); + [[nodiscard]] static auto AesGcm(); + [[nodiscard]] static auto AesCcm(); + [[nodiscard]] static auto AesCbcPkcs7(); + [[nodiscard]] static auto AesEcbPkcs7(); + [[nodiscard]] static auto DesCbcPkcs7(); + [[nodiscard]] static auto DesEcbPkcs7(); + [[nodiscard]] static auto TripleDesCbcPkcs7(); + [[nodiscard]] static auto TripleDesEcbPkcs7(); + [[nodiscard]] static auto Rc2CbcPkcs7(); + [[nodiscard]] static auto Rc2EcbPkcs7(); + [[nodiscard]] static auto Rc4(); + }; + struct WINRT_IMPL_EMPTY_BASES SymmetricKeyAlgorithmProvider : winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider + { + SymmetricKeyAlgorithmProvider(std::nullptr_t) noexcept {} + SymmetricKeyAlgorithmProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider(ptr, take_ownership_from_abi) {} + static auto OpenAlgorithm(param::hstring const& algorithm); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ccce5d8fdf24c948e675c6514c2e75b547d7831a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.0.h @@ -0,0 +1,75 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_DataProtection_0_H +#define WINRT_Windows_Security_Cryptography_DataProtection_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; +} +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::DataProtection +{ + struct IDataProtectionProvider; + struct IDataProtectionProviderFactory; + struct DataProtectionProvider; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.DataProtection.DataProtectionProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.DataProtection.IDataProtectionProvider"; + template <> inline constexpr auto& name_v = L"Windows.Security.Cryptography.DataProtection.IDataProtectionProviderFactory"; + template <> inline constexpr guid guid_v{ 0x09639948,0xED22,0x4270,{ 0xBD,0x1C,0x6D,0x72,0xC0,0x0F,0x87,0x87 } }; // 09639948-ED22-4270-BD1C-6D72C00F8787 + template <> inline constexpr guid guid_v{ 0xADF33DAC,0x4932,0x4CDF,{ 0xAC,0x41,0x72,0x14,0x33,0x35,0x14,0xCA } }; // ADF33DAC-4932-4CDF-AC41-7214333514CA + template <> struct default_interface{ using type = winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProtectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ProtectStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectStreamAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateOverloadExplicit(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider + { + auto ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; + auto UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider; + }; + template + struct consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory + { + auto CreateOverloadExplicit(param::hstring const& protectionDescriptor) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.1.h new file mode 100644 index 0000000000000000000000000000000000000000..326b9cc6618ff62fb3ed1fc6610df44dabbd5f66 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.1.h @@ -0,0 +1,27 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_DataProtection_1_H +#define WINRT_Windows_Security_Cryptography_DataProtection_1_H +#include "winrt/impl/Windows.Security.Cryptography.DataProtection.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::DataProtection +{ + struct WINRT_IMPL_EMPTY_BASES IDataProtectionProvider : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataProtectionProvider(std::nullptr_t = nullptr) noexcept {} + IDataProtectionProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataProtectionProviderFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataProtectionProviderFactory(std::nullptr_t = nullptr) noexcept {} + IDataProtectionProviderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.2.h new file mode 100644 index 0000000000000000000000000000000000000000..e4f761f57e991c5f64a0ac11a0872969016e7d80 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.cryptography.dataprotection.2.h @@ -0,0 +1,20 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Cryptography_DataProtection_2_H +#define WINRT_Windows_Security_Cryptography_DataProtection_2_H +#include "winrt/impl/Windows.Security.Cryptography.DataProtection.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::DataProtection +{ + struct WINRT_IMPL_EMPTY_BASES DataProtectionProvider : winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider + { + DataProtectionProvider(std::nullptr_t) noexcept {} + DataProtectionProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider(ptr, take_ownership_from_abi) {} + DataProtectionProvider(); + explicit DataProtectionProvider(param::hstring const& protectionDescriptor); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.0.h new file mode 100644 index 0000000000000000000000000000000000000000..f3f2235589d84aebcc7d823ce5071f822821a2b9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.0.h @@ -0,0 +1,190 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_DataProtection_0_H +#define WINRT_Windows_Security_DataProtection_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + struct IStorageItem; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Security::DataProtection +{ + enum class UserDataAvailability : int32_t + { + Always = 0, + AfterFirstUnlock = 1, + WhileUnlocked = 2, + }; + enum class UserDataBufferUnprotectStatus : int32_t + { + Succeeded = 0, + Unavailable = 1, + }; + enum class UserDataStorageItemProtectionStatus : int32_t + { + Succeeded = 0, + NotProtectable = 1, + DataUnavailable = 2, + }; + struct IUserDataAvailabilityStateChangedEventArgs; + struct IUserDataBufferUnprotectResult; + struct IUserDataProtectionManager; + struct IUserDataProtectionManagerStatics; + struct IUserDataStorageItemProtectionInfo; + struct UserDataAvailabilityStateChangedEventArgs; + struct UserDataBufferUnprotectResult; + struct UserDataProtectionManager; + struct UserDataStorageItemProtectionInfo; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataBufferUnprotectResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataStorageItemProtectionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataAvailability"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataBufferUnprotectStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.UserDataStorageItemProtectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.IUserDataAvailabilityStateChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.IUserDataBufferUnprotectResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.IUserDataProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.IUserDataProtectionManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.DataProtection.IUserDataStorageItemProtectionInfo"; + template <> inline constexpr guid guid_v{ 0xA76582C9,0x06A2,0x4273,{ 0xA8,0x03,0x83,0x4C,0x9F,0x87,0xFB,0xEB } }; // A76582C9-06A2-4273-A803-834C9F87FBEB + template <> inline constexpr guid guid_v{ 0x8EFD0E90,0xFA9A,0x46A4,{ 0xA3,0x77,0x01,0xCE,0xBF,0x1E,0x74,0xD8 } }; // 8EFD0E90-FA9A-46A4-A377-01CEBF1E74D8 + template <> inline constexpr guid guid_v{ 0x1F13237D,0xB42E,0x4A88,{ 0x94,0x80,0x0F,0x24,0x09,0x24,0xC8,0x76 } }; // 1F13237D-B42E-4A88-9480-0F240924C876 + template <> inline constexpr guid guid_v{ 0x977780E8,0x6DCE,0x4FAE,{ 0xAF,0x85,0x78,0x2A,0xC2,0xCF,0x45,0x72 } }; // 977780E8-6DCE-4FAE-AF85-782AC2CF4572 + template <> inline constexpr guid guid_v{ 0x5B6680F6,0xE87F,0x40A1,{ 0xB1,0x9D,0xA6,0x18,0x7A,0x0C,0x66,0x2F } }; // 5B6680F6-E87F-40A1-B19D-A6187A0C662F + template <> struct default_interface{ using type = winrt::Windows::Security::DataProtection::IUserDataAvailabilityStateChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::DataProtection::IUserDataProtectionManager; }; + template <> struct default_interface{ using type = winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_UnprotectedBuffer(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProtectStorageItemAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetStorageItemProtectionInfoAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ProtectBufferAsync(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectBufferAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall IsContinuedDataAvailabilityExpected(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall add_DataAvailabilityStateChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_DataAvailabilityStateChanged(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryGetDefault(void**) noexcept = 0; + virtual int32_t __stdcall TryGetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Availability(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs + { + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs; + }; + template + struct consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto UnprotectedBuffer() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult; + }; + template + struct consume_Windows_Security_DataProtection_IUserDataProtectionManager + { + auto ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; + auto ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const; + auto IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using DataAvailabilityStateChanged_revoker = impl::event_revoker::remove_DataAvailabilityStateChanged>; + [[nodiscard]] auto DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Security_DataProtection_IUserDataProtectionManager; + }; + template + struct consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics + { + auto TryGetDefault() const; + auto TryGetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics; + }; + template + struct consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo + { + [[nodiscard]] auto Availability() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.1.h new file mode 100644 index 0000000000000000000000000000000000000000..c340c9583a6daf56765221a863ba83b561eeb77c --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.1.h @@ -0,0 +1,48 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_DataProtection_1_H +#define WINRT_Windows_Security_DataProtection_1_H +#include "winrt/impl/Windows.Security.DataProtection.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::DataProtection +{ + struct WINRT_IMPL_EMPTY_BASES IUserDataAvailabilityStateChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataAvailabilityStateChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IUserDataAvailabilityStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataBufferUnprotectResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataBufferUnprotectResult(std::nullptr_t = nullptr) noexcept {} + IUserDataBufferUnprotectResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataProtectionManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataProtectionManager(std::nullptr_t = nullptr) noexcept {} + IUserDataProtectionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataProtectionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataProtectionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IUserDataProtectionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IUserDataStorageItemProtectionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserDataStorageItemProtectionInfo(std::nullptr_t = nullptr) noexcept {} + IUserDataStorageItemProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.2.h new file mode 100644 index 0000000000000000000000000000000000000000..3e23aa8f67243131a5cdcc15cac1224369fa3786 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.dataprotection.2.h @@ -0,0 +1,36 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_DataProtection_2_H +#define WINRT_Windows_Security_DataProtection_2_H +#include "winrt/impl/Windows.System.1.h" +#include "winrt/impl/Windows.Security.DataProtection.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::DataProtection +{ + struct WINRT_IMPL_EMPTY_BASES UserDataAvailabilityStateChangedEventArgs : winrt::Windows::Security::DataProtection::IUserDataAvailabilityStateChangedEventArgs + { + UserDataAvailabilityStateChangedEventArgs(std::nullptr_t) noexcept {} + UserDataAvailabilityStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::DataProtection::IUserDataAvailabilityStateChangedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataBufferUnprotectResult : winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult + { + UserDataBufferUnprotectResult(std::nullptr_t) noexcept {} + UserDataBufferUnprotectResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES UserDataProtectionManager : winrt::Windows::Security::DataProtection::IUserDataProtectionManager + { + UserDataProtectionManager(std::nullptr_t) noexcept {} + UserDataProtectionManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::DataProtection::IUserDataProtectionManager(ptr, take_ownership_from_abi) {} + static auto TryGetDefault(); + static auto TryGetForUser(winrt::Windows::System::User const& user); + }; + struct WINRT_IMPL_EMPTY_BASES UserDataStorageItemProtectionInfo : winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo + { + UserDataStorageItemProtectionInfo(std::nullptr_t) noexcept {} + UserDataStorageItemProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ab9b6c63aebeb1f7e748d4db5926bb65624b69ee --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.0.h @@ -0,0 +1,856 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_EnterpriseData_0_H +#define WINRT_Windows_Security_EnterpriseData_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Deferral; + template struct WINRT_IMPL_EMPTY_BASES EventHandler; + struct EventRegistrationToken; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Networking +{ + struct HostName; +} +WINRT_EXPORT namespace winrt::Windows::Storage +{ + enum class CreationCollisionOption : int32_t; + struct IStorageFile; + struct IStorageFolder; + struct IStorageItem; + enum class NameCollisionOption : int32_t; + struct StorageFile; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IBuffer; + struct IInputStream; + struct IOutputStream; + struct IRandomAccessStream; +} +WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData +{ + enum class DataProtectionStatus : int32_t + { + ProtectedToOtherIdentity = 0, + Protected = 1, + Revoked = 2, + Unprotected = 3, + LicenseExpired = 4, + AccessSuspended = 5, + }; + enum class EnforcementLevel : int32_t + { + NoProtection = 0, + Silent = 1, + Override = 2, + Block = 3, + }; + enum class FileProtectionStatus : int32_t + { + Undetermined = 0, + Unknown = 0, + Unprotected = 1, + Revoked = 2, + Protected = 3, + ProtectedByOtherUser = 4, + ProtectedToOtherEnterprise = 5, + NotProtectable = 6, + ProtectedToOtherIdentity = 7, + LicenseExpired = 8, + AccessSuspended = 9, + FileInUse = 10, + }; + enum class ProtectedImportExportStatus : int32_t + { + Ok = 0, + Undetermined = 1, + Unprotected = 2, + Revoked = 3, + NotRoamable = 4, + ProtectedToOtherIdentity = 5, + LicenseExpired = 6, + AccessSuspended = 7, + }; + enum class ProtectionPolicyAuditAction : int32_t + { + Decrypt = 0, + CopyToLocation = 1, + SendToRecipient = 2, + Other = 3, + }; + enum class ProtectionPolicyEvaluationResult : int32_t + { + Allowed = 0, + Blocked = 1, + ConsentRequired = 2, + }; + enum class ProtectionPolicyRequestAccessBehavior : int32_t + { + Decrypt = 0, + TreatOverridePolicyAsBlock = 1, + }; + struct IBufferProtectUnprotectResult; + struct IDataProtectionInfo; + struct IDataProtectionManagerStatics; + struct IFileProtectionInfo; + struct IFileProtectionInfo2; + struct IFileProtectionManagerStatics; + struct IFileProtectionManagerStatics2; + struct IFileProtectionManagerStatics3; + struct IFileRevocationManagerStatics; + struct IFileUnprotectOptions; + struct IFileUnprotectOptionsFactory; + struct IProtectedAccessResumedEventArgs; + struct IProtectedAccessSuspendingEventArgs; + struct IProtectedContainerExportResult; + struct IProtectedContainerImportResult; + struct IProtectedContentRevokedEventArgs; + struct IProtectedFileCreateResult; + struct IProtectionPolicyAuditInfo; + struct IProtectionPolicyAuditInfoFactory; + struct IProtectionPolicyManager; + struct IProtectionPolicyManager2; + struct IProtectionPolicyManagerStatics; + struct IProtectionPolicyManagerStatics2; + struct IProtectionPolicyManagerStatics3; + struct IProtectionPolicyManagerStatics4; + struct IThreadNetworkContext; + struct BufferProtectUnprotectResult; + struct DataProtectionInfo; + struct DataProtectionManager; + struct FileProtectionInfo; + struct FileProtectionManager; + struct FileRevocationManager; + struct FileUnprotectOptions; + struct ProtectedAccessResumedEventArgs; + struct ProtectedAccessSuspendingEventArgs; + struct ProtectedContainerExportResult; + struct ProtectedContainerImportResult; + struct ProtectedContentRevokedEventArgs; + struct ProtectedFileCreateResult; + struct ProtectionPolicyAuditInfo; + struct ProtectionPolicyManager; + struct ThreadNetworkContext; + struct EnterpriseDataContract; +} +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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.BufferProtectUnprotectResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.DataProtectionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.DataProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.FileProtectionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.FileProtectionManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.FileRevocationManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.FileUnprotectOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedAccessResumedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedAccessSuspendingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedContainerExportResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedContainerImportResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedContentRevokedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedFileCreateResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectionPolicyAuditInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectionPolicyManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ThreadNetworkContext"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.DataProtectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.EnforcementLevel"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.FileProtectionStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectedImportExportStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectionPolicyAuditAction"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.ProtectionPolicyRequestAccessBehavior"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IBufferProtectUnprotectResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IDataProtectionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IDataProtectionManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileProtectionInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileProtectionInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileProtectionManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileProtectionManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileProtectionManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileRevocationManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileUnprotectOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IFileUnprotectOptionsFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedAccessResumedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedAccessSuspendingEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedContainerExportResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedContainerImportResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedContentRevokedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectedFileCreateResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyAuditInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyAuditInfoFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManager"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManager2"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManagerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManagerStatics3"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IProtectionPolicyManagerStatics4"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.IThreadNetworkContext"; + template <> inline constexpr auto& name_v = L"Windows.Security.EnterpriseData.EnterpriseDataContract"; + template <> inline constexpr guid guid_v{ 0x47995EDC,0x6CEC,0x4E3A,{ 0xB2,0x51,0x9E,0x74,0x85,0xD7,0x9E,0x7A } }; // 47995EDC-6CEC-4E3A-B251-9E7485D79E7A + template <> inline constexpr guid guid_v{ 0x8420B0C1,0x5E31,0x4405,{ 0x95,0x40,0x3F,0x94,0x3A,0xF0,0xCB,0x26 } }; // 8420B0C1-5E31-4405-9540-3F943AF0CB26 + template <> inline constexpr guid guid_v{ 0xB6149B74,0x9144,0x4EE4,{ 0x8A,0x8A,0x30,0xB5,0xF3,0x61,0x43,0x0E } }; // B6149B74-9144-4EE4-8A8A-30B5F361430E + template <> inline constexpr guid guid_v{ 0x4EE96486,0x147E,0x4DD0,{ 0x8F,0xAF,0x52,0x53,0xED,0x91,0xAD,0x0C } }; // 4EE96486-147E-4DD0-8FAF-5253ED91AD0C + template <> inline constexpr guid guid_v{ 0x82123A4C,0x557A,0x498D,{ 0x8E,0x94,0x94,0x4C,0xD5,0x83,0x64,0x32 } }; // 82123A4C-557A-498D-8E94-944CD5836432 + template <> inline constexpr guid guid_v{ 0x5846FC9B,0xE613,0x426B,{ 0xBB,0x38,0x88,0xCB,0xA1,0xDC,0x9A,0xDB } }; // 5846FC9B-E613-426B-BB38-88CBA1DC9ADB + template <> inline constexpr guid guid_v{ 0x83D2A745,0x0483,0x41AB,{ 0xB2,0xD5,0xBC,0x7F,0x23,0xD7,0x4E,0xBB } }; // 83D2A745-0483-41AB-B2D5-BC7F23D74EBB + template <> inline constexpr guid guid_v{ 0x6918849A,0x624F,0x46D6,{ 0xB2,0x41,0xE9,0xCD,0x5F,0xDF,0x3E,0x3F } }; // 6918849A-624F-46D6-B241-E9CD5FDF3E3F + template <> inline constexpr guid guid_v{ 0x256BBC3D,0x1C5D,0x4260,{ 0x8C,0x75,0x91,0x44,0xCF,0xB7,0x8B,0xA9 } }; // 256BBC3D-1C5D-4260-8C75-9144CFB78BA9 + template <> inline constexpr guid guid_v{ 0x7D1312F1,0x3B0D,0x4DD8,{ 0xA1,0xF8,0x1E,0xC5,0x38,0x22,0xE2,0xF3 } }; // 7D1312F1-3B0D-4DD8-A1F8-1EC53822E2F3 + template <> inline constexpr guid guid_v{ 0x51AEB39C,0xDA8C,0x4C3F,{ 0x9B,0xFB,0xCB,0x73,0xA7,0xCC,0xE0,0xDD } }; // 51AEB39C-DA8C-4C3F-9BFB-CB73A7CCE0DD + template <> inline constexpr guid guid_v{ 0xAC4DCA59,0x5D80,0x4E95,{ 0x8C,0x5F,0x85,0x39,0x45,0x0E,0xEB,0xE0 } }; // AC4DCA59-5D80-4E95-8C5F-8539450EEBE0 + template <> inline constexpr guid guid_v{ 0x75A193E0,0xA344,0x429F,{ 0xB9,0x75,0x04,0xFC,0x1F,0x88,0xC1,0x85 } }; // 75A193E0-A344-429F-B975-04FC1F88C185 + template <> inline constexpr guid guid_v{ 0x3948EF95,0xF7FB,0x4B42,{ 0xAF,0xB0,0xDF,0x70,0xB4,0x15,0x43,0xC1 } }; // 3948EF95-F7FB-4B42-AFB0-DF70B41543C1 + template <> inline constexpr guid guid_v{ 0xCDB780D1,0xE7BB,0x4D1A,{ 0x93,0x39,0x34,0xDC,0x41,0x14,0x9F,0x9B } }; // CDB780D1-E7BB-4D1A-9339-34DC41149F9B + template <> inline constexpr guid guid_v{ 0x63686821,0x58B9,0x47EE,{ 0x93,0xD9,0xF0,0xF7,0x41,0xCF,0x43,0xF0 } }; // 63686821-58B9-47EE-93D9-F0F741CF43F0 + template <> inline constexpr guid guid_v{ 0x28E3ED6A,0xE9E7,0x4A03,{ 0x9F,0x53,0xBD,0xB1,0x61,0x72,0x69,0x9B } }; // 28E3ED6A-E9E7-4A03-9F53-BDB16172699B + template <> inline constexpr guid guid_v{ 0x425AB7E4,0xFEB7,0x44FC,{ 0xB3,0xBB,0xC3,0xC4,0xD7,0xEC,0xBE,0xBB } }; // 425AB7E4-FEB7-44FC-B3BB-C3C4D7ECBEBB + template <> inline constexpr guid guid_v{ 0x7ED4180B,0x92E8,0x42D5,{ 0x83,0xD4,0x25,0x44,0x0B,0x42,0x35,0x49 } }; // 7ED4180B-92E8-42D5-83D4-25440B423549 + template <> inline constexpr guid guid_v{ 0xD5703E18,0xA08D,0x47E6,{ 0xA2,0x40,0x99,0x34,0xD7,0x16,0x5E,0xB5 } }; // D5703E18-A08D-47E6-A240-9934D7165EB5 + template <> inline constexpr guid guid_v{ 0xABF7527A,0x8435,0x417F,{ 0x99,0xB6,0x51,0xBE,0xAF,0x36,0x58,0x88 } }; // ABF7527A-8435-417F-99B6-51BEAF365888 + template <> inline constexpr guid guid_v{ 0xC0BFFC66,0x8C3D,0x4D56,{ 0x88,0x04,0xC6,0x8F,0x0A,0xD3,0x2E,0xC5 } }; // C0BFFC66-8C3D-4D56-8804-C68F0AD32EC5 + template <> inline constexpr guid guid_v{ 0xB68F9A8C,0x39E0,0x4649,{ 0xB2,0xE4,0x07,0x0A,0xB8,0xA5,0x79,0xB3 } }; // B68F9A8C-39E0-4649-B2E4-070AB8A579B3 + template <> inline constexpr guid guid_v{ 0x48FF9E8C,0x6A6F,0x4D9F,{ 0xBC,0xED,0x18,0xAB,0x53,0x7A,0xA0,0x15 } }; // 48FF9E8C-6A6F-4D9F-BCED-18AB537AA015 + template <> inline constexpr guid guid_v{ 0x20B794DB,0xCCBD,0x490F,{ 0x8C,0x83,0x49,0xCC,0xB7,0x7A,0xEA,0x6C } }; // 20B794DB-CCBD-490F-8C83-49CCB77AEA6C + template <> inline constexpr guid guid_v{ 0xFA4EA8E9,0xEF13,0x405A,{ 0xB1,0x2C,0xD7,0x34,0x8C,0x6F,0x41,0xFC } }; // FA4EA8E9-EF13-405A-B12C-D7348C6F41FC + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IDataProtectionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IFileProtectionInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager; }; + template <> struct default_interface{ using type = winrt::Windows::Security::EnterpriseData::IThreadNetworkContext; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Buffer(void**) noexcept = 0; + virtual int32_t __stdcall get_ProtectionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Identity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProtectAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ProtectStreamAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectStreamAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetProtectionInfoAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetStreamProtectionInfoAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsRoamable(bool*) noexcept = 0; + virtual int32_t __stdcall get_Identity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsProtectWhileOpenSupported(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProtectAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CopyProtectionAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetProtectionInfoAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall SaveFileAsContainerAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFileFromContainerAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFileFromContainerWithTargetAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateProtectedAndOpenAsync(void*, void*, void*, int32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsContainerAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall LoadFileFromContainerWithTargetAndNameCollisionOptionAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall SaveFileAsContainerWithSharingAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UnprotectAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall UnprotectWithOptionsAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ProtectAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CopyProtectionAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Revoke(void*) noexcept = 0; + virtual int32_t __stdcall GetStatusAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Audit(bool) noexcept = 0; + virtual int32_t __stdcall get_Audit(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(bool, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Identities(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Identities(void**) noexcept = 0; + virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Identities(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_File(void**) noexcept = 0; + virtual int32_t __stdcall get_Stream(void**) noexcept = 0; + virtual int32_t __stdcall get_ProtectionInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Action(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Action(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DataDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_DataDescription(void**) noexcept = 0; + virtual int32_t __stdcall put_SourceDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_SourceDescription(void**) noexcept = 0; + virtual int32_t __stdcall put_TargetDescription(void*) noexcept = 0; + virtual int32_t __stdcall get_TargetDescription(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(int32_t, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithActionAndDataDescription(int32_t, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_Identity(void*) noexcept = 0; + virtual int32_t __stdcall get_Identity(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall put_ShowEnterpriseIndicator(bool) noexcept = 0; + virtual int32_t __stdcall get_ShowEnterpriseIndicator(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsIdentityManaged(void*, bool*) noexcept = 0; + virtual int32_t __stdcall TryApplyProcessUIPolicy(void*, bool*) noexcept = 0; + virtual int32_t __stdcall ClearProcessUIPolicy() noexcept = 0; + virtual int32_t __stdcall CreateCurrentThreadNetworkContext(void*, void**) noexcept = 0; + virtual int32_t __stdcall GetPrimaryManagedIdentityForNetworkEndpointAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RevokeContent(void*) noexcept = 0; + virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; + virtual int32_t __stdcall add_ProtectedAccessSuspending(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProtectedAccessSuspending(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ProtectedAccessResumed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProtectedAccessResumed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_ProtectedContentRevoked(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_ProtectedContentRevoked(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall CheckAccess(void*, void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall RequestAccessAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall HasContentBeenRevokedSince(void*, int64_t, bool*) noexcept = 0; + virtual int32_t __stdcall CheckAccessForApp(void*, void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall RequestAccessForAppAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetEnforcementLevel(void*, int32_t*) noexcept = 0; + virtual int32_t __stdcall IsUserDecryptionAllowed(void*, bool*) noexcept = 0; + virtual int32_t __stdcall IsProtectionUnderLockRequired(void*, bool*) noexcept = 0; + virtual int32_t __stdcall add_PolicyChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_PolicyChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall get_IsProtectionEnabled(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessWithAuditingInfoAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessWithMessageAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessForAppWithAuditingInfoAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessForAppWithMessageAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LogAuditEvent(void*, void*, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsRoamableProtectionEnabled(void*, bool*) noexcept = 0; + virtual int32_t __stdcall RequestAccessWithBehaviorAsync(void*, void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessForAppWithBehaviorAsync(void*, void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessToFilesForAppAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessToFilesForAppWithMessageAndBehaviorAsync(void*, void*, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessToFilesForProcessAsync(void*, uint32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall RequestAccessToFilesForProcessWithMessageAndBehaviorAsync(void*, uint32_t, void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall IsFileProtectionRequiredAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall IsFileProtectionRequiredForNewFileAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall get_PrimaryManagedIdentity(void**) noexcept = 0; + virtual int32_t __stdcall GetPrimaryManagedIdentityForIdentity(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template + struct consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult + { + [[nodiscard]] auto Buffer() const; + [[nodiscard]] auto ProtectionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult; + }; + template + struct consume_Windows_Security_EnterpriseData_IDataProtectionInfo + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Identity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IDataProtectionInfo; + }; + template + struct consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics + { + auto ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const; + auto UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const; + auto UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const; + auto GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const; + auto GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileProtectionInfo + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsRoamable() const; + [[nodiscard]] auto Identity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileProtectionInfo; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileProtectionInfo2 + { + [[nodiscard]] auto IsProtectWhileOpenSupported() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileProtectionInfo2; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics + { + auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; + auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const; + auto GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const; + auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const; + auto CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2 + { + auto IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const; + auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3 + { + auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const; + auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics + { + auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const; + auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const; + auto Revoke(param::hstring const& enterpriseIdentity) const; + auto GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileUnprotectOptions + { + auto Audit(bool value) const; + [[nodiscard]] auto Audit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileUnprotectOptions; + }; + template + struct consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory + { + auto Create(bool audit) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs + { + [[nodiscard]] auto Identities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs + { + [[nodiscard]] auto Identities() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs + { + [[nodiscard]] auto Identities() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult + { + [[nodiscard]] auto File() const; + [[nodiscard]] auto Stream() const; + [[nodiscard]] auto ProtectionInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo + { + auto Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const; + [[nodiscard]] auto Action() const; + auto DataDescription(param::hstring const& value) const; + [[nodiscard]] auto DataDescription() const; + auto SourceDescription(param::hstring const& value) const; + [[nodiscard]] auto SourceDescription() const; + auto TargetDescription(param::hstring const& value) const; + [[nodiscard]] auto TargetDescription() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory + { + auto Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const; + auto CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManager + { + auto Identity(param::hstring const& value) const; + [[nodiscard]] auto Identity() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManager; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2 + { + auto ShowEnterpriseIndicator(bool value) const; + [[nodiscard]] auto ShowEnterpriseIndicator() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics + { + auto IsIdentityManaged(param::hstring const& identity) const; + auto TryApplyProcessUIPolicy(param::hstring const& identity) const; + auto ClearProcessUIPolicy() const; + auto CreateCurrentThreadNetworkContext(param::hstring const& identity) const; + auto GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const; + auto RevokeContent(param::hstring const& identity) const; + auto GetForCurrentView() const; + auto ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler) const; + using ProtectedAccessSuspending_revoker = impl::event_revoker::remove_ProtectedAccessSuspending>; + [[nodiscard]] auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedAccessSuspending(winrt::event_token const& token) const noexcept; + auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler) const; + using ProtectedAccessResumed_revoker = impl::event_revoker::remove_ProtectedAccessResumed>; + [[nodiscard]] auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedAccessResumed(winrt::event_token const& token) const noexcept; + auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; + using ProtectedContentRevoked_revoker = impl::event_revoker::remove_ProtectedContentRevoked>; + [[nodiscard]] auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedContentRevoked(winrt::event_token const& token) const noexcept; + auto CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2 + { + auto HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const; + auto CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; + auto GetEnforcementLevel(param::hstring const& identity) const; + auto IsUserDecryptionAllowed(param::hstring const& identity) const; + auto IsProtectionUnderLockRequired(param::hstring const& identity) const; + auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + using PolicyChanged_revoker = impl::event_revoker::remove_PolicyChanged>; + [[nodiscard]] auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PolicyChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsProtectionEnabled() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3 + { + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; + auto LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3; + }; + template + struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4 + { + auto IsRoamableProtectionEnabled(param::hstring const& identity) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; + auto IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const; + [[nodiscard]] auto PrimaryManagedIdentity() const; + auto GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4; + }; + template + struct consume_Windows_Security_EnterpriseData_IThreadNetworkContext + { + }; + template <> struct consume + { + template using type = consume_Windows_Security_EnterpriseData_IThreadNetworkContext; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.1.h new file mode 100644 index 0000000000000000000000000000000000000000..0782e3a94a0ef504cb7868849d29edfeaeaea5bd --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.1.h @@ -0,0 +1,195 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_EnterpriseData_1_H +#define WINRT_Windows_Security_EnterpriseData_1_H +#include "winrt/impl/Windows.Security.EnterpriseData.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData +{ + struct WINRT_IMPL_EMPTY_BASES IBufferProtectUnprotectResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBufferProtectUnprotectResult(std::nullptr_t = nullptr) noexcept {} + IBufferProtectUnprotectResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataProtectionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataProtectionInfo(std::nullptr_t = nullptr) noexcept {} + IDataProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IDataProtectionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDataProtectionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IDataProtectionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileProtectionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileProtectionInfo(std::nullptr_t = nullptr) noexcept {} + IFileProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileProtectionInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileProtectionInfo2(std::nullptr_t = nullptr) noexcept {} + IFileProtectionInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileProtectionManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileProtectionManagerStatics(std::nullptr_t = nullptr) noexcept {} + IFileProtectionManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileProtectionManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileProtectionManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IFileProtectionManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileProtectionManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileProtectionManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IFileProtectionManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileRevocationManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileRevocationManagerStatics(std::nullptr_t = nullptr) noexcept {} + IFileRevocationManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileUnprotectOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileUnprotectOptions(std::nullptr_t = nullptr) noexcept {} + IFileUnprotectOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IFileUnprotectOptionsFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IFileUnprotectOptionsFactory(std::nullptr_t = nullptr) noexcept {} + IFileUnprotectOptionsFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedAccessResumedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedAccessResumedEventArgs(std::nullptr_t = nullptr) noexcept {} + IProtectedAccessResumedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedAccessSuspendingEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedAccessSuspendingEventArgs(std::nullptr_t = nullptr) noexcept {} + IProtectedAccessSuspendingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedContainerExportResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedContainerExportResult(std::nullptr_t = nullptr) noexcept {} + IProtectedContainerExportResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedContainerImportResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedContainerImportResult(std::nullptr_t = nullptr) noexcept {} + IProtectedContainerImportResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedContentRevokedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedContentRevokedEventArgs(std::nullptr_t = nullptr) noexcept {} + IProtectedContentRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectedFileCreateResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectedFileCreateResult(std::nullptr_t = nullptr) noexcept {} + IProtectedFileCreateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyAuditInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyAuditInfo(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyAuditInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyAuditInfoFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyAuditInfoFactory(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyAuditInfoFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManager(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManager2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManager2(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManager2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManagerStatics(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManagerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManagerStatics2(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManagerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManagerStatics3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManagerStatics3(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManagerStatics3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IProtectionPolicyManagerStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IProtectionPolicyManagerStatics4(std::nullptr_t = nullptr) noexcept {} + IProtectionPolicyManagerStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IThreadNetworkContext : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IThreadNetworkContext(std::nullptr_t = nullptr) noexcept {} + IThreadNetworkContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.2.h new file mode 100644 index 0000000000000000000000000000000000000000..cb9f52e5e0416d7d2819cefe5ac32742a78b77e7 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.enterprisedata.2.h @@ -0,0 +1,171 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_EnterpriseData_2_H +#define WINRT_Windows_Security_EnterpriseData_2_H +#include "winrt/impl/Windows.Foundation.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Windows.Networking.1.h" +#include "winrt/impl/Windows.Storage.1.h" +#include "winrt/impl/Windows.Storage.Streams.1.h" +#include "winrt/impl/Windows.Security.EnterpriseData.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData +{ + struct WINRT_IMPL_EMPTY_BASES BufferProtectUnprotectResult : winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult + { + BufferProtectUnprotectResult(std::nullptr_t) noexcept {} + BufferProtectUnprotectResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES DataProtectionInfo : winrt::Windows::Security::EnterpriseData::IDataProtectionInfo + { + DataProtectionInfo(std::nullptr_t) noexcept {} + DataProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IDataProtectionInfo(ptr, take_ownership_from_abi) {} + }; + struct DataProtectionManager + { + DataProtectionManager() = delete; + static auto ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity); + static auto UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data); + static auto ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream); + static auto UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream); + static auto GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData); + static auto GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream); + }; + struct WINRT_IMPL_EMPTY_BASES FileProtectionInfo : winrt::Windows::Security::EnterpriseData::IFileProtectionInfo, + impl::require + { + FileProtectionInfo(std::nullptr_t) noexcept {} + FileProtectionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IFileProtectionInfo(ptr, take_ownership_from_abi) {} + }; + struct FileProtectionManager + { + FileProtectionManager() = delete; + static auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity); + static auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target); + static auto GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source); + static auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile); + static auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile); + static auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target); + static auto CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption); + static auto IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file); + static auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption); + static auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities); + static auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target); + static auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options); + }; + struct FileRevocationManager + { + FileRevocationManager() = delete; + static auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity); + static auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem); + static auto Revoke(param::hstring const& enterpriseIdentity); + static auto GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem); + }; + struct WINRT_IMPL_EMPTY_BASES FileUnprotectOptions : winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions + { + FileUnprotectOptions(std::nullptr_t) noexcept {} + FileUnprotectOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions(ptr, take_ownership_from_abi) {} + explicit FileUnprotectOptions(bool audit); + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedAccessResumedEventArgs : winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs + { + ProtectedAccessResumedEventArgs(std::nullptr_t) noexcept {} + ProtectedAccessResumedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedAccessSuspendingEventArgs : winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs + { + ProtectedAccessSuspendingEventArgs(std::nullptr_t) noexcept {} + ProtectedAccessSuspendingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedContainerExportResult : winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult + { + ProtectedContainerExportResult(std::nullptr_t) noexcept {} + ProtectedContainerExportResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedContainerImportResult : winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult + { + ProtectedContainerImportResult(std::nullptr_t) noexcept {} + ProtectedContainerImportResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedContentRevokedEventArgs : winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs + { + ProtectedContentRevokedEventArgs(std::nullptr_t) noexcept {} + ProtectedContentRevokedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectedFileCreateResult : winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult + { + ProtectedFileCreateResult(std::nullptr_t) noexcept {} + ProtectedFileCreateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES ProtectionPolicyAuditInfo : winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo + { + ProtectionPolicyAuditInfo(std::nullptr_t) noexcept {} + ProtectionPolicyAuditInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo(ptr, take_ownership_from_abi) {} + ProtectionPolicyAuditInfo(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription); + ProtectionPolicyAuditInfo(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription); + }; + struct WINRT_IMPL_EMPTY_BASES ProtectionPolicyManager : winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager, + impl::require + { + ProtectionPolicyManager(std::nullptr_t) noexcept {} + ProtectionPolicyManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager(ptr, take_ownership_from_abi) {} + static auto IsIdentityManaged(param::hstring const& identity); + static auto TryApplyProcessUIPolicy(param::hstring const& identity); + static auto ClearProcessUIPolicy(); + static auto CreateCurrentThreadNetworkContext(param::hstring const& identity); + static auto GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost); + static auto RevokeContent(param::hstring const& identity); + static auto GetForCurrentView(); + static auto ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler); + using ProtectedAccessSuspending_revoker = impl::factory_event_revoker::remove_ProtectedAccessSuspending>; + [[nodiscard]] static auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ProtectedAccessSuspending(winrt::event_token const& token); + static auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler); + using ProtectedAccessResumed_revoker = impl::factory_event_revoker::remove_ProtectedAccessResumed>; + [[nodiscard]] static auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ProtectedAccessResumed(winrt::event_token const& token); + static auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler); + using ProtectedContentRevoked_revoker = impl::factory_event_revoker::remove_ProtectedContentRevoked>; + [[nodiscard]] static auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto ProtectedContentRevoked(winrt::event_token const& token); + static auto CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity); + static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity); + static auto HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since); + static auto CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName); + static auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName); + static auto GetEnforcementLevel(param::hstring const& identity); + static auto IsUserDecryptionAllowed(param::hstring const& identity); + static auto IsProtectionUnderLockRequired(param::hstring const& identity); + static auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler); + using PolicyChanged_revoker = impl::factory_event_revoker::remove_PolicyChanged>; + [[nodiscard]] static auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + static auto PolicyChanged(winrt::event_token const& token); + [[nodiscard]] static auto IsProtectionEnabled(); + static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); + static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp); + static auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); + static auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp); + static auto LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); + static auto IsRoamableProtectionEnabled(param::hstring const& identity); + static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior); + static auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior); + static auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); + static auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior); + static auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); + static auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior); + static auto IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity); + static auto IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName); + [[nodiscard]] static auto PrimaryManagedIdentity(); + static auto GetPrimaryManagedIdentityForIdentity(param::hstring const& identity); + }; + struct WINRT_IMPL_EMPTY_BASES ThreadNetworkContext : winrt::Windows::Security::EnterpriseData::IThreadNetworkContext, + impl::require + { + ThreadNetworkContext(std::nullptr_t) noexcept {} + ThreadNetworkContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::EnterpriseData::IThreadNetworkContext(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ceded2955845d7fe0b42e2b97e35c43e828964c5 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.0.h @@ -0,0 +1,319 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_0_H +#define WINRT_Windows_Security_ExchangeActiveSyncProvisioning_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Windows::Security::ExchangeActiveSyncProvisioning +{ + enum class EasDisallowConvenienceLogonResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + }; + enum class EasEncryptionProviderType : int32_t + { + NotEvaluated = 0, + WindowsEncryption = 1, + OtherEncryption = 2, + }; + enum class EasMaxInactivityTimeLockResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + InvalidParameter = 4, + }; + enum class EasMaxPasswordFailedAttemptsResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + InvalidParameter = 4, + }; + enum class EasMinPasswordComplexCharactersResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + RequestedPolicyNotEnforceable = 4, + InvalidParameter = 5, + CurrentUserHasBlankPassword = 6, + AdminsHaveBlankPassword = 7, + UserCannotChangePassword = 8, + AdminsCannotChangePassword = 9, + LocalControlledUsersCannotChangePassword = 10, + ConnectedAdminsProviderPolicyIsWeak = 11, + ConnectedUserProviderPolicyIsWeak = 12, + ChangeConnectedAdminsPassword = 13, + ChangeConnectedUserPassword = 14, + }; + enum class EasMinPasswordLengthResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + RequestedPolicyNotEnforceable = 4, + InvalidParameter = 5, + CurrentUserHasBlankPassword = 6, + AdminsHaveBlankPassword = 7, + UserCannotChangePassword = 8, + AdminsCannotChangePassword = 9, + LocalControlledUsersCannotChangePassword = 10, + ConnectedAdminsProviderPolicyIsWeak = 11, + ConnectedUserProviderPolicyIsWeak = 12, + ChangeConnectedAdminsPassword = 13, + ChangeConnectedUserPassword = 14, + }; + enum class EasPasswordExpirationResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + RequestedExpirationIncompatible = 4, + InvalidParameter = 5, + UserCannotChangePassword = 6, + AdminsCannotChangePassword = 7, + LocalControlledUsersCannotChangePassword = 8, + }; + enum class EasPasswordHistoryResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + RequestedPolicyIsStricter = 3, + InvalidParameter = 4, + }; + enum class EasRequireEncryptionResult : int32_t + { + NotEvaluated = 0, + Compliant = 1, + CanBeCompliant = 2, + NotProvisionedOnAllVolumes = 3, + DeFixedDataNotSupported = 4, + FixedDataNotSupported = 4, + DeHardwareNotCompliant = 5, + HardwareNotCompliant = 5, + DeWinReNotConfigured = 6, + LockNotConfigured = 6, + DeProtectionSuspended = 7, + ProtectionSuspended = 7, + DeOsVolumeNotProtected = 8, + OsVolumeNotProtected = 8, + DeProtectionNotYetEnabled = 9, + ProtectionNotYetEnabled = 9, + NoFeatureLicense = 10, + OsNotProtected = 11, + UnexpectedFailure = 12, + }; + struct IEasClientDeviceInformation; + struct IEasClientDeviceInformation2; + struct IEasClientSecurityPolicy; + struct IEasComplianceResults; + struct IEasComplianceResults2; + struct EasClientDeviceInformation; + struct EasClientSecurityPolicy; + struct EasComplianceResults; + struct EasContract; +} +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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasDisallowConvenienceLogonResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasEncryptionProviderType"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasMaxInactivityTimeLockResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasMaxPasswordFailedAttemptsResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordComplexCharactersResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordLengthResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordExpirationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordHistoryResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasRequireEncryptionResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.IEasClientDeviceInformation"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.IEasClientDeviceInformation2"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.IEasClientSecurityPolicy"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.IEasComplianceResults"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.IEasComplianceResults2"; + template <> inline constexpr auto& name_v = L"Windows.Security.ExchangeActiveSyncProvisioning.EasContract"; + template <> inline constexpr guid guid_v{ 0x54DFD981,0x1968,0x4CA3,{ 0xB9,0x58,0xE5,0x95,0xD1,0x65,0x05,0xEB } }; // 54DFD981-1968-4CA3-B958-E595D16505EB + template <> inline constexpr guid guid_v{ 0xFFB35923,0xBB26,0x4D6A,{ 0x81,0xBC,0x16,0x5A,0xEE,0x0A,0xD7,0x54 } }; // FFB35923-BB26-4D6A-81BC-165AEE0AD754 + template <> inline constexpr guid guid_v{ 0x45B72362,0xDFBA,0x4A9B,{ 0xAC,0xED,0x6F,0xE2,0xAD,0xCB,0x64,0x20 } }; // 45B72362-DFBA-4A9B-ACED-6FE2ADCB6420 + template <> inline constexpr guid guid_v{ 0x463C299C,0x7F19,0x4C66,{ 0xB4,0x03,0xCB,0x45,0xDD,0x57,0xA2,0xB3 } }; // 463C299C-7F19-4C66-B403-CB45DD57A2B3 + template <> inline constexpr guid guid_v{ 0x2FBE60C9,0x1AA8,0x47F5,{ 0x88,0xBB,0xCB,0x3E,0xF0,0xBF,0xFB,0x15 } }; // 2FBE60C9-1AA8-47F5-88BB-CB3EF0BFFB15 + template <> struct default_interface{ using type = winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy; }; + template <> struct default_interface{ using type = winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_OperatingSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_FriendlyName(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemManufacturer(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemProductName(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemSku(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SystemHardwareVersion(void**) noexcept = 0; + virtual int32_t __stdcall get_SystemFirmwareVersion(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_RequireEncryption(bool*) noexcept = 0; + virtual int32_t __stdcall put_RequireEncryption(bool) noexcept = 0; + virtual int32_t __stdcall get_MinPasswordLength(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MinPasswordLength(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_DisallowConvenienceLogon(bool*) noexcept = 0; + virtual int32_t __stdcall put_DisallowConvenienceLogon(bool) noexcept = 0; + virtual int32_t __stdcall get_MinPasswordComplexCharacters(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MinPasswordComplexCharacters(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_PasswordExpiration(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_PasswordExpiration(int64_t) noexcept = 0; + virtual int32_t __stdcall get_PasswordHistory(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_PasswordHistory(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_MaxPasswordFailedAttempts(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxPasswordFailedAttempts(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_MaxInactivityTimeLock(int64_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxInactivityTimeLock(int64_t) noexcept = 0; + virtual int32_t __stdcall CheckCompliance(void**) noexcept = 0; + virtual int32_t __stdcall ApplyAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Compliant(bool*) noexcept = 0; + virtual int32_t __stdcall get_RequireEncryptionResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinPasswordLengthResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_DisallowConvenienceLogonResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinPasswordComplexCharactersResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PasswordExpirationResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_PasswordHistoryResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxPasswordFailedAttemptsResult(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxInactivityTimeLockResult(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EncryptionProviderType(int32_t*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto OperatingSystem() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto SystemManufacturer() const; + [[nodiscard]] auto SystemProductName() const; + [[nodiscard]] auto SystemSku() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation; + }; + template + struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2 + { + [[nodiscard]] auto SystemHardwareVersion() const; + [[nodiscard]] auto SystemFirmwareVersion() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2; + }; + template + struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy + { + [[nodiscard]] auto RequireEncryption() const; + auto RequireEncryption(bool value) const; + [[nodiscard]] auto MinPasswordLength() const; + auto MinPasswordLength(uint8_t value) const; + [[nodiscard]] auto DisallowConvenienceLogon() const; + auto DisallowConvenienceLogon(bool value) const; + [[nodiscard]] auto MinPasswordComplexCharacters() const; + auto MinPasswordComplexCharacters(uint8_t value) const; + [[nodiscard]] auto PasswordExpiration() const; + auto PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PasswordHistory() const; + auto PasswordHistory(uint32_t value) const; + [[nodiscard]] auto MaxPasswordFailedAttempts() const; + auto MaxPasswordFailedAttempts(uint8_t value) const; + [[nodiscard]] auto MaxInactivityTimeLock() const; + auto MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const; + auto CheckCompliance() const; + auto ApplyAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy; + }; + template + struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults + { + [[nodiscard]] auto Compliant() const; + [[nodiscard]] auto RequireEncryptionResult() const; + [[nodiscard]] auto MinPasswordLengthResult() const; + [[nodiscard]] auto DisallowConvenienceLogonResult() const; + [[nodiscard]] auto MinPasswordComplexCharactersResult() const; + [[nodiscard]] auto PasswordExpirationResult() const; + [[nodiscard]] auto PasswordHistoryResult() const; + [[nodiscard]] auto MaxPasswordFailedAttemptsResult() const; + [[nodiscard]] auto MaxInactivityTimeLockResult() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults; + }; + template + struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2 + { + [[nodiscard]] auto EncryptionProviderType() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.1.h new file mode 100644 index 0000000000000000000000000000000000000000..30e99572117c7126a8e56c88d67d8c10acc4c4c0 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.1.h @@ -0,0 +1,50 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_1_H +#define WINRT_Windows_Security_ExchangeActiveSyncProvisioning_1_H +#include "winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::ExchangeActiveSyncProvisioning +{ + struct WINRT_IMPL_EMPTY_BASES IEasClientDeviceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEasClientDeviceInformation(std::nullptr_t = nullptr) noexcept {} + IEasClientDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEasClientDeviceInformation2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IEasClientDeviceInformation2(std::nullptr_t = nullptr) noexcept {} + IEasClientDeviceInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEasClientSecurityPolicy : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEasClientSecurityPolicy(std::nullptr_t = nullptr) noexcept {} + IEasClientSecurityPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEasComplianceResults : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IEasComplianceResults(std::nullptr_t = nullptr) noexcept {} + IEasComplianceResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IEasComplianceResults2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t, + impl::require + { + IEasComplianceResults2(std::nullptr_t = nullptr) noexcept {} + IEasComplianceResults2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.2.h new file mode 100644 index 0000000000000000000000000000000000000000..41b2d36e52f97ccab2cd4e0826c69a7d6c94b1ae --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.exchangeactivesyncprovisioning.2.h @@ -0,0 +1,32 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_2_H +#define WINRT_Windows_Security_ExchangeActiveSyncProvisioning_2_H +#include "winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::ExchangeActiveSyncProvisioning +{ + struct WINRT_IMPL_EMPTY_BASES EasClientDeviceInformation : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation, + impl::require + { + EasClientDeviceInformation(std::nullptr_t) noexcept {} + EasClientDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation(ptr, take_ownership_from_abi) {} + EasClientDeviceInformation(); + }; + struct WINRT_IMPL_EMPTY_BASES EasClientSecurityPolicy : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy + { + EasClientSecurityPolicy(std::nullptr_t) noexcept {} + EasClientSecurityPolicy(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy(ptr, take_ownership_from_abi) {} + EasClientSecurityPolicy(); + }; + struct WINRT_IMPL_EMPTY_BASES EasComplianceResults : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults, + impl::require + { + EasComplianceResults(std::nullptr_t) noexcept {} + EasComplianceResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ae942b08195059e5e309e8da7b97ce84da4fea9f --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.0.h @@ -0,0 +1,1000 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Isolation_0_H +#define WINRT_Windows_Security_Isolation_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct HResult; + struct IAsyncAction; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVectorView; +} +WINRT_EXPORT namespace winrt::Windows::Security::Isolation +{ + enum class IsolatedWindowsEnvironmentActivator : int32_t + { + System = 0, + User = 1, + }; + enum class IsolatedWindowsEnvironmentAllowedClipboardFormats : uint32_t + { + None = 0, + Text = 0x1, + Image = 0x2, + Rtf = 0x4, + }; + enum class IsolatedWindowsEnvironmentAvailablePrinters : uint32_t + { + None = 0, + Local = 0x1, + Network = 0x2, + SystemPrintToPdf = 0x4, + SystemPrintToXps = 0x8, + }; + enum class IsolatedWindowsEnvironmentClipboardCopyPasteDirections : uint32_t + { + None = 0, + HostToIsolatedWindowsEnvironment = 0x1, + IsolatedWindowsEnvironmentToHost = 0x2, + }; + enum class IsolatedWindowsEnvironmentCreateStatus : int32_t + { + Success = 0, + FailureByPolicy = 1, + UnknownFailure = 2, + }; + enum class IsolatedWindowsEnvironmentCreationPriority : int32_t + { + Low = 0, + Normal = 1, + }; + enum class IsolatedWindowsEnvironmentHostError : int32_t + { + AdminPolicyIsDisabledOrNotPresent = 0, + FeatureNotInstalled = 1, + HardwareRequirementsNotMet = 2, + RebootRequired = 3, + UnknownError = 4, + }; + enum class IsolatedWindowsEnvironmentLaunchFileStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + FileNotFound = 3, + TimedOut = 4, + AlreadySharedWithConflictingOptions = 5, + }; + enum class IsolatedWindowsEnvironmentOwnerRegistrationStatus : int32_t + { + Success = 0, + InvalidArgument = 1, + AccessDenied = 2, + InsufficientMemory = 3, + UnknownFailure = 4, + }; + enum class IsolatedWindowsEnvironmentPostMessageStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + }; + enum class IsolatedWindowsEnvironmentProcessState : int32_t + { + Running = 1, + Aborted = 2, + Completed = 3, + }; + enum class IsolatedWindowsEnvironmentProgressState : int32_t + { + Queued = 0, + Processing = 1, + Completed = 2, + Creating = 3, + Retrying = 4, + Starting = 5, + Finalizing = 6, + }; + enum class IsolatedWindowsEnvironmentShareFileStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + AlreadySharedWithConflictingOptions = 3, + FileNotFound = 4, + AccessDenied = 5, + }; + enum class IsolatedWindowsEnvironmentShareFolderStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + FolderNotFound = 3, + AccessDenied = 4, + }; + enum class IsolatedWindowsEnvironmentSignInProgress : int32_t + { + Connecting = 0, + Connected = 1, + Authenticating = 2, + SettingUpAccount = 3, + Finalizing = 4, + Completed = 5, + }; + enum class IsolatedWindowsEnvironmentStartProcessStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + FileNotFound = 3, + AppNotRegistered = 4, + }; + struct IIsolatedWindowsEnvironment; + struct IIsolatedWindowsEnvironment2; + struct IIsolatedWindowsEnvironment3; + struct IIsolatedWindowsEnvironment4; + struct IIsolatedWindowsEnvironmentCreateResult; + struct IIsolatedWindowsEnvironmentCreateResult2; + struct IIsolatedWindowsEnvironmentFactory; + struct IIsolatedWindowsEnvironmentFile; + struct IIsolatedWindowsEnvironmentFile2; + struct IIsolatedWindowsEnvironmentHostStatics; + struct IIsolatedWindowsEnvironmentLaunchFileResult; + struct IIsolatedWindowsEnvironmentOptions; + struct IIsolatedWindowsEnvironmentOptions2; + struct IIsolatedWindowsEnvironmentOptions3; + struct IIsolatedWindowsEnvironmentOwnerRegistrationData; + struct IIsolatedWindowsEnvironmentOwnerRegistrationResult; + struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics; + struct IIsolatedWindowsEnvironmentPostMessageResult; + struct IIsolatedWindowsEnvironmentProcess; + struct IIsolatedWindowsEnvironmentShareFileRequestOptions; + struct IIsolatedWindowsEnvironmentShareFileResult; + struct IIsolatedWindowsEnvironmentShareFolderRequestOptions; + struct IIsolatedWindowsEnvironmentShareFolderResult; + struct IIsolatedWindowsEnvironmentStartProcessResult; + struct IIsolatedWindowsEnvironmentTelemetryParameters; + struct IIsolatedWindowsEnvironmentUserInfo; + struct IIsolatedWindowsEnvironmentUserInfo2; + struct IIsolatedWindowsHostMessengerStatics; + struct IIsolatedWindowsHostMessengerStatics2; + struct IsolatedWindowsEnvironment; + struct IsolatedWindowsEnvironmentCreateResult; + struct IsolatedWindowsEnvironmentFile; + struct IsolatedWindowsEnvironmentHost; + struct IsolatedWindowsEnvironmentLaunchFileResult; + struct IsolatedWindowsEnvironmentOptions; + struct IsolatedWindowsEnvironmentOwnerRegistration; + struct IsolatedWindowsEnvironmentOwnerRegistrationData; + struct IsolatedWindowsEnvironmentOwnerRegistrationResult; + struct IsolatedWindowsEnvironmentPostMessageResult; + struct IsolatedWindowsEnvironmentProcess; + struct IsolatedWindowsEnvironmentShareFileRequestOptions; + struct IsolatedWindowsEnvironmentShareFileResult; + struct IsolatedWindowsEnvironmentShareFolderRequestOptions; + struct IsolatedWindowsEnvironmentShareFolderResult; + struct IsolatedWindowsEnvironmentStartProcessResult; + struct IsolatedWindowsEnvironmentTelemetryParameters; + struct IsolatedWindowsEnvironmentUserInfo; + struct IsolatedWindowsHostMessenger; + struct IsolatedWindowsEnvironmentCreateProgress; + struct HostMessageReceivedCallback; + struct MessageReceivedCallback; + struct IsolatedWindowsEnvironmentContract; +} +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 = 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 = 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 = 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 = 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 = 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 = 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 = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = delegate_category; }; + template <> struct category{ using type = delegate_category; }; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironment"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentFile"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentHost"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistration"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationData"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsHostMessenger"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentActivator"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentAllowedClipboardFormats"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentAvailablePrinters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentClipboardCopyPasteDirections"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreationPriority"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcessState"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentSignInProgress"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessStatus"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateProgress"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment4"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentCreateResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentCreateResult2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFactory"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentHostStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentLaunchFileResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions3"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationData"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentPostMessageResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentProcess"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentStartProcessResult"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentTelemetryParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentUserInfo"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentUserInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.HostMessageReceivedCallback"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.MessageReceivedCallback"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentContract"; + template <> inline constexpr guid guid_v{ 0x41D24597,0xC328,0x4467,{ 0xB3,0x7F,0x4D,0xFC,0x6F,0x60,0xB6,0xBC } }; // 41D24597-C328-4467-B37F-4DFC6F60B6BC + template <> inline constexpr guid guid_v{ 0x2D365F39,0x88BD,0x4AB4,{ 0x93,0xCF,0x7E,0x2B,0xCE,0xF3,0x37,0xC0 } }; // 2D365F39-88BD-4AB4-93CF-7E2BCEF337C0 + template <> inline constexpr guid guid_v{ 0xCB7FC7D2,0xD06E,0x4C26,{ 0x8A,0xDA,0xDA,0xCD,0xAA,0xAD,0x03,0xF5 } }; // CB7FC7D2-D06E-4C26-8ADA-DACDAAAD03F5 + template <> inline constexpr guid guid_v{ 0x11E3701A,0xDD9E,0x4F1B,{ 0x81,0x2C,0x40,0x20,0xF3,0x07,0xF9,0x3C } }; // 11E3701A-DD9E-4F1B-812C-4020F307F93C + template <> inline constexpr guid guid_v{ 0xEF9A5E58,0xDCD7,0x45C2,{ 0x9C,0x85,0xAB,0x64,0x2A,0x71,0x5E,0x8E } }; // EF9A5E58-DCD7-45C2-9C85-AB642A715E8E + template <> inline constexpr guid guid_v{ 0xA547DBC7,0x61D4,0x4FB8,{ 0xAB,0x5C,0xED,0xEF,0xA3,0xD3,0x88,0xAD } }; // A547DBC7-61D4-4FB8-AB5C-EDEFA3D388AD + template <> inline constexpr guid guid_v{ 0x1ACA93E7,0xE804,0x454D,{ 0x84,0x66,0xF9,0x89,0x7C,0x20,0xB0,0xF6 } }; // 1ACA93E7-E804-454D-8466-F9897C20B0F6 + template <> inline constexpr guid guid_v{ 0x4D5AE1EF,0x029F,0x4101,{ 0x8C,0x35,0xFE,0x91,0xBF,0x9C,0xD5,0xF0 } }; // 4D5AE1EF-029F-4101-8C35-FE91BF9CD5F0 + template <> inline constexpr guid guid_v{ 0x4EEB8DEC,0xAD5D,0x4B0A,{ 0xB7,0x54,0xF3,0x6C,0x3D,0x46,0xD6,0x84 } }; // 4EEB8DEC-AD5D-4B0A-B754-F36C3D46D684 + template <> inline constexpr guid guid_v{ 0x2C0E22C7,0x05A0,0x517A,{ 0xB8,0x1C,0x6E,0xE8,0x79,0x0C,0x38,0x1F } }; // 2C0E22C7-05A0-517A-B81C-6EE8790C381F + template <> inline constexpr guid guid_v{ 0x685D4176,0xF6E0,0x4569,{ 0xB1,0xAA,0x21,0x5C,0x0F,0xF5,0xB2,0x57 } }; // 685D4176-F6E0-4569-B1AA-215C0FF5B257 + template <> inline constexpr guid guid_v{ 0xB71D98F7,0x61F0,0x4008,{ 0xB2,0x07,0x0B,0xF9,0xEB,0x2D,0x76,0xF2 } }; // B71D98F7-61F0-4008-B207-0BF9EB2D76F2 + template <> inline constexpr guid guid_v{ 0x10D7CC31,0x8B8F,0x4B9D,{ 0xB2,0x2C,0x61,0x71,0x03,0xB5,0x5B,0x08 } }; // 10D7CC31-8B8F-4B9D-B22C-617103B55B08 + template <> inline constexpr guid guid_v{ 0x98D5AA23,0x161F,0x4CD9,{ 0x8A,0x9C,0x26,0x9B,0x30,0x12,0x2B,0x0D } }; // 98D5AA23-161F-4CD9-8A9C-269B30122B0D + template <> inline constexpr guid guid_v{ 0xF888EC22,0xE8CF,0x56C0,{ 0xB1,0xDF,0x90,0xAF,0x4A,0xD8,0x0E,0x84 } }; // F888EC22-E8CF-56C0-B1DF-90AF4AD80E84 + template <> inline constexpr guid guid_v{ 0x6DAB9451,0x6169,0x55DF,{ 0x8F,0x51,0x79,0x0E,0x99,0xD7,0x27,0x7D } }; // 6DAB9451-6169-55DF-8F51-790E99D7277D + template <> inline constexpr guid guid_v{ 0x10951754,0x204B,0x5EC9,{ 0x9D,0xE3,0xDF,0x79,0x2D,0x07,0x4A,0x61 } }; // 10951754-204B-5EC9-9DE3-DF792D074A61 + template <> inline constexpr guid guid_v{ 0x0DFA28FA,0x2EF0,0x4D8F,{ 0xB3,0x41,0x31,0x71,0xB2,0xDF,0x93,0xB1 } }; // 0DFA28FA-2EF0-4D8F-B341-3171B2DF93B1 + template <> inline constexpr guid guid_v{ 0xA858C3EF,0x8172,0x4F10,{ 0xAF,0x93,0xCB,0xE6,0x0A,0xF8,0x8D,0x09 } }; // A858C3EF-8172-4F10-AF93-CBE60AF88D09 + template <> inline constexpr guid guid_v{ 0xC9190ED8,0x0FD0,0x4946,{ 0xBB,0x88,0x11,0x7A,0x60,0x73,0x7B,0x61 } }; // C9190ED8-0FD0-4946-BB88-117A60737B61 + template <> inline constexpr guid guid_v{ 0xAEC7CAA7,0x9AC6,0x4BF5,{ 0x8B,0x91,0x5C,0x1A,0xDF,0x0D,0x7D,0x00 } }; // AEC7CAA7-9AC6-4BF5-8B91-5C1ADF0D7D00 + template <> inline constexpr guid guid_v{ 0xC405EB7D,0x7053,0x4F6A,{ 0x9B,0x87,0x74,0x68,0x46,0xED,0x19,0xB2 } }; // C405EB7D-7053-4F6A-9B87-746846ED19B2 + template <> inline constexpr guid guid_v{ 0x556BA72E,0xCA9D,0x4211,{ 0xB1,0x43,0x1C,0xED,0xC8,0x6E,0xB2,0xFE } }; // 556BA72E-CA9D-4211-B143-1CEDC86EB2FE + template <> inline constexpr guid guid_v{ 0x8FA1DC2F,0x57DA,0x4BB5,{ 0x9C,0x06,0xFA,0x07,0x2D,0x20,0x32,0xE2 } }; // 8FA1DC2F-57DA-4BB5-9C06-FA072D2032E2 + template <> inline constexpr guid guid_v{ 0xEBDB3CAB,0x7A3A,0x4524,{ 0xA0,0xF4,0xF9,0x6E,0x28,0x4D,0x33,0xCD } }; // EBDB3CAB-7A3A-4524-A0F4-F96E284D33CD + template <> inline constexpr guid guid_v{ 0x8A9C75AE,0x69BA,0x4001,{ 0x96,0xFC,0x19,0xA0,0x27,0x03,0xB3,0x40 } }; // 8A9C75AE-69BA-4001-96FC-19A02703B340 + template <> inline constexpr guid guid_v{ 0xB0BDD5DD,0x91D7,0x481E,{ 0x94,0xF2,0x2A,0x5A,0x6B,0xDF,0x93,0x83 } }; // B0BDD5DD-91D7-481E-94F2-2A5A6BDF9383 + template <> inline constexpr guid guid_v{ 0x06E444BB,0x53C0,0x4889,{ 0x8F,0xA3,0x53,0x59,0x2E,0x37,0xCF,0x21 } }; // 06E444BB-53C0-4889-8FA3-53592E37CF21 + template <> inline constexpr guid guid_v{ 0x55EF9EBC,0x0444,0x42AD,{ 0x83,0x2D,0x1B,0x89,0xC0,0x89,0xD1,0xCA } }; // 55EF9EBC-0444-42AD-832D-1B89C089D1CA + template <> inline constexpr guid guid_v{ 0xFAF26FFA,0x8CE1,0x4CC1,{ 0xB2,0x78,0x32,0x2D,0x31,0xA5,0xE4,0xA3 } }; // FAF26FFA-8CE1-4CC1-B278-322D31A5E4A3 + template <> inline constexpr guid guid_v{ 0xF5B4C8FF,0x1D9D,0x4995,{ 0x9F,0xEA,0x4D,0x15,0x25,0x7C,0x07,0x57 } }; // F5B4C8FF-1D9D-4995-9FEA-4D15257C0757 + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall StartProcessSilentlyAsync(void*, void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall StartProcessSilentlyWithTelemetryAsync(void*, void*, int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShareFolderAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShareFolderWithTelemetryAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LaunchFileWithUIAsync(void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall LaunchFileWithUIAndTelemetryAsync(void*, void*, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall TerminateAsync(void**) noexcept = 0; + virtual int32_t __stdcall TerminateWithTelemetryAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RegisterMessageReceiver(winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterMessageReceiver(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PostMessageToReceiverAsync(winrt::guid, void*, void**) noexcept = 0; + virtual int32_t __stdcall PostMessageToReceiverWithTelemetryAsync(winrt::guid, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetUserInfo(void**) noexcept = 0; + virtual int32_t __stdcall ShareFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShareFileWithTelemetryAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ChangePriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Environment(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ChangeCreationPriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateWithTelemetryAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetById(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindByOwnerId(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_HostPath(void**) noexcept = 0; + virtual int32_t __stdcall Close() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_GuestPath(void**) noexcept = 0; + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReady(bool*) noexcept = 0; + virtual int32_t __stdcall get_HostErrors(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnvironmentOwnerId(void**) noexcept = 0; + virtual int32_t __stdcall put_EnvironmentOwnerId(void*) noexcept = 0; + virtual int32_t __stdcall get_AllowedClipboardFormats(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AllowedClipboardFormats(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_ClipboardCopyPasteDirections(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_ClipboardCopyPasteDirections(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_AvailablePrinters(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AvailablePrinters(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_SharedHostFolderPath(void**) noexcept = 0; + virtual int32_t __stdcall get_SharedFolderNameInEnvironment(void**) noexcept = 0; + virtual int32_t __stdcall ShareHostFolderForUntrustedItems(void*, void*) noexcept = 0; + virtual int32_t __stdcall get_PersistUserProfile(bool*) noexcept = 0; + virtual int32_t __stdcall put_PersistUserProfile(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowGraphicsHardwareAcceleration(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowGraphicsHardwareAcceleration(bool) noexcept = 0; + virtual int32_t __stdcall get_AllowCameraAndMicrophoneAccess(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowCameraAndMicrophoneAccess(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_WindowAnnotationOverride(void**) noexcept = 0; + virtual int32_t __stdcall put_WindowAnnotationOverride(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowedClipboardFormatsToEnvironment(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AllowedClipboardFormatsToEnvironment(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_AllowedClipboardFormatsToHost(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_AllowedClipboardFormatsToHost(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_CreationPriority(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_CreationPriority(int32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShareableFolders(void**) noexcept = 0; + virtual int32_t __stdcall get_ProcessesRunnableAsSystem(void**) noexcept = 0; + virtual int32_t __stdcall get_ProcessesRunnableAsUser(void**) noexcept = 0; + virtual int32_t __stdcall get_ActivationFileExtensions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Register(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall Unregister(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExitCode(uint32_t*) noexcept = 0; + virtual int32_t __stdcall WaitForExit() noexcept = 0; + virtual int32_t __stdcall WaitForExitWithTimeout(uint32_t) noexcept = 0; + virtual int32_t __stdcall WaitForExitAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWrite(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWrite(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWrite(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWrite(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_Process(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_CorrelationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_CorrelationId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EnvironmentUserSid(void**) noexcept = 0; + virtual int32_t __stdcall get_EnvironmentUserName(void**) noexcept = 0; + virtual int32_t __stdcall TryWaitForSignInAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall TryWaitForSignInWithProgressAsync(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall PostMessageToReceiver(winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall GetFileId(void*, winrt::guid*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall RegisterHostMessageReceiver(winrt::guid, void*) noexcept = 0; + virtual int32_t __stdcall UnregisterHostMessageReceiver(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(winrt::guid, void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : unknown_abi + { + virtual int32_t __stdcall Invoke(winrt::guid, void*) noexcept = 0; + }; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment + { + [[nodiscard]] auto Id() const; + auto StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const; + auto StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const; + auto ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const; + auto LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto TerminateAsync() const; + auto TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const; + auto UnregisterMessageReceiver(winrt::guid const& receiverId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2 + { + auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message) const; + auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3 + { + auto GetUserInfo() const; + auto ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const; + auto ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment4 + { + auto ChangePriority(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreationPriority const& Priority) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment4; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Environment() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult2 + { + auto ChangeCreationPriority(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreationPriority const& priority) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult2; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory + { + auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const; + auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto GetById(param::hstring const& environmentId) const; + auto FindByOwnerId(param::hstring const& environmentOwnerId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile + { + [[nodiscard]] auto Id() const; + [[nodiscard]] auto HostPath() const; + auto Close() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2 + { + [[nodiscard]] auto GuestPath() const; + [[nodiscard]] auto IsReadOnly() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics + { + [[nodiscard]] auto IsReady() const; + [[nodiscard]] auto HostErrors() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions + { + [[nodiscard]] auto EnvironmentOwnerId() const; + auto EnvironmentOwnerId(param::hstring const& value) const; + [[nodiscard]] auto AllowedClipboardFormats() const; + auto AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const; + [[nodiscard]] auto ClipboardCopyPasteDirections() const; + auto ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const; + [[nodiscard]] auto AvailablePrinters() const; + auto AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const; + [[nodiscard]] auto SharedHostFolderPath() const; + [[nodiscard]] auto SharedFolderNameInEnvironment() const; + auto ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const; + [[nodiscard]] auto PersistUserProfile() const; + auto PersistUserProfile(bool value) const; + [[nodiscard]] auto AllowGraphicsHardwareAcceleration() const; + auto AllowGraphicsHardwareAcceleration(bool value) const; + [[nodiscard]] auto AllowCameraAndMicrophoneAccess() const; + auto AllowCameraAndMicrophoneAccess(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2 + { + [[nodiscard]] auto WindowAnnotationOverride() const; + auto WindowAnnotationOverride(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions3 + { + [[nodiscard]] auto AllowedClipboardFormatsToEnvironment() const; + auto AllowedClipboardFormatsToEnvironment(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const; + [[nodiscard]] auto AllowedClipboardFormatsToHost() const; + auto AllowedClipboardFormatsToHost(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const; + [[nodiscard]] auto CreationPriority() const; + auto CreationPriority(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreationPriority const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions3; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData + { + [[nodiscard]] auto ShareableFolders() const; + [[nodiscard]] auto ProcessesRunnableAsSystem() const; + [[nodiscard]] auto ProcessesRunnableAsUser() const; + [[nodiscard]] auto ActivationFileExtensions() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics + { + auto Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const; + auto Unregister(param::hstring const& ownerName) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess + { + [[nodiscard]] auto State() const; + [[nodiscard]] auto ExitCode() const; + auto WaitForExit() const; + auto WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const; + auto WaitForExitAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions + { + [[nodiscard]] auto AllowWrite() const; + auto AllowWrite(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions + { + [[nodiscard]] auto AllowWrite() const; + auto AllowWrite(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult + { + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Process() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters + { + [[nodiscard]] auto CorrelationId() const; + auto CorrelationId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo + { + [[nodiscard]] auto EnvironmentUserSid() const; + [[nodiscard]] auto EnvironmentUserName() const; + auto TryWaitForSignInAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo2 + { + auto TryWaitForSignInWithProgressAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo2; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics + { + auto PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const; + auto GetFileId(param::hstring const& filePath) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2 + { + auto RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const; + auto UnregisterHostMessageReceiver(winrt::guid const& receiverId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2; + }; + struct struct_Windows_Security_Isolation_IsolatedWindowsEnvironmentCreateProgress + { + int32_t State; + uint32_t PercentComplete; + }; + template <> struct abi + { + using type = struct_Windows_Security_Isolation_IsolatedWindowsEnvironmentCreateProgress; + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.1.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.1.h new file mode 100644 index 0000000000000000000000000000000000000000..227ab8b88b61dc17e56a6d413e240041c9850c0a --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.1.h @@ -0,0 +1,216 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Isolation_1_H +#define WINRT_Windows_Security_Isolation_1_H +#include "winrt/impl/Windows.Security.Isolation.0.h" +WINRT_EXPORT namespace winrt::Windows::Security::Isolation +{ + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironment : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironment(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironment2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironment2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironment2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironment3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironment3(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironment3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironment4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironment4(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironment4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentCreateResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentCreateResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentCreateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentCreateResult2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentCreateResult2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentCreateResult2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentFactory(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentFile : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentFile(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentFile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentFile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentFile2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentFile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentHostStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentHostStatics(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentHostStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentLaunchFileResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentLaunchFileResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentLaunchFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOptions(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOptions2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOptions3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOptions3(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOwnerRegistrationData : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOwnerRegistrationData(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOwnerRegistrationData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOwnerRegistrationResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOwnerRegistrationResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOwnerRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentOwnerRegistrationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOwnerRegistrationStatics(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOwnerRegistrationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentPostMessageResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentPostMessageResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentPostMessageResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentProcess : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentProcess(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentProcess(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentShareFileRequestOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentShareFileResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFileResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentShareFolderRequestOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFolderRequestOptions(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFolderRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentShareFolderResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFolderResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFolderResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentStartProcessResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentStartProcessResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentStartProcessResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentTelemetryParameters : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentTelemetryParameters(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentTelemetryParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentUserInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentUserInfo(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsEnvironmentUserInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentUserInfo2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentUserInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsHostMessengerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsHostMessengerStatics(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsHostMessengerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IIsolatedWindowsHostMessengerStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsHostMessengerStatics2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsHostMessengerStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.2.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.2.h new file mode 100644 index 0000000000000000000000000000000000000000..52b3b4b65ccb279eb820015724c2e16a80723ef9 --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.security.isolation.2.h @@ -0,0 +1,167 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Security_Isolation_2_H +#define WINRT_Windows_Security_Isolation_2_H +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Security.Isolation.1.h" +WINRT_EXPORT namespace winrt::Windows::Security::Isolation +{ + struct HostMessageReceivedCallback : winrt::Windows::Foundation::IUnknown + { + HostMessageReceivedCallback(std::nullptr_t = nullptr) noexcept {} + HostMessageReceivedCallback(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template HostMessageReceivedCallback(L lambda); + template HostMessageReceivedCallback(F* function); + template HostMessageReceivedCallback(O* object, M method); + template HostMessageReceivedCallback(com_ptr&& object, M method); + template HostMessageReceivedCallback(weak_ref&& object, LM&& lambda_or_method); + template HostMessageReceivedCallback(std::shared_ptr&& object, M method); + template HostMessageReceivedCallback(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::guid const& receiverId, param::vector_view const& message) const; + }; + struct MessageReceivedCallback : winrt::Windows::Foundation::IUnknown + { + MessageReceivedCallback(std::nullptr_t = nullptr) noexcept {} + MessageReceivedCallback(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} + template MessageReceivedCallback(L lambda); + template MessageReceivedCallback(F* function); + template MessageReceivedCallback(O* object, M method); + template MessageReceivedCallback(com_ptr&& object, M method); + template MessageReceivedCallback(weak_ref&& object, LM&& lambda_or_method); + template MessageReceivedCallback(std::shared_ptr&& object, M method); + template MessageReceivedCallback(std::weak_ptr&& object, LM&& lambda_or_method); + auto operator()(winrt::guid const& receiverId, param::vector_view const& message) const; + }; + struct IsolatedWindowsEnvironmentCreateProgress + { + winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProgressState State {}; + uint32_t PercentComplete {}; + }; + inline bool operator==(IsolatedWindowsEnvironmentCreateProgress const& left, IsolatedWindowsEnvironmentCreateProgress const& right) noexcept + { + return left.State == right.State && left.PercentComplete == right.PercentComplete; + } + inline bool operator!=(IsolatedWindowsEnvironmentCreateProgress const& left, IsolatedWindowsEnvironmentCreateProgress const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironment : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment, + impl::require + { + IsolatedWindowsEnvironment(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment(ptr, take_ownership_from_abi) {} + static auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options); + static auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters); + static auto GetById(param::hstring const& environmentId); + static auto FindByOwnerId(param::hstring const& environmentOwnerId); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentCreateResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult, + impl::require + { + IsolatedWindowsEnvironmentCreateResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentCreateResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentFile : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile, + impl::require + { + IsolatedWindowsEnvironmentFile(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentFile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile(ptr, take_ownership_from_abi) {} + }; + struct IsolatedWindowsEnvironmentHost + { + IsolatedWindowsEnvironmentHost() = delete; + [[nodiscard]] static auto IsReady(); + [[nodiscard]] static auto HostErrors(); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentLaunchFileResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult + { + IsolatedWindowsEnvironmentLaunchFileResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentLaunchFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions, + impl::require + { + IsolatedWindowsEnvironmentOptions(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentOptions(); + }; + struct IsolatedWindowsEnvironmentOwnerRegistration + { + IsolatedWindowsEnvironmentOwnerRegistration() = delete; + static auto Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData); + static auto Unregister(param::hstring const& ownerName); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentOwnerRegistrationData : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData + { + IsolatedWindowsEnvironmentOwnerRegistrationData(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentOwnerRegistrationData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentOwnerRegistrationData(); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentOwnerRegistrationResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult + { + IsolatedWindowsEnvironmentOwnerRegistrationResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentOwnerRegistrationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentPostMessageResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult + { + IsolatedWindowsEnvironmentPostMessageResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentPostMessageResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentProcess : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess + { + IsolatedWindowsEnvironmentProcess(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentProcess(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentShareFileRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions + { + IsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentShareFileRequestOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentShareFileResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult + { + IsolatedWindowsEnvironmentShareFileResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentShareFolderRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions + { + IsolatedWindowsEnvironmentShareFolderRequestOptions(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFolderRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentShareFolderRequestOptions(); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentShareFolderResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult + { + IsolatedWindowsEnvironmentShareFolderResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFolderResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentStartProcessResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult + { + IsolatedWindowsEnvironmentStartProcessResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentStartProcessResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentTelemetryParameters : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters + { + IsolatedWindowsEnvironmentTelemetryParameters(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentTelemetryParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentTelemetryParameters(); + }; + struct WINRT_IMPL_EMPTY_BASES IsolatedWindowsEnvironmentUserInfo : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo, + impl::require + { + IsolatedWindowsEnvironmentUserInfo(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo(ptr, take_ownership_from_abi) {} + }; + struct IsolatedWindowsHostMessenger + { + IsolatedWindowsHostMessenger() = delete; + static auto PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message); + static auto GetFileId(param::hstring const& filePath); + static auto RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback); + static auto UnregisterHostMessageReceiver(winrt::guid const& receiverId); + }; +} +#endif diff --git a/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.services.cortana.0.h b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.services.cortana.0.h new file mode 100644 index 0000000000000000000000000000000000000000..ff9954287f55607c781f94e9be410052aa3679fe --- /dev/null +++ b/msvc/Windows Kits/10/Include/10.0.26100.0/cppwinrt/winrt/impl/windows.services.cortana.0.h @@ -0,0 +1,250 @@ +// C++/WinRT v2.0.250303.1 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma once +#ifndef WINRT_Windows_Services_Cortana_0_H +#define WINRT_Windows_Services_Cortana_0_H +WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer +{ + struct DataPackage; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct IAsyncAction; + struct Uri; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Windows::Storage::Streams +{ + struct IRandomAccessStreamReference; +} +WINRT_EXPORT namespace winrt::Windows::System +{ + struct User; +} +WINRT_EXPORT namespace winrt::Windows::Services::Cortana +{ + enum class CortanaPermission : int32_t + { + BrowsingHistory = 0, + Calendar = 1, + CallHistory = 2, + Contacts = 3, + Email = 4, + InputPersonalization = 5, + Location = 6, + Messaging = 7, + Microphone = 8, + Personalization = 9, + PhoneCall = 10, + }; + enum class CortanaPermissionsChangeResult : int32_t + { + Success = 0, + Unavailable = 1, + DisabledByPolicy = 2, + }; + struct ICortanaActionableInsights; + struct ICortanaActionableInsightsOptions; + struct ICortanaActionableInsightsStatics; + struct ICortanaPermissionsManager; + struct ICortanaPermissionsManagerStatics; + struct ICortanaSettings; + struct ICortanaSettingsStatics; + struct CortanaActionableInsights; + struct CortanaActionableInsightsOptions; + struct CortanaPermissionsManager; + struct CortanaSettings; +} +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 = 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 <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaActionableInsights"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaActionableInsightsOptions"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaPermissionsManager"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaSettings"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaPermission"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.CortanaPermissionsChangeResult"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaActionableInsights"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaActionableInsightsOptions"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaActionableInsightsStatics"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaPermissionsManager"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaPermissionsManagerStatics"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaSettings"; + template <> inline constexpr auto& name_v = L"Windows.Services.Cortana.ICortanaSettingsStatics"; + template <> inline constexpr guid guid_v{ 0x951EC6B1,0xFC83,0x586D,{ 0x8B,0x84,0x24,0x52,0xC8,0x98,0x16,0x25 } }; // 951EC6B1-FC83-586D-8B84-2452C8981625 + template <> inline constexpr guid guid_v{ 0xAAC2BBCF,0x9782,0x5420,{ 0xB8,0x1E,0x7A,0xE5,0x6A,0xF3,0x18,0x15 } }; // AAC2BBCF-9782-5420-B81E-7AE56AF31815 + template <> inline constexpr guid guid_v{ 0xB5DED412,0x9D2F,0x5CB5,{ 0x9B,0x05,0x35,0x6A,0x0B,0x83,0x6C,0x10 } }; // B5DED412-9D2F-5CB5-9B05-356A0B836C10 + template <> inline constexpr guid guid_v{ 0x191330E0,0x8695,0x438A,{ 0x95,0x45,0x3D,0xA4,0xE8,0x22,0xDD,0xB4 } }; // 191330E0-8695-438A-9545-3DA4E822DDB4 + template <> inline constexpr guid guid_v{ 0x76B1E67A,0xB045,0x4414,{ 0x9D,0x6D,0x2A,0xD3,0xA5,0xFE,0x3A,0x7E } }; // 76B1E67A-B045-4414-9D6D-2AD3A5FE3A7E + template <> inline constexpr guid guid_v{ 0x54D571A7,0x8062,0x40F4,{ 0xAB,0xE7,0xDE,0xDF,0xD6,0x97,0xB0,0x19 } }; // 54D571A7-8062-40F4-ABE7-DEDFD697B019 + template <> inline constexpr guid guid_v{ 0x8B2CCD7E,0x2EC0,0x446D,{ 0x92,0x85,0x33,0xF0,0x7C,0xE8,0xAC,0x04 } }; // 8B2CCD7E-2EC0-446D-9285-33F07CE8AC04 + template <> struct default_interface{ using type = winrt::Windows::Services::Cortana::ICortanaActionableInsights; }; + template <> struct default_interface{ using type = winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Services::Cortana::ICortanaPermissionsManager; }; + template <> struct default_interface{ using type = winrt::Windows::Services::Cortana::ICortanaSettings; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_User(void**) noexcept = 0; + virtual int32_t __stdcall IsAvailableAsync(void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsForImageAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsForImageWithOptionsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsForTextAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsForTextWithOptionsAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall ShowInsightsWithOptionsAsync(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ContentSourceWebLink(void**) noexcept = 0; + virtual int32_t __stdcall put_ContentSourceWebLink(void*) noexcept = 0; + virtual int32_t __stdcall get_SurroundingText(void**) noexcept = 0; + virtual int32_t __stdcall put_SurroundingText(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + virtual int32_t __stdcall GetForUser(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall ArePermissionsGrantedAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall GrantPermissionsAsync(void*, void**) noexcept = 0; + virtual int32_t __stdcall RevokePermissionsAsync(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_HasUserConsentToVoiceActivation(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsVoiceActivationEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsVoiceActivationEnabled(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; + template + struct consume_Windows_Services_Cortana_ICortanaActionableInsights + { + [[nodiscard]] auto User() const; + auto IsAvailableAsync() const; + auto ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const; + auto ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + auto ShowInsightsForTextAsync(param::hstring const& text) const; + auto ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + auto ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const; + auto ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaActionableInsights; + }; + template + struct consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions + { + [[nodiscard]] auto ContentSourceWebLink() const; + auto ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto SurroundingText() const; + auto SurroundingText(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions; + }; + template + struct consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics + { + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics; + }; + template + struct consume_Windows_Services_Cortana_ICortanaPermissionsManager + { + auto IsSupported() const; + auto ArePermissionsGrantedAsync(param::async_iterable const& permissions) const; + auto GrantPermissionsAsync(param::async_iterable const& permissions) const; + auto RevokePermissionsAsync(param::async_iterable const& permissions) const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaPermissionsManager; + }; + template + struct consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics + { + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics; + }; + template + struct consume_Windows_Services_Cortana_ICortanaSettings + { + [[nodiscard]] auto HasUserConsentToVoiceActivation() const; + [[nodiscard]] auto IsVoiceActivationEnabled() const; + auto IsVoiceActivationEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaSettings; + }; + template + struct consume_Windows_Services_Cortana_ICortanaSettingsStatics + { + auto IsSupported() const; + auto GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_Services_Cortana_ICortanaSettingsStatics; + }; +} +#endif