CPL_INIT  11Q32CH 

The CPL_INIT message is sent to the CPlApplet1P4ANS3 function of a Control Panel application to prompt it to perform global initialization, especially memory allocation.

CPL_INIT

 

Parameters

This function has no parameters.

Return Values

If initialization succeeds, the CPlApplet function should return a nonzero value. Otherwise, it should return zero. If CPlApplet returns zero, the controlling application ends communication and releases the DLL containing the Control Panel application.

Remarks

Because this is the only way a Control Panel application can signal an error condition, the application should allocate memory in response to this message.

This message is sent immediately after the DLL containing the application is loaded.

See Also

CPlApplet, FreeLibrary