[LOCALSPL, WINPRINT]
authorColin Finck <colin@reactos.org>
Fri, 3 Jul 2015 09:06:35 +0000 (09:06 +0000)
committerColin Finck <colin@reactos.org>
Fri, 3 Jul 2015 09:06:35 +0000 (09:06 +0000)
commit259a6572ae11eaaed2bf4b329650f86f61e23b03
treed97b50abe6e4a9c06376c67b5f0fbe92e78b6136
parent86dbf40cd1532a3975e81de5124195798271889d
[LOCALSPL, WINPRINT]
Bugfix: All functions returning multiple elements must only set *pcReturned to the element count on success!
Currently, this was also done when querying the needed buffer size. But for this case, *pcReturned just has to be zeroed.

svn path=/branches/colins-printing-for-freedom/; revision=68335
reactos/win32ss/printing/processors/winprint/main.c
reactos/win32ss/printing/providers/localspl/jobs.c
reactos/win32ss/printing/providers/localspl/printers.c
reactos/win32ss/printing/providers/localspl/printprocessors.c