Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#3

AW: GetSystemMetrics(SM_REMOTESESSION) immer false

  Alt 20. Mär 2015, 10:57
Zitat:
You should not use GetSystemMetrics(SM_REMOTESESSION) to determine if your application is running in a remote session in Windows 8 and later or Windows Server 2012 and later if the remote session may also be using the RemoteFX vGPU improvements to the Microsoft Remote Display Protocol (RDP). In this case, GetSystemMetrics(SM_REMOTESESSION) will identify the remote session as a local session.

Your application can check the following registry key to determine whether the session is a remote session that uses RemoteFX vGPU. If a local session exists, this registry key provides the ID of the local session.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Terminal Server\GlassSessionId
https://msdn.microsoft.com/de-de/lib...=vs.85%29.aspx
  Mit Zitat antworten Zitat