ysc3839 / win32-darkmode

Example application shows how to use undocumented dark mode API introduced in Windows 10 1809.
MIT License
437 stars 48 forks source link

CheckBuildNumber does not support Windows 11 #23

Open netx123 opened 1 year ago

netx123 commented 1 year ago

Adding the following to CheckBuildNumber function allows this to work on Windows 11.

buildNumber == 22000 buildNumber == 22621