◄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 ♦