winedump: Support REG_EXPAND_SZ values in regf files.

This commit is contained in:
Piotr Caban 2023-08-01 14:30:57 +02:00 committed by Alexandre Julliard
parent 1727302892
commit c6c844f172

View file

@ -235,6 +235,9 @@ static BOOL dump_value(unsigned int hive_off, unsigned int off)
switch (val->data_type)
{
case REG_EXPAND_SZ:
printf("str(2):");
/* fall through */
case REG_SZ:
printf("%s", !data ? "\"\"" :
get_unicode_str((const WCHAR *)data, data_size / sizeof(WCHAR)));