http://bugs.winehq.org/show_bug.cgi?id=16692
--- Comment #13 from Jan-Peter Nilsson peppe@bsnet.se 2012-04-12 01:04:55 CDT --- I played a bit with GetSaveFileNameA on Windows XP, it seems that giving a nMaxFile/lpstrFile combination that is not large enough to contain the selected path will as expected return false. This is using the same value for Flags as TESCS did.
However giving it a zero/null nMaxFile/lpstrFile I get it to return true. In this case lpstrFile is still null after, so I have no idea how you would actually get the selected filename. I can't get to that code at the moment though, can't power that computer up, possibly broken PSU.