winspool: ERROR_INVALID_NAME in GetDefaultPrinter() ?

Stefan Leichter Stefan.Leichter at camLine.com
Sun Aug 28 10:55:33 CDT 2005


Am Sonntag, 28. August 2005 14:09 schrieb Detlef Riekenberg:
> Hi.
>
> From which configuration does the "ERROR_INVALID_NAME" came from,
> when calling GetDefaultPrinter(NULL, &size) and no Printer is installed?
> This Test is Present in the current "dlls/winspool/tests/info.c".
>
> MSDN told us, that we receive an "ERROR_FILE_NOT_FOUND", if no Printer
> is installed:
>
> http://msdn.microsoft.com/library/en-us/gdi/prntspol_0hma.asp
>
> I get the "ERROR_FILE_NOT_FOUND" on win98se, winme, w2k and win2003 in
> this Situation.

Hello Detlef,

i thing the answer is
http://test.winehq.org/data/200406151000/2000_AshleyGordon/
winspool.drv:info.txt

Bye Stefan



More information about the wine-devel mailing list