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> capbannmeget() / capbannmeset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapBanNmeGet() / CapBanNmeSet()
------------------------------------------------------------------------------
 Purpose:
 Get / set the capture banner name.

 Syntax:
 lpszBanNme = CapBanNmeGet()
 lpszBanNme = CapBanNmeSet( lpszNewBannerName )

 Parameters:
 lpszNewBannerName The new banner name.

 Returns:
 A character string of length 12.

 Description:
 CapBanNmeGet() returns the name printed on banners preceding print
 jobs.

 CapBanNmeSet() sets the name to the specified value lpszNewBannerName
 and returns the name that was previously set.

 Returns an empty string if there is no banner text set, or if an error
 occurs.

 Example:
 // To set the banner name to the current user's name:
 lpszUserName = WSLogNmeGet( WSConNumGet() )
 lpszOldBannerName = CapBanNmeSet(lpszUserName)
 lpszNewBannerName = CapBanNmeGet()
 if ( !empty( lpszNewBannerName ) )
    ? "Banner name set to", lpszNewBannerName
 endif

 Notes:
 If an empty string is returned, check NWErrorGet().

See Also: CapBanTxtGet() / CapBanTxtSet() CapFrmNmeGet() / CapFrmNmeSet() CapStart()

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