The CPL_EXIT message is sent once to a Control Panel dynamic-link library (DLL) before Control Panel calls the FreeLibrary function to free the DLL.
lParam1
Not used.
lParam2
Not used.
The Control Panel DLL returns zero if it processes this message successfully.
In response to this message, a Control Panel DLL should free any memory that it has allocated and perform global-level cleanup.