Function 18, subfunction 18 - terminate process/thread by the identifier.
Parameters:
- eax = 18 - function number
- ebx = 18 - subfunction number
- ecx = identifer of process/thread (PID/TID)
Returned value:
- eax = 0 - success
- eax = -1 - error (process is not found or is system)
Remarks:
- It is impossible to terminate system thread OS/IDLE (identifier
1), it is possible to terminate any normal process/thread.
- See also subfunction 2 - terminate
process/thread by given slot.