VRemoveBackgroundProcessInformation


 
Name
  VRemoveBackgroundProcessInformation - removes the information about a
background process from BG_STATUS.COM file
 
Synopsis
  VRemoveBackgroundProcessInformation()
 
Description
  VRemoveBackgroundProcessInformation removes the information about a
background process from BG_STATUS.COM file. If BG_STATUS.COM does not
exist, VRemoveBackgroundProcessInformation returns 4. Otherwise
VRemoveBackgroundProcessInformation removes the ID of the current process,
process name and date from the BG_STATUS.COM file.
VRemoveBackgroundProcessInformation should be called before exiting a
program if the program is to be run in the background.
 
Return Value
  0 - work successfully.
  2 - read error.
  3 - write error.
  4 - file open error.
 
Parameters
  None.
 
Side Effects
  None.
 
Entry Conditions
  VAddBackgroundProcessInformation should be called first.
 
Related Functions
VAddBackgroundProcessInformation, VDisplayJobDoneMessage.