Description:
PrtClose closes the output device identified by hDevice and releases the spooler port semaphore. It also calls the port driver for port termination.
#include <os2.h> HFILE hDevice; /* The device handle returned by PrtOpen. */ ULONG rc; /* Return codes. */ rc = PrtClose(hDevice);