#include <nwps_cfg.h> or #include <nwpsrv.h> NWCCODE NWAPI NWPSCfgDeletePrinter (WORD connType, DWORD connID, char NWFAR pServerName, char NWFAR printerName);
NWCCODE NWAPI NWPSCfgDeletePrinter (WORD connType, DWORD connID, char NWFAR pServerName, char NWFAR printerName);
Both pServerName and printerName are NULL-terminated ASCII strings.