> From: Richard Anderson
>
> I have a few concerns about MemLocalIdToLockedPtr as the reference says it
> locks it if its movable. However if I unlock it after using it, what will
> happen if it was not movable ??? What is the correct thing to do here.
>
> Im using it to get a pointer from the local ID for my app info block in a
> database.

I think it's safe to assume your app info block is moveable.  The 3.1
sources for Address Book, Datebook, Mail, Memopad, and ToDo all use
MemLocalIdToLockedPtr and then use MemPtrUnlock without any tests to verify
that it was locked.


-- 
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