更新时间:2023-02-26 19:46:37
您正在寻找从会话ID WTSEnumerateSessions
, WTSGetActiveConsoleSessionId
, ProcessIdToSessionId
等。从一个 WTSQuerySessionInformation
也是一个会话ID,当然。
You're looking for the session ID from WTSEnumerateSessions
, WTSGetActiveConsoleSessionId
, ProcessIdToSessionId
and so on. The one from WTSQuerySessionInformation
is also a session ID, of course.
记住,你需要两个会话ID此功能。
Remember that you need two session IDs for this function.