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

Detlef Riekenberg at
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'

 - 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 :

More information about the wine-patches mailing list