Say for the following code snippet,
{
void* P;
MemHandle H;
H = MemHandleNew(1);
P = MemHandleLock(H);
MemHandleUnlock(H);
}
Now, if I substituted MemHandleUnlock(H) for MemPtrUnlock(P), would the
lock count for H be reduced to 0?
Is there a way to check the lock count of a handle? Ditto for a pointer
created with MemPtrNew().
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
