OS2 API:CPI:CHECK:DosSuppressPopUps

From EDM2
Jump to: navigation, search

Prototype:

APIRET APIENTRY DosSuppressPopUps ( ULONG Flags, ULONG Drive ) ;

Linkage Definition:

IMPORTS DosSuppressPopUps = DOSCALLS.114 

Parameters:

  • ULONG Flags Option flags (see comments).
  • ULONG Drive Logging drive ('A'=A: and so on), or zero to disable.

Comments:

The option flag has two bits of interest:

00000001 - Disable Popups (otherwise enable them) 
00000002 - Ignore drive parameter (otherwise use it) 


Note: If the Ignore Drive bit of the Flags parameter is set, the Drive parameter must be zero.