Ejemplo n.º 1
0
 public static extern bool SetThreadContext(IntPtr hThread, ref CONTEXT lpContext);
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the context of a given thread.
 /// </summary>
 /// <param name="hThread">Handle to the thread for which the context will be set.</param>
 /// <param name="ctx">CONTEXT structure to which the thread's context will be set.</param>
 /// <returns>Returns true on success, false on failure.</returns>
 public static bool SetThreadContext(IntPtr hThread, CONTEXT ctx)
 {
     return(Imports.SetThreadContext(hThread, ref ctx));
 }