The information in this article applies to:
SUMMARY
The Microsoft Windows graphical environment maintains an internal
cache of five display contexts (DCs) which are shared by all
applications in the system. An application retrieves one of these DCs
when it calls the BeginPaint(), GetDC(), or GetWindowDC() functions. When an application retrieves a DC, Windows marks the DC as in use and does
not allow another application to retrieve it. When an application has
finished using a DC, it must return the DC to the cache which makes
the DC available to another application. Two APIs return a DC to
the cache: EndPaint() function (to match BeginPaint() and the ReleaseDC() function (to match GetDC() or GetWindowDC()).
Additional query words: 3.00 3.10
Keywords : kb16bitonly kbSDKWin16 |
Last Reviewed: June 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |