Advertisement
h0x0d

Windows 10 14971 vs. 14965 WinRT API Changes

Nov 18th, 2016
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 9.00 KB | None | 0 0
  1.  
  2.  MetaDiff v0.1 https://github.com/WalkingCat/MetaDiff
  3.  
  4.  new files: 14971\Windows\System32\WinMetadata\*
  5.  old files: 14965\Windows\System32\WinMetadata\*
  6.  
  7.  diff legends: +: added, -: removed, *: changed, |: type member changed
  8.  
  9. + public class Windows.ApplicationModel.DataTransfer.ShareProvider {
  10. +   public ShareProviderHandler Command { get; }
  11. +   public RandomAccessStreamReference Icon { get; }
  12. +   public string Title { get; }
  13. +   public ShareProvider( string title, RandomAccessStreamReference icon, ShareProviderHandler handler );
  14. + }
  15.  
  16. + public void delegate Windows.ApplicationModel.DataTransfer.ShareProviderHandler( ShareProviderOperation shareOp );
  17.  
  18. + public class Windows.ApplicationModel.DataTransfer.ShareProviderOperation {
  19. +   public DataPackageView Data { get; }
  20. + }
  21.  
  22. + public class Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs {
  23. +   public IVector<ShareProvider> ShareProviders { get; }
  24. + }
  25.  
  26. + public interface Windows.Perception.Spatial.Preview.IPlaySpaceFrameOfReferenceStatics {
  27. +   public PlaySpaceFrameOfReference TryGetAtCurrentLocation();
  28. + }
  29.  
  30. + public class Windows.Perception.Spatial.Preview.PlaySpaceFrameOfReference {
  31. +   public Vector2[] Bounds { get; }
  32. +   public SpatialCoordinateSystem CoordinateSystem { get; }
  33. +   public static PlaySpaceFrameOfReference TryGetAtCurrentLocation();
  34. + }
  35.  
  36. | public enum Windows.Services.Cortana.CortanaPermission {
  37. *   Messaging = 7,
  38. *   Microphone = 8,
  39. *   Personalization = 9,
  40. *   PhoneCall = 10,
  41. -   LocationHistory = 7,
  42. | }
  43.  
  44. | public enum Windows.Storage.KnownFolderId {
  45. +   AllAppMods = 14,
  46. +   CurrentAppMods = 15,
  47. | }
  48.  
  49. + public enum Windows.System.PowerState {
  50. +   ConnectedStandby = 0,
  51. +   SleepS3 = 1,
  52. + }
  53.  
  54. | public class Windows.System.ShutdownManager {
  55. +   public static bool IsPowerStateSupported( PowerState value );
  56. +   public static void EnterPowerState( PowerState powerState );
  57. +   public static void EnterPowerState( PowerState powerState, TimeSpan wakeUpAfter );
  58. | }
  59.  
  60. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActionState {
  61. +   Success = 0,
  62. +   FreeNetworkNotAvailable = 1,
  63. +   ACPowerNotAvailable = 2,
  64. + }
  65.  
  66. + public class Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions {
  67. +   public static bool IsScenarioEnabled( Guid isActive );
  68. +   public static bool TryEscalateScenario( Guid result, PlatformDiagnosticEscalationType scenarioId, string escalationType, bool outputDirectory, bool timestampOutputDirectory, IMapView<string, string> forceEscalationUpload );
  69. +   public static PlatformDiagnosticActionState DownloadLatestSettingsForNamespace( string result, string partner, bool feature, bool isScenarioNamespace, bool downloadOverCostedNetwork );
  70. +   public static IVectorView<Guid> GetActiveScenarioList();
  71. +   public static PlatformDiagnosticActionState ForceUpload( PlatformDiagnosticEventBufferLatencies result, bool latency, bool uploadOverCostedNetwork );
  72. +   public static PlatformDiagnosticTraceSlotState IsTraceRunning( PlatformDiagnosticTraceSlotType slotState, Guid slotType, ulong scenarioId );
  73. +   public static PlatformDiagnosticTraceRuntimeInfo GetActiveTraceRuntime( PlatformDiagnosticTraceSlotType traceRuntimeInfo );
  74. +   public static IVectorView<PlatformDiagnosticTraceInfo> GetKnownTraceList( PlatformDiagnosticTraceSlotType traceInfo );
  75. + }
  76.  
  77. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEscalationType {
  78. +   OnCompletion = 0,
  79. +   OnFailure = 1,
  80. + }
  81.  
  82. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEventBufferLatencies {
  83. +   Normal = 1,
  84. +   CostDeferred = 2,
  85. +   Realtime = 4,
  86. + }
  87.  
  88. + public class Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo {
  89. +   public bool IsAutoLogger { get; }
  90. +   public bool IsExclusive { get; }
  91. +   public long MaxTraceDurationFileTime { get; }
  92. +   public PlatformDiagnosticTracePriority Priority { get; }
  93. +   public ulong ProfileHash { get; }
  94. +   public Guid ScenarioId { get; }
  95. + }
  96.  
  97. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTracePriority {
  98. +   Normal = 0,
  99. +   UserElevated = 1,
  100. + }
  101.  
  102. + public class Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo {
  103. +   public long EtwRuntimeFileTime { get; }
  104. +   public long RuntimeFileTime { get; }
  105. + }
  106.  
  107. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotState {
  108. +   NotRunning = 0,
  109. +   Running = 1,
  110. +   Throttled = 2,
  111. + }
  112.  
  113. + public enum Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType {
  114. +   Alternative = 0,
  115. +   AlwaysOn = 1,
  116. +   Mini = 2,
  117. + }
  118.  
  119. | public class Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs {
  120. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  121. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  122. | }
  123.  
  124. | public class Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs {
  125. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  126. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  127. | }
  128.  
  129. + public class Windows.UI.Input.Spatial.SpatialInteractionController {
  130. +   public bool IsThumbstickSupported { get; }
  131. +   public bool IsTouchpadSupported { get; }
  132. +   public bool IsTriggerSupported { get; }
  133. + }
  134.  
  135. + public class Windows.UI.Input.Spatial.SpatialInteractionControllerProperties {
  136. +   public bool IsThumbstickPressed { get; }
  137. +   public bool IsTouchpadPressed { get; }
  138. +   public bool IsTouchpadTouched { get; }
  139. +   public bool IsTriggerPressed { get; }
  140. +   public double ThumbstickX { get; }
  141. +   public double ThumbstickY { get; }
  142. +   public double TouchpadX { get; }
  143. +   public double TouchpadY { get; }
  144. +   public double TriggerReading { get; }
  145. + }
  146.  
  147. | public class Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs {
  148. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  149. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  150. | }
  151.  
  152. | public enum Windows.UI.Input.Spatial.SpatialInteractionKind {
  153. +   Select = 1,
  154. +   Menu = 2,
  155. -   Primary = 1,
  156. -   Secondary = 2,
  157. | }
  158.  
  159. | public class Windows.UI.Input.Spatial.SpatialInteractionSource {
  160. +   public SpatialInteractionController Controller { get; }
  161. +   public bool IsMenuSupported { get; }
  162. +   public bool IsPointingSupported { get; }
  163. -   public bool SupportsPointing { get; }
  164. | }
  165.  
  166. | public class Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs {
  167. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  168. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  169. | }
  170.  
  171. | public class Windows.UI.Input.Spatial.SpatialInteractionSourceState {
  172. +   public SpatialInteractionControllerProperties ControllerProperties { get; }
  173. +   public bool IsMenuPressed { get; }
  174. +   public bool IsSelectPressed { get; }
  175. -   public bool IsPrimaryPressed { get; }
  176. -   public bool IsSecondaryPressed { get; }
  177. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  178. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  179. | }
  180.  
  181. | public class Windows.UI.Input.Spatial.SpatialPointerPose {
  182. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialInteractionSource pose );
  183. -   public SpatialPointingPose TryGetPointingPose( SpatialInteractionSource pose );
  184. | }
  185.  
  186. + public class Windows.UI.Input.Spatial.SpatialPointerSourcePose {
  187. +   public Vector3 ForwardDirection { get; }
  188. +   public Vector3 Position { get; }
  189. +   public Vector3 UpDirection { get; }
  190. + }
  191.  
  192. - public class Windows.UI.Input.Spatial.SpatialPointingPose;
  193.  
  194. | public class Windows.UI.Input.Spatial.SpatialTappedEventArgs {
  195. +   public SpatialPointerSourcePose TryGetPointerSourcePose( SpatialCoordinateSystem pose );
  196. -   public SpatialPointingPose TryGetPointingPose( SpatialCoordinateSystem pose );
  197. | }
  198.  
  199. | public class Windows.UI.ViewManagement.ApplicationView {
  200. +   public ApplicationViewMode ViewMode { get; }
  201. +   public bool IsViewModeSupported( ApplicationViewMode isViewModeSupported );
  202. +   public IAsyncOperation<bool> TryEnterViewModeAsync( ApplicationViewMode operation );
  203. +   public IAsyncOperation<bool> TryEnterViewModeAsync( ApplicationViewMode operation, ViewModePreferences viewMode );
  204. | }
  205.  
  206. + public enum Windows.UI.ViewManagement.ApplicationViewMode {
  207. +   Default = 0,
  208. +   CompactOverlay = 1,
  209. +   FullScreen = 2,
  210. + }
  211.  
  212. | public class Windows.UI.ViewManagement.ApplicationViewSwitcher {
  213. +   public static IAsyncOperation<bool> TryShowAsViewModeAsync( int operation, ApplicationViewMode viewId );
  214. +   public static IAsyncOperation<bool> TryShowAsViewModeAsync( int operation, ApplicationViewMode viewId, ViewModePreferences viewMode );
  215. | }
  216.  
  217. + public class Windows.UI.ViewManagement.ViewModePreferences {
  218. +   public ViewSizePreference ViewSizePreference { get; set; }
  219. +   public Size CustomSize { get; set; }
  220. +   public static ViewModePreferences GetDefault( ApplicationViewMode result );
  221. + }
  222.  
  223. | public enum Windows.UI.ViewManagement.ViewSizePreference {
  224. +   Custom = 6,
  225. | }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement