NWPSCfgGetNextPrinterAttr(3nw)
NWPSCfgGetNextPrinterAttr --
retrieves next printer attribute from list
Synopsis
#include <nwps_cfg.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSCfgGetNextPrinterAttr
(NWPSListHandle handle,
char NWFAR
printerName,
void NWFAR
attrValue);
Description
The parameters are as follows:
- handle
-
(IN) Specifies the value returned from NWPSCfgGetFirstPrinterAttr.
- printerName
-
(IN) Points to the name of the printer.
- attrValue
-
(OUT) Points to the buffer in which to place the next attribute found.
Its maximum length is MAX_DN_BYTES + sizeof(NWPSTypedName).
Return values
- 0x0000
-
Successful
- 0x7760
-
NWPSE_END_OF_ATTR_LIST
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
If the handle is zero, NWPSE_END_OF_ATTR_LIST is returned,
indicating the end of the list of printer attributes.
printerName is optional when getting attributes for the Bindery.
In this case, the passed value should be NULL.
Services
Print Server
References
NWPSCfgGetFirstPrinterAttr(3nw),
NWPSCfgEndNextPrinterAttr(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.