dlls/setupapi/parser.c

Ge van Geldorp gvg at reactos.com
Thu Oct 7 02:39:50 CDT 2004


> From: Alexandre Julliard
> 
> Ge van Geldorp <gvg at reactos.com> writes:
> 
> > Changelog:
> >   Ge van Geldorp <gvg at reactos.com>
> >   - GetFullPathName returns length without nul byte
> 
> If it does that's a bug, it's supposed to count the 
> terminating null. Or do you have evidence that it doesn't do 
> that on Windows?

No, I misread the MSDN documentation. Return value is length without nul
char if the buffer is large enough but length including nul char if the
buffer is not large enough. I'd like to have a word with the designer of
that API....

Ge van Geldorp.




More information about the wine-devel mailing list