Compartilhar via


IPMCPU::CpuNum (Windows CE 5.0)

Send Feedback

This method obtains or sets the numerical value by which Platform Manager identifies the CPU.

To obtain the numerical value that Platform Manager uses to identify the CPU, use the following syntax.

HRESULT CpuNum(long* pdwNum);

To set the numerical value by which Platform Manager can identify the CPU, use the following syntax.

HRESULT CpuNum(long dwNum);

Parameters

  • pdwNum
    [out] Pointer to the numerical value by which Platform Manager identifies the CPU.

  • dwNum
    [in] Number by which Platform Manager can identify the CPU.

    The following table shows the number that Platform Manager uses to identify each CPU.

    CPU Number
    x86 0x10001
    MIPS 16 0x1010000
    MIPS II 0x1020000
    MIPS IIfp 0x1020001
    MIPS IV 0x1030000
    MIPS IVfp 0x1030001
    SH4 0x4020001
    ARMV4 0x5010000
    ARMV4fp Treated as ARMV4
    ARMV4i 0x5020000
    ARMV4ifp Treated as ARMV4i
    ARMV4t 0x5030000
    ARMV4tfp Treated as ARMV4t

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Cpu.h, Cemgr.idl.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.