ntddk.h文件包含错误

时间:2014-07-01 01:29:22

标签: c++ windows

我试图在Windows项目中包含ntddk.h文件。当我链接到它时,我得到100多个错误:

3   IntelliSense: cannot open source file "mce.h"   c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  100 1   ConsoleApplication1
    2   IntelliSense: cannot open source file "wdm.h"   c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  43  1   ConsoleApplication1
    7   IntelliSense: expected a ';'    c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  6279    1   ConsoleApplication1
    9   IntelliSense: expected a ';'    c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  6290    1   ConsoleApplication1
    6   IntelliSense: identifier "_DECL_HAL_KE_IMPORT" is undefined c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  6277    1   ConsoleApplication1
    8   IntelliSense: identifier "_DECL_HAL_KE_IMPORT" is undefined c:\Program Files (x86)\Windows Kits\8.0\Include\km\ntddk.h  6288    1   ConsoleApplication1

有人可以帮助我,为什么我会收到所有这些错误?

0 个答案:

没有答案