Get rid of W->A calls: QueryDosDevice

Stefan Leichter Stefan.Leichter at camLine.com
Sun Aug 31 16:13:04 CDT 2003


On Wednesday 27 August 2003 02:38, Alexandre Julliard wrote:
> Stefan Leichter <Stefan.Leichter at camLine.com> writes:
> > +        pNum  = (WCHAR* )devname + strlenW(comW);
> > +        swscanf(pNum, L"%d%n", &inst, &numsiz);
>
> You can't use wide char constants or functions in Wine, you have to
> use the WCHAR ones.

I hope this is better now

Changelog
------------
        moved implementation of QueryDosDevice from ascii to unicode


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dos_fs.diff
Type: text/x-diff
Size: 6399 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030831/d4ace19d/dos_fs.bin


More information about the wine-patches mailing list