Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> fsqueueadd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSQueueAdd()
------------------------------------------------------------------------------
 Purpose:
 Add a queue to a file server.

 Syntax:
 bResult = FSQueueAdd(lpszQueue,lpszPath,iType)

 Parameters:
 lpszQueue The name of the queue.
 lpszPath  The path for the queue.
 iType     The object type.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 FSQueAdd()

 Description:
 FSQueueAdd() adds a new print queue to the NetWare bindery.
 lpszQueue is the name of the queue and lpszPath is the path where the queue
 files are to be stored. If this argument is passed as an empty (Null)
 string, FSQueueAdd() assumes SYS:SYSTEM. iType is the bindery object type
 and FSQueueAdd() assumes type 3 (print queue) if it is passed as the
 constant NOVDEFINT.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To create a new print queue called LASER:
 if ( FSQueueAdd( "LASER" ) )
    ? "Print queue LASER has been created"
 endif

 Notes:
 FSQueueAdd() requires Supervisor rights to create a new object. The
 Q_DIRECTORY, Q_SERVERS, Q_OPERATORS and Q_USERS properties are added
 automatically. The Supervisor is added to Q_OPERATORS and group EVERYONE is
 added to Q_USERS.

See Also: FSQueueDelete() QueNameChange()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson