NWDetachQueueServerFromQueue(3nw)


NWDetachQueueServerFromQueue -- removes the requesting station from the queue's list of active queue servers

Synopsis

   #include <nwqms.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWDetachQueueServerFromQueue (NWCONN_HANDLE conn, nuint32 queueID);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

queueID
(IN) Specifies the queue's bindery object ID from which the calling station is being detached.

Return values

0x0000
SUCCESSFUL

0x8999
DIRECTORY_FULL

0x89D0
ERR_Q_IO_FAILURE

0x89D1
ERR_NO_QUEUE

0x89D2
ERR_NO_Q_SERVER

0x89D3
ERR_NO_Q_RIGHTS

0x89D4
ERR_QUEUE_FULL

0x89D5
ERR_NO_Q_JOB

0x89D6
ERR_NO_Q_JOB_RIGHTS

0x89D7
ERR_Q_IN_SERVICE

0x89D8
ERR_Q_NOT_ACTIVE

0x89D9
ERR_Q_STN_NOT_SERVER

0x89DA
ERR_Q_HALTED

0x89DB
ERR_Q_MAX_SERVERS

0x89FF
Failure

Notices

If the requesting workstation is servicing a job, the service is automatically aborted.

Only a workstation previously attached to the queue as a queue server can call NWDetachQueueServerFromQueue.

Services

Queue Management

NCP calls

0x2222 23 112
Detach Queue Server From Queue

0x2222 23 112
Detach Queue Server From Queue

References

NWAttachQueueServerToQueue(3nw), NWReadQueueServerCurrentStatus2(3nw), NWSetQueueServerCurrentStatus(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.