[PATCH] Add undocumented function to unify MultiByteToWideChar conversation
Alexey Fisher
bug-track at fisher-privat.net
Thu Apr 28 02:44:35 CDT 2011
Am Donnerstag, den 28.04.2011, 09:25 +0200 schrieb Marcus Meissner:
> On Thu, Apr 28, 2011 at 09:03:51AM +0200, Alexey Fisher wrote:
> > Am Donnerstag, den 28.04.2011, 10:49 +0400 schrieb Nikolay Sivov:
> > > On 4/28/2011 10:45, Alexey Fisher wrote:
> > > > MultiByteToWideChar are called directly only from one function. All other
> > > > colls in comctl32 go thrue this function.
> > >
> > > > It was recovered with from dissassambled code.
> > > This is not allowed in Wine development. All you can use is tests, but
> > > after this patch you're most likely banned (from comctl32 changes at least).
> >
> > Ouch... bad start.
> > Hmm... but this code is present in wine-comctl32, it just spread in
> > different parts.
>
> We do not need to follow the original comctl32 bytewise.
>
> You will find however functions called "head_strdupA2W" occasionaly
>
> eg. dlls/wininet/internet.h:heap_strdupWtoA()
> and heap_strdupAtoW()
>
> if you need to factor out such common tasks as string allocation + conversion.
Thank you for the tip,
i'll do some clean job in comctl32, if i'm not banned :D
More information about the wine-devel
mailing list