regedit: Display REG_NONE values.

REG_NONE values are displayed in hexadecimal.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-03-29 21:56:21 +11:00 committed by Alexandre Julliard
parent 32714ee447
commit 5b3681f62d
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType,
ListView_SetItemTextW(hwndLV, index, 2, buf); ListView_SetItemTextW(hwndLV, index, 2, buf);
} }
break; break;
case REG_BINARY: { case REG_BINARY:
case REG_NONE: {
unsigned int i; unsigned int i;
LPBYTE pData = ValBuf; LPBYTE pData = ValBuf;
LPWSTR strBinary = HeapAlloc(GetProcessHeap(), 0, dwCount * sizeof(WCHAR) * 3 + sizeof(WCHAR)); LPWSTR strBinary = HeapAlloc(GetProcessHeap(), 0, dwCount * sizeof(WCHAR) * 3 + sizeof(WCHAR));