Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the project configuration files to integrate and utilize the Windows Driver Kit (WDK) and the Windows SDK via NuGet packages. The main changes involve modifying the project files to import a new
wdk.props
file, updating the Windows Target Platform Version, and adjusting include directories.Key changes include:
Integration of WDK and Windows SDK via NuGet:
CMakeLists.txt
: Added logic to install required NuGet packages for WDK and Windows SDK and set theWDK_ROOT
based on the platform (arm64 or x64).wdk.props
: Added a new file to import the necessary properties and targets from the installed NuGet packages..vcxproj
) to import thewdk.props
file and set the Windows Target Platform Version to10.0.26100.0
. This includes:cxplat_test.vcxproj
cxplat_winkernel.vcxproj
cxplat_winuser.vcxproj
sample.vcxproj
setup_build.vcxproj
usersim.vcxproj
tests.vcxproj
usersim_dll_skeleton.vcxproj
Update of Include Directories:
AdditionalIncludeDirectories
in various project files to use the new WDK and SDK directories from the NuGet packages. This includes:sample.vcxproj
[1] [2]usersim.vcxproj
[1] [2]tests.vcxproj
[1] [2]usersim_dll_skeleton.vcxproj
[1] [2]Minor Code Adjustments:
framework.h
: Updated the include path fornetioddk.h
to remove the relative path.These changes ensure that the project is correctly configured to use the latest versions of the WDK and Windows SDK, improving compatibility and maintainability.