Esempio n. 1
0
 /// <summary>
 /// Terminates the specified thread.
 /// </summary>
 /// <param name="hThread">Handle to the thread to exit.</param>
 /// <param name="dwExitCode">Exit code that will be stored in the thread object.</param>
 /// <returns>Returns zero on failure, non-zero on success.</returns>
 public static uint TerminateThread(IntPtr hThread, uint dwExitCode)
 {
     return(Imports.TerminateThread(hThread, dwExitCode));
 }