mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user