Today I was trying to use System Informer's phnt headers with mingw-w64. There are some missing headers and other minor issues, but I can work around them. Unfortunately it was not possible to work around a few errors related to incorrect function declarations related to heap management.
Attached a patch. The return type should be NTSTATUS, but this isn't available in winnt.h, so I used LONG, which is what NTSTATUS is. I cross-referenced with Wine, ReactOS and they all match my patched return types. Best regards, Duncan _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public