You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//RtlCliDisplayString("Waiting for process terminations\n");
361
-
NtWaitForSingleObject(hProcess, FALSE, NULL);
362
-
363
-
RtlCliOpenInputDevice(&hKeyboard, KeyboardType);
364
-
//RtlCliDisplayString("Keyboard restored\n");
365
-
}
366
-
else
358
+
NtWaitForSingleObject(hProcess, FALSE, NULL); // Matti: how can this possibly ever do anything but return STATUS_INVALID_HANDLE? hProcess isn't initialized
359
+
360
+
RtlCliOpenInputDevice(&hKeyboard, KeyboardType);
361
+
} else
367
362
{
368
-
RtlCliDisplayString("%s not recognized\n", Command);
369
-
}
363
+
RtlCliDisplayString("%s not recognized\n"
364
+
"Add .exe if you want to lauch executable file."
365
+
"\nType \"help\" for the list of commands.\n", Command);
0 commit comments