Click here to Skip to main content
Click here to Skip to main content

Tagged as

What processor is in my mobile device?

, 28 Oct 2010
Rate this:
Please Sign up or sign in to vote.
Ever wanted to know what your clock-speed was or what brand/model processor you had in your Windows Mobile device?
 
If you have Platform Builder, then include pkfuncs.h. If not, then do some Internet searching for the definitions you need.
 
DWORD returned = 0;
PROCESSOR_INFO pi = { 0 };
if( ::KernelIoControl( IOCTL_PROCESSOR_INFORMATION, 
                       NULL, 
                       0, 
                       &pi, 
                       sizeof( PROCESSOR_INFO ), 
                       &returned ) )
{
    NKDbgPrintfW( L"%s, %s - %s, %d MHz\r\n", 
        pi.szProcessCore, 
        pi.szVendor, 
        pi.szProcessorName, 
        pi.dwClockSpeed );
}
 
For me, this prints:
ARM Cortex-A8, TI - OMAP3, 600 MHz
 
Enjoy!
 
-PaulH

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Paul Heil
Software Developer (Senior) An engineering firm in Cedar Rapids, Iowa
United States United States
I'm also on the MSDN forums
http://social.msdn.microsoft.com/profile/paulh79

Comments and Discussions

 
GeneralReason for my vote of 1 no i haven't Pinmemberhamilton1232-Nov-10 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 28 Oct 2010
Article Copyright 2010 by Paul Heil
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid