mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +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:
|
||||
plvdi->item.pszText = _T("REG_RESOURCE_LIST");
|
||||
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:
|
||||
plvdi->item.pszText = _T("REG_NONE");
|
||||
break;
|
||||
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;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue