The problem is a mixture of header file between DDK and VC 2008My solution:- In VS 2008 project, - In the "C/C++ -> Preprocessor" - Set ignore default standard include path to YES- In the "General->Additional Include Directories" specified the DDK path "C:\WinDDK\6000\inc\api; C:\WinDDK\6000\inc\...