Enables or disables auto-screen destruction for the current screen
#include <nwconio.h>
BYTE SetAutoScreenDestructionMode (
BYTE newMode);
(IN) Specifies TRUE = Enable auto-screen destruction. FALSE = Disable auto-screen destruction.
This function returns the value of the old auto-screen destruction mode setting.
If an error occurs, the function returns a value of -1, and errno is set to:
If auto-screen destruction is disabled for a particular screen while the NLM is terminating, that screen remains open with the message <Press any key to close screen >. The screen does not close and the NLM does not continue with its termination until a key is pressed on that screen.