Skip to content

Commit 7500c0e

Browse files
author
Kevin Welton
committed
C++/WinRT February 2017 release for Windows Anniversary SDK
1 parent 88022dc commit 7500c0e

File tree

1,403 files changed

+242274
-144710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,403 files changed

+242274
-144710
lines changed

10.0.14393.0/Samples/AsyncReader/Main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ struct file
77
{
88
file(wchar_t const * const filename) :
99
m_handle(create(filename)),
10-
m_io(get(m_handle))
10+
m_io(get_abi(m_handle))
1111
{
1212
}
1313

1414
auto read(uint64_t const offset, void * const buffer, size_t const size)
1515
{
16-
return m_io.start([=, handle = get(m_handle)](OVERLAPPED & overlapped)
16+
return m_io.start([=, handle = get_abi(m_handle)](OVERLAPPED & overlapped)
1717
{
1818
overlapped.Offset = static_cast<DWORD>(offset);
1919
overlapped.OffsetHigh = offset >> 32;
@@ -47,7 +47,7 @@ struct file
4747
}
4848
};
4949

50-
using file_handle = handle<file_traits>;
50+
using file_handle = impl::handle<file_traits>;
5151

5252
static file_handle create(wchar_t const * const filename)
5353
{
@@ -89,7 +89,7 @@ IAsyncAction sample()
8989

9090
int main()
9191
{
92-
initialize();
92+
init_apartment();
9393

9494
sample().get();
9595
}

10.0.14393.0/Samples/Blocks/App.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct App : implements<App, IFrameworkViewSource, IFrameworkView>
2525
{
2626
}
2727

28-
void Load(hstring_ref)
28+
void Load(hstring_view)
2929
{
3030
}
3131

197 Bytes
Loading

10.0.14393.0/Samples/JustCoroutines/Main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ IAsyncAction Consume()
4848

4949
int main()
5050
{
51-
initialize();
51+
init_apartment();
5252

5353
Consume().get();
5454
}

10.0.14393.0/Samples/Ocr/Main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ IAsyncOperation<hstring> AsyncSample()
3232

3333
int main()
3434
{
35-
initialize();
35+
init_apartment();
3636

3737
try
3838
{

10.0.14393.0/Samples/Syndication/Main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ IAsyncAction Sample()
2121

2222
int main()
2323
{
24-
initialize();
24+
init_apartment();
2525

2626
Sample().get();
2727
}

10.0.14393.0/Samples/Video/App.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct App : implements<App, IFrameworkViewSource, IFrameworkView>
2222
{
2323
}
2424

25-
void Load(hstring_ref)
25+
void Load(hstring_view)
2626
{
2727
}
2828

197 Bytes
Loading
197 Bytes
Loading

0 commit comments

Comments
 (0)