Parameters
hProcess
[in] Handle to the process to terminate.
Windows NT/2000/XP: The handle must have the PROCESS_TERMINATE access right. For more information, see Process Security and Access Rights.
uExitCode
[in] Exit code to be used by the process and threads terminated as a result of this call. Use the GetExitCodeProcess function to retrieve a process's exit value. Use the GetExitCodeThread function to retrieve a thread's exit value.