Export (0) Print
Expand All
Expand Minimize

RegisterDialogClasses function

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Scrnsave.h

Library

Scrnsave.lib

DLL

None

See also

ScreenSaverConfigureDialog

 

 

Community Additions

ADD
Show:
© 2014 Microsoft