* fixed MinVersion for ExtendedTools

* removed processid option from cmdmode

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4119 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2011-03-02 08:51:06 +00:00
parent afe6b76c74
commit 72086e976c
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -23,10 +23,8 @@
#include <phapp.h>
static HWND CommandModeWindowHandle;
static HANDLE OptionProcessId = NULL;
#define PH_COMMAND_OPTION_HWND 1
#define PH_COMMAND_OPTION_PROCESSID 2
BOOLEAN NTAPI PhpCommandModeOptionCallback(
__in_opt PPH_COMMAND_LINE_OPTION Option,
@@ -44,10 +42,6 @@ BOOLEAN NTAPI PhpCommandModeOptionCallback(
if (PhStringToInteger64(&Value->sr, 10, &integer))
CommandModeWindowHandle = (HWND)integer;
break;
case PH_COMMAND_OPTION_PROCESSID:
if (PhStringToInteger64(&Value->sr, 10, &integer))
OptionProcessId = (HANDLE)integer;
break;
}
}
@@ -58,8 +52,7 @@ NTSTATUS PhCommandModeStart()
{
static PH_COMMAND_LINE_OPTION options[] =
{
{ PH_COMMAND_OPTION_HWND, L"hwnd", MandatoryArgumentType },
{ PH_COMMAND_OPTION_PROCESSID, L"processid", MandatoryArgumentType }
{ PH_COMMAND_OPTION_HWND, L"hwnd", MandatoryArgumentType }
};
NTSTATUS status = STATUS_SUCCESS;
PH_STRINGREF commandLine;
@@ -110,7 +110,7 @@ Name: "peview"; Description: "PE Viewer"; T
Name: "plugins"; Description: "Plugins"; Types: full custom; Flags: disablenouninstallwarning
Name: "plugins\extendednotifications"; Description: "Extended Notifications"; Types: full custom; Flags: disablenouninstallwarning
Name: "plugins\extendedservices"; Description: "Extended Services"; Types: full custom; Flags: disablenouninstallwarning
Name: "plugins\extendedtools"; Description: "Extended Tools"; Types: full custom; Flags: disablenouninstallwarning; MinVersion: 0,6.01
Name: "plugins\extendedtools"; Description: "Extended Tools"; Types: full custom; Flags: disablenouninstallwarning; MinVersion: 0,6.00
Name: "plugins\networktools"; Description: "Network Tools"; Types: full custom; Flags: disablenouninstallwarning
Name: "plugins\onlinechecks"; Description: "Online Checks"; Types: full custom; Flags: disablenouninstallwarning
Name: "plugins\sbiesupport"; Description: "Sandboxie Support"; Types: full custom; Flags: disablenouninstallwarning