Jump to content

WM APPTERMINATENOTIFY

From EDM2

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.