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