| 1 |
/* |
| 2 |
* Copyright (C) 2023 Mohamad Al-Jaf |
| 3 |
* |
| 4 |
* This library is free software; you can redistribute it and/or |
| 5 |
* modify it under the terms of the GNU Lesser General Public |
| 6 |
* License as published by the Free Software Foundation; either |
| 7 |
* version 2.1 of the License, or (at your option) any later version. |
| 8 |
* |
| 9 |
* This library is distributed in the hope that it will be useful, |
| 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
* Lesser General Public License for more details. |
| 13 |
* |
| 14 |
* You should have received a copy of the GNU Lesser General Public |
| 15 |
* License along with this library; if not, write to the Free Software |
| 16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifdef __WIDL__ |
| 20 |
#pragma winrt ns_prefix |
| 21 |
#endif |
| 22 |
|
| 23 |
import "inspectable.idl"; |
| 24 |
import "asyncinfo.idl"; |
| 25 |
import "eventtoken.idl"; |
| 26 |
import "windowscontracts.idl"; |
| 27 |
import "windows.foundation.idl"; |
| 28 |
import "windows.devices.enumeration.idl"; |
| 29 |
/* import "windows.phone.idl"; */ |
| 30 |
import "windows.ui.idl"; |
| 31 |
import "windows.ui.core.idl"; |
| 32 |
/* import "windows.ui.popups.idl"; */ |
| 33 |
import "windows.ui.windowmanagement.idl"; |
| 34 |
|
| 35 |
namespace Windows.UI.ViewManagement |
| 36 |
{ |
| 37 |
apicontract ViewManagementViewScalingContract; |
| 38 |
|
| 39 |
typedef enum ApplicationViewBoundsMode ApplicationViewBoundsMode; |
| 40 |
typedef enum ApplicationViewMode ApplicationViewMode; |
| 41 |
typedef enum ApplicationViewOrientation ApplicationViewOrientation; |
| 42 |
typedef enum ApplicationViewState ApplicationViewState; |
| 43 |
typedef enum ApplicationViewSwitchingOptions ApplicationViewSwitchingOptions; |
| 44 |
typedef enum ApplicationViewWindowingMode ApplicationViewWindowingMode; |
| 45 |
typedef enum FullScreenSystemOverlayMode FullScreenSystemOverlayMode; |
| 46 |
typedef enum HandPreference HandPreference; |
| 47 |
typedef enum UIColorType UIColorType; |
| 48 |
typedef enum UIElementType UIElementType; |
| 49 |
typedef enum UserInteractionMode UserInteractionMode; |
| 50 |
typedef enum ViewSizePreference ViewSizePreference; |
| 51 |
|
| 52 |
interface IAccessibilitySettings; |
| 53 |
interface IApplicationView; |
| 54 |
interface IApplicationView2; |
| 55 |
interface IApplicationView3; |
| 56 |
interface IApplicationView4; |
| 57 |
interface IApplicationView7; |
| 58 |
interface IApplicationView9; |
| 59 |
interface IApplicationViewConsolidatedEventArgs; |
| 60 |
interface IApplicationViewConsolidatedEventArgs2; |
| 61 |
interface IApplicationViewFullscreenStatics; |
| 62 |
interface IApplicationViewInteropStatics; |
| 63 |
interface IApplicationViewScaling; |
| 64 |
interface IApplicationViewScalingStatics; |
| 65 |
interface IApplicationViewStatics; |
| 66 |
interface IApplicationViewStatics2; |
| 67 |
interface IApplicationViewStatics3; |
| 68 |
interface IApplicationViewStatics4; |
| 69 |
interface IApplicationViewSwitcherStatics; |
| 70 |
interface IApplicationViewSwitcherStatics2; |
| 71 |
interface IApplicationViewSwitcherStatics3; |
| 72 |
interface IApplicationViewTitleBar; |
| 73 |
interface IApplicationViewTransferContext; |
| 74 |
interface IApplicationViewTransferContextStatics; |
| 75 |
interface IApplicationViewWithContext; |
| 76 |
|
| 77 |
interface IUISettings; |
| 78 |
interface IUISettings2; |
| 79 |
interface IUISettings3; |
| 80 |
interface IUISettings4; |
| 81 |
interface IUISettings5; |
| 82 |
interface IUISettings6; |
| 83 |
interface IUISettingsAnimationsEnabledChangedEventArgs; |
| 84 |
interface IUISettingsAutoHideScrollBarsChangedEventArgs; |
| 85 |
interface IUISettingsMessageDurationChangedEventArgs; |
| 86 |
|
| 87 |
interface IUIViewSettings; |
| 88 |
interface IUIViewSettingsStatics; |
| 89 |
interface IViewModePreferences; |
| 90 |
interface IViewModePreferencesStatics; |
| 91 |
|
| 92 |
interface IInputPane; |
| 93 |
interface IInputPane2; |
| 94 |
interface IInputPaneControl; |
| 95 |
interface IInputPaneVisibilityEventArgs; |
| 96 |
interface IInputPaneStatics; |
| 97 |
interface IInputPaneStatics2; |
| 98 |
|
| 99 |
runtimeclass AccessibilitySettings; |
| 100 |
runtimeclass ApplicationView; |
| 101 |
runtimeclass ApplicationViewConsolidatedEventArgs; |
| 102 |
runtimeclass ApplicationViewScaling; |
| 103 |
runtimeclass ApplicationViewSwitcher; |
| 104 |
runtimeclass ApplicationViewTitleBar; |
| 105 |
runtimeclass ApplicationViewTransferContext; |
| 106 |
runtimeclass UISettings; |
| 107 |
runtimeclass UISettingsAnimationsEnabledChangedEventArgs; |
| 108 |
runtimeclass UISettingsAutoHideScrollBarsChangedEventArgs; |
| 109 |
runtimeclass UISettingsMessageDurationChangedEventArgs; |
| 110 |
runtimeclass UIViewSettings; |
| 111 |
runtimeclass InputPane; |
| 112 |
runtimeclass InputPaneVisibilityEventArgs; |
| 113 |
runtimeclass ViewModePreferences; |
| 114 |
|
| 115 |
declare { |
| 116 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.AccessibilitySettings *, IInspectable *>; |
| 117 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView *, IInspectable *>; |
| 118 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView *, Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs *>; |
| 119 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, IInspectable *>; |
| 120 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs *>; |
| 121 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs *>; |
| 122 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs *>; |
| 123 |
interface Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.InputPane*, Windows.UI.ViewManagement.InputPaneVisibilityEventArgs*>; |
| 124 |
interface Windows.Foundation.IReference<Windows.UI.ViewManagement.UIElementType>; |
| 125 |
} |
| 126 |
|
| 127 |
[ |
| 128 |
contractversion(1.0) |
| 129 |
] |
| 130 |
apicontract ViewManagementViewScalingContract |
| 131 |
{ |
| 132 |
} |
| 133 |
|
| 134 |
[ |
| 135 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 136 |
] |
| 137 |
enum ApplicationViewBoundsMode |
| 138 |
{ |
| 139 |
UseVisible = 0, |
| 140 |
UseCoreWindow = 1, |
| 141 |
}; |
| 142 |
|
| 143 |
[ |
| 144 |
contract(Windows.Foundation.UniversalApiContract, 4.0) |
| 145 |
] |
| 146 |
enum ApplicationViewMode |
| 147 |
{ |
| 148 |
Default = 0, |
| 149 |
CompactOverlay = 1, |
| 150 |
}; |
| 151 |
|
| 152 |
[ |
| 153 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 154 |
] |
| 155 |
enum ApplicationViewOrientation |
| 156 |
{ |
| 157 |
Landscape = 0, |
| 158 |
Portrait = 1, |
| 159 |
}; |
| 160 |
|
| 161 |
[ |
| 162 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 163 |
] |
| 164 |
enum ApplicationViewState |
| 165 |
{ |
| 166 |
FullScreenLandscape = 0, |
| 167 |
Filled = 1, |
| 168 |
Snapped = 2, |
| 169 |
FullScreenPortrait = 3, |
| 170 |
}; |
| 171 |
|
| 172 |
[ |
| 173 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 174 |
flags |
| 175 |
] |
| 176 |
enum ApplicationViewSwitchingOptions |
| 177 |
{ |
| 178 |
Default = 0x0, |
| 179 |
SkipAnimation = 0x1, |
| 180 |
ConsolidateViews = 0x2, |
| 181 |
}; |
| 182 |
|
| 183 |
[ |
| 184 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 185 |
] |
| 186 |
enum ApplicationViewWindowingMode |
| 187 |
{ |
| 188 |
Auto = 0, |
| 189 |
PreferredLaunchViewSize = 1, |
| 190 |
FullScreen = 2, |
| 191 |
[ |
| 192 |
contract(Windows.Foundation.UniversalApiContract, 7.0) |
| 193 |
] |
| 194 |
CompactOverlay = 3, |
| 195 |
[ |
| 196 |
contract(Windows.Foundation.UniversalApiContract, 7.0) |
| 197 |
] |
| 198 |
Maximized = 4, |
| 199 |
}; |
| 200 |
|
| 201 |
[ |
| 202 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 203 |
] |
| 204 |
enum FullScreenSystemOverlayMode |
| 205 |
{ |
| 206 |
Standard = 0, |
| 207 |
Minimal = 1, |
| 208 |
}; |
| 209 |
|
| 210 |
[ |
| 211 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 212 |
] |
| 213 |
enum HandPreference |
| 214 |
{ |
| 215 |
LeftHanded = 0, |
| 216 |
RightHanded = 1, |
| 217 |
}; |
| 218 |
|
| 219 |
[ |
| 220 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 221 |
] |
| 222 |
enum UIColorType |
| 223 |
{ |
| 224 |
Background = 0, |
| 225 |
Foreground = 1, |
| 226 |
AccentDark3 = 2, |
| 227 |
AccentDark2 = 3, |
| 228 |
AccentDark1 = 4, |
| 229 |
Accent = 5, |
| 230 |
AccentLight1 = 6, |
| 231 |
AccentLight2 = 7, |
| 232 |
AccentLight3 = 8, |
| 233 |
Complement = 9, |
| 234 |
}; |
| 235 |
|
| 236 |
[ |
| 237 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 238 |
] |
| 239 |
enum UIElementType |
| 240 |
{ |
| 241 |
ActiveCaption = 0, |
| 242 |
Background = 1, |
| 243 |
ButtonFace = 2, |
| 244 |
ButtonText = 3, |
| 245 |
CaptionText = 4, |
| 246 |
GrayText = 5, |
| 247 |
Highlight = 6, |
| 248 |
HighlightText = 7, |
| 249 |
Hotlight = 8, |
| 250 |
InactiveCaption = 9, |
| 251 |
InactiveCaptionText = 10, |
| 252 |
Window = 11, |
| 253 |
WindowText = 12, |
| 254 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 255 |
AccentColor = 1000, |
| 256 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 257 |
TextHigh = 1001, |
| 258 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 259 |
TextMedium = 1002, |
| 260 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 261 |
TextLow = 1003, |
| 262 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 263 |
TextContrastWithHigh = 1004, |
| 264 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 265 |
NonTextHigh = 1005, |
| 266 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 267 |
NonTextMediumHigh = 1006, |
| 268 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 269 |
NonTextMedium = 1007, |
| 270 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 271 |
NonTextMediumLow = 1008, |
| 272 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 273 |
NonTextLow = 1009, |
| 274 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 275 |
PageBackground = 1010, |
| 276 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 277 |
PopupBackground = 1011, |
| 278 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 279 |
OverlayOutsidePopup = 1012, |
| 280 |
}; |
| 281 |
|
| 282 |
[ |
| 283 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 284 |
] |
| 285 |
enum UserInteractionMode |
| 286 |
{ |
| 287 |
Mouse = 0, |
| 288 |
Touch = 1, |
| 289 |
}; |
| 290 |
|
| 291 |
[ |
| 292 |
contract(Windows.Foundation.UniversalApiContract, 1.0) |
| 293 |
] |
| 294 |
enum ViewSizePreference |
| 295 |
{ |
| 296 |
Default = 0, |
| 297 |
UseLess = 1, |
| 298 |
UseHalf = 2, |
| 299 |
UseMore = 3, |
| 300 |
UseMinimum = 4, |
| 301 |
UseNone = 5, |
| 302 |
[ |
| 303 |
contract(Windows.Foundation.UniversalApiContract, 4.0) |
| 304 |
] |
| 305 |
Custom = 6, |
| 306 |
}; |
| 307 |
|
| 308 |
[ |
| 309 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 310 |
exclusiveto(Windows.UI.ViewManagement.AccessibilitySettings), |
| 311 |
uuid(fe0e8147-c4c0-4562-b962-1327b52ad5b9) |
| 312 |
] |
| 313 |
interface IAccessibilitySettings : IInspectable |
| 314 |
{ |
| 315 |
[propget] HRESULT HighContrast([out, retval] boolean *value); |
| 316 |
[propget] HRESULT HighContrastScheme([out, retval] HSTRING *value); |
| 317 |
[eventadd] HRESULT HighContrastChanged([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.AccessibilitySettings *, IInspectable *> *handler, [out, retval] EventRegistrationToken *cookie); |
| 318 |
[eventremove] HRESULT HighContrastChanged([in] EventRegistrationToken cookie); |
| 319 |
} |
| 320 |
|
| 321 |
[ |
| 322 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 323 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 324 |
uuid(d222d519-4361-451e-96c4-60f4f9742db0) |
| 325 |
] |
| 326 |
interface IApplicationView : IInspectable |
| 327 |
{ |
| 328 |
[propget] HRESULT Orientation([out, retval] Windows.UI.ViewManagement.ApplicationViewOrientation *value); |
| 329 |
[propget] HRESULT AdjacentToLeftDisplayEdge([out, retval] boolean *value); |
| 330 |
[propget] HRESULT AdjacentToRightDisplayEdge([out, retval] boolean *value); |
| 331 |
[propget] HRESULT IsFullScreen([out, retval] boolean *value); |
| 332 |
[propget] HRESULT IsOnLockScreen([out, retval] boolean *value); |
| 333 |
[propget] HRESULT IsScreenCaptureEnabled([out, retval] boolean *value); |
| 334 |
[propput] HRESULT IsScreenCaptureEnabled([in] boolean value); |
| 335 |
[propput] HRESULT Title([in] HSTRING value); |
| 336 |
[propget] HRESULT Title([out, retval] HSTRING *value); |
| 337 |
[propget] HRESULT Id([out, retval] INT32 *value); |
| 338 |
[eventadd] HRESULT Consolidated([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView *, Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 339 |
[eventremove] HRESULT Consolidated([in] EventRegistrationToken token); |
| 340 |
} |
| 341 |
|
| 342 |
[ |
| 343 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 344 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 345 |
uuid(e876b196-a545-40dc-b594-450cba68cc00) |
| 346 |
] |
| 347 |
interface IApplicationView2 : IInspectable |
| 348 |
{ |
| 349 |
[propget] HRESULT SuppressSystemOverlays([out, retval] boolean *value); |
| 350 |
[propput] HRESULT SuppressSystemOverlays([in] boolean value); |
| 351 |
[propget] HRESULT VisibleBounds([out, retval] Windows.Foundation.Rect *value); |
| 352 |
[eventadd] HRESULT VisibleBoundsChanged([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView *, IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 353 |
[eventremove] HRESULT VisibleBoundsChanged([in] EventRegistrationToken token); |
| 354 |
HRESULT SetDesiredBoundsMode([in] Windows.UI.ViewManagement.ApplicationViewBoundsMode mode, [out, retval] boolean *success); |
| 355 |
[propget] HRESULT DesiredBoundsMode([out, retval] Windows.UI.ViewManagement.ApplicationViewBoundsMode *value); |
| 356 |
} |
| 357 |
|
| 358 |
[ |
| 359 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 360 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 361 |
uuid(903c9ce5-793a-4fdf-a2b2-af1ac21e3108) |
| 362 |
] |
| 363 |
interface IApplicationView3 : IInspectable |
| 364 |
{ |
| 365 |
[propget] HRESULT TitleBar([out, retval] Windows.UI.ViewManagement.ApplicationViewTitleBar **value); |
| 366 |
[propget] HRESULT FullScreenSystemOverlayMode([out, retval] Windows.UI.ViewManagement.FullScreenSystemOverlayMode *value); |
| 367 |
[propput] HRESULT FullScreenSystemOverlayMode([in] Windows.UI.ViewManagement.FullScreenSystemOverlayMode value); |
| 368 |
[propget] HRESULT IsFullScreenMode([out, retval] boolean *value); |
| 369 |
HRESULT TryEnterFullScreenMode([out, retval] boolean *success); |
| 370 |
HRESULT ExitFullScreenMode(); |
| 371 |
HRESULT ShowStandardSystemOverlays(); |
| 372 |
HRESULT TryResizeView([in] Windows.Foundation.Size value, [out, retval] boolean *success); |
| 373 |
HRESULT SetPreferredMinSize([in] Windows.Foundation.Size size); |
| 374 |
} |
| 375 |
|
| 376 |
[ |
| 377 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 378 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 379 |
uuid(15e5cbec-9e0f-46b5-bc3f-9bf653e74b5e) |
| 380 |
] |
| 381 |
interface IApplicationView4 : IInspectable |
| 382 |
{ |
| 383 |
[propget] HRESULT ViewMode([out, retval] Windows.UI.ViewManagement.ApplicationViewMode *value); |
| 384 |
HRESULT IsViewModeSupported([in] Windows.UI.ViewManagement.ApplicationViewMode mode, [out, retval] boolean *is_mode_supported); |
| 385 |
[overload("TryEnterViewModeAsync")] HRESULT TryEnterViewModeAsync([in] Windows.UI.ViewManagement.ApplicationViewMode mode, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 386 |
[overload("TryEnterViewModeAsync")] HRESULT TryEnterViewModeWithPreferencesAsync([in] Windows.UI.ViewManagement.ApplicationViewMode mode, [in] Windows.UI.ViewManagement.ViewModePreferences *preferences, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 387 |
HRESULT TryConsolidateAsync([out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 388 |
} |
| 389 |
|
| 390 |
[ |
| 391 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 392 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 393 |
uuid(a0369647-5faf-5aa6-9c38-befbb12a071e) |
| 394 |
] |
| 395 |
interface IApplicationView7 : IInspectable |
| 396 |
{ |
| 397 |
[propget] HRESULT PersistedStateId([out, retval] HSTRING *value); |
| 398 |
[propput] HRESULT PersistedStateId([in] HSTRING value); |
| 399 |
} |
| 400 |
|
| 401 |
[ |
| 402 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 403 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 404 |
uuid(9c6516f9-021a-5f01-93e5-9bdad2647574) |
| 405 |
] |
| 406 |
interface IApplicationView9 : IInspectable |
| 407 |
{ |
| 408 |
[propget] HRESULT WindowingEnvironment([out, retval] Windows.UI.WindowManagement.WindowingEnvironment **value); |
| 409 |
HRESULT GetDisplayRegions([out, retval] Windows.Foundation.Collections.IVectorView<Windows.UI.WindowManagement.DisplayRegion *> **result); |
| 410 |
} |
| 411 |
|
| 412 |
[ |
| 413 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 414 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs), |
| 415 |
uuid(514449ec-7ea2-4de7-a6a6-7dfbaaebb6fb) |
| 416 |
] |
| 417 |
interface IApplicationViewConsolidatedEventArgs : IInspectable |
| 418 |
{ |
| 419 |
[propget] HRESULT IsUserInitiated([out, retval] boolean *value); |
| 420 |
} |
| 421 |
|
| 422 |
[ |
| 423 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 424 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs), |
| 425 |
uuid(1c199ecc-6dc1-40f4-afee-07d9ea296430) |
| 426 |
] |
| 427 |
interface IApplicationViewConsolidatedEventArgs2 : IInspectable |
| 428 |
{ |
| 429 |
[propget] HRESULT IsAppInitiated([out, retval] boolean *value); |
| 430 |
} |
| 431 |
|
| 432 |
[ |
| 433 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 434 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 435 |
uuid(bc792ebd-64fe-4b65-a0c0-901ce2b68636) |
| 436 |
] |
| 437 |
interface IApplicationViewFullscreenStatics : IInspectable |
| 438 |
{ |
| 439 |
HRESULT TryUnsnapToFullscreen([out, retval] boolean *success); |
| 440 |
} |
| 441 |
|
| 442 |
[ |
| 443 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 444 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 445 |
uuid(c446fb5d-4793-4896-a8e2-be57a8bb0f50) |
| 446 |
] |
| 447 |
interface IApplicationViewInteropStatics : IInspectable |
| 448 |
{ |
| 449 |
HRESULT GetApplicationViewIdForWindow([in] Windows.UI.Core.ICoreWindow *window, [out, retval] INT32 *id); |
| 450 |
} |
| 451 |
|
| 452 |
[ |
| 453 |
contract(Windows.UI.ViewManagement.ViewManagementViewScalingContract, 1.0), |
| 454 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewScaling), |
| 455 |
uuid(1d0ddc23-23f3-4b2d-84fe-74bf37b48b66) |
| 456 |
] |
| 457 |
interface IApplicationViewScaling : IInspectable |
| 458 |
{ |
| 459 |
} |
| 460 |
|
| 461 |
[ |
| 462 |
contract(Windows.UI.ViewManagement.ViewManagementViewScalingContract, 1.0), |
| 463 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewScaling), |
| 464 |
uuid(b08fecf0-b946-45c8-a5e3-71f5aa78f861) |
| 465 |
] |
| 466 |
interface IApplicationViewScalingStatics : IInspectable |
| 467 |
{ |
| 468 |
[propget] HRESULT DisableLayoutScaling([out, retval] boolean *value); |
| 469 |
HRESULT TrySetDisableLayoutScaling([in] boolean disabled, [out, retval] boolean *success); |
| 470 |
} |
| 471 |
|
| 472 |
[ |
| 473 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 474 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 475 |
uuid(010a6306-c433-44e5-a9f2-bd84d4030a95) |
| 476 |
] |
| 477 |
interface IApplicationViewStatics : IInspectable |
| 478 |
{ |
| 479 |
[propget] HRESULT Value([out, retval] Windows.UI.ViewManagement.ApplicationViewState *value); |
| 480 |
HRESULT TryUnsnap([out, retval] boolean *success); |
| 481 |
} |
| 482 |
|
| 483 |
[ |
| 484 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 485 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 486 |
uuid(af338ae5-cf64-423c-85e5-f3e72448fb23) |
| 487 |
] |
| 488 |
interface IApplicationViewStatics2 : IInspectable |
| 489 |
{ |
| 490 |
HRESULT GetForCurrentView([out, retval] Windows.UI.ViewManagement.ApplicationView **current); |
| 491 |
[propget] HRESULT TerminateAppOnFinalViewClose([out, retval] boolean *value); |
| 492 |
[propput] HRESULT TerminateAppOnFinalViewClose([in] boolean value); |
| 493 |
} |
| 494 |
|
| 495 |
[ |
| 496 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 497 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 498 |
uuid(a28d7594-8c41-4e13-9719-5164796fe4c7) |
| 499 |
] |
| 500 |
interface IApplicationViewStatics3 : IInspectable |
| 501 |
{ |
| 502 |
[propget] HRESULT PreferredLaunchWindowingMode([out, retval] Windows.UI.ViewManagement.ApplicationViewWindowingMode *value); |
| 503 |
[propput] HRESULT PreferredLaunchWindowingMode([in] Windows.UI.ViewManagement.ApplicationViewWindowingMode value); |
| 504 |
[propget] HRESULT PreferredLaunchViewSize([out, retval] Windows.Foundation.Size *value); |
| 505 |
[propput] HRESULT PreferredLaunchViewSize([in] Windows.Foundation.Size value); |
| 506 |
} |
| 507 |
|
| 508 |
[ |
| 509 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 510 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 511 |
uuid(08fd8d33-2611-5336-a315-d98e6366c9db) |
| 512 |
] |
| 513 |
interface IApplicationViewStatics4 : IInspectable |
| 514 |
{ |
| 515 |
HRESULT ClearAllPersistedState(); |
| 516 |
HRESULT ClearPersistedState([in] HSTRING key); |
| 517 |
} |
| 518 |
|
| 519 |
[ |
| 520 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 521 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewSwitcher), |
| 522 |
uuid(975f2f1e-e656-4c5e-a0a1-717c6ffa7d64) |
| 523 |
] |
| 524 |
interface IApplicationViewSwitcherStatics : IInspectable |
| 525 |
{ |
| 526 |
HRESULT DisableShowingMainViewOnActivation(); |
| 527 |
[overload("TryShowAsStandaloneAsync")] HRESULT TryShowAsStandaloneAsync([in] INT32 view_id, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 528 |
[overload("TryShowAsStandaloneAsync")] HRESULT TryShowAsStandaloneWithSizePreferenceAsync([in] INT32 view_id, [in] Windows.UI.ViewManagement.ViewSizePreference preference, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 529 |
[overload("TryShowAsStandaloneAsync")] HRESULT TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync([in] INT32 view_id, [in] Windows.UI.ViewManagement.ViewSizePreference size_preference, [in] INT32 anchor_view_id, [in] Windows.UI.ViewManagement.ViewSizePreference anchor_size_preference, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 530 |
[overload("SwitchAsync")] HRESULT SwitchAsync([in] INT32 view_id, [out, retval] Windows.Foundation.IAsyncAction **operation); |
| 531 |
[overload("SwitchAsync")] HRESULT SwitchFromViewAsync([in] INT32 to_view_id, [in] INT32 from_view_id, [out, retval] Windows.Foundation.IAsyncAction **operation); |
| 532 |
[overload("SwitchAsync")] HRESULT SwitchFromViewWithOptionsAsync([in] INT32 to_view_id, [in] INT32 from_view_id, [in] Windows.UI.ViewManagement.ApplicationViewSwitchingOptions options, [out, retval] Windows.Foundation.IAsyncAction **operation); |
| 533 |
HRESULT PrepareForCustomAnimatedSwitchAsync([in] INT32 to_view_id, [in] INT32 from_view_id, [in] Windows.UI.ViewManagement.ApplicationViewSwitchingOptions options, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 534 |
} |
| 535 |
|
| 536 |
[ |
| 537 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 538 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewSwitcher), |
| 539 |
uuid(60e995cd-4fc2-48c4-b8e3-395f2b9f0fc1) |
| 540 |
] |
| 541 |
interface IApplicationViewSwitcherStatics2 : IInspectable |
| 542 |
{ |
| 543 |
HRESULT DisableSystemViewActivationPolicy(); |
| 544 |
} |
| 545 |
|
| 546 |
[ |
| 547 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 548 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewSwitcher), |
| 549 |
uuid(92059420-80a7-486d-b21f-c7a4a242a383) |
| 550 |
] |
| 551 |
interface IApplicationViewSwitcherStatics3 : IInspectable |
| 552 |
{ |
| 553 |
[overload("TryShowAsViewModeAsync")] HRESULT TryShowAsViewModeAsync([in] INT32 view_id, [in] Windows.UI.ViewManagement.ApplicationViewMode mode, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 554 |
[overload("TryShowAsViewModeAsync")] HRESULT TryShowAsViewModeWithPreferencesAsync([in] INT32 view_id, [in] Windows.UI.ViewManagement.ApplicationViewMode mode, [in] Windows.UI.ViewManagement.ViewModePreferences *preferences, [out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation); |
| 555 |
} |
| 556 |
|
| 557 |
[ |
| 558 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 559 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewTitleBar), |
| 560 |
uuid(00924ac0-932b-4a6b-9c4b-dc38c82478ce) |
| 561 |
] |
| 562 |
interface IApplicationViewTitleBar : IInspectable |
| 563 |
{ |
| 564 |
[propput] HRESULT ForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 565 |
[propget] HRESULT ForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 566 |
[propput] HRESULT BackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 567 |
[propget] HRESULT BackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 568 |
[propput] HRESULT ButtonForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 569 |
[propget] HRESULT ButtonForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 570 |
[propput] HRESULT ButtonBackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 571 |
[propget] HRESULT ButtonBackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 572 |
[propput] HRESULT ButtonHoverForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 573 |
[propget] HRESULT ButtonHoverForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 574 |
[propput] HRESULT ButtonHoverBackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 575 |
[propget] HRESULT ButtonHoverBackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 576 |
[propput] HRESULT ButtonPressedForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 577 |
[propget] HRESULT ButtonPressedForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 578 |
[propput] HRESULT ButtonPressedBackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 579 |
[propget] HRESULT ButtonPressedBackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 580 |
[propput] HRESULT InactiveForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 581 |
[propget] HRESULT InactiveForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 582 |
[propput] HRESULT InactiveBackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 583 |
[propget] HRESULT InactiveBackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 584 |
[propput] HRESULT ButtonInactiveForegroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 585 |
[propget] HRESULT ButtonInactiveForegroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 586 |
[propput] HRESULT ButtonInactiveBackgroundColor([in] Windows.Foundation.IReference<Windows.UI.Color> *value); |
| 587 |
[propget] HRESULT ButtonInactiveBackgroundColor([out, retval] Windows.Foundation.IReference<Windows.UI.Color> **value); |
| 588 |
} |
| 589 |
|
| 590 |
[ |
| 591 |
contract(Windows.Foundation.UniversalApiContract, 2.0), |
| 592 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewTransferContext), |
| 593 |
uuid(8574bc63-3c17-408e-9408-8a1a9ea81bfa) |
| 594 |
] |
| 595 |
interface IApplicationViewTransferContext : IInspectable |
| 596 |
{ |
| 597 |
[propget] HRESULT ViewId([out, retval] INT32 *value); |
| 598 |
[propput] HRESULT ViewId([in] INT32 value); |
| 599 |
} |
| 600 |
|
| 601 |
[ |
| 602 |
contract(Windows.Foundation.UniversalApiContract, 2.0), |
| 603 |
exclusiveto(Windows.UI.ViewManagement.ApplicationViewTransferContext), |
| 604 |
uuid(15a89d92-dd79-4b0b-bc47-d5f195f14661) |
| 605 |
] |
| 606 |
interface IApplicationViewTransferContextStatics : IInspectable |
| 607 |
{ |
| 608 |
[propget] HRESULT DataPackageFormatId([out, retval] HSTRING *value); |
| 609 |
} |
| 610 |
|
| 611 |
[ |
| 612 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 613 |
exclusiveto(Windows.UI.ViewManagement.ApplicationView), |
| 614 |
uuid(bd55d512-9dc1-44fc-8501-666625df60dc) |
| 615 |
] |
| 616 |
interface IApplicationViewWithContext : IInspectable |
| 617 |
{ |
| 618 |
[propget] HRESULT UIContext([out, retval] Windows.UI.UIContext **value); |
| 619 |
} |
| 620 |
|
| 621 |
[ |
| 622 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 623 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 624 |
uuid(85361600-1c63-4627-bcb1-3a89e0bc9c55) |
| 625 |
] |
| 626 |
interface IUISettings : IInspectable |
| 627 |
{ |
| 628 |
[propget] HRESULT HandPreference([out, retval] Windows.UI.ViewManagement.HandPreference *value); |
| 629 |
[propget] HRESULT CursorSize([out, retval] Windows.Foundation.Size *value); |
| 630 |
[propget] HRESULT ScrollBarSize([out, retval] Windows.Foundation.Size *value); |
| 631 |
[propget] HRESULT ScrollBarArrowSize([out, retval] Windows.Foundation.Size *value); |
| 632 |
[propget] HRESULT ScrollBarThumbBoxSize([out, retval] Windows.Foundation.Size *value); |
| 633 |
[propget] HRESULT MessageDuration([out, retval] UINT32 *value); |
| 634 |
[propget] HRESULT AnimationsEnabled([out, retval] boolean *value); |
| 635 |
[propget] HRESULT CaretBrowsingEnabled([out, retval] boolean *value); |
| 636 |
[propget] HRESULT CaretBlinkRate([out, retval] UINT32 *value); |
| 637 |
[propget] HRESULT CaretWidth([out, retval] UINT32 *value); |
| 638 |
[propget] HRESULT DoubleClickTime([out, retval] UINT32 *value); |
| 639 |
[propget] HRESULT MouseHoverTime([out, retval] UINT32 *value); |
| 640 |
HRESULT UIElementColor([in] Windows.UI.ViewManagement.UIElementType element, [out, retval] Windows.UI.Color *value); |
| 641 |
} |
| 642 |
|
| 643 |
[ |
| 644 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 645 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 646 |
uuid(bad82401-2721-44f9-bb91-2bb228be442f) |
| 647 |
] |
| 648 |
interface IUISettings2 : IInspectable |
| 649 |
{ |
| 650 |
[propget] HRESULT TextScaleFactor([out, retval] DOUBLE *value); |
| 651 |
[eventadd] HRESULT TextScaleFactorChanged([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, IInspectable *> *handler, |
| 652 |
[out, retval] EventRegistrationToken *cookie); |
| 653 |
[eventremove] HRESULT TextScaleFactorChanged([in] EventRegistrationToken cookie); |
| 654 |
} |
| 655 |
|
| 656 |
[ |
| 657 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 658 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 659 |
uuid(03021be4-5254-4781-8194-5168f7d06d7b) |
| 660 |
] |
| 661 |
interface IUISettings3 : IInspectable |
| 662 |
{ |
| 663 |
HRESULT GetColorValue([in] Windows.UI.ViewManagement.UIColorType color, [out, retval] Windows.UI.Color *value); |
| 664 |
[eventadd] HRESULT ColorValuesChanged([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, IInspectable *> *handler, |
| 665 |
[out, retval] EventRegistrationToken *cookie); |
| 666 |
[eventremove] HRESULT ColorValuesChanged([in] EventRegistrationToken cookie); |
| 667 |
} |
| 668 |
|
| 669 |
[ |
| 670 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 671 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 672 |
uuid(52bb3002-919b-4d6b-9b78-8dd66ff4b93b) |
| 673 |
] |
| 674 |
interface IUISettings4 : IInspectable |
| 675 |
{ |
| 676 |
[propget] HRESULT AdvancedEffectsEnabled([out, retval] boolean *value); |
| 677 |
[eventadd] HRESULT AdvancedEffectsEnabledChanged( |
| 678 |
[in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, IInspectable *> *handler, |
| 679 |
[out, retval] EventRegistrationToken *cookie); |
| 680 |
[eventremove] HRESULT AdvancedEffectsEnabledChanged([in] EventRegistrationToken cookie); |
| 681 |
} |
| 682 |
|
| 683 |
[ |
| 684 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 685 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 686 |
uuid(5349d588-0cb5-5f05-bd34-706b3231f0bd) |
| 687 |
] |
| 688 |
interface IUISettings5 : IInspectable |
| 689 |
{ |
| 690 |
[propget] HRESULT AutoHideScrollBars([out, retval] boolean *value); |
| 691 |
[eventadd] HRESULT AutoHideScrollBarsChanged( |
| 692 |
[in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs *> *handler, |
| 693 |
[out, retval] EventRegistrationToken *token); |
| 694 |
[eventremove] HRESULT AutoHideScrollBarsChanged([in] EventRegistrationToken token); |
| 695 |
} |
| 696 |
|
| 697 |
[ |
| 698 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 699 |
exclusiveto(Windows.UI.ViewManagement.UISettings), |
| 700 |
uuid(aef19bd7-fe31-5a04-ada4-469aaec6dfa9) |
| 701 |
] |
| 702 |
interface IUISettings6 : IInspectable |
| 703 |
{ |
| 704 |
[eventadd] HRESULT AnimationsEnabledChanged( |
| 705 |
[in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs *> *handler, |
| 706 |
[out, retval] EventRegistrationToken *token); |
| 707 |
[eventremove] HRESULT AnimationsEnabledChanged([in] EventRegistrationToken token); |
| 708 |
[eventadd] HRESULT MessageDurationChanged( |
| 709 |
[in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs *> *handler, |
| 710 |
[out, retval] EventRegistrationToken *token); |
| 711 |
[eventremove] HRESULT MessageDurationChanged([in] EventRegistrationToken token); |
| 712 |
} |
| 713 |
|
| 714 |
[ |
| 715 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 716 |
exclusiveto(Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs), |
| 717 |
uuid(0c7b4b3d-2ea1-533e-894d-415bc5243c29) |
| 718 |
] |
| 719 |
interface IUISettingsAnimationsEnabledChangedEventArgs : IInspectable |
| 720 |
{ |
| 721 |
} |
| 722 |
|
| 723 |
[ |
| 724 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 725 |
exclusiveto(Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs), |
| 726 |
uuid(87afd4b2-9146-5f02-8f6b-06d454174c0f) |
| 727 |
] |
| 728 |
interface IUISettingsAutoHideScrollBarsChangedEventArgs : IInspectable |
| 729 |
{ |
| 730 |
} |
| 731 |
|
| 732 |
[ |
| 733 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 734 |
exclusiveto(Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs), |
| 735 |
uuid(338aad52-4a5d-5b59-8002-d930f608fd6e) |
| 736 |
] |
| 737 |
interface IUISettingsMessageDurationChangedEventArgs : IInspectable |
| 738 |
{ |
| 739 |
} |
| 740 |
|
| 741 |
[ |
| 742 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 743 |
exclusiveto(Windows.UI.ViewManagement.UIViewSettings), |
| 744 |
uuid(c63657f6-8850-470d-88f8-455e16ea2c26) |
| 745 |
] |
| 746 |
interface IUIViewSettings : IInspectable |
| 747 |
{ |
| 748 |
[propget] HRESULT UserInteractionMode([out, retval] Windows.UI.ViewManagement.UserInteractionMode *value); |
| 749 |
} |
| 750 |
|
| 751 |
[ |
| 752 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 753 |
exclusiveto(Windows.UI.ViewManagement.UIViewSettings), |
| 754 |
uuid(595c97a5-f8f6-41cf-b0fb-aacdb81fd5f6) |
| 755 |
] |
| 756 |
interface IUIViewSettingsStatics : IInspectable |
| 757 |
{ |
| 758 |
HRESULT GetForCurrentView([out, retval] Windows.UI.ViewManagement.UIViewSettings **current); |
| 759 |
} |
| 760 |
|
| 761 |
[ |
| 762 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 763 |
exclusiveto(Windows.UI.ViewManagement.InputPane), |
| 764 |
uuid(640ada70-06f3-4c87-a678-9829c9127c28) |
| 765 |
] |
| 766 |
interface IInputPane : IInspectable |
| 767 |
{ |
| 768 |
[eventadd] HRESULT Showing([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.InputPane*, Windows.UI.ViewManagement.InputPaneVisibilityEventArgs*> *handler, [out, retval] EventRegistrationToken *token); |
| 769 |
[eventremove] HRESULT Showing([in] EventRegistrationToken token); |
| 770 |
[eventadd] HRESULT Hiding([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.InputPane*, Windows.UI.ViewManagement.InputPaneVisibilityEventArgs*> *handler, [out, retval] EventRegistrationToken *token); |
| 771 |
[eventremove] HRESULT Hiding([in] EventRegistrationToken token); |
| 772 |
[propget] HRESULT OccludedRect([out, retval] Windows.Foundation.Rect *value); |
| 773 |
} |
| 774 |
|
| 775 |
[ |
| 776 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 777 |
exclusiveto(Windows.UI.ViewManagement.InputPane), |
| 778 |
uuid(8a6b3f26-7090-4793-944c-c3f2cde26276) |
| 779 |
] |
| 780 |
interface IInputPane2 : IInspectable |
| 781 |
{ |
| 782 |
HRESULT TryShow([out, retval] boolean *result); |
| 783 |
HRESULT TryHide([out, retval] boolean *result); |
| 784 |
} |
| 785 |
|
| 786 |
[ |
| 787 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 788 |
exclusiveto(Windows.UI.ViewManagement.InputPane), |
| 789 |
uuid(088bb24f-962f-489d-aa6e-c6be1a0a6e52) |
| 790 |
] |
| 791 |
interface IInputPaneControl : IInspectable |
| 792 |
{ |
| 793 |
[propget] HRESULT Visible([out, retval] boolean *value); |
| 794 |
[propput] HRESULT Visible([in] boolean value); |
| 795 |
} |
| 796 |
|
| 797 |
[ |
| 798 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 799 |
exclusiveto(Windows.UI.ViewManagement.InputPaneVisibilityEventArgs), |
| 800 |
uuid(d243e016-d907-4fcc-bb8d-f77baa5028f1) |
| 801 |
] |
| 802 |
interface IInputPaneVisibilityEventArgs : IInspectable |
| 803 |
{ |
| 804 |
[propget] HRESULT OccludedRect([out, retval] Windows.Foundation.Rect *value); |
| 805 |
[propput] HRESULT EnsuredFocusedElementInView([in] boolean value); |
| 806 |
[propget] HRESULT EnsuredFocusedElementInView([out, retval] boolean *value); |
| 807 |
} |
| 808 |
|
| 809 |
[ |
| 810 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 811 |
exclusiveto(Windows.UI.ViewManagement.InputPane), |
| 812 |
uuid(95f4af3a-ef47-424a-9741-fd2815eba2bd) |
| 813 |
] |
| 814 |
interface IInputPaneStatics : IInspectable |
| 815 |
{ |
| 816 |
HRESULT GetForCurrentView([out, retval] Windows.UI.ViewManagement.InputPane **input_pane); |
| 817 |
} |
| 818 |
|
| 819 |
[ |
| 820 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 821 |
exclusiveto(Windows.UI.ViewManagement.InputPane), |
| 822 |
uuid(1b63529b-d9ec-4531-8445-71bab9fb828e) |
| 823 |
] |
| 824 |
interface IInputPaneStatics2 : IInspectable |
| 825 |
{ |
| 826 |
HRESULT GetForUIContext([in] Windows.UI.UIContext *context, [out, retval] Windows.UI.ViewManagement.InputPane **result); |
| 827 |
} |
| 828 |
|
| 829 |
[ |
| 830 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 831 |
exclusiveto(Windows.UI.ViewManagement.ViewModePreferences), |
| 832 |
uuid(878fcd3a-0b99-42c9-84d0-d3f1d403554b) |
| 833 |
] |
| 834 |
interface IViewModePreferences : IInspectable |
| 835 |
{ |
| 836 |
[propget] HRESULT ViewSizePreference([out, retval] Windows.UI.ViewManagement.ViewSizePreference *value); |
| 837 |
[propput] HRESULT ViewSizePreference([in] Windows.UI.ViewManagement.ViewSizePreference value); |
| 838 |
[propget] HRESULT CustomSize([out, retval] Windows.Foundation.Size *value); |
| 839 |
[propput] HRESULT CustomSize([in] Windows.Foundation.Size value); |
| 840 |
} |
| 841 |
|
| 842 |
[ |
| 843 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 844 |
exclusiveto(Windows.UI.ViewManagement.ViewModePreferences), |
| 845 |
uuid(69b60a65-5de5-40d8-8306-3833df7a2274) |
| 846 |
] |
| 847 |
interface IViewModePreferencesStatics : IInspectable |
| 848 |
{ |
| 849 |
HRESULT CreateDefault([in] Windows.UI.ViewManagement.ApplicationViewMode mode, [out, retval] Windows.UI.ViewManagement.ViewModePreferences **result); |
| 850 |
} |
| 851 |
|
| 852 |
[ |
| 853 |
activatable(Windows.Foundation.UniversalApiContract, 1.0), |
| 854 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 855 |
marshaling_behavior(agile) |
| 856 |
] |
| 857 |
runtimeclass AccessibilitySettings |
| 858 |
{ |
| 859 |
[default] interface Windows.UI.ViewManagement.IAccessibilitySettings; |
| 860 |
} |
| 861 |
|
| 862 |
[ |
| 863 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 864 |
marshaling_behavior(agile), |
| 865 |
static(Windows.UI.ViewManagement.IApplicationViewFullscreenStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 866 |
static(Windows.UI.ViewManagement.IApplicationViewInteropStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 867 |
static(Windows.UI.ViewManagement.IApplicationViewStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 868 |
static(Windows.UI.ViewManagement.IApplicationViewStatics2, Windows.Foundation.UniversalApiContract, 1.0), |
| 869 |
static(Windows.UI.ViewManagement.IApplicationViewStatics3, Windows.Foundation.UniversalApiContract, 1.0), |
| 870 |
static(Windows.UI.ViewManagement.IApplicationViewStatics4, Windows.Foundation.UniversalApiContract, 8.0), |
| 871 |
threading(both) |
| 872 |
] |
| 873 |
runtimeclass ApplicationView |
| 874 |
{ |
| 875 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] [default] interface Windows.UI.ViewManagement.IApplicationView; |
| 876 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IApplicationView2; |
| 877 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IApplicationView3; |
| 878 |
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.ViewManagement.IApplicationView4; |
| 879 |
[contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.ViewManagement.IApplicationView7; |
| 880 |
[contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.ViewManagement.IApplicationView9; |
| 881 |
[contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.ViewManagement.IApplicationViewWithContext; |
| 882 |
} |
| 883 |
|
| 884 |
[ |
| 885 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 886 |
marshaling_behavior(agile) |
| 887 |
] |
| 888 |
runtimeclass ApplicationViewConsolidatedEventArgs |
| 889 |
{ |
| 890 |
[default] interface Windows.UI.ViewManagement.IApplicationViewConsolidatedEventArgs; |
| 891 |
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.ViewManagement.IApplicationViewConsolidatedEventArgs2; |
| 892 |
} |
| 893 |
|
| 894 |
[ |
| 895 |
contract(Windows.UI.ViewManagement.ViewManagementViewScalingContract, 1.0), |
| 896 |
static(Windows.UI.ViewManagement.IApplicationViewScalingStatics, Windows.UI.ViewManagement.ViewManagementViewScalingContract, 1.0) |
| 897 |
] |
| 898 |
runtimeclass ApplicationViewScaling |
| 899 |
{ |
| 900 |
[default] interface Windows.UI.ViewManagement.IApplicationViewScaling; |
| 901 |
} |
| 902 |
|
| 903 |
[ |
| 904 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 905 |
marshaling_behavior(agile), |
| 906 |
static(Windows.UI.ViewManagement.IApplicationViewSwitcherStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 907 |
static(Windows.UI.ViewManagement.IApplicationViewSwitcherStatics2, Windows.Foundation.UniversalApiContract, 1.0), |
| 908 |
static(Windows.UI.ViewManagement.IApplicationViewSwitcherStatics3, Windows.Foundation.UniversalApiContract, 4.0), |
| 909 |
threading(both) |
| 910 |
] |
| 911 |
runtimeclass ApplicationViewSwitcher |
| 912 |
{ |
| 913 |
} |
| 914 |
|
| 915 |
[ |
| 916 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 917 |
marshaling_behavior(agile) |
| 918 |
] |
| 919 |
runtimeclass ApplicationViewTitleBar |
| 920 |
{ |
| 921 |
[contract(Windows.Foundation.UniversalApiContract, 1.0), default] interface Windows.UI.ViewManagement.IApplicationViewTitleBar; |
| 922 |
} |
| 923 |
|
| 924 |
[ |
| 925 |
activatable(Windows.Foundation.UniversalApiContract, 2.0), |
| 926 |
contract(Windows.Foundation.UniversalApiContract, 2.0), |
| 927 |
static(Windows.UI.ViewManagement.IApplicationViewTransferContextStatics, Windows.Foundation.UniversalApiContract, 2.0) |
| 928 |
] |
| 929 |
runtimeclass ApplicationViewTransferContext |
| 930 |
{ |
| 931 |
[contract(Windows.Foundation.UniversalApiContract, 2.0), default] interface Windows.UI.ViewManagement.IApplicationViewTransferContext; |
| 932 |
} |
| 933 |
|
| 934 |
[ |
| 935 |
activatable(Windows.Foundation.UniversalApiContract, 1.0), |
| 936 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 937 |
marshaling_behavior(agile) |
| 938 |
] |
| 939 |
runtimeclass UISettings |
| 940 |
{ |
| 941 |
[default] interface Windows.UI.ViewManagement.IUISettings; |
| 942 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IUISettings2; |
| 943 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IUISettings3; |
| 944 |
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.UI.ViewManagement.IUISettings4; |
| 945 |
[contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.ViewManagement.IUISettings5; |
| 946 |
[contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.UI.ViewManagement.IUISettings6; |
| 947 |
} |
| 948 |
|
| 949 |
[ |
| 950 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 951 |
marshaling_behavior(agile) |
| 952 |
] |
| 953 |
runtimeclass UISettingsAnimationsEnabledChangedEventArgs |
| 954 |
{ |
| 955 |
[default] interface Windows.UI.ViewManagement.IUISettingsAnimationsEnabledChangedEventArgs; |
| 956 |
} |
| 957 |
|
| 958 |
[ |
| 959 |
contract(Windows.Foundation.UniversalApiContract, 8.0), |
| 960 |
marshaling_behavior(agile) |
| 961 |
] |
| 962 |
runtimeclass UISettingsAutoHideScrollBarsChangedEventArgs |
| 963 |
{ |
| 964 |
[default] interface Windows.UI.ViewManagement.IUISettingsAutoHideScrollBarsChangedEventArgs; |
| 965 |
} |
| 966 |
|
| 967 |
[ |
| 968 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 969 |
marshaling_behavior(agile) |
| 970 |
] |
| 971 |
runtimeclass UISettingsMessageDurationChangedEventArgs |
| 972 |
{ |
| 973 |
[default] interface Windows.UI.ViewManagement.IUISettingsMessageDurationChangedEventArgs; |
| 974 |
} |
| 975 |
|
| 976 |
[ |
| 977 |
static(Windows.UI.ViewManagement.IUIViewSettingsStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 978 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 979 |
marshaling_behavior(agile) |
| 980 |
] |
| 981 |
runtimeclass UIViewSettings |
| 982 |
{ |
| 983 |
[default] interface Windows.UI.ViewManagement.IUIViewSettings; |
| 984 |
} |
| 985 |
|
| 986 |
[ |
| 987 |
static(Windows.UI.ViewManagement.IInputPaneStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 988 |
static(Windows.UI.ViewManagement.IInputPaneStatics2, Windows.Foundation.UniversalApiContract, 8.0), |
| 989 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 990 |
marshaling_behavior(standard) |
| 991 |
] |
| 992 |
runtimeclass InputPane |
| 993 |
{ |
| 994 |
[default] interface Windows.UI.ViewManagement.IInputPane; |
| 995 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IInputPane2; |
| 996 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IInputPaneControl; |
| 997 |
} |
| 998 |
|
| 999 |
[ |
| 1000 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 1001 |
marshaling_behavior(standard) |
| 1002 |
] |
| 1003 |
runtimeclass InputPaneVisibilityEventArgs |
| 1004 |
{ |
| 1005 |
[default] interface Windows.UI.ViewManagement.IInputPaneVisibilityEventArgs; |
| 1006 |
} |
| 1007 |
|
| 1008 |
[ |
| 1009 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 1010 |
static(Windows.UI.ViewManagement.IViewModePreferencesStatics, Windows.Foundation.UniversalApiContract, 4.0) |
| 1011 |
] |
| 1012 |
runtimeclass ViewModePreferences |
| 1013 |
{ |
| 1014 |
[contract(Windows.Foundation.UniversalApiContract, 4.0), default] interface Windows.UI.ViewManagement.IViewModePreferences; |
| 1015 |
} |
| 1016 |
} |