There aren't APIs to walk the heap. And the format of the heap has changed
several times, and can be expected to do so again, but it wouldn't be too
hard to figure it out for some given OS version...
However, I'd imagine it would be much easier just to use PalmDebugger and
the "hd 0" command; it walks the heap and knows about all the different
versions, plus it tags most of the system's allocations so that you know
what they all are.
PalmDebugger is a quite underappreciated tool, from what I see... and it
has been available on Windows for some time now, and in my experience is
extremely stable there. Use it with Pose and do some great low-level
debugging.
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/