Skip to content

Commit

Permalink
Removed unusable code
Browse files Browse the repository at this point in the history
  • Loading branch information
DartVanya committed Aug 8, 2024
1 parent dae1292 commit 2d7e303
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions SystemInformer/prpghndl.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ VOID PhpInitializeHandleMenu(
_Inout_ PPH_HANDLES_CONTEXT HandlesContext
)
{
//PPH_EMENU_ITEM item;
KPH_LEVEL level;

if (NumberOfHandles == 0)
Expand All @@ -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))
{
Expand Down

0 comments on commit 2d7e303

Please sign in to comment.