[PATCH 0/1] MR5280: include: Add Windows.UI.ViewManagement.UIViewSettings definitions.
From: Vijay Kiran Kamuju <infyquest(a)gmail.com> --- include/windows.ui.viewmanagement.idl | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/include/windows.ui.viewmanagement.idl b/include/windows.ui.viewmanagement.idl index 1076d287183..e4773776a2d 100644 --- a/include/windows.ui.viewmanagement.idl +++ b/include/windows.ui.viewmanagement.idl @@ -45,6 +45,9 @@ namespace Windows.UI.ViewManagement interface IUISettings5; interface IUISettings6; + interface IUIViewSettings; + interface IUIViewSettingsStatics; + interface IInputPane; interface IInputPane2; interface IInputPaneControl; @@ -53,6 +56,7 @@ namespace Windows.UI.ViewManagement interface IInputPaneStatics2; runtimeclass UISettings; + runtimeclass UIViewSettings; runtimeclass InputPane; runtimeclass InputPaneVisibilityEventArgs; @@ -133,6 +137,15 @@ namespace Windows.UI.ViewManagement OverlayOutsidePopup = 1012, }; + [ + contract(Windows.Foundation.UniversalApiContract, 1.0) + ] + enum UserInteractionMode + { + Mouse = 0, + Touch = 1, + }; + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.UI.ViewManagement.UISettings), @@ -181,6 +194,26 @@ namespace Windows.UI.ViewManagement [eventremove] HRESULT ColorValuesChanged([in] EventRegistrationToken cookie); } + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.UI.ViewManagement.UIViewSettings), + uuid(c63657f6-8850-470d-88f8-455e16ea2c26) + ] + interface IUIViewSettings : IInspectable + { + [propget] HRESULT UserInteractionMode([out, retval] Windows.UI.ViewManagement.UserInteractionMode *value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.UI.ViewManagement.UIViewSettings), + uuid(595c97a5-f8f6-41cf-b0fb-aacdb81fd5f6) + ] + interface IUIViewSettingsStatics : IInspectable + { + HRESULT GetForCurrentView([out, retval] Windows.UI.ViewManagement.UIViewSettings **current); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.UI.ViewManagement.InputPane), @@ -261,6 +294,16 @@ namespace Windows.UI.ViewManagement [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IUISettings3; } + [ + static(Windows.UI.ViewManagement.IUIViewSettingsStatics, Windows.Foundation.UniversalApiContract, 1.0), + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass UIViewSettings + { + [default] interface Windows.UI.ViewManagement.IUIViewSettings; + } + [ static(Windows.UI.ViewManagement.IInputPaneStatics, Windows.Foundation.UniversalApiContract, 1.0), static(Windows.UI.ViewManagement.IInputPaneStatics2, Windows.Foundation.UniversalApiContract, 8.0), -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5280
Hi, It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated. The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=143961 Your paranoid android. === debian11 (build log) === ../wine/include/windows.ui.viewmanagement.idl:204:106: error: type 'UserInteractionMode' not found in ViewManagement namespace ../wine/include/windows.ui.viewmanagement.idl:204:106: error: type 'UserInteractionMode' not found in ViewManagement namespace Task: The win32 Wine build failed === debian11b (build log) === ../wine/include/windows.ui.viewmanagement.idl:204:106: error: type 'UserInteractionMode' not found in ViewManagement namespace ../wine/include/windows.ui.viewmanagement.idl:204:106: error: type 'UserInteractionMode' not found in ViewManagement namespace Task: The wow64 Wine build failed
participants (3)
-
Marvin -
Vijay Kiran Kamuju -
Vijay Kiran Kamuju (@infyquest)