pcbWritten (PULONG) - output
This value can be updated even when an unsuccessful return code is given, if some of the data was sent to the printer.