// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_0_H #define WINRT_Windows_ApplicationModel_Contacts_DataProvider_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts { struct Contact; enum class ContactBatchStatus : int32_t; struct ContactQueryOptions; } 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::Contacts::DataProvider { struct IContactDataProviderConnection; struct IContactDataProviderConnection2; struct IContactDataProviderTriggerDetails; struct IContactListCreateOrUpdateContactRequest; struct IContactListCreateOrUpdateContactRequestEventArgs; struct IContactListDeleteContactRequest; struct IContactListDeleteContactRequestEventArgs; struct IContactListServerSearchReadBatchRequest; struct IContactListServerSearchReadBatchRequestEventArgs; struct IContactListSyncManagerSyncRequest; struct IContactListSyncManagerSyncRequestEventArgs; struct ContactDataProviderConnection; struct ContactDataProviderTriggerDetails; struct ContactListCreateOrUpdateContactRequest; struct ContactListCreateOrUpdateContactRequestEventArgs; struct ContactListDeleteContactRequest; struct ContactListDeleteContactRequestEventArgs; struct ContactListServerSearchReadBatchRequest; struct ContactListServerSearchReadBatchRequestEventArgs; struct ContactListSyncManagerSyncRequest; struct ContactListSyncManagerSyncRequestEventArgs; } 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 <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderConnection"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderTriggerDetails"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactDataProviderConnection"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactDataProviderConnection2"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactDataProviderTriggerDetails"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListCreateOrUpdateContactRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListCreateOrUpdateContactRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListDeleteContactRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListDeleteContactRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListServerSearchReadBatchRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListServerSearchReadBatchRequestEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListSyncManagerSyncRequest"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Contacts.DataProvider.IContactListSyncManagerSyncRequestEventArgs"; template <> inline constexpr guid guid_v{ 0x1A398A52,0x8C9D,0x4D6F,{ 0xA4,0xE0,0x11,0x1E,0x9A,0x12,0x5A,0x30 } }; // 1A398A52-8C9D-4D6F-A4E0-111E9A125A30 template <> inline constexpr guid guid_v{ 0xA1D327B0,0x196C,0x4BFD,{ 0x8F,0x0F,0xC6,0x8D,0x67,0xF2,0x49,0xD3 } }; // A1D327B0-196C-4BFD-8F0F-C68D67F249D3 template <> inline constexpr guid guid_v{ 0x527104BE,0x3C62,0x43C8,{ 0x9A,0xE7,0xDB,0x53,0x16,0x85,0xCD,0x99 } }; // 527104BE-3C62-43C8-9AE7-DB531685CD99 template <> inline constexpr guid guid_v{ 0xB4AF411F,0xC849,0x47D0,{ 0xB1,0x19,0x91,0xCF,0x60,0x5B,0x2F,0x2A } }; // B4AF411F-C849-47D0-B119-91CF605B2F2A template <> inline constexpr guid guid_v{ 0x851C1690,0x1A51,0x4B0C,{ 0xAE,0xEF,0x12,0x40,0xAC,0x5B,0xED,0x75 } }; // 851C1690-1A51-4B0C-AEEF-1240AC5BED75 template <> inline constexpr guid guid_v{ 0x5E114687,0xCE03,0x4DE5,{ 0x85,0x57,0x9C,0xCF,0x55,0x2D,0x47,0x2A } }; // 5E114687-CE03-4DE5-8557-9CCF552D472A template <> inline constexpr guid guid_v{ 0xB22054A1,0xE8FA,0x4DB5,{ 0x93,0x89,0x2D,0x12,0xEE,0x7D,0x15,0xEE } }; // B22054A1-E8FA-4DB5-9389-2D12EE7D15EE template <> inline constexpr guid guid_v{ 0xBA776A97,0x4030,0x4925,{ 0x9F,0xB4,0x14,0x3B,0x29,0x5E,0x65,0x3B } }; // BA776A97-4030-4925-9FB4-143B295E653B template <> inline constexpr guid guid_v{ 0x1A27E87B,0x69D7,0x4E4E,{ 0x80,0x42,0x86,0x1C,0xBA,0x61,0x47,0x1E } }; // 1A27E87B-69D7-4E4E-8042-861CBA61471E template <> inline constexpr guid guid_v{ 0x3C0E57A4,0xC4E7,0x4970,{ 0x9A,0x8F,0x9A,0x66,0xA2,0xBB,0x6C,0x1A } }; // 3C0E57A4-C4E7-4970-9A8F-9A66A2BB6C1A template <> inline constexpr guid guid_v{ 0x158E4DAC,0x446D,0x4F10,{ 0xAF,0xC2,0x02,0x68,0x3E,0xC5,0x33,0xA6 } }; // 158E4DAC-446D-4F10-AFC2-02683EC533A6 template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderTriggerDetails; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequestEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequestEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequestEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequest; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequestEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { 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_ServerSearchReadBatchRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_ServerSearchReadBatchRequested(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_CreateOrUpdateContactRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CreateOrUpdateContactRequested(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_DeleteContactRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_DeleteContactRequested(winrt::event_token) 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_ContactListId(void**) noexcept = 0; virtual int32_t __stdcall get_Contact(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_ContactListId(void**) noexcept = 0; virtual int32_t __stdcall get_ContactId(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_SessionId(void**) noexcept = 0; virtual int32_t __stdcall get_ContactListId(void**) noexcept = 0; virtual int32_t __stdcall get_Options(void**) noexcept = 0; virtual int32_t __stdcall get_SuggestedBatchSize(uint32_t*) noexcept = 0; virtual int32_t __stdcall SaveContactAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall ReportCompletedAsync(void**) noexcept = 0; virtual int32_t __stdcall ReportFailedAsync(int32_t, 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_ContactListId(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_Contacts_DataProvider_IContactDataProviderConnection { 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 ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServerSearchReadBatchRequested_revoker = impl::event_revoker::remove_ServerSearchReadBatchRequested>; [[nodiscard]] auto ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept; auto Start() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2 { auto CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CreateOrUpdateContactRequested_revoker = impl::event_revoker::remove_CreateOrUpdateContactRequested>; [[nodiscard]] auto CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept; auto DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DeleteContactRequested_revoker = impl::event_revoker::remove_DeleteContactRequested>; [[nodiscard]] auto DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto DeleteContactRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails { [[nodiscard]] auto Connection() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest { [[nodiscard]] auto ContactListId() const; [[nodiscard]] auto Contact() const; auto ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const; auto ReportFailedAsync() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs { [[nodiscard]] auto Request() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest { [[nodiscard]] auto ContactListId() const; [[nodiscard]] auto ContactId() const; auto ReportCompletedAsync() const; auto ReportFailedAsync() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs { [[nodiscard]] auto Request() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest { [[nodiscard]] auto SessionId() const; [[nodiscard]] auto ContactListId() const; [[nodiscard]] auto Options() const; [[nodiscard]] auto SuggestedBatchSize() const; auto SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; auto ReportCompletedAsync() const; auto ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs { [[nodiscard]] auto Request() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest { [[nodiscard]] auto ContactListId() const; auto ReportCompletedAsync() const; auto ReportFailedAsync() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest; }; template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs { [[nodiscard]] auto Request() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs; }; } #endif