[PATCH] winmm: RegQueryValueExW wants the size in bytes, not the size in characters.

Carlo Bramini carlo.bramix at libero.it
Mon Dec 26 09:25:22 CST 2016


There is a bug into dlls/winmm/playsound.c
Function RegQueryValueExW accepts the size in bytes as parameter, not the size 
in characters.

See:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724911(v=vs.85).
aspx

Sincerely.

Signed-off-by: Carlo Bramini <carlo_bramini at users.sourceforge.net> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: playsound.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20161226/823f4d8d/attachment.txt>


More information about the wine-patches mailing list