Andrew Eikum <aeikum(a)codeweavers.com> writes:
> + while(*p){
> + if(alsa_try_open(p, stream)){
> + if(ids && keys){
> + len = MultiByteToWideChar(CP_UNIXCP, 0, p, -1, NULL, 0);
> + ids[*num] = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
> + MultiByteToWideChar(CP_UNIXCP, 0, p, -1, ids[*num], len);
The registry is stored in Unicode, the conversion should be the other
way around.
--
Alexandre Julliard
julliard(a)winehq.org