Resend: Implements languagegroups functions

Maxime Bellengé maxime.bellenge at laposte.net
Sat Apr 5 10:14:54 CST 2003


Resend with the changes asked by Mike Hearn and Dimitrie O. Paun
I hope it is correct this time :), sorry for the trouble.

Max

---

This patch implements the languagegroups functions.
As I have access to a French and English windows 2k+, I set 
the resources accordingly for the kernel32 resources. However, as
I don't know the resources for other languages, I have put English
resources in the other nls files. People will have to change them to the
correct values. 
As suggested by alexandre, I chose some unused resource ids because even
win2k and winxp don't store them the same way and both of them
conflicted with the actual kernel32 resources from wine.

Moreover, The registry entries added to winedefault.reg are taken from
a "western europe & US" windows, so people from other countries will
have to tweak them because I can't guess them.
(HKLM\System\CurrentControlSet\Control\Nls\Language).


I have tested this patch against win2k and winxp with word xp. It has
the same behavior as win2k+.

a+

Max

Changelog:
  * Implements EmumSystemLanguageGroups{A|W}
  * Implements EnumLanguageGroupLocale{A|W}
  * Implements IsValidLanguageGroup
-- 
Maxime Bellengé <maxime.bellenge at laposte.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: languagegroups.patch
Type: text/x-patch
Size: 166553 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030405/ed64edd1/languagegroups.bin


More information about the wine-patches mailing list