Description:

This function is called to remove a printer port.

Note: There is currently no support for using this API to remotely remove a printer port.

#define INCL_SPL
#define INCL_SPLBIDI
#include <os2.h>

PSZ      pszComputerName;  /*  Name of computer where port is to be removed. */
PSZ      pszPortName;      /*  Name of printer port to remove. */
ULONG    rc;               /*  Return codes. */

rc = SplDeletePort(pszComputerName, pszPortName);


[Back: SplDeletePort]
[Next: SplDeletePort Parameter - pszComputerName]