Re: kernel32: Add LCMapStringEx implementation and test it reusing tests from LCMapStringW (try 2)

2012-02-05 Thread Dmitry Timoshkov
André Hentschel wrote: > +@ stdcall LCMapStringEx(long long wstr long ptr long ptr ptr long) ... > +INT WINAPI LCMapStringEx(LPCWSTR name, DWORD flags, LPCWSTR src, INT srclen, > LPWSTR dst, INT dstlen, > + LPNLSVERSIONINFO version, LPVOID reserved, LPARAM > lparam) .sp

Re: kernel32: Add LCMapStringEx implementation and test it reusing tests from LCMapStringW

2012-02-05 Thread Dmitry Timoshkov
André Hentschel wrote: > > Also just duplicating LCMapString tests is not a very good idea, it would be > > better to find a way to share the test data. > > that's not that easy as the parameter count is different, i would need to use > macros and i dislike that idea. Since you are forwarding

Re: kernel32: Add LCMapStringEx implementation and test it reusing tests from LCMapStringW

2012-02-05 Thread André Hentschel
Am 30.01.2012 06:16, schrieb Dmitry Timoshkov: > André Hentschel wrote: > >> +/* Locale name special values */ >> +#define LOCALE_NAME_INVARIANT L"" >> +#define LOCALE_NAME_MAX_LENGTH 85 >> +#define LOCALE_NAME_SYSTEM_DEFAULT L"!sys-default-locale" >> +#define LOCALE_NAME_USER_DEFAULT

Re: kernel32: Add LCMapStringEx implementation and test it reusing tests from LCMapStringW

2012-01-29 Thread Dmitry Timoshkov
André Hentschel wrote: > +/* Locale name special values */ > +#define LOCALE_NAME_INVARIANT L"" > +#define LOCALE_NAME_MAX_LENGTH 85 > +#define LOCALE_NAME_SYSTEM_DEFAULT L"!sys-default-locale" > +#define LOCALE_NAME_USER_DEFAULTNULL Have a look how unicode constants are defined