Partager via


IPMPlatformManager::GetCPU (Windows CE 5.0)

Send Feedback

This method obtains a CPU object for a specified bstrCPUIdOrName element. For information about registering a CPU with Platform Manager, see IPMPlatformManager::AddCPU.

HRESULT GetCPU(BSTRbstrCPUIdOrName,IPMCPU** ppiCPU);

Parameters

  • bstrCPUIdOrName
    [in] GUID or name of the CPU object.
  • ppiCPU
    [out] Pointer to a pointer to the IPMCPU interface.

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: Platman.h, Cemgr.idl.

See Also

IPMCPU

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.