WM APPTERMINATENOTIFY: Difference between revisions
Appearance
Created page with "This message is posted when an application (started by another application) terminates. ==Syntax== <pre> param1 HAPP happ; →Application handle.: param2 ULONG flretcode; →Return code from the terminating application.: </pre> ==Parameters== ;''happ'' (HAPP) - input: Application handle. ;''flretcode'' (ULONG) - input: Return code from the terminating application. ==Returns== ;''ulReserved'' (ULONG) - returns: Reserved value, must be 0. ==Remarks==..." |
(No difference)
|
Latest revision as of 03:15, 14 April 2025
This message is posted when an application (started by another application) terminates.
Syntax
param1
HAPP happ; /* Application handle. */
param2
ULONG flretcode; /* Return code from the terminating application. */
Parameters
- happ (HAPP) - input
- Application handle.
- flretcode (ULONG) - input
- Return code from the terminating application.
Returns
- ulReserved (ULONG) - returns
- Reserved value, must be 0.
Remarks
The WM_APPTERMINATENOTIFY message provides the capability for the starting application to be notified when the started application terminates.
Default Processing
The default window procedure takes no action on this message, other than to set ulReserved to 0.