mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
Display REG_FULL_RESOURCE_DESCRIPTOR and REG_RESOURCE_REQUIREMENTS_LIST resource types.
Fix display of unknown resource types. svn path=/trunk/; revision=8051
This commit is contained in:
parent
e2dba7ab82
commit
008cec6fdf
1 changed files with 7 additions and 1 deletions
|
@ -284,11 +284,17 @@ static void OnGetDispInfo(NMLVDISPINFO* plvdi)
|
||||||
case REG_RESOURCE_LIST:
|
case REG_RESOURCE_LIST:
|
||||||
plvdi->item.pszText = _T("REG_RESOURCE_LIST");
|
plvdi->item.pszText = _T("REG_RESOURCE_LIST");
|
||||||
break;
|
break;
|
||||||
|
case REG_FULL_RESOURCE_DESCRIPTOR:
|
||||||
|
plvdi->item.pszText = _T("REG_FULL_RESOURCE_DESCRIPTOR");
|
||||||
|
break;
|
||||||
|
case REG_RESOURCE_REQUIREMENTS_LIST:
|
||||||
|
plvdi->item.pszText = _T("REG_RESOURCE_REQUIREMENTS_LIST");
|
||||||
|
break;
|
||||||
case REG_NONE:
|
case REG_NONE:
|
||||||
plvdi->item.pszText = _T("REG_NONE");
|
plvdi->item.pszText = _T("REG_NONE");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wsprintf(buffer, _T("unknown(%d)"), plvdi->item.lParam);
|
wsprintf(buffer, _T("unknown(0x%lx)"), ((LINE_INFO*)plvdi->item.lParam)->dwValType);
|
||||||
plvdi->item.pszText = buffer;
|
plvdi->item.pszText = buffer;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue