ABSTRACT

In Chapter 26 you saw how a DirectDraw application is configured and initialized. You also learned the basics of DirectDraw architecture and developed a conventional windowed program that uses DirectDraw functions. But the fundamental purpose of DirectDraw programming is high-performance graphics. This requires a DirectDraw program that executes in exclusive mode, which is made easier if we first develop a code structure that can serve as a template for this type of application. The template must perform two critical tasks: create a WinMain() function suited for DirectDraw exclusivemode, and ensure access to the latest version of theDirectDraw interface.