[WINSPOOL] backups/colins-printing-for-freedom@73041
authorColin Finck <colin@reactos.org>
Fri, 15 Jan 2016 04:36:31 +0000 (04:36 +0000)
committerColin Finck <colin@reactos.org>
Fri, 15 Jan 2016 04:36:31 +0000 (04:36 +0000)
commit5c6fa5db16548d44baa41d4a695aab62cc687b59
treeb15fe24de8a44384454fdc5b7fa2e20fef3c2746
parent866bb7c041c730acd0ef4ad442ccab79549a9e83
[WINSPOOL]
Additional tests show that IsValidDevmodeA/W actually does a lot more than I previously thought.
Implement the missing known features and test this little function to death in winspool_apitest to cover each and every possible call.
They pass on ReactOS, Windows Server 2003 and Windows 8.1.

Credits and many thanks go to Mark Jansen for the additional tests!

svn path=/branches/colins-printing-for-freedom/; revision=70595
reactos/win32ss/printing/base/winspool/devmode.c
rostests/apitests/winspool/IsValidDevmode.c