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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for