## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SplPdAbortDoc - Parameters

hDevice (HFILE) - input Handle from SplPdOpen.

pchData (PVOID) - input Pointer to data buffer to write after flushing all current write data.

cbData (ULONG) - input Length of data, in bytes.

May be 0 (zero) for no data to write.

ulFlags (ULONG) - input Abort processing flags.

Value is as follows:

FLG_COMPLETE_DATA - 0x00000001 If set, then all prior data for this job must be sent to the printer.

rc (ULONG) - returns Return codes.

0 Success

6(ERROR_INVALID_HANDLE) Invalid handle given.

29(ERROR_WRITE_FAULT) Failure attempting to write reset sequence to the device.