// // 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.UI.idl"; // Forward Declare namespace Windows { namespace Foundation { typedef struct Rect Rect; typedef struct TimeSpan TimeSpan; apicontract UniversalApiContract; } } namespace Windows { namespace UI { runtimeclass UIContext; } } namespace Windows { namespace UI { namespace ViewManagement { namespace Core { typedef enum CoreInputViewKind CoreInputViewKind; typedef enum CoreInputViewOcclusionKind CoreInputViewOcclusionKind; typedef enum CoreInputViewXYFocusTransferDirection CoreInputViewXYFocusTransferDirection; interface ICoreFrameworkInputView; interface ICoreFrameworkInputViewAnimationStartingEventArgs; interface ICoreFrameworkInputViewOcclusionsChangedEventArgs; interface ICoreFrameworkInputViewStatics; interface ICoreInputView; interface ICoreInputView2; interface ICoreInputView3; interface ICoreInputView4; interface ICoreInputView5; interface ICoreInputViewAnimationStartingEventArgs; interface ICoreInputViewHidingEventArgs; interface ICoreInputViewOcclusion; interface ICoreInputViewOcclusionsChangedEventArgs; interface ICoreInputViewShowingEventArgs; interface ICoreInputViewStatics; interface ICoreInputViewStatics2; interface ICoreInputViewTransferringXYFocusEventArgs; interface IUISettingsController; interface IUISettingsControllerStatics; runtimeclass CoreFrameworkInputView; runtimeclass CoreFrameworkInputViewAnimationStartingEventArgs; runtimeclass CoreFrameworkInputViewOcclusionsChangedEventArgs; runtimeclass CoreInputView; runtimeclass CoreInputViewAnimationStartingEventArgs; runtimeclass CoreInputViewHidingEventArgs; runtimeclass CoreInputViewOcclusion; runtimeclass CoreInputViewOcclusionsChangedEventArgs; runtimeclass CoreInputViewShowingEventArgs; runtimeclass CoreInputViewTransferringXYFocusEventArgs; runtimeclass UISettingsController; } } } } // Generic instantiations namespace Windows { namespace UI { namespace ViewManagement { namespace Core { declare { interface Windows.Foundation.Collections.IIterable; interface Windows.Foundation.Collections.IIterator; interface Windows.Foundation.Collections.IVectorView; interface Windows.Foundation.IAsyncOperation; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; interface Windows.Foundation.TypedEventHandler; } } } } } // Type definition namespace Windows { namespace UI { namespace ViewManagement { namespace Core { [contract(Windows.Foundation.UniversalApiContract, 7.0)] enum CoreInputViewKind { Default = 0, Keyboard = 1, Handwriting = 2, Emoji = 3, [contract(Windows.Foundation.UniversalApiContract, 10.0)] Symbols = 4, [contract(Windows.Foundation.UniversalApiContract, 11.0)] Clipboard = 5, [contract(Windows.Foundation.UniversalApiContract, 13.0)] Dictation = 6 }; [contract(Windows.Foundation.UniversalApiContract, 5.0)] enum CoreInputViewOcclusionKind { Docked = 0, Floating = 1, Overlay = 2 }; [contract(Windows.Foundation.UniversalApiContract, 6.0)] enum CoreInputViewXYFocusTransferDirection { Up = 0, Right = 1, Down = 2, Left = 3 }; [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreFrameworkInputView)] [uuid(D77C94AE-46B8-5D4A-9489-8DDEC3D639A6)] interface ICoreFrameworkInputView : IInspectable { [eventadd] HRESULT PrimaryViewAnimationStarting([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT PrimaryViewAnimationStarting([in] EventRegistrationToken token); [eventadd] HRESULT OcclusionsChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT OcclusionsChanged([in] EventRegistrationToken token); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewAnimationStartingEventArgs)] [uuid(C0EC901C-BBA4-501B-AE8B-65C9E756A719)] interface ICoreFrameworkInputViewAnimationStartingEventArgs : IInspectable { [propget] HRESULT Occlusions([out] [retval] Windows.Foundation.Collections.IVectorView** value); [propget] HRESULT FrameworkAnimationRecommended([out] [retval] boolean* value); [propget] HRESULT AnimationDuration([out] [retval] Windows.Foundation.TimeSpan* value); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewOcclusionsChangedEventArgs)] [uuid(F36F4949-C82C-53D1-A75D-2B2BAF0D9B0D)] interface ICoreFrameworkInputViewOcclusionsChangedEventArgs : IInspectable { [propget] HRESULT Occlusions([out] [retval] Windows.Foundation.Collections.IVectorView** value); [propget] HRESULT Handled([out] [retval] boolean* value); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreFrameworkInputView)] [uuid(6EEBD9B6-EAC2-5F8B-975F-772EE3E42EEB)] interface ICoreFrameworkInputViewStatics : IInspectable { HRESULT GetForUIContext([in] Windows.UI.UIContext* context, [out] [retval] Windows.UI.ViewManagement.Core.CoreFrameworkInputView** result); HRESULT GetForCurrentView([out] [retval] Windows.UI.ViewManagement.Core.CoreFrameworkInputView** result); } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(C770CD7A-7001-4C32-BF94-25C1F554CBF1)] interface ICoreInputView : IInspectable { [eventadd] HRESULT OcclusionsChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT OcclusionsChanged([in] EventRegistrationToken token); HRESULT GetCoreInputViewOcclusions([out] [retval] Windows.Foundation.Collections.IVectorView** result); HRESULT TryShowPrimaryView([out] [retval] boolean* result); HRESULT TryHidePrimaryView([out] [retval] boolean* result); } [contract(Windows.Foundation.UniversalApiContract, 6.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(0ED726C1-E09A-4AE8-AEDF-DFA4857D1A01)] interface ICoreInputView2 : IInspectable { [eventadd] HRESULT XYFocusTransferringFromPrimaryView([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT XYFocusTransferringFromPrimaryView([in] EventRegistrationToken token); [eventadd] HRESULT XYFocusTransferredToPrimaryView([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT XYFocusTransferredToPrimaryView([in] EventRegistrationToken token); HRESULT TryTransferXYFocusToPrimaryView([in] Windows.Foundation.Rect origin, [in] Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection direction, [out] [retval] boolean* result); } [contract(Windows.Foundation.UniversalApiContract, 7.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(BC941653-3AB9-4849-8F58-46E7F0353CFC)] interface ICoreInputView3 : IInspectable { [overload("TryShow")] HRESULT TryShow([out] [retval] boolean* result); [overload("TryShow")] HRESULT TryShowWithKind([in] Windows.UI.ViewManagement.Core.CoreInputViewKind type, [out] [retval] boolean* result); HRESULT TryHide([out] [retval] boolean* result); } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(002863D6-D9EF-57EB-8CEF-77F6CE1B7EE7)] interface ICoreInputView4 : IInspectable { [eventadd] HRESULT PrimaryViewShowing([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT PrimaryViewShowing([in] EventRegistrationToken token); [eventadd] HRESULT PrimaryViewHiding([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT PrimaryViewHiding([in] EventRegistrationToken token); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(136316E0-C6D5-5C57-811E-1AD8A99BA6AB)] interface ICoreInputView5 : IInspectable { HRESULT IsKindSupported([in] Windows.UI.ViewManagement.Core.CoreInputViewKind type, [out] [retval] boolean* result); [eventadd] HRESULT SupportedKindsChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT SupportedKindsChanged([in] EventRegistrationToken token); [eventadd] HRESULT PrimaryViewAnimationStarting([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* token); [eventremove] HRESULT PrimaryViewAnimationStarting([in] EventRegistrationToken token); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewAnimationStartingEventArgs)] [uuid(A9144AF2-B55C-5EA1-B8AB-5340F3E94897)] interface ICoreInputViewAnimationStartingEventArgs : IInspectable { [propget] HRESULT Occlusions([out] [retval] Windows.Foundation.Collections.IVectorView** value); [propget] HRESULT Handled([out] [retval] boolean* value); [propput] HRESULT Handled([in] boolean value); [propget] HRESULT AnimationDuration([out] [retval] Windows.Foundation.TimeSpan* value); } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewHidingEventArgs)] [uuid(EADA47BD-BAC5-5336-848D-41083584DAAD)] interface ICoreInputViewHidingEventArgs : IInspectable { HRESULT TryCancel([out] [retval] boolean* result); } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewOcclusion)] [uuid(CC36CE06-3865-4177-B5F5-8B65E0B9CE84)] interface ICoreInputViewOcclusion : IInspectable { [propget] HRESULT OccludingRect([out] [retval] Windows.Foundation.Rect* value); [propget] HRESULT OcclusionKind([out] [retval] Windows.UI.ViewManagement.Core.CoreInputViewOcclusionKind* value); } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionsChangedEventArgs)] [uuid(BE1027E8-B3EE-4DF7-9554-89CDC66082C2)] interface ICoreInputViewOcclusionsChangedEventArgs : IInspectable { [propget] HRESULT Occlusions([out] [retval] Windows.Foundation.Collections.IVectorView** value); [propget] HRESULT Handled([out] [retval] boolean* value); [propput] HRESULT Handled([in] boolean value); } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewShowingEventArgs)] [uuid(CA52261B-FB9E-5DAF-A98C-262B8B76AF50)] interface ICoreInputViewShowingEventArgs : IInspectable { HRESULT TryCancel([out] [retval] boolean* result); } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(7D9B97CD-EDBE-49CF-A54F-337DE052907F)] interface ICoreInputViewStatics : IInspectable { HRESULT GetForCurrentView([out] [retval] Windows.UI.ViewManagement.Core.CoreInputView** result); } [contract(Windows.Foundation.UniversalApiContract, 8.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputView)] [uuid(7EBC0862-D049-4E52-87B0-1E90E98C49ED)] interface ICoreInputViewStatics2 : IInspectable { HRESULT GetForUIContext([in] Windows.UI.UIContext* context, [out] [retval] Windows.UI.ViewManagement.Core.CoreInputView** result); } [contract(Windows.Foundation.UniversalApiContract, 6.0)] [exclusiveto(Windows.UI.ViewManagement.Core.CoreInputViewTransferringXYFocusEventArgs)] [uuid(04DE169F-BA02-4850-8B55-D82D03BA6D7F)] interface ICoreInputViewTransferringXYFocusEventArgs : IInspectable { [propget] HRESULT Origin([out] [retval] Windows.Foundation.Rect* value); [propget] HRESULT Direction([out] [retval] Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection* value); [propput] HRESULT TransferHandled([in] boolean value); [propget] HRESULT TransferHandled([out] [retval] boolean* value); [propput] HRESULT KeepPrimaryViewVisible([in] boolean value); [propget] HRESULT KeepPrimaryViewVisible([out] [retval] boolean* value); } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [exclusiveto(Windows.UI.ViewManagement.Core.UISettingsController)] [uuid(78A51AC4-15C0-5A1B-A75B-ACBF9CB8BB9E)] interface IUISettingsController : IInspectable { HRESULT SetAdvancedEffectsEnabled([in] boolean value); HRESULT SetAnimationsEnabled([in] boolean value); HRESULT SetAutoHideScrollBars([in] boolean value); HRESULT SetMessageDuration([in] UINT32 value); HRESULT SetTextScaleFactor([in] DOUBLE value); } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [exclusiveto(Windows.UI.ViewManagement.Core.UISettingsController)] [uuid(EB3C68CC-C220-578C-8119-7DB324ED26A6)] interface IUISettingsControllerStatics : IInspectable { HRESULT RequestDefaultAsync([out] [retval] Windows.Foundation.IAsyncOperation** operation); } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [marshaling_behavior(agile)] [static(Windows.UI.ViewManagement.Core.ICoreFrameworkInputViewStatics, Windows.Foundation.UniversalApiContract, 13.0)] [threading(both)] runtimeclass CoreFrameworkInputView { [default] interface Windows.UI.ViewManagement.Core.ICoreFrameworkInputView; } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [marshaling_behavior(agile)] runtimeclass CoreFrameworkInputViewAnimationStartingEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreFrameworkInputViewAnimationStartingEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [marshaling_behavior(agile)] runtimeclass CoreFrameworkInputViewOcclusionsChangedEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreFrameworkInputViewOcclusionsChangedEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [marshaling_behavior(agile)] [static(Windows.UI.ViewManagement.Core.ICoreInputViewStatics, Windows.Foundation.UniversalApiContract, 5.0)] [static(Windows.UI.ViewManagement.Core.ICoreInputViewStatics2, Windows.Foundation.UniversalApiContract, 8.0)] [threading(both)] runtimeclass CoreInputView { [default] interface Windows.UI.ViewManagement.Core.ICoreInputView; [contract(Windows.Foundation.UniversalApiContract, 6.0)] interface Windows.UI.ViewManagement.Core.ICoreInputView2; [contract(Windows.Foundation.UniversalApiContract, 7.0)] interface Windows.UI.ViewManagement.Core.ICoreInputView3; [contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.UI.ViewManagement.Core.ICoreInputView4; [contract(Windows.Foundation.UniversalApiContract, 13.0)] interface Windows.UI.ViewManagement.Core.ICoreInputView5; } [contract(Windows.Foundation.UniversalApiContract, 13.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewAnimationStartingEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewAnimationStartingEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewHidingEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewHidingEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewOcclusion { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewOcclusion; } [contract(Windows.Foundation.UniversalApiContract, 5.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewOcclusionsChangedEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewOcclusionsChangedEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewShowingEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewShowingEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 6.0)] [marshaling_behavior(agile)] runtimeclass CoreInputViewTransferringXYFocusEventArgs { [default] interface Windows.UI.ViewManagement.Core.ICoreInputViewTransferringXYFocusEventArgs; } [contract(Windows.Foundation.UniversalApiContract, 10.0)] [marshaling_behavior(agile)] [static(Windows.UI.ViewManagement.Core.IUISettingsControllerStatics, Windows.Foundation.UniversalApiContract, 10.0)] [threading(both)] runtimeclass UISettingsController { [default] interface Windows.UI.ViewManagement.Core.IUISettingsController; } } } } }