reactos/reactos/win32ss/printing/providers/localspl
Colin Finck 4c022adf19 [PRINTING]
Apply a consistent style to all similar functions:
- Spoolss functions don't necessarily set ERROR_SUCCESS. Check the boolean return value instead and only query the error code on failure.
- Use AlignRpcPtr and UndoAlignRpcPtr wherever feasible.
- Use one static function per level that can be called from both Get* and Enum* APIs.
- Use PackStrings in all functions that return structures with strings.
- Add TRACEs to all non-static functions in localspl.
- Pass a double pointer to all Marshalling functions and advance to the next structure there.
- Perform sanity checks and return the right error codes in a Windows-compatible way.
- Return TRUE when an Enum* API has no elements to enumerate.

Also fixes CORE-12793

svn path=/trunk/; revision=75287
2017-07-05 15:29:13 +00:00
..
CMakeLists.txt [PRINTING] 2017-06-19 14:18:19 +00:00
jobs.c [PRINTING] 2017-07-05 15:29:13 +00:00
localspl.rc
localspl.spec
main.c [PRINTING] 2017-07-05 15:29:13 +00:00
monitors.c [PRINTING] 2017-07-05 15:29:13 +00:00
ports.c [PRINTING] 2017-07-05 15:29:13 +00:00
precomp.h [PRINTING] 2017-07-05 15:29:13 +00:00
printerdata.c [PRINTING] 2017-07-05 15:29:13 +00:00
printers.c [PRINTING] 2017-07-05 15:29:13 +00:00
printingthread.c [PRINTING] 2017-07-05 15:29:13 +00:00
printprocessors.c [PRINTING] 2017-07-05 15:29:13 +00:00
tools.c [PRINTING] 2017-06-19 14:18:19 +00:00