mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
Spelling: ... runner settings (#3783)
* spelling: default * spelling: elevated * spelling: instance * spelling: relative
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
const DWORD USERNAME_DOMAIN_LEN = DNLEN + UNLEN + 2; // Domain Name + '\' + User Name + '\0'
|
||||
const DWORD USERNAME_LEN = UNLEN + 1; // User Name + '\0'
|
||||
|
||||
bool create_auto_start_task_for_this_user(bool runEvelvated)
|
||||
bool create_auto_start_task_for_this_user(bool runElevated)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
||||
@@ -215,7 +215,7 @@ bool create_auto_start_task_for_this_user(bool runEvelvated)
|
||||
|
||||
hr = pPrincipal->put_LogonType(TASK_LOGON_INTERACTIVE_TOKEN);
|
||||
|
||||
if (runEvelvated)
|
||||
if (runElevated)
|
||||
{
|
||||
hr = pPrincipal->put_RunLevel(_TASK_RUNLEVEL::TASK_RUNLEVEL_HIGHEST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user