Something went wrong. Try again.
Reactos
Something went wrong. Try again.
[PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA. master
* 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
Author Colin Finck Date (Dec 10, 2017, 11:28 AM UTC) Commit 3a69fd4e 3a69fd4e966feb867fd730442a971041ade3965a Parent 3449296f 3449296f7bc910db69a80f782d4a86b8f0eea9b7