Is there a way my program can determine when it\'s running on a Remote Desktop (Terminal Services)?
I\'d like to enable an \"inactivity timeout\" on the program when
GetSystemMetrics(SM_REMOTESESSION) (as described in http://msdn.microsoft.com/en-us/library/aa380798.aspx)