reactos/win32ss/printing/base/winspool
Colin Finck 3a69fd4e96 [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA.
* Pass the correct handle to _RpcGetPrinter in GetPrinterW.
* Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW.
* Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure.
  The Printing code should probably be changed similarly in a future commit.

Should fix CORE-14072
2017-12-10 12:28:08 +01:00
..
CMakeLists.txt [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
devmode.c [WINSPOOL] Add tracing to all exported APIs. 2017-12-09 14:14:05 +01:00
forms.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
jobs.c [WINSPOOL] Add tracing to all exported APIs. 2017-12-09 14:14:05 +01:00
main.c [WINSPOOL] Add tracing to all exported APIs. 2017-12-09 14:14:05 +01:00
monitors.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
ports.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
precomp.h
printerdata.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
printerdrivers.c [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA. 2017-12-10 12:28:08 +01:00
printers.c [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA. 2017-12-10 12:28:08 +01:00
printprocessors.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
printproviders.c [WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs. 2017-12-09 14:14:05 +01:00
winspool.rc
winspool.spec [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA. 2017-12-10 12:28:08 +01:00