Platform SDK: DirectX |
This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.
The ScreenSaver sample shows how to create a Direct3D screen saver.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\ScreenSaver
Executable: None
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.
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.