The CPL_EXIT message is sent once to the CPlApplet function of a Control Panel application before the controlling application releases the DLL containing the application.
CPL_EXIT
Parameters
This function has no parameters.
Return Values
If the CPlApplet function processes this message successfully, it should return zero.
Remarks
This message is sent after the last CPL_STOP message is sent.
In response to this message, a Control Panel application must free any memory that it has allocated and perform global-level cleanup.
See Also