winspool: ERROR_INVALID_NAME in GetDefaultPrinter() ?

Detlef Riekenberg wine.dev at web.de
Sun Aug 28 07:09:33 CDT 2005


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.


-- 
By By ...
      ... Detlef




More information about the wine-devel mailing list