Lines Matching refs:current_process_handle
117 static HANDLE current_process_handle; /* Currently executing process */ variable
454 ok = (*psapi_EnumProcessModules) (current_process_handle, in psapi_get_dll_name()
466 ok = (*psapi_EnumProcessModules) (current_process_handle, in psapi_get_dll_name()
475 if (!(*psapi_GetModuleInformation) (current_process_handle, in psapi_get_dll_name()
481 len = (*psapi_GetModuleFileNameExA) (current_process_handle, in psapi_get_dll_name()
616 if (VirtualQueryEx (current_process_handle, (void *) load_addr, &m, in register_loaded_dll()
692 dll_name = get_image_name (current_process_handle, event->lpImageName, event->fUnicode); in handle_load_dll()
1215 current_process_handle = OpenProcess (PROCESS_ALL_ACCESS, FALSE, in fake_create_process()
1300 current_process_handle = current_event.u.CreateProcessInfo.hProcess; in get_child_debug_event()
1319 CloseHandle (current_process_handle); in get_child_debug_event()
1929 if (!WriteProcessMemory (current_process_handle, (LPVOID) memaddr, our, in child_xfer_memory()
1932 FlushInstructionCache (current_process_handle, (LPCVOID) memaddr, len); in child_xfer_memory()
1938 if (!ReadProcessMemory (current_process_handle, (LPCVOID) memaddr, our, in child_xfer_memory()
1948 CHECK (TerminateProcess (current_process_handle, 0)); in child_kill_inferior()
1960 CHECK (CloseHandle (current_process_handle)); in child_kill_inferior()