winspool: ERROR_INVALID_NAME in GetDefaultPrinter() ?

Stefan Leichter Stefan.Leichter at
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:
> I get the "ERROR_FILE_NOT_FOUND" on win98se, winme, w2k and win2003 in
> this Situation.

Hello Detlef,

i thing the answer is

Bye Stefan

More information about the wine-devel mailing list