Platform SDK: DirectX

ScreenSaver Sample

[Visual Basic]

This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.

[C++]

Description

The ScreenSaver sample shows how to create a Direct3D screen saver.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\ScreenSaver

Executable: None

User's Guide

When you compile the code, the output file is D3DBend.scr. You can view the screen saver by double-clicking on this file. To make it available in the Windows Display Properties dialog box, copy it to the \Windows\System directory.

Programming Notes

The startup code is in Scrnsave.lib.

For more information about compiling screen savers, see the Screen Saver Library topic in the Platform SDK User Interface Services documentation.