msi: WriteRegistryData advoid NULL data

Alexandre Julliard julliard at
Tue Mar 22 14:44:05 CST 2005

Aric Stewart <aric at> writes:

> Win9x RegSetValueExW does not deal with NULL data. so make the data an
> empty string instead of null

The value is freed later on so this will cause trouble. A better fix
is probably to not specify REG_SZ if you are not passing a valid

Alexandre Julliard
julliard at

More information about the wine-devel mailing list