h0x0d

Windows 10 18252 vs. 18247 WinRT API Changes

Oct 3rd, 2018
1,057
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 12.48 KB | None | 0 0
  1.  
  2.  MetaDiff v0.2 https://github.com/WalkingCat/MetaDiff
  3.  
  4.  new files: .\18252\amd64_microsoft-windows-runtime-metadata_31bf3856ad364e35_10.0.18252.1000_none_0f5a3eb84f8f2f06\*
  5.  old files: .\18247\amd64_microsoft-windows-runtime-metadata_31bf3856ad364e35_10.0.18247.1001_none_e49cae05af369665\*
  6.  
  7.  diff legends: +: added, -: removed, *: changed, |: type member changed
  8.    * windows.applicationmodel.winmd
  9.      | public class Windows.ApplicationModel.Resources.Core.ResourceCandidate {
  10.      +   public ResourceCandidateKind Kind { get; }
  11.      | }
  12.      + public enum Windows.ApplicationModel.Resources.Core.ResourceCandidateKind {
  13.      +   String = 0,
  14.      +   File = 1,
  15.      +   EmbeddedData = 2,
  16.      + }
  17.  
  18.    * windows.globalization.winmd
  19.      + public class Windows.Globalization.CurrencyAmount {
  20.      +   public string Amount { get; }
  21.      +   public string Currency { get; }
  22.      +   public CurrencyAmount( string amount, string currency );
  23.      + }
  24.  
  25.    * windows.networking.winmd
  26.      | public enum Windows.Networking.Connectivity.NetworkAuthenticationType {
  27.      +   Wpa3 = 10,
  28.      +   Wpa3Sae = 11,
  29.      | }
  30.  
  31.    * windows.ui.winmd
  32.      + public class Windows.UI.Input.AttachableInputObject {
  33.      +   public void Close();
  34.      + }
  35.      + public class Windows.UI.Input.InputActivationListener : Windows.UI.Input.AttachableInputObject {
  36.      +   public InputActivationState State { get; }
  37.      +   TypedEventHandler<InputActivationListener, InputActivationListenerActivationChangedEventArgs> InputActivationChanged;
  38.      + }
  39.      + public class Windows.UI.Input.InputActivationListenerActivationChangedEventArgs {
  40.      +   public InputActivationState State { get; }
  41.      + }
  42.      + public enum Windows.UI.Input.InputActivationState {
  43.      +   None = 0,
  44.      +   Deactivated = 1,
  45.      +   ActivatedNotForeground = 2,
  46.      +   ActivatedInForeground = 3,
  47.      + }
  48.      + public class Windows.UI.Input.Preview.InputActivationListenerPreview {
  49.      +   public static InputActivationListener CreateForApplicationWindow( ApplicationWindow window );
  50.      + }
  51.      | public class Windows.UI.ViewManagement.ApplicationView {
  52.      +   public ApplicationWindowPresenterKind AppliedPresenterKind { get; }
  53.      +   public string PersistedStateName { get; }
  54.      +   public bool TrySetPersistedStateName( string value );
  55.      +   public static IAsyncOperation<bool> ClearPersistedStateAsync( string value );
  56.      +   public static IAsyncOperation<bool> ClearAllPersistedStateAsync();
  57.      | }
  58.      + public class Windows.UI.WindowManagement.ApplicationWindow {
  59.      +   public bool CloseOnShowStateHidden { get; set; }
  60.      +   public DispatcherQueue DispatcherQueue { get; }
  61.      +   public int Id { get; }
  62.      +   public ApplicationWindowKind Kind { get; }
  63.      +   public ApplicationWindowShowState ShowState { get; }
  64.      +   public IAsyncAction CloseAsync();
  65.      +   public IAsyncAction HideAsync();
  66.      +   public IAsyncOperation<bool> TryShowAsync();
  67.      +   public static ApplicationWindow FromId( int id );
  68.      +   public static IAsyncOperation<ApplicationWindow> CreateAsync( ApplicationWindowKind kind );
  69.      +   TypedEventHandler<ApplicationWindow, ApplicationWindowClosedEventArgs> Closed;
  70.      +   TypedEventHandler<ApplicationWindow, ApplicationWindowShowStateChangedEventArgs> ShowStateChanged;
  71.      + }
  72.      + public class Windows.UI.WindowManagement.ApplicationWindowClosedEventArgs {
  73.      + }
  74.      + public class Windows.UI.WindowManagement.ApplicationWindowExperience {
  75.      +   public string Title { get; set; }
  76.      + }
  77.      + public class Windows.UI.WindowManagement.ApplicationWindowExperienceChangedEventArgs {
  78.      + }
  79.      + public enum Windows.UI.WindowManagement.ApplicationWindowKind {
  80.      +   Companion = 0,
  81.      +   Flyout = 1,
  82.      + }
  83.      + public enum Windows.UI.WindowManagement.ApplicationWindowPresenterKind {
  84.      +   Default = 0,
  85.      +   FullScreen = 1,
  86.      +   Projection = 2,
  87.      +   CompactOverlay = 3,
  88.      +   Maximized = 4,
  89.      + }
  90.      + public enum Windows.UI.WindowManagement.ApplicationWindowShowState {
  91.      +   Hidden = 0,
  92.      +   Shown = 1,
  93.      + }
  94.      + public class Windows.UI.WindowManagement.ApplicationWindowShowStateChangedEventArgs {
  95.      +   public ApplicationWindowShowStateChangedReason Reason { get; }
  96.      + }
  97.      + public enum Windows.UI.WindowManagement.ApplicationWindowShowStateChangedReason {
  98.      +   AppInitiated = 0,
  99.      +   UserInitiated = 1,
  100.      +   Other = 2,
  101.      + }
  102.      + public enum Windows.UI.WindowManagement.BoundsPreference {
  103.      +   Default = 0,
  104.      +   SizeFirst = 1,
  105.      +   PositionFirst = 2,
  106.      + }
  107.      + public class Windows.UI.WindowManagement.CompactOverlayPresenter {
  108.      +   public ApplicationWindowPresenterKind Kind { get; }
  109.      +   public static bool IsAvailable( int viewId );
  110.      +   public static IAsyncOperation<bool> TryApplyAsync( int viewId );
  111.      +   public static IAsyncOperation<bool> RevertAsync( int viewId );
  112.      + }
  113.      + public class Windows.UI.WindowManagement.CompanionExperience : Windows.UI.WindowManagement.ApplicationWindowExperience {
  114.      +   public ApplicationWindowPresenterKind AppliedPresenterKind { get; }
  115.      +   public ApplicationViewTitleBar TitleBar { get; }
  116.      +   public static CompanionExperience GetForWindow( ApplicationWindow applicationWindow );
  117.      + }
  118.      + public class Windows.UI.WindowManagement.DisplayRegion {
  119.      +   public IVectorView<string> DisplayMonitorIds { get; }
  120.      +   public int Id { get; }
  121.      +   public bool IsVisible { get; }
  122.      +   public Point Offset { get; }
  123.      +   public Size Size { get; }
  124.      +   public WindowingEnvironment WindowingEnvironment { get; }
  125.      +   public static IVectorView<DisplayRegion> GetRegionsForCurrentView();
  126.      +   TypedEventHandler<DisplayRegion, object> Changed;
  127.      + }
  128.      + public class Windows.UI.WindowManagement.FlyoutExperience : Windows.UI.WindowManagement.ApplicationWindowExperience {
  129.      +   public bool IsPinnable { get; set; }
  130.      +   public ApplicationViewTitleBar TitleBar { get; }
  131.      +   public static FlyoutExperience GetForWindow( ApplicationWindow applicationWindow );
  132.      + }
  133.      + public class Windows.UI.WindowManagement.FullScreenPresenter {
  134.      +   public ApplicationWindowPresenterKind Kind { get; }
  135.      +   public static bool IsAvailable( int viewId );
  136.      +   public static IAsyncOperation<bool> TryApplyAsync( int viewId );
  137.      +   public static IAsyncOperation<bool> TryApplyExclusiveAsync( int viewId );
  138.      +   public static IAsyncOperation<bool> RevertAsync( int viewId );
  139.      + }
  140.      + public interface Windows.UI.WindowManagement.IPositioner {
  141.      +   public Size GetDefaultFullScreenSize( DisplayRegion displayRegion );
  142.      +   public Size GetFullScreenSize( int viewId );
  143.      +   public void SetWindowingEnvironment( int viewId );
  144.      + }
  145.      + public class Windows.UI.WindowManagement.MaximizedPresenter {
  146.      +   public ApplicationWindowPresenterKind Kind { get; }
  147.      +   public static bool IsAvailable( int viewId );
  148.      +   public static IAsyncOperation<bool> TryApplyAsync( int viewId );
  149.      +   public static IAsyncOperation<bool> RevertAsync( int viewId );
  150.      + }
  151.      + public class Windows.UI.WindowManagement.OverlappedPositioner {
  152.      +   public void SetDisplayRegion( int viewId, DisplayRegion displayRegion );
  153.      +   public void SetViewRelativePosition( int viewId, int anchorViewId, Point offset, ViewRelativePositionPreferences viewRelativePositionPreferences );
  154.      +   public void SetSize( int viewId, Size size );
  155.      +   public Size GetDefaultFullScreenSize( DisplayRegion displayRegion );
  156.      +   public Size GetFullScreenSize( int viewId );
  157.      +   public void SetWindowingEnvironment( int viewId );
  158.      + }
  159.      + public class Windows.UI.WindowManagement.ProjectionPresenter {
  160.      +   public ApplicationWindowPresenterKind Kind { get; }
  161.      +   public static bool IsAvailable( int viewId );
  162.      +   public static IAsyncOperation<bool> TryApplyAsync( int viewId, int anchorViewId );
  163.      +   public static IAsyncOperation<bool> RevertAsync( int viewId, int anchorViewId );
  164.      + }
  165.      + public class Windows.UI.WindowManagement.TilingPositioner {
  166.      +   public void SetDisplayRegion( int viewId, DisplayRegion displayRegion );
  167.      +   public void SetDisplayRegions( int viewId, IIterable<DisplayRegion> displayRegions );
  168.      +   public Size GetDefaultFullScreenSize( DisplayRegion displayRegion );
  169.      +   public Size GetFullScreenSize( int viewId );
  170.      +   public void SetWindowingEnvironment( int viewId );
  171.      + }
  172.      + public class Windows.UI.WindowManagement.ViewRelativePositionPreferences {
  173.      +   public bool KeepAspectRatio { get; set; }
  174.      +   public bool IncludeWindowDecorations { get; set; }
  175.      +   public bool ConstrainToSingleDisplayRegion { get; set; }
  176.      +   public BoundsPreference BoundsPreference { get; set; }
  177.      +   public ViewRelativePositionPreferences();
  178.      + }
  179.      + public enum Windows.UI.WindowManagement.WindowPositionerKind {
  180.      +   Tiling = 0,
  181.      +   Overlapped = 1,
  182.      +   Holographic = 2,
  183.      + }
  184.      + public class Windows.UI.WindowManagement.WindowingEnvironment {
  185.      +   public IObservableVector<DisplayRegion> DisplayRegions { get; }
  186.      +   public int Id { get; }
  187.      +   public bool IsEnabled { get; }
  188.      +   public WindowingEnvironmentKind Kind { get; }
  189.      +   public IAsyncOperation<bool> TryApplyChangesAsync();
  190.      +   public IAsyncOperation<bool> TryApplyChangesAsync( int viewId );
  191.      +   public void RevertPendingConfiguration( int viewId );
  192.      +   public IPositioner TryGetDefaultPositioner();
  193.      +   public static IAsyncOperation<IVectorView<WindowingEnvironment>> FindAllAsync();
  194.      +   public static IAsyncOperation<IVectorView<WindowingEnvironment>> FindAllWithKindAsync( WindowingEnvironmentKind windowingEnvironmentKind );
  195.      +   public static WindowingEnvironment GetForCurrentView();
  196.      +   TypedEventHandler<WindowingEnvironment, WindowingEnvironmentChangedEventArgs> Changed;
  197.      +   EventHandler<WindowingEnvironmentAddedEventArgs> Added;
  198.      +   EventHandler<WindowingEnvironmentRemovedEventArgs> Removed;
  199.      + }
  200.      + public class Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs {
  201.      +   public WindowingEnvironment WindowingEnvironment { get; }
  202.      + }
  203.      + public class Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs {
  204.      + }
  205.      + public enum Windows.UI.WindowManagement.WindowingEnvironmentKind {
  206.      +   Unknown = 0,
  207.      +   Tiling = 1,
  208.      +   Overlapped = 2,
  209.      +   Holographic = 3,
  210.      + }
  211.      + public class Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs {
  212.      +   public WindowingEnvironment WindowingEnvironment { get; }
  213.      + }
  214.  
  215.    * windows.ui.xaml.winmd
  216.      | public class Windows.UI.Xaml.UIElement : Windows.UI.Xaml.DependencyObject {
  217.      +   public Shadow Shadow { get; set; }
  218.      +   public DependencyProperty ShadowProperty { get; }
  219.      | }
  220.      + public class Windows.UI.Xaml.UIElementWeakCollection {
  221.      +   public uint Size { get; }
  222.      +   public UIElementWeakCollection();
  223.      +   public UIElement GetAt( uint index );
  224.      +   public IVectorView<UIElement> GetView();
  225.      +   public bool IndexOf( UIElement value, ref uint index );
  226.      +   public void SetAt( uint index, UIElement value );
  227.      +   public void InsertAt( uint index, UIElement value );
  228.      +   public void RemoveAt( uint index );
  229.      +   public void Append( UIElement value );
  230.      +   public void RemoveAtEnd();
  231.      +   public void Clear();
  232.      +   public uint GetMany( uint startIndex, UIElement[] items );
  233.      +   public void ReplaceAll( UIElement[] items );
  234.      +   public IIterator<UIElement> First();
  235.      + }
  236.      | public class Windows.UI.Xaml.Hosting.ElementCompositionPreview {
  237.      +   public static void SetApplicationWindowContent( ApplicationWindow applicationWindow, UIElement xamlContent );
  238.      +   public static UIElement GetApplicationWindowContent( ApplicationWindow applicationWindow );
  239.      | }
  240.      + public class Windows.UI.Xaml.Media.Shadow : Windows.UI.Xaml.DependencyObject {
  241.      + }
  242.      + public class Windows.UI.Xaml.Media.ThemeShadow : Windows.UI.Xaml.Media.Shadow {
  243.      +   public UIElementWeakCollection Receivers { get; }
  244.      +   public ThemeShadow();
  245.      + }
  246.      | public class Windows.UI.Xaml.Media.Animation.GravityConnectedAnimationConfiguration : Windows.UI.Xaml.Media.Animation.ConnectedAnimationConfiguration {
  247.      +   public bool IsShadowEnabled { get; set; }
  248.      | }
Advertisement
Add Comment
Please, Sign In to add comment