From my application, I would like to know if I'm running under Terminal Services or Remote Desktop. If I use;
GetSystemMetrics(SM_REMOTESESSION)
I get "true" in both environments (TS and RDP). I would like to differentiate between the two as I don't want my APP running under TS but allow it under RDP.
My app is being written in C/C++.
Thanks for your help...
Software/Hardware used:
ASKED:
February 8, 2006 3:57 PM
UPDATED:
February 9, 2006 1:28 PM