winapi - How to Know If I am in a Terminal Service (TS) Session? -
Is there a Windows API function to check whether I am in terminal service session?
GetSystemMetrics (SM_REMOTECONTROL))
To determine that
The calling session is being controlled remotely
GetSystemMetrics (SM_REMOTESESSION))
Comments
Post a Comment