mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
winedump: Support REG_DWORD values in regf files.
This commit is contained in:
parent
b17fed0255
commit
8242dbe5a0
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue