// // Copyright (c) Microsoft Corporation. All rights reserved. // // // File generated by WinMDIDL version 8.00.0021 // import "inspectable.idl"; import "AsyncInfo.idl"; import "EventToken.idl"; import "windowscontracts.idl"; import "Windows.Foundation.idl"; import "Windows.Security.Credentials.idl"; import "Windows.System.idl"; import "Windows.UI.Popups.idl"; // Forward Declare namespace Windows { namespace Foundation { interface IAsyncAction; apicontract UniversalApiContract; } } namespace Windows { namespace Security { namespace Credentials { runtimeclass PasswordCredential; runtimeclass WebAccount; runtimeclass WebAccountProvider; } } } namespace Windows { namespace System { runtimeclass User; } } namespace Windows { namespace UI { namespace Popups { interface IUICommand; delegate UICommandInvokedHandler; } } } namespace Windows { namespace UI { namespace ApplicationSettings { apicontract ApplicationsSettingsContract; typedef enum SettingsEdgeLocation SettingsEdgeLocation; typedef enum SupportedWebAccountActions SupportedWebAccountActions; typedef enum WebAccountAction WebAccountAction; delegate CredentialCommandCredentialDeletedHandler; delegate WebAccountCommandInvokedHandler; delegate WebAccountProviderCommandInvokedHandler; interface IAccountsSettingsPane; interface IAccountsSettingsPaneCommandsRequestedEventArgs; interface IAccountsSettingsPaneCommandsRequestedEventArgs2; interface IAccountsSettingsPaneEventDeferral; interface IAccountsSettingsPaneStatics; interface IAccountsSettingsPaneStatics2; interface IAccountsSettingsPaneStatics3; interface ICredentialCommand; interface ICredentialCommandFactory; interface ISettingsCommandFactory; interface ISettingsCommandStatics; interface ISettingsPane; interface ISettingsPaneCommandsRequest; interface ISettingsPaneCommandsRequestedEventArgs; interface ISettingsPaneStatics; interface IWebAccountCommand; interface IWebAccountCommandFactory; interface IWebAccountInvokedArgs; interface IWebAccountProviderCommand; interface IWebAccountProviderCommandFactory; runtimeclass AccountsSettingsPane; runtimeclass AccountsSettingsPaneCommandsRequestedEventArgs; runtimeclass AccountsSettingsPaneEventDeferral; runtimeclass CredentialCommand; runtimeclass SettingsCommand; runtimeclass SettingsPane; runtimeclass SettingsPaneCommandsRequest; runtimeclass SettingsPaneCommandsRequestedEventArgs; runtimeclass WebAccountCommand; runtimeclass WebAccountInvokedArgs; runtimeclass WebAccountProviderCommand; } } } // Generic instantiations namespace Windows { namespace UI { namespace ApplicationSettings { declare { interface Windows.Foundation.Collections.IIterable; interface Windows.Foundation.Collections.IIterable; interface Windows.Foundation.Collections.IIterable; interface Windows.Foundation.Collections.IIterable; interface Windows.Foundation.Collections.IIterator; interface Windows.Foundation.Collections.IIterator; interface Windows.Foundation.Collections.IIterator; interface Windows.Foundation.Collections.IIterator; interface Windows.Foundation.Collections.IVectorView; interface Windows.Foundation.Collections.IVectorView; interface Windows.Foundation.Collections.IVectorView; interface Windows.Foundation.Collections.IVectorView; interface Windows.Foundation.Collections.IVector; interface Windows.Foundation.Collections.IVector; interface Windows.Foundation.Collections.IVector; interface Windows.Foundation.Collections.IVector; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; } } } } // Type definition namespace Windows { namespace UI { namespace ApplicationSettings { [contractversion(1.0)] apicontract ApplicationsSettingsContract { } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsEdgeLocation is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] enum SettingsEdgeLocation { Right = 0, Left = 1 }; [contract(Windows.Foundation.UniversalApiContract, 1.0)] [flags] enum SupportedWebAccountActions { None = 0x0, Reconnect = 0x1, Remove = 0x2, ViewDetails = 0x4, Manage = 0x8, More = 0x10 }; [contract(Windows.Foundation.UniversalApiContract, 1.0)] enum WebAccountAction { Reconnect = 0, Remove = 1, ViewDetails = 2, Manage = 3, More = 4 }; [contract(Windows.Foundation.UniversalApiContract, 1.0)] [uuid(61C0E185-0977-4678-B4E2-98727AFBEED9)] delegate HRESULT CredentialCommandCredentialDeletedHandler([in] Windows.UI.ApplicationSettings.CredentialCommand* command); [contract(Windows.Foundation.UniversalApiContract, 1.0)] [uuid(1EE6E459-1705-4A9A-B599-A0C3D6921973)] delegate HRESULT WebAccountCommandInvokedHandler([in] Windows.UI.ApplicationSettings.WebAccountCommand* command, [in] Windows.UI.ApplicationSettings.WebAccountInvokedArgs* args); [contract(Windows.Foundation.UniversalApiContract, 1.0)] [uuid(B7DE5527-4C8F-42DD-84DA-5EC493ABDB9A)] delegate HRESULT WebAccountProviderCommandInvokedHandler([in] Windows.UI.ApplicationSettings.WebAccountProviderCommand* command); [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPane)] [uuid(81EA942C-4F09-4406-A538-838D9B14B7E6)] interface IAccountsSettingsPane : IInspectable { [eventadd] HRESULT AccountCommandsRequested([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* cookie); [eventremove] HRESULT AccountCommandsRequested([in] EventRegistrationToken cookie); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs)] [uuid(3B68C099-DB19-45D0-9ABF-95D3773C9330)] interface IAccountsSettingsPaneCommandsRequestedEventArgs : IInspectable { [propget] HRESULT WebAccountProviderCommands([out] [retval] Windows.Foundation.Collections.IVector** value); [propget] HRESULT WebAccountCommands([out] [retval] Windows.Foundation.Collections.IVector** value); [propget] HRESULT CredentialCommands([out] [retval] Windows.Foundation.Collections.IVector** value); [propget] HRESULT Commands([out] [retval] Windows.Foundation.Collections.IVector** value); [propget] HRESULT HeaderText([out] [retval] HSTRING* value); [propput] HRESULT HeaderText([in] HSTRING value); HRESULT GetDeferral([out] [retval] Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral** deferral); } [contract(Windows.Foundation.UniversalApiContract, 6.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs)] [uuid(362F7BAD-4E37-4967-8C40-E78EE7A1E5BB)] interface IAccountsSettingsPaneCommandsRequestedEventArgs2 : IInspectable { [propget] HRESULT User([out] [retval] Windows.System.User** value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral)] [uuid(CBF25D3F-E5BA-40EF-93DA-65E096E5FB04)] interface IAccountsSettingsPaneEventDeferral : IInspectable { HRESULT Complete(); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPane)] [uuid(561F8B60-B0EC-4150-A8DC-208EE44B068A)] interface IAccountsSettingsPaneStatics : IInspectable { HRESULT GetForCurrentView([out] [retval] Windows.UI.ApplicationSettings.AccountsSettingsPane** current); HRESULT Show(); } [contract(Windows.Foundation.UniversalApiContract, 3.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPane)] [uuid(D21DF7C2-CE0D-484F-B8E8-E823C215765E)] interface IAccountsSettingsPaneStatics2 : IInspectable requires Windows.UI.ApplicationSettings.IAccountsSettingsPaneStatics { HRESULT ShowManageAccountsAsync([out] [retval] Windows.Foundation.IAsyncAction** asyncInfo); HRESULT ShowAddAccountAsync([out] [retval] Windows.Foundation.IAsyncAction** asyncInfo); } [contract(Windows.Foundation.UniversalApiContract, 6.0)] [exclusiveto(Windows.UI.ApplicationSettings.AccountsSettingsPane)] [uuid(08410458-A2BA-4C6F-B4AC-48F514331216)] interface IAccountsSettingsPaneStatics3 : IInspectable { HRESULT ShowManageAccountsForUserAsync([in] Windows.System.User* user, [out] [retval] Windows.Foundation.IAsyncAction** operation); HRESULT ShowAddAccountForUserAsync([in] Windows.System.User* user, [out] [retval] Windows.Foundation.IAsyncAction** operation); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.CredentialCommand)] [uuid(A5F665E6-6143-4A7A-A971-B017BA978CE2)] interface ICredentialCommand : IInspectable { [propget] HRESULT PasswordCredential([out] [retval] Windows.Security.Credentials.PasswordCredential** value); [propget] HRESULT CredentialDeleted([out] [retval] Windows.UI.ApplicationSettings.CredentialCommandCredentialDeletedHandler** value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.CredentialCommand)] [uuid(27E88C17-BC3E-4B80-9495-4ED720E48A91)] interface ICredentialCommandFactory : IInspectable { HRESULT CreateCredentialCommand([in] Windows.Security.Credentials.PasswordCredential* passwordCredential, [out] [retval] Windows.UI.ApplicationSettings.CredentialCommand** instance); HRESULT CreateCredentialCommandWithHandler([in] Windows.Security.Credentials.PasswordCredential* passwordCredential, [in] Windows.UI.ApplicationSettings.CredentialCommandCredentialDeletedHandler* deleted, [out] [retval] Windows.UI.ApplicationSettings.CredentialCommand** instance); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsCommand)] [uuid(68E15B33-1C83-433A-AA5A-CEEEA5BD4764)] interface ISettingsCommandFactory : IInspectable { HRESULT CreateSettingsCommand([in] IInspectable* settingsCommandId, [in] HSTRING label, [in] Windows.UI.Popups.UICommandInvokedHandler* handler, [out] [retval] Windows.UI.ApplicationSettings.SettingsCommand** instance); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsCommand)] [uuid(749AE954-2F69-4B17-8ABA-D05CE5778E46)] interface ISettingsCommandStatics : IInspectable { [propget] HRESULT AccountsCommand([out] [retval] Windows.UI.ApplicationSettings.SettingsCommand** value); } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsPane)] [uuid(B1CD0932-4570-4C69-8D38-89446561ACE0)] interface ISettingsPane : IInspectable { [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [eventadd] HRESULT CommandsRequested([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* cookie); [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [eventremove] HRESULT CommandsRequested([in] EventRegistrationToken cookie); } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest)] [uuid(44DF23AE-5D6E-4068-A168-F47643182114)] interface ISettingsPaneCommandsRequest : IInspectable { [deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [propget] HRESULT ApplicationCommands([out] [retval] Windows.Foundation.Collections.IVector** value); } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPaneCommandsRequestedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs)] [uuid(205F5D24-1B48-4629-A6CA-2FDFEDAFB75D)] interface ISettingsPaneCommandsRequestedEventArgs : IInspectable { [deprecated("SettingsPaneCommandsRequestedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [propget] HRESULT Request([out] [retval] Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest** request); } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.SettingsPane)] [uuid(1C6A52C5-FF19-471B-BA6B-F8F35694AD9A)] interface ISettingsPaneStatics : IInspectable { [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] HRESULT GetForCurrentView([out] [retval] Windows.UI.ApplicationSettings.SettingsPane** current); [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] HRESULT Show(); [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [propget] HRESULT Edge([out] [retval] Windows.UI.ApplicationSettings.SettingsEdgeLocation* value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.WebAccountCommand)] [uuid(CAA39398-9CFA-4246-B0C4-A913A3896541)] interface IWebAccountCommand : IInspectable { [propget] HRESULT WebAccount([out] [retval] Windows.Security.Credentials.WebAccount** value); [propget] HRESULT Invoked([out] [retval] Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler** value); [propget] HRESULT Actions([out] [retval] Windows.UI.ApplicationSettings.SupportedWebAccountActions* value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.WebAccountCommand)] [uuid(BFA6CDFF-2F2D-42F5-81DE-1D56BAFC496D)] interface IWebAccountCommandFactory : IInspectable { HRESULT CreateWebAccountCommand([in] Windows.Security.Credentials.WebAccount* webAccount, [in] Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler* invoked, [in] Windows.UI.ApplicationSettings.SupportedWebAccountActions actions, [out] [retval] Windows.UI.ApplicationSettings.WebAccountCommand** instance); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.WebAccountInvokedArgs)] [uuid(E7ABCC40-A1D8-4C5D-9A7F-1D34B2F90AD2)] interface IWebAccountInvokedArgs : IInspectable { [propget] HRESULT Action([out] [retval] Windows.UI.ApplicationSettings.WebAccountAction* action); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.WebAccountProviderCommand)] [uuid(D69BDD9A-A0A6-4E9B-88DC-C71E757A3501)] interface IWebAccountProviderCommand : IInspectable { [propget] HRESULT WebAccountProvider([out] [retval] Windows.Security.Credentials.WebAccountProvider** value); [propget] HRESULT Invoked([out] [retval] Windows.UI.ApplicationSettings.WebAccountProviderCommandInvokedHandler** value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.UI.ApplicationSettings.WebAccountProviderCommand)] [uuid(D5658A1B-B176-4776-8469-A9D3FF0B3F59)] interface IWebAccountProviderCommandFactory : IInspectable { HRESULT CreateWebAccountProviderCommand([in] Windows.Security.Credentials.WebAccountProvider* webAccountProvider, [in] Windows.UI.ApplicationSettings.WebAccountProviderCommandInvokedHandler* invoked, [out] [retval] Windows.UI.ApplicationSettings.WebAccountProviderCommand** instance); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] [static(Windows.UI.ApplicationSettings.IAccountsSettingsPaneStatics, Windows.Foundation.UniversalApiContract, 1.0)] [static(Windows.UI.ApplicationSettings.IAccountsSettingsPaneStatics2, Windows.Foundation.UniversalApiContract, 3.0)] [static(Windows.UI.ApplicationSettings.IAccountsSettingsPaneStatics3, Windows.Foundation.UniversalApiContract, 6.0)] runtimeclass AccountsSettingsPane { [default] interface Windows.UI.ApplicationSettings.IAccountsSettingsPane; } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass AccountsSettingsPaneCommandsRequestedEventArgs { [default] interface Windows.UI.ApplicationSettings.IAccountsSettingsPaneCommandsRequestedEventArgs; [contract(Windows.Foundation.UniversalApiContract, 6.0)] interface Windows.UI.ApplicationSettings.IAccountsSettingsPaneCommandsRequestedEventArgs2; } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass AccountsSettingsPaneEventDeferral { [default] interface Windows.UI.ApplicationSettings.IAccountsSettingsPaneEventDeferral; } [activatable(Windows.UI.ApplicationSettings.ICredentialCommandFactory, Windows.Foundation.UniversalApiContract, 1.0)] [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass CredentialCommand { [default] interface Windows.UI.ApplicationSettings.ICredentialCommand; } [activatable(Windows.UI.ApplicationSettings.ISettingsCommandFactory, Windows.Foundation.UniversalApiContract, 1.0)] [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] [static(Windows.UI.ApplicationSettings.ISettingsCommandStatics, Windows.Foundation.UniversalApiContract, 1.0)] runtimeclass SettingsCommand { [default] interface Windows.UI.Popups.IUICommand; } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [marshaling_behavior(none)] [static(Windows.UI.ApplicationSettings.ISettingsPaneStatics, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] runtimeclass SettingsPane { [default] interface Windows.UI.ApplicationSettings.ISettingsPane; } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [marshaling_behavior(none)] runtimeclass SettingsPaneCommandsRequest { [default] interface Windows.UI.ApplicationSettings.ISettingsPaneCommandsRequest; } [contract(Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [deprecated("SettingsPaneCommandsRequestedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.UI.ApplicationSettings.ApplicationsSettingsContract, 1.0)] [marshaling_behavior(none)] runtimeclass SettingsPaneCommandsRequestedEventArgs { [default] interface Windows.UI.ApplicationSettings.ISettingsPaneCommandsRequestedEventArgs; } [activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, Windows.Foundation.UniversalApiContract, 1.0)] [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass WebAccountCommand { [default] interface Windows.UI.ApplicationSettings.IWebAccountCommand; } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass WebAccountInvokedArgs { [default] interface Windows.UI.ApplicationSettings.IWebAccountInvokedArgs; } [activatable(Windows.UI.ApplicationSettings.IWebAccountProviderCommandFactory, Windows.Foundation.UniversalApiContract, 1.0)] [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(none)] runtimeclass WebAccountProviderCommand { [default] interface Windows.UI.ApplicationSettings.IWebAccountProviderCommand; } } } }