Compartilhar via


IPMCPU::Level (Windows CE 5.0)

Send Feedback

This method obtains or sets the level of the CPU.

To obtain the level of the CPU use the following syntax.

HRESULT Level(long* pdwLevel);

To set the level of the CPU use the following syntax.

HRESULT Level(long dwLevel);

Parameters

  • pdwLevel
    [out] Pointer to the level of the CPU.
  • dwLevel
    [in] Level of the CPU.

Return Values

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

Remarks

CPU levels are analogous to revisions of a particular chipset. When Platform Manager chooses which CPU packages to download, Platform Manager verifies the CPU level. If the CPU level is nonzero, the CPU level reported by the target device must be less than the CPU level reported by the package file to be considered a match.

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.