CPL_STOP

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

Parameters

uAppNum

Value of lParam1. Specifies the dialog box number.

lData

Value of lParam2. Specifies the value that the Control Panel application loaded into the lData member of the CPLINFO or NEWCPLINFO structure for the dialog box. The application loads lData member in response to the CPL_INQUIRE or CPL_NEWINQUIRE message.

Return Values

If the CPlApplet function processes this message successfully, it should return zero.

Remarks

In response to this message, a Control Panel application must perform cleanup for the given dialog box.

See Also

CPL_EXIT, CPL_GETCOUNT, CPL_INQUIRE, CPL_NEWINQUIRE, CPlApplet, CPLINFO, NEWCPLINFO