The CPL_STOP message is sent to the CPlApplet function of a Control Panel application when the application controlling the Control Panel application closes. The controlling application sends the message once for each dialog box that the application supports.
CPL_STOP uAppNum = (UINT) lParam1; // application number lData = (LONG) lParam2; // application-defined value
If the CPlApplet function processes this message successfully, it should return zero.
In response to this message, a Control Panel application must perform cleanup for the given dialog box.
CPL_EXIT, CPL_GETCOUNT, CPL_INQUIRE, CPL_NEWINQUIRE, CPlApplet, CPLINFO, NEWCPLINFO