Exemplo n.º 1
0
 public static DEBUG_EVENT WaitForDebugEvent(uint timeout)
 {
     DEBUG_EVENT evt = new DEBUG_EVENT();
     WaitForDebugEvent(ref evt, timeout);
     return evt;
 }
Exemplo n.º 2
0
 public static bool ContinueDebugEvent(DEBUG_EVENT evt, bool handled)
 {
     uint status;
     if(handled)
         status = 0x00010002;
     else
         status = 0x80010001;
     return ContinueDebugEvent(evt.dwProcessId, evt.dwThreadId, status);
 }