Suppresses application trap popups and logs them to the file POPUPLOG.OS2.

#define INCL_DOSPROCESS
#include <os2.h>

ULONG     flag;  /*  A flag that indicating whether pop-up suppression should be enabled or disabled. */
CHAR      char;  /*  The drive letter for the log file (used only when pop-up suppression is enabled). */
APIRET    ulrc;  /*  Return Code. */

ulrc = DosSuppressPopUps(flag, char);


[Back] [Next]