choro: Generate configuration support for Windows 11, fix some soon-to-be-deprecated APIs#65
Open
lux-QAQ wants to merge 1 commit intoAir14:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 updates the project to improve compatibility with newer Windows SDKs and toolchains, modernizes memory allocation in kernel code, and addresses build configuration and warning handling. The most important changes are grouped below:
Platform and SDK Upgrades:
HyperHideDrv.vcxprojfrom10.0.19041.0to10.0.26100.0and raised the minimum supported OS from Windows 7 to Windows 10 for both Debug and Release configurations.HyperHide/HyperHide.vcxprojfromv142tov145for all build configurations.Kernel Memory Allocation Modernization:
ExAllocatePoolWithTagcalls with the modernExAllocatePool2API (usingPOOL_FLAG_NON_PAGED) throughout the kernel driver source files (Hider.cpp,Utils.cpp). This improves compatibility with newer Windows versions and addresses deprecation warnings. [1] [2] [3] [4] [5] [6] [7]Build Configuration and Warning Management:
HyperHideDrv.vcxprojto prevent build breaks due to warnings, and explicitly set this property for each source file. [1] [2] [3]EnableInf2cattofalseandSignModetoOffin project properties.Code Cleanup for SDK Compatibility:
_PSCREATETHREADNOTIFYTYPEenum fromNtenums.hto avoid a C2011 redefinition error, as it is now defined by the Windows 10 SDK.