[FileLocksmith]Query system processes if elevated (#21688)

* [FileLocksmith]Query system processes if elevated

* Show warning if user is a system user

* Make text in the file list selectable

* Update src/modules/FileLocksmith/FileLocksmithLibInterop/NtdllExtensions.cpp

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>

* Trim \0 no longer required

* Correct elevation detection logic

* Use theme approppriate colors

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
This commit is contained in:
Jaime Bernardo
2022-11-04 16:33:26 +00:00
committed by GitHub
parent 462a107c7c
commit 66754afd76
10 changed files with 169 additions and 100 deletions

View File

@@ -136,6 +136,9 @@
<value>Click to see the entire list of paths.</value>
<comment>Paths as in file paths that were selected for the utility to check.</comment>
</data>
<data name="ProcessIsSystemUserWarning.Text" xml:space="preserve">
<value>The process belongs to a system user. Closing it may cause the system to malfunction.</value>
</data>
<data name="SelectedFilesListDialog.Title" xml:space="preserve">
<value>Selected file paths</value>
<comment>Paths as in file paths that were selected for the utility to check.</comment>