Skip to content

Commit 3ac8bb2

Browse files
committed
Windows 10 Version 1903 - March 2020 Update
* 360VideoPlayback: Align configurations, reset shader between stages #791 #942 * Clipboard: Add history and roaming scenarios, improve delay-rendering, clipboard change reporting, error-handling. * CustomSerialDeviceAccess: Fix RequestToSendXOnXOff #1085 * Holographic samples support HoloLens 2 device and emulator * HolographicFaceTracking: Fix comment about NV12 #834 * HolographicVoiceInput: Fix release build * PlayReady: Don't create container twice #1159 * RadioManager: Clarify require capabilities #1165 * SpeechRecognitionAndSynthesis: Clarify which scenarios require internet access #725, Update permission links #1002 * UserActivity: Fix protocol navigation #1176 * XamlMasterDetail: Fix navigation problems #344 #345 * SharedContent: Default.rd.xml fixes #950 * Miscellaneous typos: AdvancedCasting #1006, AudioCreation #1006, BluetoothAdvertisement #898, BluetoothRfcommChat #1139, Json #404, Nfc #1039, XamlBind #1169 #1182 * Add missing Line Display sample to TOC #704 * All C++ samples now build in both VS2017 and VS2019. * All C++/WinRT samples upgraded to C++/WinRT 2.0 #1179 * New: Clipboard (C++/WinRT), JapanesePhoneticAnalysis (C++/WinRT) * Archived: Advertising, CallerId, Clipboard (C++/CX and VB), CommunicationBlockAndFilter, PhoneCall
2 parents 08d7459 + 0cfbdaa commit 3ac8bb2

470 files changed

Lines changed: 5237 additions & 1647 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
132132
<table>
133133
<tr>
134134
<td><a href="Samples/BluetoothRfcommChat">Bluetooth RFCOMM chat</a></td>
135-
<td><a href="Samples/CallerID">Caller ID</a></td>
136-
<td><a href="Samples/CommunicationBlockAndFilter">Communication blocking and filtering</a></td>
137-
</tr>
138-
<tr>
139-
<td><a href="Samples/PhoneCall">Phone call</a></td>
140135
<td><a href="Samples/SimpleCommunication">Real-time communication</a></td>
141136
<td><a href="Samples/SmsSendAndReceive">SMS send and receive</a></td>
142137
</tr>
@@ -320,26 +315,27 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
320315
<td><a href="Samples/LightSensor">Light sensor</a></td>
321316
</tr>
322317
<tr>
318+
<td><a href="Samples/LineDisplay">Line display</a></td>
323319
<td><a href="Samples/Magnetometer">Magnetometer</a></td>
324320
<td><a href="Samples/MagneticStripeReader">Magnetic stripe reader</a></td>
325-
<td><a href="Samples/Nfc">Near field communication (NFC)</a></td>
326321
</tr>
327322
<tr>
323+
<td><a href="Samples/Nfc">Near field communication (NFC)</a></td>
328324
<td><a href="Samples/NfcProvisioner">NFC enterprise provisioner</a></td>
329325
<td><a href="Samples/OrientationSensor">Orientation sensor</a></td>
330-
<td><a href="Samples/Pedometer">Pedometer</a></td>
331326
</tr>
332327
<tr>
328+
<td><a href="Samples/Pedometer">Pedometer</a></td>
333329
<td><a href="Samples/PosPrinter">POS printer</a></td>
334330
<td><a href="Samples/ProximitySensor">Proximity sensor</a></td>
335-
<td><a href="Samples/RadialController">Radial controller</a></td>
336331
</tr>
337332
<tr>
333+
<td><a href="Samples/RadialController">Radial controller</a></td>
338334
<td><a href="Samples/RelativeInclinometer">Relative inclinometer</a></td>
339335
<td><a href="Samples/SerialArduino">Serial Arduino</a></td>
340-
<td><a href="Samples/IoT-SPI">Serial Peripheral Interface (SPI)</a></td>
341336
</tr>
342337
<tr>
338+
<td><a href="Samples/IoT-SPI">Serial Peripheral Interface (SPI)</a></td>
343339
<td><a href="Samples/SimpleOrientationSensor">Simple orientation sensor</a></td>
344340
</tr>
345341
</table>
@@ -508,30 +504,27 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
508504

509505
<table>
510506
<tr>
511-
<td><a href="Samples/Advertising">Advertising</a></td>
512507
<td><a href="Samples/BackgroundTransfer">Background transfer</a></td>
513508
<td><a href="Samples/DatagramSocket">DatagramSocket</a></td>
509+
<td><a href="Samples/HttpClient">HttpClient</a></td>
514510
</tr>
515511
<tr>
516-
<td><a href="Samples/HttpClient">HttpClient</a></td>
517512
<td><a href="Samples/Json">JSON</a></td>
518513
<td><a href="Samples/MobileBroadband">Mobile broadband</a></td>
519-
</tr>
520-
<tr>
521514
<td><a href="Samples/RadioManager">Radios</a></td>
522-
<td><a href="Samples/SocketActivityStreamSocket">Socket activity trigger stream socket</a></td>
523515
</tr>
524516
<tr>
517+
<td><a href="Samples/SocketActivityStreamSocket">Socket activity trigger stream socket</a></td>
525518
<td><a href="Samples/StreamSocket">StreamSocket</a></td>
526519
<td><a href="Samples/Syndication">Syndication</a></td>
527-
<td><a href="Samples/UssdProtcol">USSD protocol</a></td>
528520
</tr>
529521
<tr>
522+
<td><a href="Samples/UssdProtcol">USSD protocol</a></td>
530523
<td><a href="Samples/WebSocket">WebSocket</a></td>
531524
<td><a href="Samples/WiFiDirect">Wi-Fi Direct</a></td>
532-
<td><a href="Samples/WiFiDirectServices">Wi-Fi Direct services</a></td>
533525
</tr>
534526
<tr>
527+
<td><a href="Samples/WiFiDirectServices">Wi-Fi Direct services</a></td>
535528
<td><a href="Samples/HotspotAuthentication">Wi-Fi hotspot authentication</a></td>
536529
<td><a href="Samples/WiFiScan">Wi-Fi scanning</a></td>
537530
</tr>

Samples/360VideoPlayback/cpp/360VideoPlayback.vcxproj

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,20 @@
3838
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3939
<ConfigurationType>Application</ConfigurationType>
4040
<UseDebugLibraries>true</UseDebugLibraries>
41-
<PlatformToolset>v141</PlatformToolset>
4241
</PropertyGroup>
4342
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4443
<ConfigurationType>Application</ConfigurationType>
4544
<UseDebugLibraries>false</UseDebugLibraries>
4645
<WholeProgramOptimization>true</WholeProgramOptimization>
47-
<PlatformToolset>v141</PlatformToolset>
4846
</PropertyGroup>
4947
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5048
<ConfigurationType>Application</ConfigurationType>
5149
<UseDebugLibraries>true</UseDebugLibraries>
52-
<PlatformToolset>v141</PlatformToolset>
5350
</PropertyGroup>
5451
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
5552
<ConfigurationType>Application</ConfigurationType>
5653
<UseDebugLibraries>false</UseDebugLibraries>
5754
<WholeProgramOptimization>true</WholeProgramOptimization>
58-
<PlatformToolset>v141</PlatformToolset>
5955
</PropertyGroup>
6056
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
6157
<ImportGroup Label="ExtensionSettings">
@@ -220,18 +216,30 @@
220216
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">5.0</ShaderModel>
221217
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">5.0</ShaderModel>
222218
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Geometry</ShaderType>
219+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Geometry</ShaderType>
220+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
221+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Geometry</ShaderType>
222+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">5.0</ShaderModel>
223223
</FxCompile>
224224
<FxCompile Include="Content\GlassPixelShader.hlsl">
225225
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Pixel</ShaderType>
226226
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">5.0</ShaderModel>
227227
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">5.0</ShaderModel>
228228
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Pixel</ShaderType>
229+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Pixel</ShaderType>
230+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
231+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Pixel</ShaderType>
232+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">5.0</ShaderModel>
229233
</FxCompile>
230234
<FxCompile Include="Content\GlassVertexShader.hlsl">
231235
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Vertex</ShaderType>
232236
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">5.0</ShaderModel>
233237
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">5.0</ShaderModel>
234238
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Vertex</ShaderType>
239+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Vertex</ShaderType>
240+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
241+
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Vertex</ShaderType>
242+
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">5.0</ShaderModel>
235243
</FxCompile>
236244
<FxCompile Include="Content\PixelShader.hlsl">
237245
<ShaderType>Pixel</ShaderType>

Samples/360VideoPlayback/cpp/Content/VideoRenderer.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ void VideoRenderer::Render()
109109
0
110110
);
111111
}
112+
else
113+
{
114+
// Make sure that there is no geometry shader bound to the graphics
115+
// pipeline on devices that do support the D3D11_FEATURE_D3D11_OPTIONS3::
116+
// VPAndRTArrayIndexFromAnyShaderFeedingRasterizer optional feature.
117+
context->GSSetShader(
118+
nullptr,
119+
nullptr,
120+
0
121+
);
122+
}
112123

113124
// Attach the pixel shader.
114125
context->PSSetShader(

Samples/360VideoPlayback/cs/Content/VideoRenderer.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ public void Render()
119119
// array index.
120120
context.GeometryShader.SetShader(this.geometryShader, null, 0);
121121
}
122+
else
123+
{
124+
// Make sure that there is no geometry shader bound to the graphics
125+
// pipeline on devices that do support the D3D11_FEATURE_D3D11_OPTIONS3::
126+
// VPAndRTArrayIndexFromAnyShaderFeedingRasterizer optional feature.
127+
context.GeometryShader.SetShader(null, null, 0);
128+
}
122129

123130
// Attach the pixel shader.
124131
context.PixelShader.SetShader(this.pixelShader, null, 0);

Samples/Accelerometer/cpp/Accelerometer.vcxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,31 @@
4545
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
4646
<ConfigurationType>Application</ConfigurationType>
4747
<UseDebugLibraries>true</UseDebugLibraries>
48-
<PlatformToolset>v141</PlatformToolset>
4948
</PropertyGroup>
5049
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5150
<ConfigurationType>Application</ConfigurationType>
5251
<UseDebugLibraries>true</UseDebugLibraries>
53-
<PlatformToolset>v141</PlatformToolset>
5452
</PropertyGroup>
5553
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5654
<ConfigurationType>Application</ConfigurationType>
5755
<UseDebugLibraries>true</UseDebugLibraries>
58-
<PlatformToolset>v141</PlatformToolset>
5956
</PropertyGroup>
6057
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
6158
<ConfigurationType>Application</ConfigurationType>
6259
<UseDebugLibraries>false</UseDebugLibraries>
6360
<WholeProgramOptimization>true</WholeProgramOptimization>
64-
<PlatformToolset>v141</PlatformToolset>
6561
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
6662
</PropertyGroup>
6763
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
6864
<ConfigurationType>Application</ConfigurationType>
6965
<UseDebugLibraries>false</UseDebugLibraries>
7066
<WholeProgramOptimization>true</WholeProgramOptimization>
71-
<PlatformToolset>v141</PlatformToolset>
7267
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
7368
</PropertyGroup>
7469
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
7570
<ConfigurationType>Application</ConfigurationType>
7671
<UseDebugLibraries>false</UseDebugLibraries>
7772
<WholeProgramOptimization>true</WholeProgramOptimization>
78-
<PlatformToolset>v141</PlatformToolset>
7973
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
8074
</PropertyGroup>
8175
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

Samples/ActivitySensor/cpp/ActivitySensor.vcxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,31 @@
4545
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
4646
<ConfigurationType>Application</ConfigurationType>
4747
<UseDebugLibraries>true</UseDebugLibraries>
48-
<PlatformToolset>v141</PlatformToolset>
4948
</PropertyGroup>
5049
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5150
<ConfigurationType>Application</ConfigurationType>
5251
<UseDebugLibraries>true</UseDebugLibraries>
53-
<PlatformToolset>v141</PlatformToolset>
5452
</PropertyGroup>
5553
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5654
<ConfigurationType>Application</ConfigurationType>
5755
<UseDebugLibraries>true</UseDebugLibraries>
58-
<PlatformToolset>v141</PlatformToolset>
5956
</PropertyGroup>
6057
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
6158
<ConfigurationType>Application</ConfigurationType>
6259
<UseDebugLibraries>false</UseDebugLibraries>
6360
<WholeProgramOptimization>true</WholeProgramOptimization>
64-
<PlatformToolset>v141</PlatformToolset>
6561
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
6662
</PropertyGroup>
6763
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
6864
<ConfigurationType>Application</ConfigurationType>
6965
<UseDebugLibraries>false</UseDebugLibraries>
7066
<WholeProgramOptimization>true</WholeProgramOptimization>
71-
<PlatformToolset>v141</PlatformToolset>
7267
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
7368
</PropertyGroup>
7469
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
7570
<ConfigurationType>Application</ConfigurationType>
7671
<UseDebugLibraries>false</UseDebugLibraries>
7772
<WholeProgramOptimization>true</WholeProgramOptimization>
78-
<PlatformToolset>v141</PlatformToolset>
7973
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
8074
</PropertyGroup>
8175
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

Samples/ActivitySensor/cpp/Tasks/ActivitySensorTasks.vcxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,37 +46,31 @@
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
4747
<ConfigurationType>DynamicLibrary</ConfigurationType>
4848
<UseDebugLibraries>true</UseDebugLibraries>
49-
<PlatformToolset>v141</PlatformToolset>
5049
</PropertyGroup>
5150
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5251
<ConfigurationType>DynamicLibrary</ConfigurationType>
5352
<UseDebugLibraries>true</UseDebugLibraries>
54-
<PlatformToolset>v141</PlatformToolset>
5553
</PropertyGroup>
5654
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5755
<ConfigurationType>DynamicLibrary</ConfigurationType>
5856
<UseDebugLibraries>true</UseDebugLibraries>
59-
<PlatformToolset>v141</PlatformToolset>
6057
</PropertyGroup>
6158
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
6259
<ConfigurationType>DynamicLibrary</ConfigurationType>
6360
<UseDebugLibraries>false</UseDebugLibraries>
6461
<WholeProgramOptimization>true</WholeProgramOptimization>
65-
<PlatformToolset>v141</PlatformToolset>
6662
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
6763
</PropertyGroup>
6864
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
6965
<ConfigurationType>DynamicLibrary</ConfigurationType>
7066
<UseDebugLibraries>false</UseDebugLibraries>
7167
<WholeProgramOptimization>true</WholeProgramOptimization>
72-
<PlatformToolset>v141</PlatformToolset>
7368
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
7469
</PropertyGroup>
7570
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
7671
<ConfigurationType>DynamicLibrary</ConfigurationType>
7772
<UseDebugLibraries>false</UseDebugLibraries>
7873
<WholeProgramOptimization>true</WholeProgramOptimization>
79-
<PlatformToolset>v141</PlatformToolset>
8074
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
8175
</PropertyGroup>
8276
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

Samples/AdvancedCasting/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For an intro to casting, see the *Basic Media Casting Sample*.
4040
**Scenario 1: Media Element Casting 101:**
4141
Press the *Cast* button next to the progress bar in the video element. Select the device you'd like to cast to.
4242

43-
This is an example of the built in casting that comes with the media element transport controls. This will enable casting to Miracast, DLNA, and Bluetooth devices.
43+
This is an example of the built-in casting that comes with the media element transport controls. This will enable casting to Miracast, DLNA, and Bluetooth devices.
4444

4545
**Scenario 2: Casting APIs and a Custom Cast Button:**
4646
Press the *Cast* button next to the progress bar in the video element. Select the device you'd like to cast to.

Samples/Advertising/README.md

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)