Commit e2414b55 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winedump: Support REG_QWORD values in regf files.

parent 49c40d50
...@@ -258,9 +258,10 @@ static BOOL dump_value(unsigned int hive_off, unsigned int off) ...@@ -258,9 +258,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_QWORD:
case REG_BINARY: case REG_BINARY:
printf("hex:"); printf("hex%s:", val->data_type == REG_QWORD ? "(b)" : "");
len += 4; /* strlen("hex:") */ len += 4 + (val->data_type == REG_QWORD ? 3 : 0);
for (i = 0; i < data_size; i++) for (i = 0; i < data_size; i++)
{ {
if (i) if (i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment