Lines Matching refs:DebugEvent
368 DEBUG_EVENT DebugEvent;
369 std::memset(&DebugEvent, 0, sizeof(DebugEvent));
420 success = WaitForDebugEvent(&DebugEvent, TimeLeft);
437 switch(DebugEvent.dwDebugEventCode) {
442 ProcessIDToHandle[DebugEvent.dwProcessId] =
443 DebugEvent.u.CreateProcessInfo.hProcess;
444 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile);
452 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId)
453 return DebugEvent.u.ExitProcess.dwExitCode;
457 ProcessIDToHandle.find(DebugEvent.dwProcessId);
467 ::CloseHandle(DebugEvent.u.CreateThread.hThread);
471 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile);
492 ::TerminateProcess(ProcessIDToHandle[DebugEvent.dwProcessId], -1);
503 EXCEPTION_DEBUG_INFO &Exception = DebugEvent.u.Exception;
526 ::TerminateProcess(ProcessIDToHandle[DebugEvent.dwProcessId], -1);
538 success = ContinueDebugEvent(DebugEvent.dwProcessId,
539 DebugEvent.dwThreadId,