winspool/tests: [1/3] Tests for GetPrintProcessorDirectory

Alexandre Julliard julliard at winehq.org
Thu Jun 1 04:15:21 CDT 2006


Detlef Riekenberg <wine.dev at web.de> writes:

> +    SetLastError(0xdeadbeef);
> +    res = GetPrintProcessorDirectoryA(NULL, NULL, 1, NULL, 0, &cbBuf);
> +    if(!res && ( (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) ||
> +                 (GetLastError() == 0xdeadbeef) )) {
> +        trace("Not implemented yet\n");
> +        return;
> +    }

Unless there really is a Windows version that fails here, this test is
wrong. Things that are not implemented yet in Wine should be marked
with todo_wine, not ignored.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list