Jump to content

WM APPTERMINATENOTIFY

From EDM2
Revision as of 04:15, 14 April 2025 by Martini (talk | contribs) (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==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.