>To test for a valid handle I'm assuming I can say:
>
>VoidHand hndl;
>
>// get a handle to 16 bytes.
>hndl = MemHandleNew(16)
>
>if (hndl) {
> // handle was allocated properly
>}
>else {
> // handle is NULL and therefore alloc must have failed.
>}
Yes, you can do that.
>How do I test to see if a handle has been locked (especialy if I don't have
>the pointer handy to test for NULL)?
>
>Is there a function to get the lock count of a handle?
Isn't MemHandleLockCount mentioned in the documentation?
-- Keith