RegisterDialogClassesRegisterDialogClasses*
*Contents  *Index  *Topic Contents
*Previous Topic: GetWindowContextHelpId
*Next Topic: ScreenSaverConfigureDialog

RegisterDialogClasses

Registers any nonstandard window classes required by a screen saver's configuration dialog box.

Syntax


BOOL RegisterDialogClasses(
    HANDLE hInst
);

Parameters

hInst
Identifier of an instance of the module registering the window classes.

Return Values


Returns nonzero if successful, or zero otherwise.

To get extended error information, call GetLastError.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.