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> fsqueadd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSQueAdd()
------------------------------------------------------------------------------
 Purpose:
 Add a queue to a file server.

 Syntax:
 bResult = FSQueAdd(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).

 Description:
 FSQueAdd() 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, FSQueAdd() assumes SYS:SYSTEM. iType is the bindery object type
 and FSQueAdd() 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 ( FSQueAdd( "LASER" ) )
    ? "Print queue LASER has been created"
 endif

 Notes:
 FSQueAdd() 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: FSQueDel() QueNmeChg()

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