CPlAppletCPlApplet*
*Contents  *Index  *Topic Contents
*Previous Topic: Functions
*Next Topic: DefScreenSaverProc

CPlApplet

Library-defined callback function that serves as the entry point for a Control Panel application.

Syntax

LONG APIENTRY CPlApplet(
    HWND hwndCPl,
    UINT uMsg,
    LONG lParam1,
    LONG lParam2
);

Parameters

hwndCPl
Identifies of the main window of the controlling application. Use the hwndCPl parameter for dialog boxes or other windows that require a handle to a parent window.
uMsg
Message being sent to the Control Panel application.
lParam1
Additional message-specific information.
lParam2
Additional message-specific information.

Return Values

The return value depends on the message.

For more information, see the descriptions of the individual Control Panel messages.


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