winedump: Support REG_DWORD values in regf files.

This commit is contained in:
Piotr Caban 2023-08-01 14:06:28 +02:00 committed by Alexandre Julliard
parent b17fed0255
commit 8242dbe5a0

View file

@ -239,6 +239,10 @@ static BOOL dump_value(unsigned int hive_off, unsigned int off)
printf("%s", !data ? "" : printf("%s", !data ? "" :
get_unicode_str((const WCHAR *)data, data_size / sizeof(WCHAR))); get_unicode_str((const WCHAR *)data, data_size / sizeof(WCHAR)));
break; break;
case REG_DWORD:
assert(data_size == sizeof(DWORD));
printf("dword:%08x", *(unsigned int *)data);
break;
default: default:
printf("unhandled data type %d", val->data_type); printf("unhandled data type %d", val->data_type);
} }