Skip to content

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
lux-QAQ:fix/deprecated-api-exallocatepoolwithtag
Open

choro: Generate configuration support for Windows 11, fix some soon-to-be-deprecated APIs#65
lux-QAQ wants to merge 1 commit intoAir14:masterfrom
lux-QAQ:fix/deprecated-api-exallocatepoolwithtag

Conversation

@lux-QAQ
Copy link
Copy Markdown

@lux-QAQ lux-QAQ commented Feb 3, 2026

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:

  • Updated the Windows target platform version in HyperHideDrv.vcxproj from 10.0.19041.0 to 10.0.26100.0 and raised the minimum supported OS from Windows 7 to Windows 10 for both Debug and Release configurations.
  • Changed the Visual Studio platform toolset in HyperHide/HyperHide.vcxproj from v142 to v145 for all build configurations.

Kernel Memory Allocation Modernization:

  • Replaced deprecated ExAllocatePoolWithTag calls with the modern ExAllocatePool2 API (using POOL_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:

  • Disabled treating warnings as errors globally and per source file in HyperHideDrv.vcxproj to prevent build breaks due to warnings, and explicitly set this property for each source file. [1] [2] [3]
  • Disabled INF2CAT generation and code signing during the build by setting EnableInf2cat to false and SignMode to Off in project properties.

Code Cleanup for SDK Compatibility:

  • Removed a duplicate definition of the _PSCREATETHREADNOTIFYTYPE enum from Ntenums.h to avoid a C2011 redefinition error, as it is now defined by the Windows 10 SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant