DDEx1 Sample

Description

DDEx1 demonstrates the tasks required to initialize and run a DirectDraw application.

Path

Source: (SDK root)\Samples\Multimedia\DDraw\Src\Ddex1

Executable: (SDK root)\Samples\Multimedia\DDraw\Bin

User's Guide

DDEx1 requires no user input. Press the F12 key or the ESC key to quit the program.

Programming Notes

This program shows how to initialize DirectDraw and create a DirectDraw surface. It creates a back buffer and uses page flipping to alternately display the contents of the front and back buffers. Other techniques demonstrated include color fills and using GDI functions on a DirectDraw surface.