CPL_EXIT

The CPL_EXIT message is sent to the CPlApplet function before the system releases the DLL that contains the function.

Syntax

#define CPL_EXIT  7
  lp1 = (LPARAM) lParam1;
  lp2 = (LPARAM) lParam2;

Parameters

  • lp1
    Reserved. No relevant information is passed through this parameter.
  • lp2
    Reserved. No relevant information is passed through this parameter.

Return Values

Zero indicates that the CPlApplet function processed this message successfully. Nonzero indicates otherwise.

Remarks

This message is sent after the last CPL_STOP message is sent.

In response to this message, the CPlApplet function must free any memory that it has allocated and perform global-level cleanup for all of the Control Panel applications that it has implemented.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: cpl.h

See Also

Control Panel API Messages

CPlApplet

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.