[WINSPOOL]
authorColin Finck <colin@reactos.org>
Tue, 23 Jun 2015 13:46:14 +0000 (13:46 +0000)
committerColin Finck <colin@reactos.org>
Tue, 23 Jun 2015 13:46:14 +0000 (13:46 +0000)
Don't rely on pure magic to transmit the error code of the RPC call to the calling application. Instead use SetLastError on the return value of the call (this is what all these DWORD return values are for!)

[SPOOLSV]
For every RPC function, return the error code of the called Spooler Router function instead of the error code of RpcRevertToSelf.

[LOCALSPL, WINPRINT]
- Change the code structure in every function called from the Spooler Router to always set an error code, especially ERROR_SUCCESS on success.
- Store Attributes and Status values for a local printer.
- Fail in LocalAddJob if an invalid handle has been supplied or the printer is set to do direct printing.

svn path=/branches/colins-printing-for-freedom/; revision=68247


No differences found