IPMPlatformManager::AddCPU (Windows CE 5.0)
This method adds a CPU object to the IPMPlatformManager interface.
HRESULT AddCPU(BSTR bstrCPUName,long dwCpuNum,int wArchitecture,long dwCPUType,BSTR bstrCPUId,VARIANT vtPageSize,VARIANT vtLevel,BSTR bstrDefaultValue,IPMCPU** ppiCPU);
Parameters
bstrCPUName
[in] Name of the CPU object to be added.dwCpuNum
[in] Number by which Platform Manager identifies 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 wArchitecture
[in] Optional; Numerical vdwCPUType
[in] Optional; Numerical value corresponding to the CPU type.bstrCPUId
[in] Optional; GUID of the CPU object. If this parameter is not specified, Platform Manager creates a GUID for the CPU object.vtPageSize
[in] Optional; CPU page size.vtLevel
[in] Optional; Numerical value corresponding to the CPU level.bstrDefaultValue
[in] Optional; Default name for the CPU object to be added.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
Send Feedback on this topic to the authors