I know in xp there is the WMI with the managment class. |
Don replied to Don on Monday, November 23, 2009 9:10 AM
|
I know in xp there is the WMI with the managment class. Is there anything
similar in CE?
--
Don |
 |
|
I do not know of any APIs to read the CPU ID. |
Bruce Eitman [eMVP] replied to Don on Monday, November 23, 2009 9:49 AM
|
I do not know of any APIs to read the CPU ID. If needed, the board vendor
could add that.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
Eurotech Inc.
www.Eurotech.com |
 |
|
In fact the reason XP can do it is that Intel CPU have CPUID instruction. |
Alex Feinman replied to Bruce Eitman [eMVP] on Monday, November 23, 2009 11:07 AM
|
In fact the reason XP can do it is that Intel CPU have CPUID instruction. It
is by no means mandatory. Quite a few CPUs do not have it. Hence there is no
standardized way for retrieving CPU ID. Like Bruce says - it is
vendor-specific if exists |
 |
|
wrote:Itnondor-----------------------------------------------------------Hi:You |
mike replied to Alex Feinman on Sunday, December 06, 2009 3:28 PM
|
It
no
ndor
-----------------------------------------------------------
Hi:
You need to call KernelIoControl (IOCTL_HAL_GET_DEVICEID, NULL, 0,
pszDeviceID,
dwDeviceIDStructSize,
&dwBytesRet)
to get device information.
KernelIoControl(IOCTL_HAL_GET_DEVICE_INFO, (VOID*)&dwSpi, sizeof
(dwSpi),
pCorrectOutBuf, dwCorrectOutSize,
NULL))
Try this so, could get CPU ID and Platform information.
Mike
http://www.itxembedded.com |
 |
|