Export (0) Print
Expand All
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

CPlApplet entry point

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

Type: HWND

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

Type: UINT

The message being sent to the Control Panel application.

lParam1

Type: LPARAM

Additional message-specific information.

lParam2

Type: LPARAM

Additional message-specific information.

Return value

Type: LONG

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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Cpl.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.