Re: [PATCH 2/2] winealsa.drv: Optionally load extra ALSA device names from the registry
14 Feb
2012
14 Feb
'12
7:30 p.m.
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
5053
Age (days ago)
5053
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard