Skip to main content
May 8, 2018
PC

Windows 10 SDK Preview Build 17661 now available!

Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Windows 10 Insider Preview (Build 17661 or greater). The Preview SDK Build 17661 contains bug fixes and under development changes to the API surface area.

The Preview SDK can be downloaded from developer section on Windows Insider.

For feedback and updates to the known issues, please see the developer forum. For new developer feature requests, head over to our Windows Platform UserVoice.

Things to note:

  • This build works in conjunction with previously released SDKs and Visual Studio 2017. You can install this SDK and still also continue to submit your apps that target Windows 10 Creators build or earlier to the store.
  • The Windows SDK will now formally only be supported by Visual Studio 2017 and greater. You can download the Visual Studio 2017 here.
  • This build of the Windows SDK will install on Windows 10 Insider Preview and supported Windows operating systems.

Known Issues

The contract Windows.System.SystemManagementContract is not included in this release. In order to access the following APIs, please use a previous Windows IoT extension SDK with your project.

This bug will be fixed in a future preview build of the SDK.

The following APIs are affected by this bug:

[code lang=”csharp”]

namespace Windows.Services.Cortana {
public sealed class CortanaSettings
}
namespace Windows.System {
public enum AutoUpdateTimeZoneStatus
public static class DateTimeSettings
public enum PowerState
public static class ProcessLauncher
public sealed class ProcessLauncherOptions
public sealed class ProcessLauncherResult
public enum ShutdownKind
public static class ShutdownManager
public struct SystemManagementContract
public static class TimeZoneSettings
}

[/code]

What’s New:

MC.EXE

We’ve made some important changes to the C/C++ ETW code generation of mc.exe (Message Compiler):

The “-mof” parameter is deprecated. This parameter instructs MC.exe to generate ETW code that is compatible with Windows XP and earlier. Support for the “-mof” parameter will be removed in a future version of mc.exe.

As long as the “-mof” parameter is not used, the generated C/C++ header is now compatible with both kernel-mode and user-mode, regardless of whether “-km” or “-um” was specified on the command line. The header will use the _ETW_KM_ macro to automatically determine whether it is being compiled for kernel-mode or user-mode and will call the appropriate ETW APIs for each mode.

  • The only remaining difference between “-km” and “-um” is that the EventWrite[EventName] macros generated with “-km” have an Activity ID parameter while the EventWrite[EventName] macros generated with “-um” do not have an Activity ID parameter.

The EventWrite[EventName] macros now default to calling EventWriteTransfer (user mode) or EtwWriteTransfer (kernel mode). Previously, the EventWrite[EventName] macros defaulted to calling EventWrite (user mode) or EtwWrite (kernel mode).

  • The generated header now supports several customization macros. For example, you can set the MCGEN_EVENTWRITETRANSFER macro if you need the generated macros to call something other than EventWriteTransfer.
  • The manifest supports new attributes.
    • Event “name”: non-localized event name.
    • Event “attributes”: additional key-value metadata for an event such as filename, line number, component name, function name.
    • Event “tags”: 28-bit value with user-defined semantics (per-event).
    • Field “tags”: 28-bit value with user-defined semantics (per-field – can be applied to “data” or “struct” elements).
  • You can now define “provider traits” in the manifest (e.g. provider group). If provider traits are used in the manifest, the EventRegister[ProviderName] macro will automatically register them.
  • MC will now report an error if a localized message file is missing a string. (Previously MC would silently generate a corrupt message resource.)
  • MC can now generate Unicode (utf-8 or utf-16) output with the “-cp utf-8” or “-cp utf-16” parameters.

API Updates and Additions

When targeting new APIs, consider writing your app to be adaptive in order to run correctly on the widest number of Windows 10 devices. Please see Dynamically detecting features with API contracts (10 by 10) for more information.

The following APIs have been added to the platform since the release of 17134.

[code lang=”csharp”]

namespace Windows.ApplicationModel {
public sealed class AppInstallerFileInfo
public sealed class LimitedAccessFeatureRequestResult
public static class LimitedAccessFeatures
public enum LimitedAccessFeatureStatus
public sealed class Package {
IAsyncOperation<PackageUpdateAvailabilityResult> CheckUpdateAvailabilityAsync();
AppInstallerFileInfo GetAppInstallerFileInfo();
}
public enum PackageUpdateAvailability
public sealed class PackageUpdateAvailabilityResult
}
namespace Windows.ApplicationModel.Calls {
public sealed class VoipCallCoordinator {
IAsyncOperation<VoipPhoneCallResourceReservationStatus> ReserveCallResourcesAsync();
}
}
namespace Windows.ApplicationModel.Store.Preview.InstallControl {
public enum AppInstallationToastNotificationMode
public sealed class AppInstallItem {
AppInstallationToastNotificationMode CompletedInstallToastNotificationMode { get; set; }
AppInstallationToastNotificationMode InstallInProgressToastNotificationMode { get; set; }
bool PinToDesktopAfterInstall { get; set; }
bool PinToStartAfterInstall { get; set; }
bool PinToTaskbarAfterInstall { get; set; }
}
public sealed class AppInstallManager {
bool CanInstallForAllUsers { get; }
}
public sealed class AppInstallOptions {
AppInstallationToastNotificationMode CompletedInstallToastNotificationMode { get; set; }
bool InstallForAllUsers { get; set; }
AppInstallationToastNotificationMode InstallInProgressToastNotificationMode { get; set; }
bool PinToDesktopAfterInstall { get; set; }
bool PinToStartAfterInstall { get; set; }
bool PinToTaskbarAfterInstall { get; set; }
bool StageButDoNotInstall { get; set; }
}
public sealed class AppUpdateOptions {
bool AutomaticallyDownloadAndInstallUpdateIfFound { get; set; }
}
}
namespace Windows.Devices.Enumeration {
public sealed class DeviceInformationPairing {
public static bool TryRegisterForAllInboundPairingRequestsWithProtectionLevel(DevicePairingKinds pairingKindsSupported, DevicePairingProtectionLevel minProtectionLevel);
}
}
namespace Windows.Devices.Lights {
public sealed class LampArray
public enum LampArrayKind
public sealed class LampInfo
public enum LampPurpose : uint
}
namespace Windows.Devices.Sensors {
public sealed class SimpleOrientationSensor {
public static IAsyncOperation<SimpleOrientationSensor> FromIdAsync(string deviceId);
public static string GetDeviceSelector();
}
}
namespace Windows.Devices.SmartCards {
public static class KnownSmartCardAppletIds
public sealed class SmartCardAppletIdGroup {
string Description { get; set; }
IRandomAccessStreamReference Logo { get; set; }
ValueSet Properties { get; }
bool SecureUserAuthenticationRequired { get; set; }
}
public sealed class SmartCardAppletIdGroupRegistration {
string SmartCardReaderId { get; }
IAsyncAction SetPropertiesAsync(ValueSet props);
}
}
namespace Windows.Devices.WiFi {
public enum WiFiPhyKind {
He = 10,
}
}
namespace Windows.Media.Core {
public sealed class MediaStreamSample {
public static MediaStreamSample CreateFromSurface(IDirect3DSurface surface, TimeSpan timestamp);
}
}
namespace Windows.Media.Devices.Core {
public sealed class CameraIntrinsics {
public CameraIntrinsics(Vector2 focalLength, Vector2 principalPoint, Vector3 radialDistortion, Vector2 tangentialDistortion, uint imageWidth, uint imageHeight);
}
}
namespace Windows.Media.Streaming.Adaptive {
public enum AdaptiveMediaSourceResourceType {
MediaSegmentIndex = 5,
}
}
namespace Windows.Security.Authentication.Web.Provider {
public sealed class WebAccountProviderInvalidateCacheOperation : IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation
public enum WebAccountProviderOperationKind {
InvalidateCache = 7,
}
public sealed class WebProviderTokenRequest {
string Id { get; }
}
}
namespace Windows.Security.DataProtection {
public enum UserDataAvailability
public sealed class UserDataAvailabilityStateChangedEventArgs
public sealed class UserDataBufferUnprotectResult
public enum UserDataBufferUnprotectStatus
public sealed class UserDataProtectionManager
public sealed class UserDataStorageItemProtectionInfo
public enum UserDataStorageItemProtectionStatus
}
namespace Windows.Services.Store {
public sealed class StoreContext {
IAsyncOperation<StoreRateAndReviewResult> RequestRateAndReviewAppAsync();
}
public sealed class StoreRateAndReviewResult
public enum StoreRateAndReviewStatus
}
namespace Windows.Storage.Provider {
public enum StorageProviderHydrationPolicyModifier : uint {
AutoDehydrationAllowed = (uint)4,
}
}
namespace Windows.System {
public sealed class LauncherUIOptions {
ViewGrouping GroupingPreference { get; set; }
}
namespace Windows.UI.Composition {
public enum CompositionBatchTypes : uint {
AllAnimations = (uint)5,
InfiniteAnimation = (uint)4,
}
public sealed class CompositionGeometricClip : CompositionClip
public sealed class Compositor : IClosable {
CompositionGeometricClip CreateGeometricClip();
}
}
namespace Windows.UI.Core {
public sealed class SystemNavigationManager {
bool DoesBackButtonReduceViewBounds { get; }
}
}
namespace Windows.UI.Notifications {
public sealed class ScheduledToastNotification {
public ScheduledToastNotification(DateTime deliveryTime);
IAdaptiveCard AdaptiveCard { get; set; }
}
public sealed class ToastNotification {
public ToastNotification();
IAdaptiveCard AdaptiveCard { get; set; }
}
}
namespace Windows.UI.Shell {
public sealed class TaskbarManager {
IAsyncOperation<bool> IsSecondaryTilePinnedAsync(string tileId);
IAsyncOperation<bool> RequestPinSecondaryTileAsync(SecondaryTile secondaryTile);
IAsyncOperation<bool> TryUnpinSecondaryTileAsync(string tileId);
}
}
namespace Windows.UI.StartScreen {
public sealed class StartScreenManager {
IAsyncOperation<bool> ContainsSecondaryTileAsync(string tileId);
IAsyncOperation<bool> TryRemoveSecondaryTileAsync(string tileId);
}
}
namespace Windows.UI.ViewManagement {
public sealed class ApplicationView {
bool IsTabGroupingSupported { get; }
}
public enum ViewGrouping
public sealed class ViewModePreferences {
ViewGrouping GroupingPreference { get; set; }
}
}
namespace Windows.UI.ViewManagement.Core {
public sealed class CoreInputView {
bool TryHide();
bool TryShow();
bool TryShow(CoreInputViewKind type);
}
public enum CoreInputViewKind
}
namespace Windows.UI.Xaml.Controls {
public class NavigationView : ContentControl {
bool IsTopNavigationForcedHidden { get; set; }
NavigationViewOrientation Orientation { get; set; }
UIElement TopNavigationContentOverlayArea { get; set; }
UIElement TopNavigationLeftHeader { get; set; }
UIElement TopNavigationMiddleHeader { get; set; }
UIElement TopNavigationRightHeader { get; set; }
}
public enum NavigationViewOrientation
public sealed class PasswordBox : Control {
bool CanPasteClipboardContent { get; }
public static DependencyProperty CanPasteClipboardContentProperty { get; }
void PasteFromClipboard();
}
public class RichEditBox : Control {
RichEditTextDocument RichEditDocument { get; }
}
public sealed class RichTextBlock : FrameworkElement {
void CopySelectionToClipboard();
}
public class SplitButton : ContentControl
public sealed class SplitButtonClickEventArgs
public enum SplitButtonOrientation
public sealed class TextBlock : FrameworkElement {
void CopySelectionToClipboard();
}
public class TextBox : Control {
bool CanPasteClipboardContent { get; }
public static DependencyProperty CanPasteClipboardContentProperty { get; }
bool CanRedo { get; }
public static DependencyProperty CanRedoProperty { get; }
bool CanUndo { get; }
public static DependencyProperty CanUndoProperty { get; }
void CopySelectionToClipboard();
void CutSelectionToClipboard();
void PasteFromClipboard();
void Redo();
void Undo();
}
public sealed class WebView : FrameworkElement {
event TypedEventHandler<WebView, WebViewWebResourceRequestedEventArgs> WebResourceRequested;
}
public sealed class WebViewWebResourceRequestedEventArgs
}
namespace Windows.UI.Xaml.Controls.Primitives {
public class FlyoutBase : DependencyObject {
FlyoutShowMode ShowMode { get; set; }
public static DependencyProperty ShowModeProperty { get; }
public static DependencyProperty TargetProperty { get; }
void Show(FlyoutShowOptions showOptions);
}
public enum FlyoutPlacementMode {
BottomLeftJustified = 7,
BottomRightJustified = 8,
LeftBottomJustified = 10,
LeftTopJustified = 9,
RightBottomJustified = 12,
RightTopJustified = 11,
TopLeftJustified = 5,
TopRightJustified = 6,
}
public enum FlyoutShowMode
public sealed class FlyoutShowOptions : DependencyObject
}
namespace Windows.UI.Xaml.Hosting {
public sealed class XamlBridge : IClosable
}
namespace Windows.UI.Xaml.Markup {
public sealed class FullXamlMetadataProviderAttribute : Attribute
}

[/code]