Surfaces and Device Contexts
A version of this page is also available for
4/8/2010
It is often convenient to mix-and-match DirectDraw and GDI services to manipulate the contents of DirectDraw surfaces. DirectDraw offers methods to enable GDI to access DirectDraw surfaces through device contexts, and to retrieve a surface given the surface's device context.
The following topics describe this functionality in detail: