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> capcancel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapCancel()
------------------------------------------------------------------------------
 Purpose:
 Cancel print capture.

 Syntax:
 bResult = CapCancel( iLPTNum )

 Parameters:
 iLPTNum The LPT device. 1=LPT1: 2=LPT2: 3=LPT3:

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 CapCancel() returns TRUE if the capturing of the LPT device specified by
 iLPTNum is cancelled successfully. Any print data captured since
 CapStart() was called is lost and capturing of the specified LPT device
 is ended.

 Returns FALSE if an error occurs and the capturing is not cancelled.

 Example:
 // To cancel the print capturing of LPT1:
 if ( CapCancel(1) )
    ? "Print capturing of LPT1: has been cancelled"
 endif

See Also: CapEnd() CapFlush() CapStart()

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