Platform SDK: DirectX

DDEx2 Sample

[Visual Basic]

This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.

[C++]

Description

The DDEx2 program is an extension of DDEx1 that adds a bitmap.

Path

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

Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\Ddex2.exe

User's Guide

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

Programming Notes

DDEx2 shows how to set a palettized video mode. Routines in DDutil.cpp load a bitmap file and copy it to a DirectDraw surface.