-
Notifications
You must be signed in to change notification settings - Fork 432
Expand file tree
/
Copy pathRuntimeCompatibilityOptions.idl
More file actions
72 lines (59 loc) · 2.65 KB
/
RuntimeCompatibilityOptions.idl
File metadata and controls
72 lines (59 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.Windows.ApplicationModel.WindowsAppRuntime
{
[contractversion(1)]
apicontract RuntimeCompatibilityContract {};
/// The set of servicing changes that can be disabled.
[contract(RuntimeCompatibilityContract, 1)]
enum RuntimeCompatibilityChange
{
None = 0, /// do not use this value
// 1.8.3
OrientedVirtualizingPanel_FixBoundsOverflow = 59890419,
// 1.8.4
StoragePickers_PreserveFileTypeChoicesInsertionOrder = 60245168,
StoragePickers_DisplayFileTypeFilterNames = 60245660,
StoragePickers_DoNotTruncateExistingFileOnSave = 60257559,
FixCreateIconElementRendering = 60408488,
// 1.8.5
InputNonClientPointerSource_PropagateWindowPosChangedMessage = 60326952,
XamlRoot_FixGetHostWindowInNestedIslands = 60697780,
DeploymentManager_PackageDowngradeFix = 60760194,
DwmCoreI_ShutdownManipulationCrash = 60823930,
ModelInitialization_Insights = 60909827,
ModelInitialization_KnownExceptions = 60910847,
// 1.8.6
DeploymentManager_ActivityCollectionFix = 61124029,
AppLifecycle_SharedMemoryRedirectionQueueFix = 60972838,
SplitMenuFlyoutItem_Available = 60878987,
TextIntelligence_Insights = 61106039,
// 1.8.7
AppRuntime_Insights = 61555948,
};
/// Represents a version of the Windows App Runtime.
[contract(RuntimeCompatibilityContract, 1)]
struct WindowsAppRuntimeVersion
{
UInt32 Major;
UInt32 Minor;
UInt32 Patch;
};
/// This object is used by the app to configure any desired compatibility options
/// for Windows App Runtime behavior of changes added in servicing updates. This
/// object is only used to set the runtime behavior and can't be used to query the
/// applied options.
[contract(RuntimeCompatibilityContract, 1)]
runtimeclass RuntimeCompatibilityOptions
{
RuntimeCompatibilityOptions();
/// An optional patch level to use if the runtime version matches the major.minor version.
WindowsAppRuntimeVersion PatchLevel1 { get; set; };
/// An optional patch level to use if the runtime version matches the major.minor version.
WindowsAppRuntimeVersion PatchLevel2 { get; set; };
/// An optional list of specific servicing changes to disable.
IVector<RuntimeCompatibilityChange> DisabledChanges{ get; };
/// Apply the compatibility options to the runtime.
void Apply();
}
}