NWPSCfgGetNextPrintQueue(3nw)


NWPSCfgGetNextPrintQueue -- retrieves next print queue name from list

Synopsis

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

NWCCODE NWAPI NWPSCfgGetNextPrintQueue (NWPSListHandle handle, char NWFAR *queueName);

Description

The parameters are as follows:

handle
(IN) Specifies the value returned from NWPSCfgGetFirstPrintQueue.

queueName
(OUT) Points to the name of the next print queue found. Its maximum length is MAX_DN_BYTES for Directory Services; 48 characters for other services.

Return values

0x0000
Successful

0x7762
NWPSE_END_OF_LIST

-1
General Error

other
Bindery or Directory Services Errors

Notices

If the handle is zero, NWPSE_END_OF_LIST is returned, indicating the end of the list of print queues.

Services

Print Server

References

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