PrtAbort

PrtAbort terminates operations to the output device identified by hDevice handle.

Syntax
PrtAbort(hDevice);

Parameters

 * hDevice (HFILE) - input : The device handle returned by PrtOpen.

Returns
None.

Remarks
Any output data that is held in buffers for the physical device driver is emptied. PrtAbort does not close the device, therefore, the presentation driver must call PrtClose after ending operations. If PrtWrite is called to write to a device whose output has been ended, the call is not honored by the system.

Presentation drivers do not use PrtClose to end an output operation. The effect of PrtClose is to output any buffered data before closing the device.

Example Code

 * 1) include 

HFILE   hDevice;  /*  The device handle returned by PrtOpen. */

PrtAbort(hDevice); 