Thema: Remotedesktop

Einzelnen Beitrag anzeigen

Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#30

Re: Remotedesktop

  Alt 14. Mär 2007, 16:49
Yes, if you can Disconnect or Logoff a session if you know (or obtain) the SessionID.
See MSDN-Library durchsuchenWTSDisconnectSession and MSDN-Library durchsuchenWTSLogoffSession. Delphi translations are in JwaWtsApi32 from the Jedi Apilib

Edit: sorry I didn't notice that this was a multipage thread, I was replying to:
Zitat:
Gibt's da nicht auch die entsprechenden APIs für?
from page 1

Edit2: Still after reading the rest of the topic, if you use either WTSDisconnectSession or WTSLogoffSession on the pc the session is running at you can achieve what you want.
  Mit Zitat antworten Zitat