Beispiel #1
0
 /// <summary>
 /// Suspends execution of a given thread.
 /// </summary>
 /// <param name="hThread">Handle to the thread that will be suspended.</param>
 /// <returns>Returns (DWORD)-1 on failure, otherwise the suspend count of the thread.</returns>
 public static uint SuspendThread(IntPtr hThread)
 {
     return(Imports.SuspendThread(hThread));
 }