Share via


CPL_EXIT

Send Feedback

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: Pocket PC 2000 and later
Smartphone: None
OS Versions: Windows CE 3.0 and later
Header: cpl.h

See Also

Control Panel Messages | CPlApplet

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.