I have this code
EXTERN_C PEB* NTAPI RtlGetCurrentPeb(VOID);
The last compile this worked fine without issue, however now its telling me that PEB is an unknown type even though I'm importing winternl.h and I havent changed anything that I can think of to relate to this.
When looking at the definition of winternl.h I can see that it seems to only contain definitions for x32 bit however this is strange as I've only ever compiled this project in x64.