NWPSCfgEndNextPrinter(3nw)


NWPSCfgEndNextPrinter -- frees up memory and performs other cleanups associated with scan started by NWPSCfgGetFirstPrinter

Synopsis

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

NWCCODE NWAPI NWPSCfgEndNextPrinter (NWPSListHandle handle);

Description

The parameters are as follows:

handle
(IN) Specifies the value returned from NWPSCfgGetFirstPrinter.

Return values

0x0000
Successful

-1
General Error

other
Bindery Error

Notices

NWPSCfgEndNextPrinter is required only if the handle returned from NWPSCfgGetFirstPrinter is non-zero. Calling NWPSCfgEndNextPrinter with a handle of zero has no effect.

Services

Print Server

References

NWPSCfgGetFirstPrinter(3nw), NWPSCfgGetNextPrinter(3nw), NWPSCfgVerifyPrinter(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.