NWPSCfgVerifyPrintQueue(3nw)


NWPSCfgVerifyPrintQueue -- searches for and verifies name of queue in list

Synopsis

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

NWCCODE NWAPI NWPSCfgVerifyPrintQueue (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 print queue to verify.

Return values

0x0000
Successful

0x7761
NWPSE_NO_SUCH_LIST_ENTRY

0x7763
NWPSE_WRONG_CLASS_LIST_ENTRY (Directory Services only)

-1
General Error

other
Bindery or Directory Services Errors

Services

Print Server

References

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