From: Alexandre Julliard
Ge van Geldorp gvg@reactos.com writes:
Changelog: Ge van Geldorp gvg@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.