错误信息表明编译器在编译过程中遇到了一个预处理器指令,该指令要求ntddi_version宏必须被定义,并且其值必须至少为某个特定的版本。ntddi_version宏用于指定目标操作系统版本,以便编译器可以正确生成与目标版本兼容的代码。 检查代码中是否有定义ntddi_version宏: 你需要检查你的代码或项目的预处理器定义中是否已经包含...
Windows Vista NTDDI_VERSION >= NTDDI_VISTA Windows Server 2003 SP1 NTDDI_VERSION >= NTDDI_WS03SP1 Windows Server 2003 NTDDI_VERSION >= NTDDI_WS03 Windows XP SP2 NTDDI_VERSION >= NTDDI_WINXPSP2 Windows XP SP1 NTDDI_VERSION >= NTDDI_WINXPSP1 Windows XP NTDDI_VERSION >= NTDDI_WINXP Windows ...
NTDDI_VERSION We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be used. You ...
RtlIsNtDdiVersionAvailable 例程已過時。 請改用 RtlVerifyVersionInfo。 RtlIsNtDdiVersionAvailable 例程會判斷指定的 Microsoft Windows 設備驅動器介面版本是否 (DDI) 。 語法 C++ 複製 BOOLEAN RtlIsNtDdiVersionAvailable( [in] ULONG Version ); 參數 [in] Version 可用的 Windows DDI 版本。 下表列出 V...
The RtlIsNtDdiVersionAvailable routine determines if a specified version of the Microsoft Windows device driver interface (DDI) is available.
NTDDI_VERSION 0x06000000是Windows Vista,所以你需要#define _WIN32_WINNT 0x0600。MSDN有您需要的...
Windows 2000 SP2 NTDDI_VERSION >= NTDDI_WIN2KSP2 Windows 2000 SP1 NTDDI_VERSION >= NTDDI_WIN2KSP1 Windows 2000 NTDDI_VERSION >= NTDDI_WIN2K The following table describes the legacy macros in use by the Windows header files. Minimum system required Macros to define ...
RtlIsNtDdiVersionAvailable 例程已过时。 请改用 RtlVerifyVersionInfo。 RtlIsNtDdiVersionAvailable 例程确定指定版本的 Microsoft Windows 设备驱动程序接口 (DDI) 是否可用。 语法 C++ 复制 BOOLEAN RtlIsNtDdiVersionAvailable( [in] ULONG Version ); 参数 [in] Version 可用的 Windows DDI 版本。 下表列出了...
RtlIsNtDdiVersionAvailable 例程會比較 Version 參數指定的版本與目前執行的 Windows 操作系統版本。如果您想要判斷是否已安裝特定的 Service Pack,請使用 RtlIsServicePackVersionInstalled 例程。Windows 核心只會在 Windows Vista 和更新版本的 Windows 中實作 RtlIsNtDdiVersionAvailable。 不過,Rtlver.lib 相容性連...
Windows 2000 SP2 NTDDI_VERSION >= NTDDI_WIN2KSP2 Windows 2000 SP1 NTDDI_VERSION >= NTDDI_WIN2KSP1 Windows 2000 NTDDI_VERSION >= NTDDI_WIN2K The following table describes the legacy macros in use by the Windows header files. Minimum system required Macros to define ...