The RegisterDialogClasses function registers any nonstandard window classes required by a screen saver’s configuration dialog box.
BOOL RegisterDialogClasses(
HANDLE hInst |
// handle of application instance |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The RegisterDialogClasses function should not be exported. It is called by routines defined in the SCRNSAVE.LIB file.
If a screen saver does not register any special window classes for the configuration dialog box, the RegisterDialogClasses function must return TRUE.