I\'m writing a program to enumerate through processes, and I want to find out the SID/user ID and session of which the specified process is running under (i.e. i have
WTSEnumerateProcesses works like gangbusters here:
http://msdn.microsoft.com/en-us/library/aa383831%28VS.85%29.aspx