IsProcessorFeaturePresent

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves information about supported features in a system.


BOOL IsProcessorFeaturePresent(
  DWORD dwProcessorFeature
);

dwProcessorFeature

[in] Specifies the flag for the feature that you want to verify support for.

The following table shows the flags for ARM processor features.

Aa915341.note(en-us,MSDN.10).gifNote:
Windows Mobile only supports processors based on the ARM architecture.

Flag Description

PF_ARM_CACHE_CAN_BE_LOCKED_DOWN

Cache can be locked down.

PF_ARM_DSP

E DSP instructions. This flag is deprecated, but no additional flag is required because this is covered by ARMv5 and later.

PF_ARM_DTCM

Tightly coupled data memory.

PF_ARM_INTEL_PMU

Performance Monitor Unit (PMU).

PF_ARM_INTEL_WMMX

WMMX support.

PF_ARM_INTEL_XSCALE

Intel XScale processor. This can be used to determine if the processor supports operations where src==dest.

PF_ARM_ITCM

Tightly coupled data memory.

PF_ARM_JAZELLE

ARM Jazelle technology.

PF_ARM_L2CACHE

Level 2 cache controller. This flag is deprecated. For the correct flags to use, see the other L2 cache flags.

PF_ARM_L2CACHE_COPROC

Level 2 cache controller implemented as a coprocessor.

PF_ARM_L2CACHE_MEMORY_MAPPED

Level 2 cache controller implemented as a memory-mapped peripheral.

PF_ARM_MBX

ARM MBX technology.

PF_ARM_MOVE_CP

ARM MOVE coprocessor.

PF_ARM_MPU

Support for memory protection unit (MPU) is available.

PF_ARM_NEON

NEON instruction set.

PF_ARM_PHYSICALLY_TAGGED_CACHE

Cache is, or can be, physically tagged.

PF_ARM_T2EE

T2EE instruction set.

PF_ARM_THUMB

Thumb instruction set.

PF_ARM_THUMB2

Thumb2 instruction set.

PF_ARM_UNALIGNED_ACCESS

Can support unaligned access. You need to call a KLIB_IOCTL to turn this on.

PF_ARM_UNIFIED_CACHE

Unified cache.

PF_ARM_V4

ARM architecture v4.

PF_ARM_V5

ARM architecture v5.

PF_ARM_V6

ARM architecture v6.

PF_ARM_V7

ARM architecture v7.

PF_ARM_VFP_DOUBLE_PRECISION

Double precision vectored floating-point unit.

PF_ARM_VFP_SINGLE_PRECISION

Single precision vectored floating-point unit.

PF_ARM_VFP10

VFP10 floating-point unit (FPU) This flag is obsolete. For the correct flags to use, see the other VFP flags.

PF_ARM_VFP3

VFP3 instruction set.

PF_ARM_WRITE_BUFFER

Writeback buffer.

PF_ARM_WRITE_BACK_CACHE

Writeback cache.

Aa915341.note(en-us,MSDN.10).gifNote:
All other PF_XXX flags return FALSE.

Nonzero indicates that the processor feature is supported. FALSE indicates that the processor feature is not supported.

The PF_XXX flags in dwProcessorFeature are filtered based on the CPU type. Only the PF_XXX flags corresponding to the CPU being compiled are present.

Headerwinbase.h
Librarycoredll.dll
Windows Embedded CEWindows CE .NET 4.1 and later

Reference

System Management Functions

Other Resources


Community Additions

Show: