mrexodia / phnt-single-header

Single header version of System Informer's phnt library.
MIT License
168 stars 13 forks source link

Add kernel support #1

Closed mrexodia closed 10 months ago

mrexodia commented 1 year ago

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