dlls/kernel32/path.c: Fix return values for UNC pathnames in GetLongPathNameW

Paul Vriens paul.vriens.wine at gmail.com
Tue Dec 1 04:52:08 CST 2009

On 12/01/2009 08:44 AM, Alexandre Hardy wrote:
> +    length = (*pGetLongPathNameW)(unc_path,NULL,0);

Why the brackets around *pGetLongPathNameW?

> +    ok(length>0,"GetLongPathNameA: Failed on UNC Pathname (length=%d)\n",length);

You called the W-function so the ok text needs to be adjusted. You also 
know the length so why not check explicitly?



More information about the wine-devel mailing list