2.7.3 Drawing to an Arbitrary Device Context

OLESVR.DLL may request that a server application produce an image on the screen, to a metafile, or to a bitmap (for providing an image to a client application or even to a printer). You can simplify this requirement by modifying whatever drawing code your application uses for its objects to work with an arbitrary device context (DC)—whether it be a screen DC, a metafile DC, a memory DC containing a bitmap, or a printer DC.