The following table shows the code samples that are available for DirectDraw. The source code for all DirectDraw code samples is located in %_PUBLICROOT%\DIRECTX\SDK\SAMPLES\DDRAW\SRC.
| Sample | Description |
|---|---|
| Ddex1 | Demonstrates the tasks required to initialize and run a DirectDraw application. |
| Ddex2 | An extension of Ddex1 that adds a bitmap. |
| Ddex3 | An extension of Ddex2, which demonstrates the use of off-screen surfaces. |
| Ddex4 | An extension of Ddex3, which demonstrates a simple animation technique. |
| Ddutil | A collection of useful utility functions for DirectDraw programming. |
| Donuts | An application that demonstrates how to animate multiple sprites. |
| Donuts2 | A variation of Donuts. |
| Mosquito | An application that demonstrates DirectDraw animation using overlays. |
See Also
Send Feedback on this topic to the authors