RegisterDialogClasses

3.1

  #include <scrnsave.h>    

  BOOL RegisterDialogClasses(hInst)    
  HANDLE hInst; /* handle of application instance */

The RegisterDialogClasses function registers any special or nonstandard window classes needed by a screen saver application's configuration dialog box.

Parameters

hInst

Identifies an instance of the module that is registering the window classes.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

Comments

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 can simply return a nonzero value.

See Also

ScreenSaverConfigureDialog