This function terminates an application previously started with the WinStartApp function.

#define INCL_WINWINDOWMGR /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HAPP    happ;  /*  Application handle. */
BOOL    rc;    /*  Termination indicator. */

rc = WinTerminateApp(happ);


[Back] [Next]