mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
[ui] tell users to check the log on access errors
* Also make sure to have big fat WARNING there if we detect conflicting processes
This commit is contained in:
parent
e52947f300
commit
f53b22a077
4 changed files with 17 additions and 9 deletions
|
@ -581,7 +581,7 @@ BOOL SearchProcess(char* HandleName, BOOL bPartialMatch, BOOL bIgnoreSelf)
|
|||
|
||||
// If this is the very first process we find, print a header
|
||||
if (exe_path[0] == 0)
|
||||
uprintf("NOTE: The following process(es) or service(s) are accessing %s:", HandleName);
|
||||
uprintf("WARNING: The following process(es) or service(s) are accessing %s:", HandleName);
|
||||
|
||||
if (!GetModuleFileNameExU(processHandle, 0, exe_path, MAX_PATH - 1))
|
||||
safe_sprintf(exe_path, MAX_PATH, "Unknown_Process_%" PRIu64,
|
||||
|
@ -631,7 +631,7 @@ BOOL SearchProcessAlt(char* HandleName)
|
|||
|
||||
if (NT_SUCCESS(status) && (info->NumberOfProcessIdsInList > 0)) {
|
||||
bFound = TRUE;
|
||||
uprintf("NOTE: The following process(es) or service(s) are accessing %s:", HandleName);
|
||||
uprintf("WARNING: The following process(es) or service(s) are accessing %s:", HandleName);
|
||||
for (i = 0; i < info->NumberOfProcessIdsInList; i++) {
|
||||
uprintf("o Process with PID %ld", info->ProcessIdList[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue