Platform SDK: DirectX |
This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.
The DDEx5 program is an extension of DDEx4. It demonstrates a simple palette manipulation.
Source: (SDK root)\Samples\Multimedia\DDraw\Src\Ddex5
Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\Ddex5.exe
DDEx4 requires no user input. Press F12 or ESC to quit the program.
This program requires at least 1.2 MB of video RAM.
The program uses IDirectDrawPalette::GetEntries to read a palette, modifies the entries, and then uses IDirectDrawPalette::SetEntries to update the palette.