EasyHook test driver build error

May 20, 2014 at 2:49 AM
I've been trying to learn kernel mode hooking in EasyHook. I've been trying to build the EasyHook version 2.6 which comes with some example codes also. I'm using Visual Studio 2010 and WDK 7.0.1 on Windows 7. So far I've been able to build all the projects included in EasyHook.sln except the driver project named TestDriver. Whenever I try to build this one it says a header file winternl.h is missing.

The exact error message is error C1083: Cannot open include file: 'winternl.h': No such file or directory.

I searched a little bit and most plausible solution was to install Windows SDK. I've done that with no success. I also couldn't found the header file in my directory structure and also don't have any idea about this header file. Does anyone have any experience on how to build the TestDriver project in EasyHook solution? Any guideline is highly appreciated.