The syntax for the ExitProgman command has this form:
ExitProgman(bSaveGroups)
If Program Manager was started by another application, the ExitProgman command instructs Program Manager to terminate and, optionally, save its group information.
Following is the parameter for this command:
bSaveGroups
Specifies a Boolean value that, if it is nonzero, causes Program Manager to save its group information before closing. If bSaveGroups is zero, Program Manager does not save its group information.