Locking Discardable Objects

ID: Q10220


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1


SUMMARY

It is not possible to put in a call to determine whether an object is discarded. GlobalLock() returns NULL if the object is discarded. There is no such thing as a swapped object. Locking a discarded object does not affect its lock count. Discarded objects always have a lock count of zero. Objects with a nonzero lock count are never discarded.

Additional query words: 3.00 no32bit 3.10

Keywords : kb16bitonly
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type :


Last Reviewed: November 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.