Open yanghaoi opened 2 years ago
1.Line number 124 In mimispool.c
if more than 2 RDP users active, mimispool will be run CreateProcessAsUser more.Like this image:
DWORD processId = GetCurrentProcessId(); DWORD pSessionId = 0; ProcessIdToSessionId(processId, &pSessionId); ...... // Check Current SessionId if (Session[i].State == WTSActive && Session[i].SessionId == pSessionId) { .... }
1.Line number 124 In mimispool.c
if more than 2 RDP users active, mimispool will be run CreateProcessAsUser more.Like this image: