Screen savers must use the string identifier idsAppName to identify themselves for other routines in SCRNSAVE.LIB:
STRINGTABLE
PRELOAD BEGIN idsAppName "Screen Saver.ScreenSaverName" . . /* other strings */ . END
The idsAppName string contains the name of the screen saver. The name to the right of the period is a unique name for the screen saver. The screen saver application can retrieve this string by calling the LoadString function.
Screen savers must also declare the following external variables:
HINSTANCE hMainInstance;
HWND hMainWindow;
These external variables are defined in SCRNSAVE.LIB. They contain handles to the application instance and main window.