[LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we...
authorColin Finck <colin@reactos.org>
Mon, 25 Dec 2017 13:30:47 +0000 (14:30 +0100)
committerColin Finck <colin@reactos.org>
Mon, 25 Dec 2017 13:30:47 +0000 (14:30 +0100)
commit3b93ba0f318f053b9aeff36a7c06334d8c0d0183
treee2c1b7699acc2317817d909f8e7f45756e2764f3
parenta76fdbd8cb5ea6a28b1e18213544988d767887e2
[LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we can easily test this function.

Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command.
This also fixes CORE-12794. Thanks for reporting!
modules/rostests/apitests/localspl/dll/CMakeLists.txt
modules/rostests/apitests/localspl/dll/fpSetJob.c [new file with mode: 0644]
modules/rostests/apitests/localspl/dll/main.c
modules/rostests/apitests/localspl/testlist.c
modules/rostests/apitests/localspl/tests.c
win32ss/printing/providers/localspl/jobs.c