mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
disabled properties for DLLs and Mapped Files
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1333 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -322,9 +322,9 @@ namespace ProcessHacker.Components
|
||||
public static bool HasHandleProperties(string type)
|
||||
{
|
||||
if (type == "Token" || type == "Process" || type == "File" ||
|
||||
type == "Job" ||
|
||||
type == "Event" || type == "Mutant" || type == "Section" ||
|
||||
type == "Semaphore" ||
|
||||
type == "DLL" || type == "Mapped File")
|
||||
type == "Semaphore")
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
@@ -234,6 +234,11 @@ namespace ProcessHacker
|
||||
|
||||
private void propertiesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
string type = listHandles.SelectedItems[0].SubItems[1].Text;
|
||||
|
||||
if (!HandleList.HasHandleProperties(type))
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
HandleList.ShowHandleProperties(
|
||||
|
||||
Reference in New Issue
Block a user