http://bugs.winehq.org/show_bug.cgi?id=24332 Rudi Mayerhofer <rm(a)eightyfive.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rm(a)eightyfive.net --- Comment #5 from Rudi Mayerhofer <rm(a)eightyfive.net> 2010-09-10 07:39:24 CDT --- (In reply to comment #4)
(In reply to comment #3)
Created an attachment (id=30676) --> (http://bugs.winehq.org/attachment.cgi?id=30676) [details] [details] Simple GetUserDefaultLocaleName Impl
Created a quick and simple implementation for GetUserDefaultLocaleName using GetUserDefaultLCID() and LCIDToLocaleName().
Tested and working with Cataclysm Beta 12942.
Looks good. MSDN also specifies:
ERROR_INSUFFICIENT_BUFFER. A supplied buffer size was not large enough, or it was incorrectly set to NULL.
You might want to check for this? Of course MSDN is shoddy at best and it might require a test..
The ERROR_INSUFFICIENT_BUFFER should be handled by LCIDToLocaleName() already, MSDN specifies that case for LCIDToLocaleName() as well. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.