fixing that we need to check all the callers in Wine, there are manyok, I'll take a look at that
places where we don't expect that behavior.
yes, MSDN is not very clear about what is done when the buffer is too small (actually writting the string or not... which it doesn't when the buffer is too small, in opposition to GetModuleFileName)Also the GetLongPathNameW call won't do the right for a short buffer either.
I only wish that MS could at least be consistent in their API definition, but that's may be too much to be asked <g>
A+
-- Eric Pouech
