WTS_PROCESS_INFOA.SessionId

Undocumented in source.
struct WTS_PROCESS_INFOA
DWORD SessionId;

Meta