This commit is contained in:
love-code-yeyixiao 2024-05-26 20:36:30 +08:00
parent cae33d599b
commit 57d1eb9e41
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ _FX void SysInfo_DiscardProcesses(SYSTEM_PROCESS_INFORMATION *buf)
if (next == curr)
break;
SbieApi_QueryProcess(next->UniqueProcessId, boxname, NULL, &tempSid, &tempSession);
SbieApi_QueryProcess(next->UniqueProcessId, boxname, NULL, tempSid, &tempSession);
DWORD currentSession = tempSession;
HANDLE token1;
Terminal_WTSQueryUserToken(currentSession, &token1);