mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed style
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4063 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -238,12 +238,14 @@ INT_PTR CALLBACK EtpMemoryListsDlgProc(
|
||||
RtlReleasePrivilege(returnedState);
|
||||
}
|
||||
|
||||
if (status == 0xc0000061 /* STATUS_PRIVILEGE_NOT_HELD */)
|
||||
{
|
||||
PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command.");
|
||||
}
|
||||
else if (!NT_SUCCESS(status))
|
||||
if (status == STATUS_PRIVILEGE_NOT_HELD)
|
||||
{
|
||||
PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command.");
|
||||
}
|
||||
else if (!NT_SUCCESS(status))
|
||||
{
|
||||
PhShowStatus(hwndDlg, L"Unable to execute the memory list command", status, 0);
|
||||
}
|
||||
}
|
||||
|
||||
DestroyMenu(menu);
|
||||
|
||||
Reference in New Issue
Block a user