RegisterDialogClasses function (scrnsave.h)
Registers any nonstandard window classes required by a screen saver's configuration dialog box.
Syntax
BOOL RegisterDialogClasses(
HANDLE hInst
);
Parameters
hInst
Type: HANDLE
An identifier of an instance of the module registering the window classes.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
To retrieve 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | scrnsave.h |
Library | Scrnsave.lib |
DLL | None |