.
The ProcessIdToSessionId API
10/27/2014 4:42:56 PM - -194.238.48.90
.
static extern bool ProcessIdToSessionId(uint dwProcessId, out uint pSessionId);
.
Declare Function ProcessIdToSessionId Lib "kernel32.dll" (ByVal dwProcessId As Int32, ByRef pSessionId As Int32) As Int32
.