NWPSCfgDeletePrintQueue(3nw)


NWPSCfgDeletePrintQueue -- deletes print queue from print system object

Synopsis

   #include <nwps_cfg.h> 
   or 
   #include <nwpsrv.h> 
   

NWCCODE NWAPI NWPSCfgDeletePrintQueue (WORD connType, DWORD connID, char NWFAR *queueName);

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.

queueName
(IN) Points to the name of the queue to delete.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Notices

Any reference to the queue is also removed from printers and print servers within the same context as the print queue.

Services

Print Server

References

NWPSCfgAddPrintQueue(3nw), NWPSCfgDeletePrintQueueAttr(3nw), NWPSCfgGetFirstPrintQueue(3nw), NWPSCfgGetNextPrintQueue(3nw), NWPSCfgEndNextPrintQueue(3nw), NWPSCfgVerifyPrintQueue(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.