Platform SDK: DirectX

Fire Sample

[C++]

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

[Visual Basic]

Description

The Fire sample demonstrates how to manipulate the video memory directly by using DirectDraw.

Path

Source: (SDK root)\Samples\Multimedia\VBSamples\DDraw\Src\Fire

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

User's Guide

No input is required. Press ESC to quit the program.

Programming Notes

The sample uses DirectDrawSurface7.GetLockedArray to get the display memory into an array of bytes, Pict, where they can be manipulated individually.