Lines Matching refs:DebugEvent
364 DEBUG_EVENT DebugEvent; in main() local
365 std::memset(&DebugEvent, 0, sizeof(DebugEvent)); in main()
416 success = WaitForDebugEvent(&DebugEvent, TimeLeft); in main()
434 switch(DebugEvent.dwDebugEventCode) { in main()
439 ProcessIDToHandle[DebugEvent.dwProcessId] = in main()
440 DebugEvent.u.CreateProcessInfo.hProcess; in main()
441 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
449 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
450 return DebugEvent.u.ExitProcess.dwExitCode; in main()
454 ProcessIDToHandle.find(DebugEvent.dwProcessId); in main()
464 ::CloseHandle(DebugEvent.u.CreateThread.hThread); in main()
468 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
489 ::TerminateProcess(ProcessIDToHandle[DebugEvent.dwProcessId], -1); in main()
500 EXCEPTION_DEBUG_INFO &Exception = DebugEvent.u.Exception; in main()
523 ::TerminateProcess(ProcessIDToHandle[DebugEvent.dwProcessId], -1); in main()
535 success = ContinueDebugEvent(DebugEvent.dwProcessId, in main()
536 DebugEvent.dwThreadId, in main()