> I want to determine heap capabilities before allocating memory chunk.
> How I can get ID of heap used by MemHandleNew() function?

I'm not sure I understand your question.

MemHandleNew always allocates in the dynamic heap. Use DmNewHandle to
allocate in the storage heap.

Once you've allocated a handle by either of the above methods, you can use
MemHandleDataStorage to determine which method was used.

There are various Memory Manager functions that return and accept heap IDs:
MemHandleHeapID, MemHeapDynamic, etc. You don't generally need to work with
heaps at this level.
-
Danny @ Palm

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to