Restoring and Redrawing

This section contains functions that restore objects and surfaces that may have been lost while the application is running.

·Restoring the Direct3D Device

·Restoring the Primary Surface

·Restoring All Surfaces

·Redrawing on Window Movement

·Redrawing on Window Resizing

·Repainting the Client Area

·Updating the Viewport