Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32ts
>
WTSTerminateProcess
win32ts
.WTSTerminateProcess
WTSTerminateProcess(
Server
, ProcessId
, ExitCode
)
Kills a process on a terminal server
Parameters
Server
:
PyHANDLE
Handle to a terminal server
ProcessId
: int
Id of a process as returned by
win32ts::WTSEnumerateProcesses
ExitCode
: int
Exit code for the process