开发者

How to get the include paths of WDM compiler?

开发者 https://www.devze.com 2023-01-23 01:41 出处:网络
I\'m reading the source code of some device driver for Windows XP, and I want to know the exact include paths of the WDM compiler. I know that these should be included :

I'm reading the source code of some device driver for Windows XP, and I want to know the exact include paths of the WDM compiler. I know that these should be included :

C:\WinDDK\7600.16385.1\inc\api
C:\WinDDK\7600.16385.1\inc\ddk
C:\WinDDK\7600.16385.1\inc\crt

But, I know there must b开发者_如何学Ce some other paths the WDM build uses. For example, I don't know where the '__int32' get defined.

By the way, similarly, I also want to know how to get the library paths the WDM linker needs.


Build your driver and look at the build log. All /I flags to cl.exe are include paths, there are no lib paths, all libs are referenced using full paths (which you can see in the log as well).

Doron Holan

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号