Serves as the entry point for a Control Panel application. This is a library-defined callback function.
Syntax
LONG CPlApplet(
HWND hwndCPl,
UINT uMsg,
LPARAM lParam1,
LPARAM lParam2
);
Parameters
- hwndCPl
-
The identifier 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
-
The message being sent to the Control Panel application.
- lParam1
-
Additional message-specific information.
- lParam2
-
Additional message-specific information.
Return Value
The return value depends on the message.
For more information, see the descriptions of the individual Control Panel messages.
Remarks
Implementers of Control Panel items must also implement this function. No default implementation is available.
Function Information
| Minimum DLL Version |
None |
|---|
| Custom Implementation | Yes |
|---|
| Header | cpl.h |
|---|
| Import library | None |
|---|
| Minimum operating systems |
Windows NT 3.1, Windows 95 |
|---|