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