Janitorial W->A cleanup objects/metafile.c dlls/gdi/mfdrv/init.c

Dmitry Timoshkov dmitry at baikal.ru
Mon Mar 24 04:47:22 CST 2003

"Tony Lambregts" <tony_lambregts at telusplanet.net> wrote:

> > MultiByteToWideChar uses Rtl* functions internally and using ntdll APIs
> > directly should give a slightly better performance.
> > 
> > RtlCreateUnicodeStringFromAsciiz also is supposed to hide the internals
> > of the conversion and help to avoid bugs and typos.
> > 
> So the trade off is speed vs potential errors. hmm...

Actually using RtlCreateUnicodeStringFromAsciiz should be faster than
calling MultiByteToWideChar(), HeapAlloc(), MultiByteToWideChar().


More information about the wine-devel mailing list