Description:
SplPdClose is an API exported by port drivers. It is called during PrtClose to close the device connection and frees the handle.
#define INCL_SPL #define INCL_SPLBIDI #include <os2.h> HFILE hDevice; /* Handle from SplPdOpen. */ ULONG rc; /* Return codes. */ rc = SplPdClose(hDevice);