microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.76k stars 4.89k forks source link

Remove x86 and ARM configurations for sample projects. #1126

Closed NeoAdonis closed 4 months ago

NeoAdonis commented 4 months ago

This pull request involves changes to the project configurations and solutions to remove Win32 and Arm support:

The following samples that were able to build successfully under the latest WDK on x86 will have their support removed. If for some reason you need these deprecated versions of the samples, please take a look at the archived releases:

NeoAdonis commented 4 months ago

Stats building using the latest EWDK preview:

Before this change:

Architecture Unsupported Failed Succeeded
x86/Win32 9 104 (-1*) 15 (+1*)
ARM 116 11 3

* on Debug|Win32 only

After this change:

Architecture Unsupported Failed Succeeded
x86/Win32 126 4 0
ARM 126 4 0

As expected, all driver samples failed because of conditions disallowing the usage of x86 and ARM to build drivers. All applications for drivers succeeded, however.

The 4 failed samples after the configurations removal are the general/dchu collection that needs to be updated separately because the solution actually uses properties from the x86 and ARM configurations as a basis to build for x64 and ARM64, thus it cannot be updated using a script.