winsiderss / phnt

Native API header files for the System Informer project.
https://github.com/winsiderss/systeminformer
MIT License
1.03k stars 169 forks source link

phnt: ntzwapi.h breaks builds with `PHNT_VERSION` prior to Red Stone 2 #44

Open oberrich opened 1 month ago

oberrich commented 1 month ago

Building phnt with PHNT_VERSION set to anything prior to RS2 is currently broken due to conditional compilation hiding type definitions required for certain function prototypes inside ntzwapi.h (auto-generated).

Specifically type definitions under ntexapi.h:1213 as well as ntseapi.h:638 are causing issues for me. Pulling these outside of the #if seems to resolve the issue.

dmex commented 4 weeks ago

I've fixed this upstream and just waiting to sync with phnt