NWPSCfgDeletePrintQueueAttr(3nw)
NWPSCfgDeletePrintQueueAttr --
deletes printer queue attribute but keeps queue
Synopsis
#include <nwps_cfg.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSCfgDeletePrintQueueAttr
(WORD connType,
DWORD connID,
char NWFAR
queueName,
WORD attrID,
void NWFAR
attrValue);
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 queue name to modify.
- attrID
-
(IN) Specifies the print services attribute identifier.
- attrValue
-
(IN) Points to the attribute value.
Return values
- 0x0000
-
Successful
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
The type of the buffer pointed to by attrValue depends on the
value of attrID. If attrID is not recognized, an error
is returned.
See
NWPSCfgAddPrintQueueAttr(3nw)
for a list of legal attributes and corresponding types.
Services
Print Server
References
NWPSCfgAddPrintQueueAttr(3nw),
NWPSCfgGetFirstPrintQueueAttr(3nw),
NWPSCfgGetNextPrintQueueAttr(3nw),
NWPSCfgEndNextPrintQueueAttr(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.