DosSuppressPopUps allows an application to enable or disable dynamically Trap Exception pop-up suppression and to specify the drive where the pop-up suppression log will be recorded.
The default setting is for disabled pop-up suppression unless overridden by the SUPPRESSPOPUPS CONFIG.SYS command.
Syntax
APIRET APIENTRY DosSuppressPopUps(ULONG Flag, ULONG Drive); 32-bit code Example using CSet/2
Parameters
Flag
Returns.
Return Code.
DosSuppressPopups returns the following values:
87
Remarks.
The directory to which POPUPLOG.OS2 will be written is always the root directory of Drive.
A prototype definition of DosSuppressPopUps may be found under RAS API Prototypes.
See also DosError API in the Control Program Programming Reference.