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.
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 asntseapi.h:638
are causing issues for me. Pulling these outside of the#if
seems to resolve the issue.