http://bugs.winehq.org/show_bug.cgi?id=16692
--- Comment #11 from Juan Lang juan.lang@gmail.com 2012-04-06 11:28:36 CDT --- (In reply to comment #10)
The OPENFILENAMEA structure given to GetSaveFileNameA() have a nMaxFile of 0 and NULL lpstrFile.
According to what I found on MSDN this does not appear to be valid values. "The GetOpenFileName and GetSaveFileName functions return FALSE if the buffer is too small to contain the file information. The buffer should be at least 256 characters long." [1]
Interesting. Should be relatively simple to write a test case for GetSaveFileNameA. Care to give it a go?