General-Purpose Declarations

Bouncer defines one variable, szAppName, used by routines in SCRNSAVE.LIB, as follows:

char szAppName[] = "ScreenSaver.Bouncer";                // Substitute your own name 

The szAppName variable identifies the name of the screen saver. The name to the right of the period is a unique name for the screen saver.

Bouncer also declares the following external variables.

extern HANDLE   hMainInstance;
extern HWND     hMainWindow;

These external variables are defined in SCRNSAVE.LIB. They contain handles to the application instance and main window.