View Single Post
  #3  
Old 09-05-2004, 02:15
Teerayoot Teerayoot is offline
Friend
 
Join Date: Mar 2004
Location: ประเทศไทย
Posts: 83
Rept. Given: 0
Rept. Rcvd 3 Times in 2 Posts
Thanks Given: 2
Thanks Rcvd at 16 Times in 8 Posts
Teerayoot Reputation: 3
Quote:
Originally Posted by omega_red
You should read carefully. If the process handle is 0, this function terminates all threads of current process, except current thread.
except current thread Where u got that message??


As it stated
ZwTerminateProcess terminates a process and the threads that it contains.

Quote:
Parameters
ProcessHandle
A handle to a process object.The handle must grant PROCESS_TERMINATE access. If this
value is zero, the current process is terminated.

I try pass NULL(0) as parameter as want to terminate current process ,but it do nothing.
Reply With Quote