Spelling: ... runner settings (#3783)

* spelling: default

* spelling: elevated

* spelling: instance

* spelling: relative
This commit is contained in:
Josh Soref
2020-05-27 11:06:50 -04:00
committed by GitHub
parent c0e62372e6
commit 0bcaa13056
12 changed files with 19 additions and 19 deletions

View File

@@ -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);
}