## Presentation Device Driver Reference for OS/2

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

### SplPdClose Return Value - rc

rc (ULONG) - returns Return codes.

0 Success

6(ERROR_INVALID_HANDLE) Invalid handle given. For all error codes except this one, the SplPdClose must be reissued.

29(ERROR_WRITE_FAULT) Failure attempting to write buffered data to the device, or the BIDI_ENDJOB bracket failed to be transmitted to the printer.

Note: SplPdClose performs an implicit SplPdSet(BIDI_ENDJOB) if BIDI_ STARTJOB has already been issued, unless the job has been aborted due to an offline printer. The port driver should call PrtSet(BIDI_ENDJOB) before closing the connection to the port.