VGetRunModeValue


 
Name
  VGetRunModeValue - returns the value of the foreground/background switch.
 
Synopsis
  VGetRunModeValue(val)
  int *val;                             /*RETURN*/
 
Description
  VGetRunModeValue returns the value of the foreground/background switch.
 
Return Value
  0 - work successfully.
  1 - memory allocation error.
 
Parameters
  val -  value of the switch returned.
        0 - foreground process.
        1 - background process.
 
Side Effects
  None.
 
Entry Conditions
  VDisplayRunModeCommand should be called earlier.
 
Related Functions
VEraseRunModeCommand, VDisplayRunModeCommand, VCheckEventsInButtonWindow, VCallProcess.