VDeleteBackgroundProcessInformation
Name
VDeleteBackgroundProcessInformation - removes the information about a
background process from BG_STATUS.COM file
Synopsis
VDeleteBackgroundProcessInformation()
Description
VDeleteBackgroundProcessInformation removes the information about a
background process from BG_STATUS.COM file. If BG_STATUS.COM does not
exist, VDeleteBackgroundProcessInformation returns 4. Otherwise
VDeleteBackgroundProcessInformation removes the ID of the current process,
process name and date from the BG_STATUS.COM file.
VDeleteBackgroundProcessInformation 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.