winspool/tests: Some extra Tests for GetPrinterDriverDirectory (updated)

Detlef Riekenberg wine.dev at web.de
Mon Nov 14 13:23:09 CST 2005


Small update for the winspool - tests, with SetLastError()
Thanks Dmitry.

This test show a Bug in wine:
GetPrinterDriverDirectoryA(NULL, NULL, 1, buffer, cbBuf-1, &pcbNeeded);

The Reason is the ugly Return-Value from GetSystemDirectory():
SUCCESS: Number of Characters without the '0'
FAILURE: Number of Characters including the '0'



Changelog:
 - Display a TRACE, when the Service "spooler" is not running (NT).
 - Some extra Tests for GetPrinterDriverDirectory



-- 
By By ...
      ... Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printerdriverdirectory_v2.diff
Type: text/x-patch
Size: 5845 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051114/b2a547be/printerdriverdirectory_v2.diff


More information about the wine-patches mailing list