Platform SDK: DirectX |
This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.
The DDEx2 program is an extension of DDEx1 that adds a bitmap.
Source: (SDK root)\Samples\Multimedia\DDraw\Src\Ddex2
Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\Ddex2.exe
DDEx2 requires no user input. Press F12 or ESC to quit the program.
DDEx2 shows how to set a palettized video mode. Routines in DDutil.cpp load a bitmap file and copy it to a DirectDraw surface.