msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_APPTERMINATENOTIFY (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_APPTERMINATENOTIFY
mp1 = MPFROMLONG((HAPP) happ);            /* application handle */
mp2 = MPFROMSHORT((USHORT) usRetCode);    /* return code        */
 
The WM_APPTERMINATENOTIFY message is sent when a child application started
by the WinInstStartApp function terminates.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
happ       Low word of mp1. Identifies the application returned by the
           WinInstStartApp function.
 
usRetCode  Low word of mp2. Specifies the return code from the application
           that has terminated.
 
Return Value
 
An application should return zero if it processes this message.
 
See Also
 
WinInstStartApp, WinTerminateApp