Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32ts
>
ProcessIdToSessionId
win32ts
.ProcessIdToSessionId
int =
ProcessIdToSessionId(
ProcessId
)
Finds the session under which a process is running
Parameters
ProcessId
: int
Id of a process as returned by
win32ts::WTSEnumerateProcesses