PrtAbort: Difference between revisions
Appearance
mNo edit summary |
|||
Line 1: | Line 1: | ||
PrtAbort terminates operations to the output device identified by hDevice handle. | PrtAbort terminates operations to the output device identified by hDevice handle. | ||
== Syntax == | == Syntax == | ||
PrtAbort(hDevice) | PrtAbort(hDevice) | ||
== Parameters == | == Parameters == | ||
; hDevice (HFILE) - input : The device handle returned by PrtOpen. | ;hDevice (HFILE) - input: The device handle returned by [[PrtOpen]]. | ||
== Returns == | == Returns == | ||
None. | None. | ||
== Remarks == | == 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. | 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. | |||
[[Category:Prt]] | [[Category:Prt]] |
Latest revision as of 16:05, 30 May 2021
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.