Share via


CPL_STOP

Send Feedback

The CPL_STOP message is sent to the CPlApplet function for each application it implements to prompt it to close down that application.

Syntax

#define CPL_STOP  6
  uAppNum = (UINT) lParam1;
  lData = (LONG) lParam2;

Parameters

  • uAppNum
    The ID number of the application that was tapped by the user. This number is in the range of zero through one less than the number of applications supported by the CPlApplet function.
  • lData
    The value that the CPlApplet function loaded into the lData member of the NEWCPLINFO structure for the application. The application loads the lData member in response to the CPL_NEWINQUIRE message.

Return Values

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

Remarks

This message is sent when the Control Panel is closing.

In response to this message, the CPlApplet function should perform application-specific cleanup, in preparation for the CPL_EXIT message to be processed.

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 | CPL_EXTI

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.