Currently phnt_windows.h is hardcoded. We can wrap this header in an ifdef with the _KERNEL_MODE define and additionally define the appropriate PHNT_MODE macro. This would also need to build a kernel driver as part of the tests (see https://github.com/build-cpp/wdk_template).
This feature should be implemented by modifying phnt_amalgamate.h
Currently
phnt_windows.h
is hardcoded. We can wrap this header in an ifdef with the_KERNEL_MODE
define and additionally define the appropriatePHNT_MODE
macro. This would also need to build a kernel driver as part of the tests (see https://github.com/build-cpp/wdk_template).This feature should be implemented by modifying
phnt_amalgamate.h