// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #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