RegisterDialogClasses  8FIK5M 

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

   );

 

 

Parameters

hInst

Identifies an instance of the module registering the window classes.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError11C2VS7.

Remarks

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.

See Also

ScreenSaverConfigureDialog