win32api.TerminateProcess

TerminateProcess(handle, exitCode)

Kills a process

Parameters

handle : PyHANDLE

The handle of the process to terminate.

exitCode : int

The exit code for the process.

Comments

See also win32api::OpenProcess