Skip to content

Commit

Permalink
C++/WinRT February 2017 release for Windows Anniversary SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Welton committed Mar 1, 2017
1 parent 88022dc commit 7500c0e
Show file tree
Hide file tree
Showing 1,403 changed files with 242,274 additions and 144,710 deletions.
8 changes: 4 additions & 4 deletions 10.0.14393.0/Samples/AsyncReader/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ struct file
{
file(wchar_t const * const filename) :
m_handle(create(filename)),
m_io(get(m_handle))
m_io(get_abi(m_handle))
{
}

auto read(uint64_t const offset, void * const buffer, size_t const size)
{
return m_io.start([=, handle = get(m_handle)](OVERLAPPED & overlapped)
return m_io.start([=, handle = get_abi(m_handle)](OVERLAPPED & overlapped)
{
overlapped.Offset = static_cast<DWORD>(offset);
overlapped.OffsetHigh = offset >> 32;
Expand Down Expand Up @@ -47,7 +47,7 @@ struct file
}
};

using file_handle = handle<file_traits>;
using file_handle = impl::handle<file_traits>;

static file_handle create(wchar_t const * const filename)
{
Expand Down Expand Up @@ -89,7 +89,7 @@ IAsyncAction sample()

int main()
{
initialize();
init_apartment();

sample().get();
}
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/Blocks/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct App : implements<App, IFrameworkViewSource, IFrameworkView>
{
}

void Load(hstring_ref)
void Load(hstring_view)
{
}

Expand Down
Binary file modified 10.0.14393.0/Samples/Blocks/Assets/SmallLogo.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/JustCoroutines/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ IAsyncAction Consume()

int main()
{
initialize();
init_apartment();

Consume().get();
}
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/Ocr/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ IAsyncOperation<hstring> AsyncSample()

int main()
{
initialize();
init_apartment();

try
{
Expand Down
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/Syndication/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ IAsyncAction Sample()

int main()
{
initialize();
init_apartment();

Sample().get();
}
2 changes: 1 addition & 1 deletion 10.0.14393.0/Samples/Video/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct App : implements<App, IFrameworkViewSource, IFrameworkView>
{
}

void Load(hstring_ref)
void Load(hstring_view)
{
}

Expand Down
Binary file modified 10.0.14393.0/Samples/Video/Assets/SmallLogo.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 10.0.14393.0/Samples/XamlCode/Assets/SmallLogo.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7500c0e

Please sign in to comment.