Window Device Contexts

Window device contexts are a special type, in that they are the only device contexts obtained with WinOpenWindowDC. As their name implies, the output device they represent is a display window. WinOpenWindowDC accepts a window handle as input and returns the window device context handle. The window device context handle can then be associated with a standard micro presentation space or a normal presentation space.

The window device context is closed automatically when its associated window is deleted.


[Back: Cached Device Contexts]
[Next: Normal Device Contexts]