The sbputerm function must be called when the application terminates. It frees the DL-BASE/DMOD resources used by the application.
For Win32, do not call sbputerm from an entry point in a detached DLL process because it may cause a deadlock inside the SNADMOD.DLL.
VOID sbputerm(void);
VOID FAR sbputerm(void);