Description:
SplPdTermPort terminates a port on behalf of the spooler.
#include <os2.h> HFILE hfile; /* The handle to an open file. */ PSZ pszPortName; /* The name of the port to be terminated (closed). */ APIERR rc; /* Return codes. */ rc = SplPdTermPort(hfile, pszPortName);