CPL_STOP message

Sent to the CPlApplet function of a Control Panel application when the controlling application of the Control Panel closes. The controlling application sends the message once for each dialog box that the application supports.

Parameters

uAppNum

The dialog box number.

lData

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

Return value

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.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Cpl.h

See also

CPL_EXIT

CPL_GETCOUNT