diff --git a/SystemInformer/prpghndl.c b/SystemInformer/prpghndl.c index 1c8860c91125..fd9e97fde0fb 100644 --- a/SystemInformer/prpghndl.c +++ b/SystemInformer/prpghndl.c @@ -81,7 +81,6 @@ VOID PhpInitializeHandleMenu( _Inout_ PPH_HANDLES_CONTEXT HandlesContext ) { - //PPH_EMENU_ITEM item; KPH_LEVEL level; if (NumberOfHandles == 0) @@ -106,18 +105,8 @@ VOID PhpInitializeHandleMenu( PhEnableEMenuItem(Menu, ID_HANDLE_COPY, TRUE); } - // Remove irrelevant menu items. - level = KsiLevel(); - //if (level >= KphLevelMed) - //{ - // if (item = PhFindEMenuItem(Menu, 0, NULL, ID_HANDLE_PROTECTED)) - // PhDestroyEMenuItem(item); - // if (item = PhFindEMenuItem(Menu, 0, NULL, ID_HANDLE_INHERIT)) - // PhDestroyEMenuItem(item); - //} - // Protected, Inherit if (NumberOfHandles == 1 && (level >= KphLevelMed)) {