Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
isprocessorfeaturepresent (kernel32)
 
.
Summary

C# Signature:

[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool IsProcessorFeaturePresent(ProcessorFeature processorFeature);

User-Defined Types:

public enum ProcessorFeature : uint {
    /// <summary>
    /// On a Pentium, a floating-point precision error can occur in rare circumstances
    /// </summary>
    FloatingPointPrecisionErrata = 0,
    /// <summary>
    /// Floating-point operations are emulated using a software emulator.
    /// This function returns a nonzero value if floating-point operations are emulated; otherwise, it returns zero.
    /// </summary>
    FloatingPointEmulated = 1,
    /// <summary>
    /// The atomic compare and exchange operation (cmpxchg) is available
    /// </summary>
    CompareExchangeDouble = 2,
    /// <summary>
    /// The MMX instruction set is available
    /// </summary>
    InstructionsMMXAvailable = 3,
    /// <summary>
    /// The SSE instruction set is available
    /// </summary>
    InstructionsXMMIAvailable = 6,
    /// <summary>
    /// The 3D-Now instruction set is available.
    /// </summary>
    Instruction3DNowAvailable = 7,
    /// <summary>
    /// The RDTSC instruction is available
    /// </summary>
    InstructionRDTSCAvailable = 8,
    /// <summary>
    /// The processor is PAE-enabled
    /// </summary>
    PAEEnabled = 9,
    /// <summary>
    /// The SSE2 instruction set is available
    /// </summary>
    InstructionsXMMI64Available = 10,
    /// <summary>
    /// Data execution prevention is enabled. (This feature is not supported until Windows XP SP2 and Windows Server 2003 SP1)
    /// </summary>
    NXEnabled = 12,
    /// <summary>
    /// The SSE3 instruction set is available. (This feature is not supported until Windows Vista)
    /// </summary>
    InstructionsSSE3Available = 13,
    /// <summary>
    /// The atomic compare and exchange 128-bit operation (cmpxchg16b) is available. (This feature is not supported until Windows Vista)
    /// </summary>
    CompareExchange128 = 14,
    /// <summary>
    /// The atomic compare 64 and exchange 128-bit operation (cmp8xchg16) is available (This feature is not supported until Windows Vista.)
    /// </summary>
    Compare64Exchange128 = 15,
    /// <summary>
    /// TBD
    /// </summary>
    ChannelsEnabled = 16,
}

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions