APPLET_PROC callback function

Serves as the entry point for a Control Panel application. This is a library-defined callback function.

Syntax

APPLET_PROC AppletProc;

LONG AppletProc(
  HWND hwndCpl,
  UINT msg,
  LPARAM lParam1,
  LPARAM lParam2
)
{...}

Parameters

hwndCpl

msg

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]
Target Platform Windows
Header cpl.h