Skip to content

Commit

Permalink
Windows Creator's Update SDK release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Welton committed Apr 6, 2017
1 parent 532b09e commit 948191e
Show file tree
Hide file tree
Showing 2,892 changed files with 3,532 additions and 3,474 deletions.
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/CL/build.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cl main.cpp /I ..\.. /EHsc /std:c++latest /d1permissive-
cl /nologo main.cpp /I ..\.. /EHsc /std:c++latest /d1permissive-
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/CL/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ using namespace winrt;

int main()
{
initialize();
init_apartment();
}
3 changes: 3 additions & 0 deletions 10.0.14393.0/Samples/IBuffer/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
#include "winrt/Windows.UI.Xaml.Media.Imaging.h"
#include "winrt/Windows.Graphics.Imaging.h"

#pragma warning(push)
#pragma warning(disable: 4467)
#include <robuffer.h>
#pragma warning(pop)
#include <future>
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Activation.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.AppService.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Appointments.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
16 changes: 8 additions & 8 deletions 10.0.14393.0/winrt/Windows.ApplicationModel.Background.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down Expand Up @@ -2917,6 +2917,13 @@ template <typename D> Windows::ApplicationModel::Background::AlarmAccessStatus i
return status;
}

template <typename D> Windows::ApplicationModel::Background::PhoneTrigger impl_IPhoneTriggerFactory<D>::Create(Windows::ApplicationModel::Calls::Background::PhoneTriggerType type, bool oneShot) const
{
Windows::ApplicationModel::Background::PhoneTrigger result { nullptr };
check_hresult(WINRT_SHIM(IPhoneTriggerFactory)->abi_Create(type, oneShot, put_abi(result)));
return result;
}

template <typename D> bool impl_IPhoneTrigger<D>::OneShot() const
{
bool value {};
Expand All @@ -2931,13 +2938,6 @@ template <typename D> Windows::ApplicationModel::Calls::Background::PhoneTrigger
return result;
}

template <typename D> Windows::ApplicationModel::Background::PhoneTrigger impl_IPhoneTriggerFactory<D>::Create(Windows::ApplicationModel::Calls::Background::PhoneTriggerType type, bool oneShot) const
{
Windows::ApplicationModel::Background::PhoneTrigger result { nullptr };
check_hresult(WINRT_SHIM(IPhoneTriggerFactory)->abi_Create(type, oneShot, put_abi(result)));
return result;
}

template <typename D> Windows::Devices::SmartCards::SmartCardTriggerType impl_ISmartCardTrigger<D>::TriggerType() const
{
Windows::Devices::SmartCards::SmartCardTriggerType triggerType {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Calls.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Chat.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Contacts.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Core.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.DataTransfer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Email.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.LockScreen.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Resources.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Search.Core.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Search.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.SocialInfo.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Store.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.Wallet.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.ApplicationModel.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Data.Html.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
8 changes: 4 additions & 4 deletions 10.0.14393.0/winrt/Windows.Data.Json.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down Expand Up @@ -114,7 +114,7 @@ struct produce<D, Windows::Data::Json::IJsonArrayStatics> : produce_base<D, Wind
try
{
typename D::abi_guard guard(this->shim());
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *result));
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *reinterpret_cast<Windows::Data::Json::JsonArray *>(result)));
return S_OK;
}
catch (...)
Expand Down Expand Up @@ -272,7 +272,7 @@ struct produce<D, Windows::Data::Json::IJsonObjectStatics> : produce_base<D, Win
try
{
typename D::abi_guard guard(this->shim());
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *result));
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *reinterpret_cast<Windows::Data::Json::JsonObject *>(result)));
return S_OK;
}
catch (...)
Expand Down Expand Up @@ -504,7 +504,7 @@ struct produce<D, Windows::Data::Json::IJsonValueStatics> : produce_base<D, Wind
try
{
typename D::abi_guard guard(this->shim());
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *result));
*succeeded = detach_abi(this->shim().TryParse(*reinterpret_cast<const hstring *>(&input), *reinterpret_cast<Windows::Data::Json::JsonValue *>(result)));
return S_OK;
}
catch (...)
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Data.Pdf.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Data.Text.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Data.Xml.Dom.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Data.Xml.Xsl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Devices.Adc.Provider.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Devices.Adc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Devices.AllJoyn.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/winrt/Windows.Devices.Background.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// C++ for the Windows Runtime v1.0.170303.6
// C++ for the Windows Runtime v1.0.170406.8
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.

#pragma once
Expand Down
Loading

0 comments on commit 948191e

Please sign in to comment.