Conclusion
After you have studied the screensavers library’s source code, you’ll probably want to introduce enhancements. For example, unlike Microsoft’s screensavers library, you cannot Alt+Tab away from the Display Properties dialog box. To change this behavior, modify the code so that the hogMachine() function isn’t called when the preview window is displayed.
Other enhancements to consider were first introduced by Microsoft’s Windows Plus! software: supporting a password delay feature so the password dialog box is not displayed if the screensaver is closed within a few seconds after being started, using a mouse threshold to prevent the screensaver from closing if the mouse moves only a few pixels, using a mute sound setting to enable/disable sound, and supporting hot corners.