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> quenmechg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 QueNmeChg()
------------------------------------------------------------------------------
 Purpose:
 Rename a queue.

 Syntax:
 bResult = QueNmeChg( lpszOldName, lpszNewName )

 Parameters:
 lpszOldName The existing name of the print queue
 lpszNewName The new name for the print queue.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 QueNmeChg() renames an existing print queue from the old name
 specified by lpszOldName to the new name lpszNewName.

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

 Example:
 // To rename print queue LASER to HPLASERJET:
 if ( QueNmeChg( "LASER", "HPLASERJET" ) )
    ? "Print queue LASER is now renamed to HPLASERJET"
 endif

 Notes:
 This function requires Supervisor rights.

See Also: FSQueAdd() FSQueDel()

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