winsiderss / phnt

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

Build issue with newest SDK/WDK (redefinition of structures) #34

Closed SinaKarvandi closed 2 months ago

SinaKarvandi commented 2 months ago

Hi, I would like to report an issue regarding the compilation of HyperDbg against the newest SDK/WDK.

It seems that the new SDK has the definition of _FILE_STAT_LX_INFORMATION and other functions mentioned here: image

Since we use phnt as a submodule to HyperDbg, we'll encounter building issues that seem to be related to the redefinition of the above functions. We could fix it by commenting the above structures in our fork of phnt but in this case, you might also be needed to either remove or comment those structures if needed.

Thanks a lot for maintaining this great project.

dmex commented 2 months ago

I've updated the types with these and other changes from upstream 👍

SinaKarvandi commented 2 months ago

Thanks