Be sure to export the ScreenSaverProc function and, if it is present, the ScreenSaverConfigureDialog function. The RegisterDialogClasses function should not be exported.
The DESCRIPTION statement in your module-definition file must use the following format:
DESCRIPTION 'SCRNSAVE : description'
If your screen saver includes a configuration routine, you should include a dialog box template with the DLG_SCRNSAVECONFIGURE identifier.