如何获取WDM编译器的包含路径?

发布于 2024-09-30 09:55:27 字数 298 浏览 1 评论 0原文

我正在阅读一些 Windows XP 设备驱动程序的源代码,我想知道 WDM 编译器的确切包含路径。我知道应该包括这些:

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

但是,我知道 WDM 构建必须使用一些其他路径。例如,我不知道 '__int32' 是在哪里定义的。

顺便说一句,同样,我也想知道如何获取WDM链接器需要的库路径。

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 be 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笔落惊风雨 2024-10-07 09:55:27

构建您的驱动程序并查看构建日志。 cl.exe 的所有 /I 标志都是包含路径,没有库路径,所有库都使用完整路径引用(您也可以在日志中看到)。

多伦·霍兰

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文