NWPSCfgDeletePrintServer(3nw)
NWPSCfgDeletePrintServer --
deletes print server from bindery or Directory
Synopsis
#include <nwps_cfg.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSCfgDeletePrintServer
(WORD connType,
DWORD connID,
char NWFAR
pServerName);
Description
The parameters are as follows:
- connType
-
(IN) Specifies either NWPS_BINDERY_SERVICE,
NWPS_BINDERY_SERVICE_PRE_40, or NWPS_DIRECTORY_SERVICE.
- connID
-
(IN) Specifies the connection or context identifier.
- pServerName
-
(IN) Points to the name of the print server to delete.
Return values
- 0x0000
-
Successful
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
If connType is NWPS_BINDERY_SERVICE,
NWPSCfgDeletePrintServer also deletes all of the print server's
printers, but leaves all queues intact. All configuration
information is also removed from the Bindery.
If connType is NWPS_DIRECTORY_SERVICE,
NWPSCfgDeletePrintServer removes all attributes of the print
server from the current context, but leaves printers and queues intact.
Services
Print Server
References
NWPSCfgAddPrintServer(3nw),
NWPSCfgDeletePrintServerAttr(3nw),
NWPSCfgGetFirstPrintServer(3nw),
NWPSCfgGetNextPrintServer(3nw),
NWPSCfgEndNextPrintServer(3nw),
NWPSCfgVerifyPrintServer(3nw),
NWCCOpenConnByName(3nw),
NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.