Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Getting Memory Status and Processor Information

Windows Mobile 6.5
4/19/2010

Use the Windows Embedded CE GetSystemInfo function to return information about the processor and memory characteristics of the device through the Windows Embedded CE SYSTEM_INFO structure.

All devices running Pocket PC 2002 and Smartphone 2002 software and later are based on the ARM4 CPU, and the wProcessorArchitecture structure member reports PROCESSOR_ARCHITECTURE_ARM. The emulator reports PROCESSOR_ARCHITECTURE_INTEL with a wProcessorLevel of 5.

Both processor architectures are based on a 4-KB page size with a 64-KB allocation granularity. The allocation granularity means that each page allocation must start on a 64-KB boundary.

The Windows Embedded CE GlobalMemoryStatus function returns information about the current state of memory on the device through the MEMORYSTATUS structure. The dwTotalPhys and dwAvailPhys members of the structure contain, respectively, the total amount of program memory and the amount that is currently available.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.