Prev Next

WM_CPL_LAUNCH

An application sends the WM_CPL_LAUNCH message to Windows Control Panel to request that a Control Panel application be started.

WM_CPL_LAUNCH 

hwnd = (HWND) wParam;          // handle of sending window 

lpszAppName = (LPSTR) lParam;  // application-name string 

 

Parameters

hwnd
Value of wParam. Specifies the handle of the window sending the message. The WM_CPL_LAUNCHED message is sent to this window.
lpszAppName
Value of lParam. Specifies a far pointer to a string containing the name of the Control Panel application to open.

Return Values

If the application starts, the return value is TRUE; otherwise, it is FALSE.

See Also

WM_CPL_LAUNCHED