50{
54
55 if (CommandTokens.size() != 2)
56 {
57 ShowMessages("incorrect use of the '%s'\n\n",
60 return;
61 }
62
63
64
65
67 {
69 }
70 else
71 {
72
73
74
75 ShowMessages("err, couldn't resolve error at '%s'\n",
77 return;
78 }
79
81
82
83
84
88 &PreactivateRequest,
90 &PreactivateRequest,
92
93 &ReturnedLength,
94 NULL
95 );
96
97 if (!Status)
98 {
100 return;
101 }
102
104 {
105 ShowMessages("the requested service is activated successfully!\n");
106 }
107 else
108 {
109
110
111
113 }
114}
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467
BOOLEAN CompareLowerCaseStrings(CommandToken TargetToken, const CHAR *StringToCompare)
Compare lower case strings.
Definition common.cpp:503
BOOLEAN ShowErrorMessage(UINT32 Error)
shows the error message
Definition debugger.cpp:40
HANDLE g_DeviceHandle
Holds the global handle of device which is used to send the request to the kernel by IOCTL,...
Definition globals.h:481
BOOLEAN g_IsVmmModuleLoaded
shows whether the VMM module is loaded or not
Definition globals.h:28
VOID CommandPreactivateHelp()
help of the preactivate command
Definition preactivate.cpp:26
UINT32 KernelStatus
Definition RequestStructures.h:231
DEBUGGER_PREACTIVATE_COMMAND_TYPE Type
Definition RequestStructures.h:230