[LOCALSPL]
authorColin Finck <colin@reactos.org>
Sun, 16 Apr 2017 14:12:01 +0000 (14:12 +0000)
committerColin Finck <colin@reactos.org>
Sun, 16 Apr 2017 14:12:01 +0000 (14:12 +0000)
commitcb609f0b17a4b73e7bcaa1881b420a4e1becdf1b
tree0e8e7c55f4ba0ac02c48c90b8cc0e407229a263f
parentc860e2b80d195ace6a3ddc2f4203148974a82d1d
[LOCALSPL]
- Refactor LocalEnumPrinters to make it ready for supporting additional levels.
- Correctly handle all passed flags for Level 1 queries to the Local Print Provider.
- Introduce strsafe functions to LocalEnumPrinters in a way that actually makes the code smaller. To be done in other parts too.
- Use PackStrings in LocalEnumPrinters to simplify the code.
- Return the correct 3 strings in the Description field of Level 1 queries. That also introduces the "Location" field.
- Remove debug spam in _OpenEnvironment.

[SPOOLSV]
- Make use of the newly implemented AlignRpcPtr/UndoAlignRpcPtr. Fixes a test.

[WINSPOOL]
- Dismiss invalid levels already in EnumPrintersW and zero the input buffer here (but not in localspl). Verified by a test.

EnumPrintersW for Level 1 should be fully supported now.

svn path=/trunk/; revision=74324
12 files changed:
reactos/boot/bootdata/hivesys.inf
reactos/win32ss/printing/base/spoolss/printers.c
reactos/win32ss/printing/base/spoolsv/precomp.h
reactos/win32ss/printing/base/spoolsv/printers.c
reactos/win32ss/printing/base/winspool/printers.c
reactos/win32ss/printing/include/spoolss.h
reactos/win32ss/printing/providers/localspl/main.c
reactos/win32ss/printing/providers/localspl/precomp.h
reactos/win32ss/printing/providers/localspl/printers.c
reactos/win32ss/printing/providers/localspl/printprocessors.c
rostests/apitests/localspl/dll/fpEnumPrinters.c
rostests/apitests/winspool/EnumPrinters.c