术语 | isprocessorfeaturepresent |
释义 | IsProcessorFeaturePresent 语法: C++ BOOL WINAPI IsProcessorFeaturePresent( __in DWORD ProcessorFeature ); IsProcessorFeaturePresent功能 确定指定的处理器功能是当前计算机的支持。 参数 ProcessorFeature [in] 该处理器的功能进行测试。此参数可以是下列值之一。 ValueMeaning PF_3DNOW_INSTRUCTIONS_AVAILABLE 7The三维立即指令集可用。 PF_CHANNELS_ENABLED 16The处理器渠道启用。 PF_COMPARE_EXCHANGE_DOUBLE 2The原子比较和交流合作(cmpxchg)可用。 PF_COMPARE_EXCHANGE128 14The原子比较和交流128位操作(cmpxchg16b)可用。 Windows Server 2003和Windows XP/2000操作系统:此功能不支持。 PF_COMPARE64_EXCHANGE128 第十五原子比64和交流128位操作(cmp8xchg16)可用。 Windows Server 2003和Windows XP/2000操作系统:此功能不支持。 PF_FLOATING_POINT_EMULATED 1Floating点操作是使用软件模拟仿真器。 这个函数返回一个非零值,如果浮点运算的仿真,否则返回零。 PF_FLOATING_POINT_PRECISION_ERRATA 0On 1奔腾,浮点精度误差,就可能出现在罕见的情况。 PF_MMX_INSTRUCTIONS_AVAILABLE 3The MMX指令集可用。 PF_NX_ENABLED 12Data执行保护已启用。 Windows XP/2000操作系统:此功能不可用,直到Windows SP2和Windows Server 2003 XP的SP1的支持。 PF_PAE_ENABLED 9The处理器PAE的功能。有关更多信息,请参阅物理地址扩展。 PF_RDTSC_INSTRUCTION_AVAILABLE 8The RDTSC指令可用。 PF_SSE3_INSTRUCTIONS_AVAILABLE 第十三SSE3指令集可用。 Windows Server 2003和Windows XP/2000操作系统:此功能不支持。 PF_XMMI_INSTRUCTIONS_AVAILABLE 6The SSE指令集可用。 PF_XMMI64_INSTRUCTIONS_AVAILABLE 10The SSE2指令集可用。 Windows 2000中:此功能不支持。 PF_XSAVE_ENABLED 17The处理器执行XSAVE和XRSTOR指示。 Windows Server 2008中,Windows Vista中的Windows Server 2003,和Windows XP/2000:此功能不支持,直到Windows 7和Windows Server 2008 R2的。 返回值 如果功能是支持的,返回值是一个非零值。 如果功能是不支持,返回值是零。 如果HAL的不支持该功能的检测,是否硬件支持功能,返回值也为零。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 系统信息功能 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==IsProcessorFeaturePresent Function Determines whether the specified processor feature is supported by the current computer. Syntax C++ BOOL WINAPI IsProcessorFeaturePresent( __in DWORD ProcessorFeature ); Parameters ProcessorFeature [in] The processor feature to be tested. This parameter can be one of the following values. ValueMeaning PF_3DNOW_INSTRUCTIONS_AVAILABLE 7The 3D-Now instruction set is available. PF_CHANNELS_ENABLED 16The processor channels are enabled. PF_COMPARE_EXCHANGE_DOUBLE 2The atomic compare and exchange operation (cmpxchg) is available. PF_COMPARE_EXCHANGE128 14The atomic compare and exchange 128-bit operation (cmpxchg16b) is available. Windows Server 2003 and Windows XP/2000: This feature is not supported. PF_COMPARE64_EXCHANGE128 15The atomic compare 64 and exchange 128-bit operation (cmp8xchg16) is available. Windows Server 2003 and Windows XP/2000: This feature is not supported. PF_FLOATING_POINT_EMULATED 1Floating-point operations are emulated using a software emulator. This function returns a nonzero value if floating-point operations are emulated; otherwise, it returns zero. PF_FLOATING_POINT_PRECISION_ERRATA 0On a Pentium, a floating-point precision error can occur in rare circumstances. PF_MMX_INSTRUCTIONS_AVAILABLE 3The MMX instruction set is available. PF_NX_ENABLED 12Data execution prevention is enabled. Windows XP/2000: This feature is not supported until Windows XP with SP2 and Windows Server 2003 with SP1. PF_PAE_ENABLED 9The processor is PAE-enabled. For more information, see Physical Address Extension . PF_RDTSC_INSTRUCTION_AVAILABLE 8The RDTSC instruction is available. PF_SSE3_INSTRUCTIONS_AVAILABLE 13The SSE3 instruction set is available. Windows Server 2003 and Windows XP/2000: This feature is not supported. PF_XMMI_INSTRUCTIONS_AVAILABLE 6The SSE instruction set is available. PF_XMMI64_INSTRUCTIONS_AVAILABLE 10The SSE2 instruction set is available. Windows 2000: This feature is not supported. PF_XSAVE_ENABLED 17The processor implements the XSAVE and XRSTOR instructions. Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP/2000: This feature is not supported until Windows 7 and Windows Server 2008 R2. Return Value If the feature is supported, the return value is a nonzero value. If the feature is not supported, the return value is zero. If the HAL does not support detection of the feature, whether or not the hardware supports the feature, the return value is also zero. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also System Information Functions Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms724482(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。