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


Yes it is in the docs but, in my 3.0 docs at least, it's listed as a System only
call.

Can anyone shed some light on how safe or reliable this is to use?  I've been
messing around with it for testing but am very reluctant to use it in a shipping
app.  I did see one case where the lock count was reported as 20 plus, which is
hard to comprehend as the maximum that the memory manager is supposed to allow is
14!


Cheers,

-Darren Beck
http://www.codecity.com.au



Reply via email to