驱动程序(64 位 Windows 编程指南)

64 位版本的 Windows 旨在使开发人员能够将单个源代码库用于其 32 位和 64 位应用程序。 在很大程度上,对于 32 位和 64 位 Windows 驱动程序也是如此。

但是,32 位驱动程序无法在 64 位 Windows 上运行,并且必须移植。 对于用户模式应用程序,64 位 Windows 包括 WOW64,它使 32 位 Windows 应用程序能够在运行 64 位 Windows 的系统上执行(性能损失)。 驱动程序不存在等效的转换层。

有关将驱动程序移植到 64 位 Windows 的信息,请参阅 Windows 驱动程序工具包(WDK)中 64 位问题