int TerminateExecutable (int executableHandle);
Terminates an executable if it has not already terminated.
This function calls TerminateProcess to terminate the process. DLLs loaded by the process being terminated are not given a chance to cleanup. Exit a process using the ExitProcess function rather than terminating the process using TerminateProcess.
| Input | ||
| Name | Type | Description |
| executableHandle | integer | Executable handle acquired from LaunchExecutableEx. |
| Name | Type | Description | ||||||
| status | integer | Result of the operation.
|